{
  "generatedAt": "2026-12-02T09:41:26.714Z",
  "stub": true,
  "dataset": {
    "test": "TREC CT 2022",
    "pairs": 300,
    "patients": 50,
    "classes": [
      "not_relevant",
      "excluded",
      "eligible"
    ],
    "bootstrap": "1000 patient-cluster resamples, seeded"
  },
  "settings": {
    "temperature": 0,
    "seed": 0,
    "output": "json_schema (zod), one retry",
    "concurrency": 6,
    "cache": "results cached by (stage, model, pair, prompt hash, stub flag)",
    "latencyNote": "Latency = sum of API call times per pair (retries included), measured with up to 6 pairs in flight."
  },
  "calibration": {
    "split": "TREC CT 2021",
    "testedOn": "TREC CT 2022",
    "trainingUsed": false,
    "startedAt": "2026-12-02T09:41:26.481Z",
    "wallClockSeconds": 0.1,
    "wallClockMinutes": 0,
    "llmCostUsd": 0.16936184999999995,
    "calibPairs": 150,
    "calibPatients": 30,
    "stub": true,
    "cachedStageCalls": 300,
    "searchSpace": "160 cascade settings (embedding gate x pre-filter on/off x 2 criterion prompts x met-fraction x inclusion-fail label) + BM25 threshold grid; selection = macro-F1 on 2021 only",
    "bm25": {
      "params": {
        "relMin": 0.0227455056222842,
        "excMin": 0.012627192627748533
      },
      "macroF1": 0.5132324808835563,
      "accuracy": 0.5133333333333333
    },
    "cascade": {
      "params": {
        "embedTau": 0.1683958419822369,
        "useScreen": true,
        "variant": "base",
        "minMetFrac": 0.5,
        "inclViolatedLabel": 1
      },
      "macroF1": 0.5164186669563015,
      "accuracy": 0.52,
      "defaultMacroF1": 0.4198432564515168,
      "defaultAccuracy": 0.43333333333333335,
      "variantMacroF1": {
        "base": 0.5164186669563015,
        "absence": 0.5164186669563015
      }
    },
    "topGrid": [
      {
        "params": {
          "embedTau": 0.1683958419822369,
          "useScreen": true,
          "variant": "base",
          "minMetFrac": 0.5,
          "inclViolatedLabel": 1
        },
        "macroF1": 0.5164186669563015,
        "accuracy": 0.52
      },
      {
        "params": {
          "embedTau": 0.1683958419822369,
          "useScreen": true,
          "variant": "absence",
          "minMetFrac": 0.5,
          "inclViolatedLabel": 1
        },
        "macroF1": 0.5164186669563015,
        "accuracy": 0.52
      },
      {
        "params": {
          "embedTau": 0.21327646718989116,
          "useScreen": true,
          "variant": "base",
          "minMetFrac": 0.5,
          "inclViolatedLabel": 1
        },
        "macroF1": 0.4940653594771242,
        "accuracy": 0.5066666666666667
      },
      {
        "params": {
          "embedTau": 0.21327646718989116,
          "useScreen": true,
          "variant": "absence",
          "minMetFrac": 0.5,
          "inclViolatedLabel": 1
        },
        "macroF1": 0.4940653594771242,
        "accuracy": 0.5066666666666667
      },
      {
        "params": {
          "embedTau": 0.19598237397554633,
          "useScreen": true,
          "variant": "base",
          "minMetFrac": 0.5,
          "inclViolatedLabel": 1
        },
        "macroF1": 0.4934454191033138,
        "accuracy": 0.5
      }
    ]
  },
  "configs": [
    {
      "id": "bm25",
      "label": "No model: BM25 keyword match",
      "kind": "no-model",
      "models": [],
      "note": "Okapi BM25 of the patient note against the trial text; two thresholds tuned on TREC 2021 (relevance, exclusion-section overlap).",
      "summary": {
        "n": 300,
        "patients": 50,
        "accuracy": {
          "value": 0.41,
          "lo": 0.36333333333333334,
          "hi": 0.45666666666666667
        },
        "macroF1": {
          "value": 0.4031733963746144,
          "lo": 0.35331661063966435,
          "hi": 0.44973030845123874
        },
        "eligiblePrecision": 0.33663366336633666,
        "eligibleRecall": 0.34,
        "eligibleF1": 0.3383084577114428,
        "costPerPairUsd": 0,
        "costPerPatientUsd": 0,
        "latencyP50Ms": 0.0731670000000122,
        "latencyP95Ms": 0.23879199999998946,
        "errors": 0,
        "stub": false
      }
    },
    {
      "id": "nemotron-lightning",
      "label": "Nemotron 3.5 Lightning alone",
      "kind": "open-model",
      "models": [
        "nvidia/Nemotron-3_5-Lightning"
      ],
      "note": "One call, direct 3-class label, no criterion reasoning.",
      "summary": {
        "n": 300,
        "patients": 50,
        "accuracy": {
          "value": 0.4033333333333333,
          "lo": 0.3466666666666667,
          "hi": 0.4633333333333333
        },
        "macroF1": {
          "value": 0.38022837041793456,
          "lo": 0.3205020775156868,
          "hi": 0.4402554085376195
        },
        "eligiblePrecision": 0.39855072463768115,
        "eligibleRecall": 0.55,
        "eligibleF1": 0.4621848739495798,
        "costPerPairUsd": 0.000043495,
        "costPerPatientUsd": 0.00026097,
        "latencyP50Ms": 0,
        "latencyP95Ms": 0,
        "errors": 0,
        "stub": true
      }
    },
    {
      "id": "nemotron-super",
      "label": "Nemotron 3 Super 120B alone",
      "kind": "open-model",
      "models": [
        "nvidia/nemotron-3-super-120b-a12b"
      ],
      "note": "One call, direct 3-class label, no criterion reasoning.",
      "summary": {
        "n": 300,
        "patients": 50,
        "accuracy": {
          "value": 0.39,
          "lo": 0.32666666666666666,
          "hi": 0.44666666666666666
        },
        "macroF1": {
          "value": 0.37598567717205383,
          "lo": 0.31667053106493154,
          "hi": 0.43174712352825756
        },
        "eligiblePrecision": 0.3560606060606061,
        "eligibleRecall": 0.47,
        "eligibleF1": 0.4051724137931035,
        "costPerPairUsd": 0.00017398,
        "costPerPatientUsd": 0.00104388,
        "latencyP50Ms": 0,
        "latencyP95Ms": 0,
        "errors": 0,
        "stub": true
      }
    },
    {
      "id": "gpt-oss-120b",
      "label": "gpt-oss-120b alone (open comparison)",
      "kind": "open-model",
      "models": [
        "openai/gpt-oss-120b"
      ],
      "note": "One call, direct 3-class label.",
      "summary": {
        "n": 300,
        "patients": 50,
        "accuracy": {
          "value": 0.39,
          "lo": 0.3233333333333333,
          "hi": 0.46
        },
        "macroF1": {
          "value": 0.3789057201287998,
          "lo": 0.3120338559138948,
          "hi": 0.4502320314727199
        },
        "eligiblePrecision": 0.3543307086614173,
        "eligibleRecall": 0.45,
        "eligibleF1": 0.3964757709251101,
        "costPerPairUsd": 0.000130485,
        "costPerPatientUsd": 0.0007829099999999999,
        "latencyP50Ms": 0,
        "latencyP95Ms": 0,
        "errors": 0,
        "stub": true
      }
    },
    {
      "id": "cascade-default",
      "label": "Nemotron cascade, before calibration",
      "kind": "open-cascade",
      "models": [
        "Qwen/Qwen3-Embedding-8B",
        "nvidia/Nemotron-3_5-Lightning",
        "nvidia/nemotron-3-super-120b-a12b"
      ],
      "note": "Production defaults: pre-filter on, base criterion prompt, no embedding gate.",
      "summary": {
        "n": 300,
        "patients": 50,
        "accuracy": {
          "value": 0.41333333333333333,
          "lo": 0.35,
          "hi": 0.47333333333333333
        },
        "macroF1": {
          "value": 0.3958551030386938,
          "lo": 0.33513392650248996,
          "hi": 0.4556324607475502
        },
        "eligiblePrecision": 0.3624161073825503,
        "eligibleRecall": 0.54,
        "eligibleF1": 0.4337349397590362,
        "costPerPairUsd": 0.0003563816666666667,
        "costPerPatientUsd": 0.00213829,
        "latencyP50Ms": 0,
        "latencyP95Ms": 0,
        "errors": 0,
        "stub": true
      }
    },
    {
      "id": "cascade",
      "label": "Nemotron cascade (calibrated on TREC 2021)",
      "kind": "open-cascade",
      "models": [
        "Qwen/Qwen3-Embedding-8B",
        "nvidia/Nemotron-3_5-Lightning",
        "nvidia/nemotron-3-super-120b-a12b"
      ],
      "note": "Embedding gate -> Lightning pre-filter -> Super per-criterion check, settings frozen from the 2021 search.",
      "extra": {
        "params": {
          "embedTau": 0.1683958419822369,
          "useScreen": true,
          "variant": "base",
          "minMetFrac": 0.5,
          "inclViolatedLabel": 1
        }
      },
      "summary": {
        "n": 300,
        "patients": 50,
        "accuracy": {
          "value": 0.3933333333333333,
          "lo": 0.3433333333333333,
          "hi": 0.44666666666666666
        },
        "macroF1": {
          "value": 0.3786126018684158,
          "lo": 0.32438122744076137,
          "hi": 0.43709399684682143
        },
        "eligiblePrecision": 0.4117647058823529,
        "eligibleRecall": 0.28,
        "eligibleF1": 0.3333333333333333,
        "costPerPairUsd": 0.0002577525000000002,
        "costPerPatientUsd": 0.0015465150000000011,
        "latencyP50Ms": 0,
        "latencyP95Ms": 0,
        "errors": 0,
        "stub": true
      }
    },
    {
      "id": "claude",
      "label": "Claude (closed comparison)",
      "kind": "skipped",
      "models": [
        "claude-sonnet-5-5"
      ],
      "note": "Skipped: ANTHROPIC_API_KEY not set."
    },
    {
      "id": "trialgpt",
      "label": "TrialGPT (GPT-4), published",
      "kind": "published",
      "models": [
        "gpt-4-0613"
      ],
      "note": "Published reference, different task and metrics (see caveat). Not re-run by us."
    },
    {
      "id": "t1",
      "label": "T1: fine-tuned on TREC 2021 labels",
      "kind": "pending",
      "models": [],
      "note": "Pending: offline eval of the trained adapter, filled in later."
    },
    {
      "id": "t2",
      "label": "T2: fine-tuned on SIGIR 2016",
      "kind": "pending",
      "models": [],
      "note": "Pending: offline eval of the trained adapter, filled in later."
    },
    {
      "id": "t3",
      "label": "T3: fine-tuned on distilled criterion reasoning",
      "kind": "pending",
      "models": [],
      "note": "Pending: offline eval of the trained adapter, filled in later."
    }
  ],
  "published": {
    "source": {
      "paper": "Jin et al., Matching patients to clinical trials with large language models, Nature Communications 15, 9074 (2024)",
      "url": "https://www.nature.com/articles/s41467-024-53081-z",
      "table2_url": "https://www.nature.com/articles/s41467-024-53081-z/tables/2",
      "table1_url": "https://www.nature.com/articles/s41467-024-53081-z/tables/1",
      "repo": "https://github.com/ncbi-nlp/TrialGPT",
      "verified_on": "2026-12-02 by fetching the paper HTML and tables directly"
    },
    "model": "GPT-4 (Azure OpenAI, model version 0613, temperature 0); GPT-3.5 0613 as secondary. Source: paper Methods.",
    "ranking": {
      "note": "AVERAGE over the three cohorts (SIGIR 2016, TREC CT 2021, TREC CT 2022). Per-cohort TREC 2022 numbers are NOT in Table 2 or in the repo; not verified. Task: rank the top 500 trials returned by TrialGPT-Retrieval per patient.",
      "TrialGPT-Ranking (GPT-4), feature combination": {
        "NDCG@10": 0.7275,
        "P@10": 0.6688,
        "AUROC_excluding": 0.7979,
        "average": 0.7314
      },
      "TrialGPT-Ranking (GPT-4), LLM aggr. Sign(Eligibility)": {
        "NDCG@10": 0.7252,
        "P@10": 0.6724,
        "AUROC": 0.7895,
        "average": 0.729
      },
      "TrialGPT-Ranking (GPT-4), LLM aggr. Sign(Relevance)": {
        "NDCG@10": 0.7281,
        "P@10": 0.67,
        "AUROC": 0.7402,
        "average": 0.7128
      },
      "TrialGPT-Ranking (GPT-4), linear Sign(% Included)": {
        "NDCG@10": 0.6097,
        "P@10": 0.5653,
        "AUROC": 0.6765,
        "average": 0.6172
      },
      "TrialGPT-Ranking (GPT-3.5), feature combination": {
        "NDCG@10": 0.5395,
        "P@10": 0.5115,
        "AUROC": 0.6582,
        "average": 0.5697
      },
      "best baseline BioLinkBERT cross-encoder (MedNLI)": {
        "NDCG@10": 0.4797,
        "P@10": 0.4281,
        "AUROC": 0.6176,
        "average": 0.5085
      },
      "PubMedBERT dual-encoder": {
        "NDCG@10": 0.4327,
        "P@10": 0.3874,
        "AUROC": 0.5976,
        "average": 0.4726
      },
      "SciFive": {
        "NDCG@10": 0.4271,
        "P@10": 0.3787,
        "AUROC": 0.5895,
        "average": 0.4652
      },
      "SapBERT": {
        "NDCG@10": 0.4148,
        "P@10": 0.3738,
        "AUROC": 0.5933,
        "average": 0.4606
      },
      "BioBERT": {
        "NDCG@10": 0.4091,
        "P@10": 0.3746,
        "AUROC": 0.5952,
        "average": 0.4596
      },
      "source": "Table 2 (metrics exactly: NDCG@10, P@10, AUROC; AUROC = excluding ineligible trials as binary classification)"
    },
    "criterionLevel": {
      "overall_accuracy": 0.873,
      "inclusion_criteria_accuracy": 0.899,
      "exclusion_criteria_accuracy": 0.859,
      "human_expert_accuracy_range": "0.887-0.900 (inclusion 0.876-0.916)",
      "n": "1015 patient-criterion pairs (105 patient-trial pairs, 53 patients) from the SIGIR 2016 cohort ONLY, 3 physicians",
      "labels": "inclusion: Included/Not included/Not enough information/Not applicable; exclusion: Excluded/Not excluded/Not enough information/Not applicable (4-way)",
      "source": "Results text 'TrialGPT-Matching achieves a high criterion-level prediction accuracy', Fig. 3c,d; abstract"
    },
    "caveat": "LOW, do not put side by side as like-for-like. (1) TrialGPT ranks up to 500 retrieved trials per patient from a 26,581-trial pool (NDCG@10, P@10, AUROC averaged over 3 cohorts); ours is 3-way classification (eligible / excluded / not relevant) on a balanced 6-trials-per-patient sample, so random-chance and base rates differ completely. (2) Their 87.3% is criterion-level 4-way accuracy on SIGIR 2016, not TREC 2022 trial-level. (3) Their closest trial-level analogue is the AUROC for excluding ineligible trials (0.7979 avg, 0.7895 for eligibility score) and AUROC is computable from our pairs only for a binary split. Recommended honest framing: report our own baselines (same data, same prompts, closed vs open model, no-reasoning vs criterion-by-criterion) as the primary comparison; cite TrialGPT as published context only; optionally compute AUROC on our 300 pairs (eligible vs excluded+irrelevant) for a loose relation to their 'excluding' AUROC."
  }
}