Repository navigation
docs: benchmark receipts standard, a backfilled LongMemEval receipt and a headline check (#1468) - #1586
Merged
Conversation
…nd a headline check (#1468) Adds the receipts template and standard, a v0.19.0 receipt recomputed from the committed raw scores, a scorer, and check_receipts.py in the docs CI job which fails when the README headline has no receipt.
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
3 tasks
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.
What
benchmarks/RECEIPTS.md: the receipts standard (manifest, recomputed summary, scope), one basis per table, "say what you did not record".benchmarks/longmemeval/receipts/TEMPLATE/and a backfilled receipt,v0.19.0-default-500q/, for the README headline: manifest (measured SHAfbfed5f, tag commit, what differs between them, Cargo.lock sha256, dataset sha256, raw-scores sha256),summary.jsonandSCOPE.md. Facts that were not captured at run time (dataset revision, full dependency list) are marked as not recorded, not guessed.benchmarks/scripts/score_longmemeval.pyrecomputes the summary from the dataset gold ids and the committed raw rankings (full500, answerable 470, abstention 30 as separate blocks). Output matches the numbers already inRESULTS.md(any@5 0.982, strict@5 0.880, strict@10 0.954, coverage@5 0.943).benchmarks/scripts/check_receipts.py, run by thedocs-checkCI job: validates each receipt (files exist, raw-scores sha256 matches, claims equal the summary), requires the README benchmark section to link each receipt, and requires the README headlineNN.N% LongMemEval-S recall@5to equal a receipt claim.benchmarks/README.mdsection; CHANGELOG line.Why
#1468: published numbers need receipts so a claim is checkable later. The owner approval gate is unchanged: a receipt makes review easier, it does not approve anything.
Testing
python3 benchmarks/scripts/check_receipts.pypasses; sabotage-tested: a changed README headline (98.6%), a removed link and an altered summary value each exit 1 with a specific message.d6f21ea9...): matches RESULTS.md on every basis.