Skip to content

feat: Add hybrid evaluation Python notebook#487

Open
arieljassan wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
arieljassan:feat/bq-hybrid-colab
Open

feat: Add hybrid evaluation Python notebook#487
arieljassan wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
arieljassan:feat/bq-hybrid-colab

Conversation

@arieljassan

Copy link
Copy Markdown
Member

This PR introduces a quick-start Colab notebook for running BIRD evaluation in Hybrid Mode (generating BigQuery SQL and evaluating correctness against SQLite ground-truth databases), along with a few bug fixes to ensure the end-to-end flow executes cleanly in standard sandbox environments.

Key Changes:

  • Colab Quick Start: Added docs/examples/bigquery_hybrid_example.ipynb showing how to download datasets, compile protos, and dynamically slice prompts (to create a fast 20-prompt smoke-test subset running in minutes instead of hours) while generating custom YAML config files inline to keep the Git repository clean.
  • Looker Studio Fix: Solved a double-escaping syntax issue in bqstore.py to ensure the generated Looker dashboard URL loads successfully.
  • Isolated Run Fix: Added PEP 723 script metadata to hybrid_xa_judge.py to declare pandas as a dependency, preventing ModuleNotFoundError crashes when run under uv run --isolated in clean container environments (like Colab).

@arieljassan

Copy link
Copy Markdown
Member Author

/gcbrun

@arieljassan arieljassan changed the title feat: Add hybrid BIRD evaluation Colab notebook feat: Add hybrid BIRD evaluation Python notebook Jul 9, 2026
@arieljassan arieljassan changed the title feat: Add hybrid BIRD evaluation Python notebook feat: Add hybrid evaluation Python notebook Jul 9, 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.

1 participant