ivd_judgment_pair
Capture comparison-pair entries for real-world observational data, recording observed differences and diagnostic hypotheses with competing explanations to build corroborated judgment pairs.
Instructions
Capture a comparison_pair entry — the IVD Judgment alternative to A/B testing for real-world data (Pearl Rung-1: association, not intervention). Each diagnostic_hypothesis MUST list at least one competing_hypothesis. New pairs start at injection_status=plausible; need 2+ independent corroborating pairs to be promoted to corroborated and join the What Works injection layer. Dormant unless .judgment/ exists. (IVD v3.0)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>",
"run_a": "<run_a>",
"run_b": "<run_b>",
"observed_differences": "<observed_differences>",
"diagnostic_hypotheses": "<diagnostic_hypotheses>"
},
"name": "ivd_judgment_pair"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Optional notes. | |
| run_a | Yes | First run: {ref, outcome, inputs, context, metadata}. | |
| run_b | Yes | Second run: {ref, outcome, inputs, context, metadata}. | |
| domain | Yes | Domain id. | |
| project_root | No | Optional path to repo root. | |
| observed_differences | Yes | List of concrete differences between run_a and run_b. | |
| diagnostic_hypotheses | Yes | List of {hypothesis, competing_hypotheses (>=1), supporting_evidence?}. |