Repository navigation
ch12: expanded knowledge base and frozen v2 evaluation set - #4
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…istered expectations Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…AQ entries Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cts; backlog entry Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Judge validation: 78/78 groups (100%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…xpectations 7-9 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Faithfulness 0.893, false refusal 0.134, E_multi group coverage 0.664 (0.947 answered-only). Run 1 voided (4 rewrite fallbacks); run 2 used. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Group-level split of E uncovered groups (59 self-check / 22 retrieval / 1 omission), judge-validation scope note, E075 failure description, pre-threshold Top-5 caveat; commit void-run report and judge-eval log. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…up notes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conflicts: both chapters added --set to run_rag_eval.py. --set now accepts base, hard and v2. The two expectation modules are imported under aliases. --coverage is rejected with --gen-repeat > 1 (coverage is summarized per question). Full suite: 1478 passed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drop old knowledge-base and old 300-question numbers. Show the v2 set (retrieval, faithfulness, fact coverage, wrong answers on unanswerable) and the hard set on the new knowledge base. Welcome page shows 1,478 tests, Recall@5 0.933 and faithfulness 0.893. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scripts/check_kb_v2.pychecks the additions against the spec appendices, and checks that no existing line changed.evals/rag_eval_v2.jsonl, A 40 / B 50 / C 50 / E 100 / D 60):da67f2bbefore any v2 retrieval run.run_rag_eval.py --set v2checks the SHA-256 and compares the result with 6 expectations written before the freeze.ch11worktree. ch11 is not merged.Results (
evals/reports/ch12_comparison.md)Open decisions (not done in this PR)
docs/backlog/2026-10-11-lexicon-alias-side-effects.md.GATE_*were calibrated on the old knowledge base. README andfacts.tsnumbers were not updated. Faithfulness was not evaluated.Test plan
uv run pytest -q: 1347 passeduv run python scripts/check_kb_v2.py,evals/v2/check_d_evidence.py,run_rag_eval.py --check,run_rag_eval.py --set v2 --checkbuild_kb.py --rebuildand--check: 302 = 302dev-notes/ch12.md.🤖 Generated with Claude Code