Skip to content

Case Corpus v2: ingest 55 attested cases (GIH — Gastroenterology & Hepatology) - #102

Merged
kenleefreo merged 2 commits into
mainfrom
case-corpus-v2-gih
Jul 18, 2026
Merged

Case Corpus v2: ingest 55 attested cases (GIH — Gastroenterology & Hepatology)#102
kenleefreo merged 2 commits into
mainfrom
case-corpus-v2-gih

Conversation

@kenleefreo

Copy link
Copy Markdown
Owner

Summary

10th tranche-1 source folder — Gastroenterology & Hepatology (55 SOAP notes, GIH-001…055) — transformed to v2 telehealth-reprojected casebundles and ingested. Net-new coverage (not a base-303 refresh); corpus grows 453 → 508. Predominantly GI, with HEPAT (opaque id slot) for liver/biliary.

Bidirectional GI/hepatology domain authored so every condition presents via an acute complication at an out-of-hours home assessment — where the clinician excludes a surgical/vascular mimic by an abdominal exam, bloods, endoscopy or imaging a telehealth AI cannot perform. Tiers match the complication, not the chronic label.

Calibration — honest, no re-tune

Batch-1 sanity check + per-batch source reads across all 4 batches confirmed the high-acuity weighting is honest (forcing lower would under-triage genuine emergencies, weighted 3×).

  • Final tiers T2×7 / T3×16 / T4×17 / T5×15.
  • Downward discrimination confirmed: IBS×2, functional bloating, lactose, NAFLD/Non-AFLD, anal fissure → T2 (several min-viable T1).
  • T4/T5-ceiling guardrail held — the can't-examine-abdomen uplift ceilings at T3 unless the patient can self-report a time-critical feature. GORD nocturnal-chest-pain → T3 is over-triage resistance (can't ECG/troponin remotely), not a defect.
  • Label-red-herrings tiered to true acuity: "Diverticular disease"→lower-GI haemorrhage T5, "H. pylori"→bleeding peptic ulcer T5, "Barrett's"→food-bolus impaction T4, "PSC"→septic ascending cholangitis T5, "Inguinal hernia"→incarcerated/strangulating T5, "Hep C"→decompensated cirrhosis T4; two PUD notes discriminate (050 bland flare→T3 vs 051 bleeding→T5).

Safety invariants

No AI-minted analgesic/antiemetic/antispasmodic/PPI/antibiotic/laxative dose (clinician answers sealed in node 12); no paediatric dose; no fabricated lab/lipase/LFT/endoscopy/imaging values (patient home readings ship as verbatim strings, never lab_result). All 55 carry firewall_assertion; dry-run leak-scan clean; refined de-anchor scan 0 genuine dx-label leaks.

Attestation + gates

All 55 attested (KL, bulk_clinician_attestation, 2026-07-18). Recorded borderline: GIH-007 Celiac→T4 (completed syncope) vs GIH-012 Coeliac→T3 (near-syncope only).

  • cases:ingest --reseq → 55 dirs (8 reseq'd for collisions vs 453)
  • cases:verify-codes → 488 codes receipted, 0 failures
  • eval:casesPASS (506 attested conforming; 2 CARD reference cases informational)
  • npm run verificationPass: true
  • npm testexit 0

Data-only change — firewall/hashing/schemas/servers/trunks untouched. Source .txt never entered the repo.

🤖 Generated with Claude Code

Kenneth Lee and others added 2 commits July 18, 2026 08:32
…patology)

10th tranche-1 source folder, net-new coverage (not a base-303 refresh).
Corpus 453 → 508. Bidirectional GI/hepatology domain authored as acute
complications; tier the complication, not the chronic label.

- 55/55 SOAP notes → v2 telehealth-reprojected casebundles, 0 hard fails
- Tiers T2×7 / T3×16 / T4×17 / T5×15 — honest, no re-tune (source-verified
  every suspicious tier across 4 batches); downward discrimination confirmed
  (IBS/functional/lactose/NAFLD/anal-fissure → T2, several min-viable T1)
- T4/T5-ceiling guardrail (can't-examine-abdomen uplift capped at T3 unless
  patient-reportable time-critical feature) held; GORD chest-pain → T3 is
  over-triage resistance, not a defect
- Label-red-herrings tiered to true acuity (Diverticular→lower-GI-bleed T5,
  H.pylori→bleeding-ulcer T5, Barrett's→food-bolus-impaction T4, PSC→septic
  cholangitis T5, inguinal-hernia→strangulating T5, HepC→decompensated T4)
- Safety invariants: no AI-minted analgesic/antiemetic/PPI/antibiotic dose,
  no paediatric dose, no fabricated lab/endoscopy/imaging values; all 55
  carry firewall_assertion, 0 de-anchor leaks
- All 55 clinician-attested (KL, bulk_clinician_attestation, 2026-07-18)
- Gates: cases:verify-codes 488 codes 0 fail · eval:cases PASS (506 attested
  conforming) · verification Pass:true · npm test exit 0

Data-only; firewall/hashing/schemas/servers/trunks untouched. Source .txt
never entered the repo.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@kenleefreo
kenleefreo merged commit f29e06f into main Jul 18, 2026
1 check passed
@kenleefreo
kenleefreo deleted the case-corpus-v2-gih branch July 18, 2026 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant