Repository navigation
Name the Beaver release the toolkit uses; count predictions in summary reports - #43
Merged
Merged
Conversation
The "Predictions #" column of every *_eval_summary.md read num_predictions, which the report's own aggregation never computed, so all six published reports showed 0. It now counts a record's prediction unless its inference failed, the same rule compute_summary uses for the JSON and CSV summaries. The published reports are corrected with only that column changed. Beaver's report is cut to overall scores, so only its overall rows were edited rather than regenerating it. Signed-off-by: Oktie Hassanzadeh <oktie@oktie.com>
The beaver benchmark is the 209-question BEAVER-MAY-2025 release, archived at github.com/peterbaile/beaver-may-2025: all 209 questions match its dev_dw.json and dev_nw.json. The docs linked beaverbench.github.io, which now hosts a newer, larger release the toolkit does not support, and the registry description linked a page that returns 404 (#37). Both registry copies, the benchmark and database setup docs, and the dashboard deployment docs now point at the archived release, say where its files and MySQL dumps are, and stop calling that release gated. They also note what is still missing: a converter to the toolkit's format, and the toolkit's edited copy of the gold SQL. The toolkit still redistributes no Beaver data, and its public results carry overall scores only. Signed-off-by: Oktie Hassanzadeh <oktie@oktie.com>
oktie
force-pushed
the
fix/beaver-version-docs
branch
from
November 17, 2026 22:43
74bb517 to
9b8d6d3
Compare
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the Beaver release documentation and prediction-count reporting changes.
No open issues 🎉
What changed in this PR
This PR addresses the first part of #37 by identifying the Beaver release used by the toolkit and clarifying its setup and limitations. It also fixes prediction counts in Markdown evaluation reports.
Changes:
- Names
BEAVER-MAY-2025in both registries and documents data sources, edited gold SQL, and unsupported newer-release settings. - Counts predictions without inference errors in overall and category summaries, with regression coverage.
- Corrects prediction counts in six published reports without changing scores or expanding Beaver beyond overall results.
| File | Description |
|---|---|
tests/test_report_tools.py |
Tests overall and category counts, excluding failed inferences. |
src/text2sql_eval_toolkit/data/benchmarks.json |
Identifies the archived Beaver release in the packaged registry. |
src/text2sql_eval_toolkit/analysis/report_tools.py |
Computes and sums prediction counts. |
docs/dashboard/deployment.md |
Clarifies Beaver data sourcing and local results setup. |
docs/dashboard/capability-tiers.md |
Clarifies how deployments obtain Beaver details. |
data/results/spider_realistic-predictions_eval_summary.md |
Corrects overall prediction counts. |
data/results/spider_dev-predictions_eval_summary.md |
Corrects overall prediction counts. |
data/results/bird_mini_dev_sqlite-predictions_eval_summary.md |
Corrects overall and category prediction counts. |
data/results/bird_mini_dev_postgres-predictions_eval_summary.md |
Corrects overall prediction counts. |
data/results/beaver-predictions_eval_summary.md |
Corrects counts while retaining overall-only results. |
data/results/archer_en_dev-predictions_eval_summary.md |
Corrects overall and category prediction counts. |
data/benchmarks/README.md |
Distinguishes the supported Beaver release from the newer benchmark. |
data/benchmarks/dbs/README.md |
Documents release setup, conversion gaps, and gold SQL differences. |
data/benchmarks.json |
Identifies the archived Beaver release in the source registry. |
CHANGELOG.md |
Records the reporting fix and Beaver documentation updates. |
Review effort: Balanced
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.
Refs #37. This is the first part of the issue. The converter and support for the new Beaver release come later.
What changed
Beaver names its release (74bb517)
beaverbenchmark is the 209-question BEAVER-MAY-2025 release, archived at https://github.com/peterbaile/beaver-may-2025. All 209 of our questions match itsdev_dw.json+dev_nw.json(121 + 88), over the same 6 databases.peterbaile.github.io/beaver/) returned 404.idandnamestaybeaver, so file names, URLs and Hub results are unchanged.data/benchmarks/README.mdanddata/benchmarks/dbs/README.mdsay which release this is and where its files and MySQL dumps are (the dumps are in a public Google Drive folder). They also say the new release isn't supported and that our scores aren't comparable with its leaderboard."Predictions #" was always 0 (62b4b37)
export_summary_results_by_category_to_markdownreadnum_predictions, which its aggregation never computed, so all six published*_eval_summary.mdreports showed 0.compute_summaryuses for the JSON and CSV summaries.For reviewers
dbs/README.mdnow says the toolkit's copy of Beaver's gold SQL was edited from the release, so scores on the release's SQL can differ. That's accurate (all 209 differ, and those edits date from the initial commit), but it hasn't been stated publicly before.scripts/analysis/make_summary_report.pyregenerates Beaver's report with the per-category breakdown, which is derived from gold SQL. The Hub upload refuses such a file, but nothing stops it reaching a commit.Tests
pytest --ignore=tests/test_run_experiment_integration.py: 1238 passed.