Skip to content

Name the Beaver release the toolkit uses; count predictions in summary reports - #43

Merged
oktie merged 2 commits into
mainfrom
fix/beaver-version-docs
Nov 17, 2026
Merged

oktie merged 2 commits into
mainfrom
fix/beaver-version-docs

Conversation

@oktie

@oktie oktie commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

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)

  • The beaver benchmark is the 209-question BEAVER-MAY-2025 release, archived at https://github.com/peterbaile/beaver-may-2025. All 209 of our questions match its dev_dw.json + dev_nw.json (121 + 88), over the same 6 databases.
  • The docs linked beaverbench.github.io. That site now hosts the newer release: about 8,000 public questions, gated on Hugging Face, evaluated with table retrieval and three hint settings. The registry's own link (peterbaile.github.io/beaver/) returned 404.
  • Both registry copies now name the archived release. The id and name stay beaver, so file names, URLs and Hub results are unchanged.
  • data/benchmarks/README.md and data/benchmarks/dbs/README.md say 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.
  • The dashboard deployment docs stop calling this release "gated". The toolkit still redistributes no Beaver data, and the public results still carry overall scores only.

"Predictions #" was always 0 (62b4b37)

  • export_summary_results_by_category_to_markdown read num_predictions, which its aggregation never computed, so all six published *_eval_summary.md 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.
  • A regression test covers it; it fails without the fix.
  • The six reports were regenerated and checked to differ only in that column. Beaver's report is hand-trimmed to overall scores (96d480c), so only its 10 overall rows were edited and it was not regenerated.

For reviewers

  • New public statement: dbs/README.md now 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.
  • No Beaver record-level content is in this diff: no questions, SQL, table or database names.
  • Not changed here: scripts/analysis/make_summary_report.py regenerates 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.

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
oktie force-pushed the fix/beaver-version-docs branch from 74bb517 to 9b8d6d3 Compare November 17, 2026 22:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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-2025 in 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

@oktie
oktie merged commit 4612bd6 into main Nov 17, 2026
26 checks passed
@oktie oktie mentioned this pull request Nov 17, 2026
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.

2 participants