llm: evaluation set — golden longitudinal questions with expected anchors (CCM, audio-only E/M, APCM, G2211, telehealth steps) #692
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Spec docs/superpowers/specs/2026-09-09-code-family-longitudinal-design.md (§Evaluation).
What.
tests/llm/golden_lineage.yaml: question → expected(item_key, p_id)anchors that must appear insources, expected event labels that must be cited in prose, and forbidden claims (e.g. no payment figure without a[PFS CY… Addendum B]label).Seed questions and anchors:
DE2VH9PD¶1249–1251;YBM4IZUS¶1578;JJ6AM5HJ¶1163.YBM4IZUS¶1578, ¶2369.JJ6AM5HJ¶1164–1185 vsDE2VH9PD¶1245–1247.XFGGRBDH¶489;pfs.rvu99441 last year 2024.2KVJ2HKX¶394/¶396/¶398 and 99490's elements.JE7KYBW3¶1100/¶1111;MZ24MX5S¶1305.Done when the set runs in CI against the live chat (nightly, like notebooks-integration) and files an issue on regression through the existing filer.
Merged to main as
da345bc. tests/llm/golden_lineage.yaml (7 questions: anchors, labels, forbidden claims, events, dockets, era counts) + dev/scripts/llm_golden.py (streams /chat, six pure checkers, exit 0 when filing issues) + nightly llm-golden workflow generated from dev/scripts/backends/gitea.py (03:40, runs inside the llm container, files/sweeps through nb_issue_filer with label llm). In-process against the branch code: 4/7 pass (ccm-history, audio-only-em, g2211 2023-vs-2025, g2064→99424 rate). Three documented gaps stay red on purpose: g2058-replacement misses YBM4IZUS ¶1578 (attached to 99439's replaces event, outside the 8-paragraph cap), apcm-vs-ccm-elements misses the element paragraphs, 99490-telehealth-steps needs the Step 1–3 paragraphs retrieved. NOTE: the deployed llm image predates this branch (no lineage event, sources without item_key/p_id), so the nightly will be red until the image is rebuilt and rolled (COMMIT_SHA in .env + compose build/up).