Skip to content

test(benchmark): fail loud when a committed report file is missing#60

Merged
F-e-u-e-r merged 2 commits into
mainfrom
fix/report-tests-fail-loud
Jul 16, 2026
Merged

test(benchmark): fail loud when a committed report file is missing#60
F-e-u-e-r merged 2 commits into
mainfrom
fix/report-tests-fail-loud

Conversation

@F-e-u-e-r

Copy link
Copy Markdown
Owner

What

Cross-model review of #48 flagged: the threshold-t2 / bm25 / bm25-threshold committed-report reproducibility tests silently skipTest when the committed JSON is absent — so a deleted/renamed report reads as "reproducibility verified" when nothing ran. The baseline test already fails loud; the other three now match.

Change

  • tests/test_retrieval_benchmark.py: three skipTestself.fail with the exact regenerate command.
  • CHANGELOG entry under ### Fixed.

No scoring, metric, or report change.

Validation

Full suite 443 passed / 1 skipped (the remaining skip is the unrelated portable-retriever stdlib invariant) · ruff clean · negative control: hiding retrieval-v1-lexical-bm25.json makes the test FAIL (not skip); restoring it passes.

🤖 Generated with Claude Code

Feuer and others added 2 commits July 16, 2026 16:03
The threshold-t2 / bm25 / bm25-threshold reproducibility tests silently
skipTest'ed on a missing committed JSON — a deleted or renamed report
read as 'reproducibility verified' when nothing ran (cross-model review
finding on #48). A missing committed report is a broken contract pin:
now self.fail with the exact regenerate command, matching the baseline
test's existing behavior. Negative-control verified (hidden file FAILS,
not skips).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ction adjacency with #59)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@F-e-u-e-r
F-e-u-e-r merged commit 9d8cc5b into main Jul 16, 2026
4 checks passed
@F-e-u-e-r
F-e-u-e-r deleted the fix/report-tests-fail-loud branch July 16, 2026 10:58
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