Join left result check

join-left-result-check · version 1.0.0 · Numbers & math · free, no key needed

Check a claimed ordered left join index result and report its first discrepancy.

Use when you need to: check claimed left join result · validate ordered left join pairs · find first wrong left join row.

Decide before calling

Read the versioned contract and the supported scope below. Reuse join-left-result-check@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use join-left-result-check@1.0.0 for check claimed left join result. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "left_rows": [
    {
      "id": 1
    },
    {
      "id": 2
    }
  ],
  "right_rows": [
    {
      "id": 2
    }
  ],
  "left_key": "id",
  "right_key": "id",
  "claimed_rows": [
    {
      "left_index": 0,
      "right_index": null
    },
    {
      "left_index": 1,
      "right_index": 0
    }
  ]
}

Response:

{
  "result": {
    "valid": true,
    "reason": null,
    "discrepancy": null,
    "reference_version": "ISO/IEC 9075-2:2023 §7.7 + deep24 deterministic-order profile 1.0.0"
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "join-left-result-check",
  "version": "1.0.0",
  "input": {
    "left_rows": [
      {
        "id": 1
      },
      {
        "id": 2
      }
    ],
    "right_rows": [
      {
        "id": 2
      }
    ],
    "left_key": "id",
    "right_key": "id",
    "claimed_rows": [
      {
        "left_index": 0,
        "right_index": null
      },
      {
        "left_index": 1,
        "right_index": 0
      }
    ]
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/join-left-result-check/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"left_rows":[{"id":1},{"id":2}],"right_rows":[{"id":2}],"left_key":"id","right_key":"id","claimed_rows":[{"left_index":0,"right_index":null},{"left_index":1,"right_index":0}]}'

The machine-readable contract is at /v1/tools/join-left-result-check/versions/1.0.0.

CLI

node cli.mjs run join-left-result-check 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.