Repository navigation
v0.6.1
Patch release of bigquery-agent-analytics. Details and compatibility
notes are in the
CHANGELOG.
The wheel's public API and dependencies do not change: no exported or
documented name is added, removed or renamed, and its Requires-Dist
entries and console scripts match 0.6.0. Five PRs change wheel code under
src/: two security fixes (#516, #527), a categorical persistence fix
(#529) and dead-code removals of unexported names (#523, #533). The rest
is outside the wheel: dashboards (#515, #520, #521, and #517's
dashboard_v2 lock bump), examples (#525, #534), docs (#518, #526, #528;
the ontology manual that #528 edits under src/bigquery_ontology/docs/ is
excluded from the wheel), and tests and CI (#519, #522, #524, #532, #536). The
only other wheel difference is the README text embedded in its metadata,
which gains #515's dashboard links.
Highlights
- BigQuery Conversational Analytics (BQCA) Prompt & Response Logging
dashboards. Looker Studio gets abqcatemplate profile and a BQCA
page in the web configurator, and the self-hosted Streamlit dashboard
gets a five-tab BQCA surface (?profile=bqca). Outside the wheel. By
@haiyuan-eng-google in
#515 - Security: drift golden tables must be one table name.
Client.drift_detection()anddrift_detection_async()raise
ValueErrorbefore any query runs unlessgolden_datasetis a bare
table name, andbq-agent-sdk driftexits 2. This closes an
identifier injection through the BigQuery remote function'sdrift
operation. In the wheel. By @caohy1988 in
#516 - Security: the
--exit-codegates escape outside text.evaluateand
evalbench-scoreescape session IDs, judge feedback, metric names and
error text in their FAIL lines, reports,Error:line and warnings, so
evaluated data cannot run CI workflow commands. Ordinary values print as
before. In the wheel. By @caohy1988 in
#527
Fixes
- Contextual categorical rows persist only validated categories. With
per_session_contextandpersist_results=True, an unrecognized
category, which can echo the judge context, is written asNULL, and
parse_errorstays set. In the wheel. By @caohy1988 in
#529 - The BQCA Looker Studio template points at a shareable copy. Its
owner turned on public link sharing; the outside-account copy check is
still pending. Outside the wheel. By @caohy1988 in
#520
Examples & dashboards
agent_improvement_cyclegrades with the canonical rubrics
(response_usefulness,tool_usage) and reuses the
scripts/skill_evolution.pytrajectory helpers;examples/README.md
says how the three self-improvement examples differ. By @seoeunbae in
#534- The self-evolving demo's
load_config()readsPROJECT_ID/
GOOGLE_CLOUD_PROJECTbefore asking for Application Default
Credentials. By @caohy1988 in
#525 - The Looker Studio USER_MANUAL gives the BQCA fallbacks in its "This
report isn't shared with you" row. By @caohy1988 in
#521
Docs
- SDK.md
otel_spansjoin recipes keep one row per span, because the
OTLP receiver writes that table at least once. By @caohy1988 in
#518 - SDK.md producer details are corrected from the #510 review: source
event IDs, per-event view columns andpayload_column_denylist. By
@TonyZhou05 in
#526 gm scaffoldflags, categorical persistence and CLI option claims
match the code. Its onesrc/file, the ontology user manual, is
excluded from the wheel. By @caohy1988 in
#528
Tests/CI/maintenance
- Report-only mutation testing for
udf_kernels,system_evaluator
andaggregate_grader: it runs weekly and on demand, never on pull
requests, and surviving mutants never fail the run. By @caohy1988 in
#522 WeightedStrategytests pin the threshold, zero-weight and
averaging rules. By @caohy1988 in
#524- The Streamlit dashboard test suite is consolidated into
tests/test_dashboards_streamlit.py. By @whuang602 in
#519 - Six lost Streamlit regression checks are restored. By @caohy1988 in
#532 - Dead code removed: unreferenced helpers, dead stores and leftover
imports. In the wheel, unexported names only; no behavior change. By
@caohy1988 in
#523 - Dead code removed: unused private parameters and a dead store. In
the wheel, private names only; no behavior change. By @caohy1988 in
#533 source-map-js1.2.1 → 1.2.2 indashboard_v2/, an indirect
dependency. By @dependabot in
#517- The browser smoke check polls headless Chrome every 0.1 s instead of
every second, so CI's browser smoke passes no longer wait a full second
each. By @caohy1988 in
#536
What's Changed
- audit: reject drift golden tables that leave their quoted table path (nightly security) by @caohy1988 in #516
- chore(deps): bump source-map-js from 1.2.1 to 1.2.2 in /dashboard_v2 by @dependabot[bot] in #517
- audit: dedupe the SDK.md otel_spans join recipes (nightly docs drift) by @caohy1988 in #518
- feat(dashboard): add BQCA Prompt & Response Logging dashboards (Looker Studio & Streamlit) by @haiyuan-eng-google in #515
- fix(bqca): point Looker template to publicly shareable report by @caohy1988 in #520
- audit: add BQCA guidance to the USER_MANUAL not-shared troubleshooting row (nightly catch-up) by @caohy1988 in #521
- ci: add report-only mutation testing (mutmut) for the core scoring modules by @caohy1988 in #522
- chore: remove unreferenced helpers, dead stores and leftover imports (nightly dead code) by @caohy1988 in #523
- test: pin WeightedStrategy threshold, zero-weight and averaging rules (nightly mutation) by @caohy1988 in #524
- test: skip ADC lookup in self-evolving demo load_config when project env is set (nightly) by @caohy1988 in #525
- docs: fix SDK.md producer details from the #510 review (#312) by @TonyZhou05 in #526
- audit: escape outside text in the --exit-code gates' output (nightly security) by @caohy1988 in #527
- docs: fix gm scaffold flags, categorical persistence and CLI option claims (nightly docs drift) by @caohy1988 in #528
- test(streamlit): consolidate and clean dashboard test suite by @whuang602 in #519
- test(streamlit): restore six lost dashboard regression checks by @caohy1988 in #532
- chore: drop unused private parameters and a dead store (nightly dead code) by @caohy1988 in #533
- fix: drop unrecognized categories from contextual categorical rows (follows up #528) by @caohy1988 in #529
- examples: use canonical rubrics and skill_evolution helpers in agent_improvement_cycle #482 by @seoeunbae in #534
- test: poll headless Chrome every 0.1 s in the browser smoke check (nightly) by @caohy1988 in #536
- release: v0.6.1 by @caohy1988 in #535
New Contributors
- @seoeunbae made their first contribution in #534
Full Changelog: v0.6.0...v0.6.1