Skip to content

Add the final Definition of Done audit and test invalid-prediction rejection - #66

Merged
professor3333 merged 1 commit into
mainfrom
docs/dod-audit
Nov 15, 2026
Merged

professor3333 merged 1 commit into
mainfrom
docs/dod-audit

Conversation

@professor3333

Copy link
Copy Markdown
Owner
  • docs/definition_of_done.md: every Definition of Done item with status (✅ done · 🟨 done within a stated limit · ⛔ out of scope) and evidence links; linked from the README's project status. 13 ✅, 4 🟨 (labels mostly model-drafted, held-out results are agreement, transformers not on target host), plus roadmap items: prospective check 🟨, challenge set ⛔, usability study ⛔.
  • Gap found while auditing: no test covered the API's invalid_prediction refusal (a CI requirement: output-validator rejection). test_invalid_prediction_is_rejected_not_shown wraps the real extractor to emit an out-of-bounds span and asserts a 500 invalid_prediction, twice (not cached). Mutation check: the test fails when the guard is disabled.

…jection

docs/definition_of_done.md maps each Definition of Done item to its status (done, done within a stated limit, or out of scope) and its evidence. Auditing item 9 showed that no test covered the API refusing a prediction whose span lies outside the text; test_invalid_prediction_is_rejected_not_shown now does (and fails if the guard is removed).
@professor3333
professor3333 merged commit 5730ff6 into main Nov 15, 2026
2 checks passed
@professor3333
professor3333 deleted the docs/dod-audit branch November 15, 2026 04:07
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