statmike/bigquery-data-science
v0.8.0Apache-2.0
BigQuery ML, BigQuery AI, and 4-Lens Agent Skills for SQL and Python data science on Google Cloud: task routing, prerequisite matrix, surgical syntax cards, and 104 live-verified walkthroughs.
Changelog
All notable changes to bigquery-data-science are documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.8.0] - 2026-10-20
Added
AI.AGGStructured Output & Error Tolerance Support:- Added coverage for GA
output_schemaparameter emitting typedSTRUCTrecords directly from aggregation via SQL DDL schema strings. - Added coverage for GA
max_error_ratioparameter for fault-tolerant aggregation. - Added Section 11 (
output_schema) and Section 12 (max_error_ratio) tobigquery-ai/functions/ai_agg/ai_agg.ipynband matching Examples 9 & 10 tobigquery-ai/functions/ai_agg/ai_agg.sql.
- Added coverage for GA
gemini-4-argonFoundation Model Support:- Added
gemini-4-argontoskills/pinned-models.json,bigquery-ai/RESOURCES.md, andbigquery-ai/reference/general-purpose-functions.md. Verified live via BigQuery.
- Added
- GoogleSQL Reusable Column Aliases GA:
- Documented GoogleSQL GA support for referencing
SELECTaliases inside expressions andWHEREclauses.
- Documented GoogleSQL GA support for referencing
Changed
AI.AGGStatus Transition:- Graduated
AI.AGGfrom Preview to GA inbigquery-ai/README.md,bigquery-ai/reference/managed-functions.md, andskills/bigquery-ai/reference/managed-functions.md.
- Graduated
- Skill Progressive Lenses Re-synchronized:
- Lens 3 (
skills/bigquery-ai/syntax/aiagg.md): Regenerated surgical syntax card withoutput_schemaandmax_error_ratiosignatures. - Lens 4 (
skills/bigquery-ai/narrative/ai_agg.md): Regenerated textbook narrative from the executedai_agg.ipynb. - Refreshed manifests across all 3 agent skills (
bigquery-data-science,bigquery-ml,bigquery-ai).
- Lens 3 (
[0.7.0] - 2026-10-19
Added
- Standalone Repository & 1:1 Domain Normalization (
bigquery-ml/andbigquery-ai/):- Extracted and normalized all 61 BigQuery ML notebooks (
bigquery-ml/) and 43 BigQuery AI notebooks (bigquery-ai/) with companion.sqlscripts, exhaustivereference/*.mddocumentation, and unifiedbigquery-data-scienceJupyter kernel metadata.
- Extracted and normalized all 61 BigQuery ML notebooks (
- Hybrid 3-Skill Hierarchy & 4-Lens Progressive Disclosure (
skills/):skills/bigquery-data-science/: Umbrella task router, 10 head-to-head empirical comparisons, cross-namespace composition guide, reviewer rubric, andreference/namespace-matrix.mdprerequisite matrix.skills/bigquery-ml/andskills/bigquery-ai/: 4-Lens architecture — Lens 1 (SKILL.mdrouting & cross-cutting gotchas), Lens 2 (reference/*.mduse-case decision guides), Lens 3 (syntax/*.mdsurgical H2-sliced per-model/per-function syntax cards +syntax/INDEX.md), and Lens 4 (narrative/*.md104 boilerplate-stripped textbook walkthroughs with GitHub provenance banners).
- Zero-Dependency Python Package, CLI & Stdio MCP Server (
src/bigquery_data_science/):- Skill & kernel installer (
bigquery-data-science install,list,path,kernel) and federatedstatmike.agent_skillsentry point. - Instant offline catalog engine (
bigquery-data-science lookup,search,triage). - Zero-dependency JSON-RPC stdio MCP server (
bigquery-data-science mcp) exposingtriage_bigquery_task,lookup_bigquery_syntax,search_bigquery_gotchas, andget_bigquery_walkthrough. - Maintainer verification suite (
sweep,validate,check-links,check-reference,check-syntax-sync,check-pinned-models,check-narratives,sync-syntax,convert-notebook,manifest).
- Skill & kernel installer (
- Unified Packaging & Layered
uvExtras (pyproject.toml&uv.lock):- Zero-dependency
< 1.5 MBPyPI wheel bundlingskills/, with optional extras[notebooks],[pipelines],[workflows], and[all].
- Zero-dependency