bigquery-agent-analytics 0.3.3__tar.gz → 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/.github/workflows/ci.yml +4 -4
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/.github/workflows/release.yml +3 -3
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/.gitignore +1 -1
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/CHANGELOG.md +78 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/PKG-INFO +50 -13
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/README.md +49 -12
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/SDK.md +46 -27
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/remote_function/dispatch.py +15 -15
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/README.md +19 -3
- bigquery_agent_analytics-0.4.0/docs/blog/images/context-graph-flow.png +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/blog/periodic_materialization.md +13 -13
- bigquery_agent_analytics-0.4.0/docs/codelabs/images/context-graph-flow.png +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/codelabs/periodic_materialization.md +18 -18
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/design.md +12 -12
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/guides/conversational-analytics-first.md +8 -6
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/guides/scheduled-context-graph-deploy.md +68 -49
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/hatteras_evaluation.md +3 -3
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/implementation_plan_concept_index_runtime.md +1 -1
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/implementation_plan_remote_function.md +29 -29
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/prd_unified_analytics_interface.md +3 -3
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/python_udf_support_design.md +4 -4
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/README.md +8 -6
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/DEMO_NARRATION.md +3 -3
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/README.md +4 -4
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/eval/operational_metrics.py +5 -5
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/README.md +27 -22
- {bigquery_agent_analytics-0.3.3/examples/codelab/periodic_materialization → bigquery_agent_analytics-0.4.0/examples/context_graph/codelab}/README.md +5 -7
- bigquery_agent_analytics-0.4.0/examples/context_graph/codelab/colab_notebook.ipynb +787 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/periodic_materialization/README.md +26 -22
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/periodic_materialization/deploy_cloud_run_job.sh +52 -15
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/periodic_materialization/run_job.py +79 -22
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/periodic_materialization/terraform/README.md +17 -15
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/periodic_materialization/terraform/main.tf +20 -5
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/periodic_materialization/terraform/terraform.tfvars.example +6 -1
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/periodic_materialization/terraform/variables.tf +7 -1
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph_adcp_demo.ipynb +9 -9
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/README.md +1 -1
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/SLIDES.html +123 -123
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/SLIDES.md +4 -4
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/SLIDES.pptx +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/e2e_demo.py +5 -5
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/e2e_notebook_demo.ipynb +13 -13
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/nba_agent_trace_analysis_notebook.ipynb +3 -3
- bigquery_agent_analytics-0.4.0/examples/self_evolving_agent_demo/.gitignore +5 -0
- bigquery_agent_analytics-0.4.0/examples/self_evolving_agent_demo/DEMO_NARRATION.md +28 -0
- bigquery_agent_analytics-0.4.0/examples/self_evolving_agent_demo/README.md +212 -0
- bigquery_agent_analytics-0.4.0/examples/self_evolving_agent_demo/VERIFICATION.md +101 -0
- bigquery_agent_analytics-0.4.0/examples/self_evolving_agent_demo/agent/__init__.py +1 -0
- bigquery_agent_analytics-0.4.0/examples/self_evolving_agent_demo/agent/agent.py +100 -0
- bigquery_agent_analytics-0.4.0/examples/self_evolving_agent_demo/agent/prompt_store.py +101 -0
- bigquery_agent_analytics-0.4.0/examples/self_evolving_agent_demo/agent/prompts.py +44 -0
- bigquery_agent_analytics-0.4.0/examples/self_evolving_agent_demo/agent/tools.py +318 -0
- bigquery_agent_analytics-0.4.0/examples/self_evolving_agent_demo/analytics/__init__.py +1 -0
- bigquery_agent_analytics-0.4.0/examples/self_evolving_agent_demo/analytics/session_metrics.py +322 -0
- bigquery_agent_analytics-0.4.0/examples/self_evolving_agent_demo/analyze_and_evolve.py +377 -0
- bigquery_agent_analytics-0.4.0/examples/self_evolving_agent_demo/compare_runs.py +266 -0
- bigquery_agent_analytics-0.4.0/examples/self_evolving_agent_demo/eval/eval_cases.json +28 -0
- bigquery_agent_analytics-0.4.0/examples/self_evolving_agent_demo/reset.sh +26 -0
- bigquery_agent_analytics-0.4.0/examples/self_evolving_agent_demo/run_agent.py +201 -0
- bigquery_agent_analytics-0.4.0/examples/self_evolving_agent_demo/run_e2e_demo.sh +99 -0
- bigquery_agent_analytics-0.4.0/examples/self_evolving_agent_demo/setup.sh +124 -0
- bigquery_agent_analytics-0.4.0/issues/concurrent_classify_sessions.md +71 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/pyproject.toml +1 -1
- bigquery_agent_analytics-0.4.0/scripts/README.md +594 -0
- bigquery_agent_analytics-0.4.0/scripts/eval/data/eval_spec.example.json +22 -0
- bigquery_agent_analytics-0.4.0/scripts/eval/eval_config.json +173 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/scripts/generate_colab_from_codelab.py +2 -2
- bigquery_agent_analytics-0.4.0/scripts/quality_report.py +4264 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/scripts/quality_report.sh +29 -10
- bigquery_agent_analytics-0.4.0/scripts/sample_quality_report.md +1008 -0
- bigquery_agent_analytics-0.4.0/scripts/sample_quality_report_session.md +148 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/__init__.py +2 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/_streaming_evaluation.py +4 -4
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/categorical_evaluator.py +8 -2
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/cli.py +59 -33
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/client.py +8 -8
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/evaluators.py +31 -27
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/event_semantics.py +12 -1
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/grader_pipeline.py +24 -12
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/materialize_window.py +101 -17
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/property_graph_spec.py +111 -1
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/seed_events.py +454 -9
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/trace.py +14 -1
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/trace_evaluator.py +7 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/udf_kernels.py +9 -2
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/views.py +69 -1
- bigquery_agent_analytics-0.4.0/tests/test_adk2_event_types.py +202 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_cli_context_graph_input_modes.py +17 -3
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_codelab_embedded_artifacts.py +3 -3
- bigquery_agent_analytics-0.4.0/tests/test_deploy_graph_mode.py +175 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_grader_pipeline.py +24 -9
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_graph_ddl_parser.py +1 -5
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_graph_schema_join.py +1 -5
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_pr16_fixes.py +1 -1
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_pr17_fixes.py +2 -2
- bigquery_agent_analytics-0.4.0/tests/test_property_graph_spec.py +558 -0
- bigquery_agent_analytics-0.4.0/tests/test_quality_report_helpers.py +1249 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_sdk_client.py +2 -2
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_sdk_evaluators.py +76 -60
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_seed_events.py +241 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_seed_events_wrapper.py +1 -1
- bigquery_agent_analytics-0.4.0/tests/test_self_evolving_agent_demo.py +99 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_udf_kernels.py +10 -10
- bigquery_agent_analytics-0.3.3/docs/blog/images/context-graph-flow.png +0 -0
- bigquery_agent_analytics-0.3.3/docs/codelabs/images/Gemini_Generated_Image_2qdbtg2qdbtg2qdb.jpeg +0 -0
- bigquery_agent_analytics-0.3.3/docs/codelabs/images/context-graph-flow.png +0 -0
- bigquery_agent_analytics-0.3.3/examples/codelab/periodic_materialization/binding.yaml +0 -49
- bigquery_agent_analytics-0.3.3/examples/codelab/periodic_materialization/colab_notebook.ipynb +0 -787
- bigquery_agent_analytics-0.3.3/examples/codelab/periodic_materialization/ontology.yaml +0 -36
- bigquery_agent_analytics-0.3.3/scripts/README.md +0 -228
- bigquery_agent_analytics-0.3.3/scripts/quality_report.py +0 -1504
- bigquery_agent_analytics-0.3.3/scripts/sample_quality_report.md +0 -138
- bigquery_agent_analytics-0.3.3/tests/test_property_graph_spec.py +0 -283
- bigquery_agent_analytics-0.3.3/tests/test_quality_report_helpers.py +0 -601
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/.claude-plugin/marketplace.json +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/.github/workflows/producers-ci.yml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/.github/workflows/release-tracing.yml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/CODE_OF_CONDUCT.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/CONTRIBUTING.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/LICENSE +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/SECURITY.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/autoformat.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/dashboard/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/dashboard/agent_analytics_dashboard.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/dashboard/app.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/dashboard/requirements.txt +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/continuous_queries/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/continuous_queries/bigtable_dashboard.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/continuous_queries/pubsub_alerting.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/continuous_queries/realtime_error_analysis.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/continuous_queries/session_scoring.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/continuous_queries/setup_reservation.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/python_udf/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/python_udf/register.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/remote_function/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/remote_function/deploy.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/remote_function/main.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/remote_function/register.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/streaming_evaluation/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/streaming_evaluation/main.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/streaming_evaluation/requirements.txt +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/streaming_evaluation/setup.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/streaming_evaluation/trigger_query.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/streaming_evaluation/worker.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/blog/images/ca-conversation.png +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/blog/images/graph-visualization.png +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/codelabs/images/ca-conversation.png +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/codelabs/images/graph-visualization.png +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/context_graph_v2_design.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/context_graph_v3_design.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/entity_resolution_primitives.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/extractor_compilation_bka_measurement.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/extractor_compilation_bq_bundle_mirror.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/extractor_compilation_bundle_loader.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/extractor_compilation_diagnostics.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/extractor_compilation_orchestrator_swap.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/extractor_compilation_plan_parser.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/extractor_compilation_plan_resolver.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/extractor_compilation_retry_loop.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/extractor_compilation_revalidate_cli.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/extractor_compilation_revalidation.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/extractor_compilation_rollout_guide.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/extractor_compilation_runtime_fallback.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/extractor_compilation_runtime_registry.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/extractor_compilation_runtime_target.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/extractor_compilation_scaffolding.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/extractor_compilation_template_renderer.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/guides/images/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/guides/images/ca-committed-outcomes.png +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/learning_ontology_and_context_graph.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/ontology/binding-validation.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/ontology/binding.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/ontology/cli.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/ontology/compilation.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/ontology/concept-index.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/ontology/ontology-build.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/ontology/ontology.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/ontology/owl-import.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/ontology/scaffold.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/ontology/validation.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/ontology_graph_v4_design.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/ontology_graph_v5_design.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/ontology_runtime_reader.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/proposal_bigquery_agent_cli.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/remote_function_rationale.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/sdk_usage_tracking.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/superpowers/plans/2026-05-28-bqaa-seed-events.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/superpowers/plans/2026-05-29-decision-realistic-scenario.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/superpowers/specs/2026-05-28-bqaa-seed-events-design.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/docs/superpowers/specs/2026-05-29-decision-realistic-scenario-design.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/_archive/context_graph_historical_notebook.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/.gitignore +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/A2A_JOINT_LINEAGE.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/BQ_STUDIO_WALKTHROUGH.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/DATA_LINEAGE.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/DEMO_NARRATION.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/analyst_agent/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/analyst_agent/agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/analyst_agent/prompts.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/analyst_agent/tools.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/bq_studio_queries.gql.tpl +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/build_joint_graph.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/build_org_graphs.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/caller_agent/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/caller_agent/agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/caller_agent/prompts.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/caller_agent/tools.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/campaigns.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/joint_property_graph.gql.tpl +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/receiver_agent/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/receiver_agent/agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/receiver_agent/prompts.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/render_queries.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/reset.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/run_analyst_agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/run_caller_agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/run_e2e_demo.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/run_receiver_server.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/setup.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/a2a_joint_lineage_demo/smoke_receiver.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/agent/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/agent/agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/agent/prompts.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/agent/tools.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/agent_improvement/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/agent_improvement/config.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/agent_improvement/config_loader.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/agent_improvement/eval_runner.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/agent_improvement/improver_agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/agent_improvement/prompt_adapter.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/agent_improvement/prompts.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/agent_improvement/tool_introspection.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/config.json +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/demo.png +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/eval/eval_cases.json +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/eval/generate_traffic.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/eval/run_eval.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/overview.png +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/reset.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/run_cycle.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/run_improvement.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/setup.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/setup_vertex.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/agent_improvement_cycle/show_prompt.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/ai_classify_side_by_side.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/ai_forecast_side_by_side.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/ai_ml_integration_demo.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/ai_similarity_validation.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/categorical_dashboard.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/categorical_evaluation_demo.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/ci/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/ci/evaluate_thresholds.yml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/ci_eval_pipeline.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/cli_agent_tool.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/.gitignore +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/binding.yaml +0 -0
- {bigquery_agent_analytics-0.3.3/examples/codelab/periodic_materialization → bigquery_agent_analytics-0.4.0/examples/context_graph/codelab}/property_graph.sql +0 -0
- {bigquery_agent_analytics-0.3.3/examples/codelab/periodic_materialization → bigquery_agent_analytics-0.4.0/examples/context_graph/codelab}/seed_events.py +0 -0
- {bigquery_agent_analytics-0.3.3/examples/codelab/periodic_materialization → bigquery_agent_analytics-0.4.0/examples/context_graph/codelab}/table_ddl.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/example_ontologies/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/example_ontologies/simple_request_flow.ttl +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/example_ontologies/simple_request_flow_config.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/export_events_jsonl.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/mako_artifacts.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/mako_core.ttl +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/mako_demo_agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/ontology.yaml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/ontology_artifacts.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/periodic_materialization/build_image.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/periodic_materialization/requirements.txt +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/periodic_materialization/terraform/.gitignore +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/periodic_materialization/terraform/outputs.tf +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/periodic_materialization/terraform/versions.tf +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/property_graph.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/reference_extractor.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/revalidation_thresholds.json +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/run_agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/context_graph/table_ddl.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/continuous_query_alerting.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/dashboard_v2.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/dashboard_v2_bigframes.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/.gitignore +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/BQ_STUDIO_WALKTHROUGH.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/DATA_LINEAGE.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/DEMO_NARRATION.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/DEMO_QUESTIONS.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/SETUP_NEW_PROJECT.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/agent/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/agent/agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/agent/prompts.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/agent/tools.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/bq_studio_queries.gql.tpl +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/build_graph.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/build_rich_graph.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/campaigns.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/property_graph.gql.tpl +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/render_queries.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/reset.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/rich_property_graph.gql.tpl +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/run_agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/decision_lineage_demo/setup.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/e2e_demo_output.txt +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/event_semantics_views_bigframes_demo.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/memory_service_demo.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/ontology_graph_v4_demo.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/ontology_graph_v5_demo.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/python_udf_eval_summary.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/python_udf_evaluation.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/python_udf_event_semantics.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/remote_function_dashboard.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/examples/ymgo_graph_spec.yaml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code/.claude-plugin/plugin.json +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code/.gitignore +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code/MARKETPLACE.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code/commands/bqaa-setup.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code/hooks/common.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code/hooks/notification.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code/hooks/permission_request.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code/hooks/post_tool_use.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code/hooks/pre_tool_use.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code/hooks/session_end.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code/hooks/session_start.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code/hooks/stop.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code/hooks/subagent_stop.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code/hooks/user_prompt_submit.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code/scripts/run_setup_check.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/.claude-plugin/plugin.json +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/MARKETPLACE.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/commands/bqaa-setup.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/hooks/common.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/hooks/notification.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/hooks/permission_request.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/hooks/post_tool_use.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/hooks/pre_tool_use.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/hooks/session_end.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/hooks/session_start.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/hooks/stop.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/hooks/subagent_stop.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/hooks/user_prompt_submit.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/scripts/run_setup_check.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/vendor/bigquery_agent_analytics_tracing/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/vendor/bigquery_agent_analytics_tracing/_utils.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/vendor/bigquery_agent_analytics_tracing/_writer_identity.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/vendor/bigquery_agent_analytics_tracing/claude_code.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/vendor/bigquery_agent_analytics_tracing/config.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/vendor/bigquery_agent_analytics_tracing/drain.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/vendor/bigquery_agent_analytics_tracing/logger.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/vendor/bigquery_agent_analytics_tracing/schema.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/vendor/bigquery_agent_analytics_tracing/setup_check.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/vendor/bigquery_agent_analytics_tracing-0.1.0.dist-info/METADATA +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/RELEASING.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/pyproject.toml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/scripts/build_claude_plugin.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/src/bigquery_agent_analytics_tracing/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/src/bigquery_agent_analytics_tracing/_utils.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/src/bigquery_agent_analytics_tracing/_writer_identity.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/src/bigquery_agent_analytics_tracing/claude_code.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/src/bigquery_agent_analytics_tracing/config.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/src/bigquery_agent_analytics_tracing/drain.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/src/bigquery_agent_analytics_tracing/logger.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/src/bigquery_agent_analytics_tracing/schema.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/src/bigquery_agent_analytics_tracing/setup_check.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/tests/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/tests/test_build_claude_plugin.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/tests/test_claude_code.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/tests/test_config.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/tests/test_drain.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/tests/test_logger_row_shape.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/tests/test_schema.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/producers/tests/test_setup_check.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/scripts/latency_report.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/scripts/latency_report.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/scripts/sample_latency_report.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/_deploy_runtime.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/_ontology_routing.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/_telemetry.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/ai_ml_integration.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/bigframes_evaluator.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/binding_validation.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/categorical_views.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/context_graph.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/eval_suite.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/eval_validator.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/extracted_models.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/extractor_compilation/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/extractor_compilation/ast_validator.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/extractor_compilation/bq_bundle_mirror.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/extractor_compilation/bundle_loader.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/extractor_compilation/cli_revalidate.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/extractor_compilation/compiler.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/extractor_compilation/diagnostics.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/extractor_compilation/fingerprint.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/extractor_compilation/manifest.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/extractor_compilation/measurement.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/extractor_compilation/plan_parser.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/extractor_compilation/plan_resolver.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/extractor_compilation/retry_loop.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/extractor_compilation/revalidation.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/extractor_compilation/runtime_fallback.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/extractor_compilation/runtime_registry.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/extractor_compilation/smoke_test.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/extractor_compilation/subprocess_runner.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/extractor_compilation/template_renderer.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/feedback.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/formatter.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/graph_validation.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/insights.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/memory_service.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/multi_trial.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/ontology_graph.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/ontology_materializer.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/ontology_models.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/ontology_orchestrator.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/ontology_property_graph.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/ontology_runtime.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/ontology_schema_compiler.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/resolved_spec.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/runtime_spec.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/serialization.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/structured_extraction.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/ttl_importer.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_agent_analytics/udf_sql_templates.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_ontology/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_ontology/_fingerprint.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_ontology/binding_loader.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_ontology/binding_models.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_ontology/cli.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_ontology/concept_index.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_ontology/docs/user_manual.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_ontology/graph_ddl_compiler.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_ontology/graph_ddl_models.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_ontology/graph_ddl_parser.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_ontology/graph_schema_join.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_ontology/graph_to_spec.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_ontology/ontology_loader.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_ontology/ontology_models.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_ontology/owl_importer.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/src/bigquery_ontology/scaffold.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/bigquery_ontology/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/bigquery_ontology/test_binding_loader.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/bigquery_ontology/test_binding_models.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/bigquery_ontology/test_cli.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/bigquery_ontology/test_compile_concept_index.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/bigquery_ontology/test_concept_index.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/bigquery_ontology/test_fingerprint.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/bigquery_ontology/test_graph_ddl_compiler.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/bigquery_ontology/test_ontology_models.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/bigquery_ontology/test_owl_importer.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/bigquery_ontology/test_scaffold.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/bigquery_ontology/test_scaffold_cli.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/fixtures/lineage_sessions.json +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/fixtures/mixed_events.json +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/fixtures/mixed_owl_skos.ttl +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/fixtures/skos_taxonomy.ttl +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/fixtures/test_binding.yaml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/fixtures/test_combined_spec.yaml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/fixtures/test_ontology.yaml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/fixtures/yamo_sample.ttl +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/fixtures_extractor_compilation/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/fixtures_extractor_compilation/bka_decision_inputs.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/fixtures_extractor_compilation/bka_decision_measurement_report.json +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/fixtures_extractor_compilation/bka_decision_template.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/fixtures_extractor_compilation/plan_bka_decision.json +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_abstract_adapter_filter.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_ai_generate_judge_live.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_ai_ml_integration.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_ai_ml_integration_labels.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_bigframes_evaluator.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_binding_explicit_fk_mapping.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_binding_validation.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_bridge_hardening.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_categorical_evaluator.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_categorical_views.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_cli.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_cli_bqaa_app.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_client_labels.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_context_graph.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_context_graph_labels.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_context_graph_ontology_artifacts.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_context_graph_reference_extractor.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_deploy_property_graph_mode.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_dual_loader.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_eval_suite.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_eval_validator.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_event_semantics.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_extract_graph_diagnostics_modes.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_extracted_models.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_extractor_compilation.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_extractor_compilation_bka_compile_live.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_extractor_compilation_bq_bundle_mirror.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_extractor_compilation_bq_bundle_mirror_live.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_extractor_compilation_bundle_loader.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_extractor_compilation_cli_revalidate.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_extractor_compilation_cli_revalidate_bq_live.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_extractor_compilation_diagnostics.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_extractor_compilation_measurement.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_extractor_compilation_plan_parser.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_extractor_compilation_plan_resolver.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_extractor_compilation_retry_loop.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_extractor_compilation_revalidation.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_extractor_compilation_runtime_fallback.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_extractor_compilation_runtime_registry.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_extractor_compilation_template.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_feedback_labels.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_formatter.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_generate_colab_asides.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_generate_colab_images.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_graph_to_spec.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_graph_validation.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_integration_ontology_binding.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_latency_report_helpers.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_materialize_window.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_materialize_window_live.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_memory_service.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_memory_service_labels.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_multi_trial.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_ontology_graph.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_ontology_graph_from_bundles_root.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_ontology_labels.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_ontology_materializer.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_ontology_models.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_ontology_orchestrator.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_ontology_property_graph.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_ontology_runtime.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_ontology_runtime_live.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_ontology_schema_compiler.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_owl_import_bridge.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_pr19_fixes.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_remote_function.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_resolved_spec.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_run_job_property_graph.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_runtime_factory.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_runtime_spec.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_sdk_feedback.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_sdk_insights.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_sdk_trace.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_serialization.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_streaming_evaluation.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_surface_tags.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_telemetry.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_terraform_property_graph_mode.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_trace_evaluator.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_trace_filter_factory.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_udf_sql_generation.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_v5_golden.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/tests/test_views.py +0 -0
|
@@ -27,7 +27,7 @@ concurrency:
|
|
|
27
27
|
jobs:
|
|
28
28
|
format:
|
|
29
29
|
name: Format check
|
|
30
|
-
runs-on: ubuntu-
|
|
30
|
+
runs-on: ubuntu-22.04
|
|
31
31
|
steps:
|
|
32
32
|
- uses: actions/checkout@v4
|
|
33
33
|
|
|
@@ -51,11 +51,11 @@ jobs:
|
|
|
51
51
|
run: |
|
|
52
52
|
python scripts/generate_colab_from_codelab.py --check \
|
|
53
53
|
docs/codelabs/periodic_materialization.md \
|
|
54
|
-
examples/codelab/
|
|
54
|
+
examples/context_graph/codelab/colab_notebook.ipynb
|
|
55
55
|
|
|
56
56
|
test:
|
|
57
57
|
name: Test (Python ${{ matrix.python-version }})
|
|
58
|
-
runs-on: ubuntu-
|
|
58
|
+
runs-on: ubuntu-22.04
|
|
59
59
|
strategy:
|
|
60
60
|
fail-fast: false
|
|
61
61
|
matrix:
|
|
@@ -75,7 +75,7 @@ jobs:
|
|
|
75
75
|
|
|
76
76
|
build:
|
|
77
77
|
name: Build package
|
|
78
|
-
runs-on: ubuntu-
|
|
78
|
+
runs-on: ubuntu-22.04
|
|
79
79
|
needs: [format, test]
|
|
80
80
|
steps:
|
|
81
81
|
- uses: actions/checkout@v4
|
{bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/.github/workflows/release.yml
RENAMED
|
@@ -31,7 +31,7 @@ jobs:
|
|
|
31
31
|
build:
|
|
32
32
|
name: Build package
|
|
33
33
|
if: startsWith(github.event.release.tag_name, 'v')
|
|
34
|
-
runs-on: ubuntu-
|
|
34
|
+
runs-on: ubuntu-22.04
|
|
35
35
|
steps:
|
|
36
36
|
- uses: actions/checkout@v4
|
|
37
37
|
|
|
@@ -64,7 +64,7 @@ jobs:
|
|
|
64
64
|
publish-pypi:
|
|
65
65
|
name: Publish to PyPI
|
|
66
66
|
needs: build
|
|
67
|
-
runs-on: ubuntu-
|
|
67
|
+
runs-on: ubuntu-22.04
|
|
68
68
|
environment: pypi
|
|
69
69
|
permissions:
|
|
70
70
|
id-token: write
|
|
@@ -80,7 +80,7 @@ jobs:
|
|
|
80
80
|
publish-testpypi:
|
|
81
81
|
name: Publish to TestPyPI
|
|
82
82
|
needs: build
|
|
83
|
-
runs-on: ubuntu-
|
|
83
|
+
runs-on: ubuntu-22.04
|
|
84
84
|
environment: testpypi
|
|
85
85
|
permissions:
|
|
86
86
|
id-token: write
|
|
@@ -7,6 +7,84 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.4.0] - 2026-06-18
|
|
11
|
+
|
|
12
|
+
### Release highlights
|
|
13
|
+
|
|
14
|
+
Richer analytics out of the box. A new `retail-returns` seed scenario gives
|
|
15
|
+
token-usage and latency demos real data to query the moment you seed a
|
|
16
|
+
dataset, the SDK's type surfaces now recognize the ADK 2.0 event vocabulary
|
|
17
|
+
end to end, and the quality report graduates from two pass/fail metrics to a
|
|
18
|
+
diagnostic view that tells you *why* a session failed and *what to fix*.
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- **`retail-returns` seed-events scenario** — `bqaa seed-events --scenario
|
|
23
|
+
retail-returns` generates a multi-agent refund/exchange trace (intake-triage,
|
|
24
|
+
fraud-abuse, quality-defect) with `LLM_REQUEST`/`LLM_RESPONSE` token-usage
|
|
25
|
+
and latency telemetry, so token/latency analytics and the `v_llm_response`
|
|
26
|
+
view's `usage_*_tokens` / `total_ms` / `ttft_ms` columns are non-empty
|
|
27
|
+
immediately. Emits one terminal `AGENT_COMPLETED` per session, deterministic
|
|
28
|
+
outcome buckets (surfaced via `session_outcome_counts`), product-quality
|
|
29
|
+
feedback text, and `legacy_crm_db` diagnostic errors for filterable demo
|
|
30
|
+
queries. Output is deterministic for a fixed `(seed, now)`; existing
|
|
31
|
+
`decision` / `decision-realistic` scenarios are unchanged and byte-identical.
|
|
32
|
+
- **ADK 2.0 event types across the SDK type surfaces** — the four
|
|
33
|
+
#293-shipped event types are registered with full typed views and the two
|
|
34
|
+
workflow-boundary types as header-only, across every consumer type surface,
|
|
35
|
+
and `TOOL_COMPLETED` is extended with the long-running pair keys.
|
|
36
|
+
- **`SystemEvaluator`** as the preferred name for deterministic/code-defined
|
|
37
|
+
metrics. `CodeEvaluator` is kept as a backward-compatible alias; calling
|
|
38
|
+
`CodeEvaluator()` now emits `evaluator_name="system_evaluator"`.
|
|
39
|
+
- **Expanded quality report** — adds quality dimensions, correction analysis,
|
|
40
|
+
execution traces, golden-Q&A grounding, and version filtering, so a failing
|
|
41
|
+
session shows why it failed, whether the answer is correct, and what to fix
|
|
42
|
+
(beyond the original `response_usefulness` / `task_grounding` pass/fail
|
|
43
|
+
metrics).
|
|
44
|
+
|
|
45
|
+
## [0.3.4] - 2026-06-10
|
|
46
|
+
|
|
47
|
+
### Release highlights
|
|
48
|
+
|
|
49
|
+
Consume the graph you already deployed. `bqaa context-graph --graph <name>`
|
|
50
|
+
reads your property graph's definition back from BigQuery's
|
|
51
|
+
`INFORMATION_SCHEMA.PROPERTY_GRAPHS` and derives the ontology + binding from
|
|
52
|
+
it plus the live table schemas — no SQL file is passed to (or staged for) the
|
|
53
|
+
materializer. You deploy the graph with standard `bq` DDL once; from then on
|
|
54
|
+
the deployed graph is the single source of truth, so what you query with GQL
|
|
55
|
+
and what gets materialized can never drift apart. The docs (codelab, blog,
|
|
56
|
+
scheduled-deploy runbook, guides) now teach this flow exclusively.
|
|
57
|
+
|
|
58
|
+
### Added
|
|
59
|
+
|
|
60
|
+
- **Deployed-graph (`--graph`) materialization mode** — point the
|
|
61
|
+
materializer at a property graph that already exists in BigQuery instead of
|
|
62
|
+
a local DDL file. Available on every surface: `bqaa context-graph --graph`
|
|
63
|
+
(CLI; accepts a bare name resolved in `--dataset-id`, or qualified
|
|
64
|
+
`dataset.graph` / `project.dataset.graph`),
|
|
65
|
+
`run_materialize_window(graph=...)` (Python API), `BQAA_GRAPH` (scheduled
|
|
66
|
+
`run_job.py`), `deploy_cloud_run_job.sh --graph`, and the Terraform
|
|
67
|
+
module's `graph` variable. The SDK fetches the normalized `CREATE PROPERTY
|
|
68
|
+
GRAPH` statement from the dataset-qualified
|
|
69
|
+
`INFORMATION_SCHEMA.PROPERTY_GRAPHS` view and feeds the existing
|
|
70
|
+
schema-derive pipeline; a missing graph fails with an error that lists the
|
|
71
|
+
graphs the dataset does contain. In deployed-graph deploys nothing is
|
|
72
|
+
staged into the image and the entity-table bootstrap is skipped (the
|
|
73
|
+
graph's existence proves its node/edge tables exist). Mutually exclusive
|
|
74
|
+
with `--property-graph` and `--ontology`/`--binding`; incompatible with
|
|
75
|
+
`--extraction-mode=compiled-only` (no reference extractors are staged in
|
|
76
|
+
derived mode).
|
|
77
|
+
|
|
78
|
+
### Changed
|
|
79
|
+
|
|
80
|
+
- **Docs teach only the deployed-graph flow.** The codelab (+ regenerated
|
|
81
|
+
Colab notebook), blog post, scheduled Context Graph deploy runbook, the
|
|
82
|
+
Conversational Analytics-first guide, and the example READMEs now apply the
|
|
83
|
+
table DDL + `CREATE PROPERTY GRAPH` to BigQuery as the one-time deploy step
|
|
84
|
+
and materialize with `--graph` / `BQAA_GRAPH` / `graph =`. The file-based
|
|
85
|
+
`--property-graph` mode from 0.3.3 keeps working for existing scripts and
|
|
86
|
+
images but is no longer documented; prefer `--graph`.
|
|
87
|
+
|
|
10
88
|
## [0.3.3] - 2026-06-08
|
|
11
89
|
|
|
12
90
|
### Release highlights
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bigquery-agent-analytics
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: SDK for analyzing and evaluating agent traces stored in BigQuery.
|
|
5
5
|
Author: Google LLC
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -62,7 +62,7 @@ Description-Content-Type: text/markdown
|
|
|
62
62
|
An open-source Python SDK for analyzing, evaluating, and curating agent traces
|
|
63
63
|
stored in BigQuery. Built on top of the
|
|
64
64
|
[BigQuery Agent Analytics](https://adk.dev/integrations/bigquery-agent-analytics/), it provides
|
|
65
|
-
a consumption-layer toolkit for agent observability, analysis, evaluation, and advanced capabilities like context graph at scale.
|
|
65
|
+
a consumption-layer toolkit for agent observability, analysis, evaluation, and advanced capabilities like the Agent Context Graph — extracting decision traces from your agent's context graph — at scale.
|
|
66
66
|
|
|
67
67
|
## Overview
|
|
68
68
|
|
|
@@ -94,8 +94,7 @@ regressions — all through BigQuery SQL or Python.
|
|
|
94
94
|
- Categorical (Hatteras-style) evaluation via BigFrames
|
|
95
95
|
|
|
96
96
|
**Advanced Analytics**
|
|
97
|
-
- Context Graph —
|
|
98
|
-
- YAML-driven ontology extraction and materialization
|
|
97
|
+
- Agent Context Graph — extract decision traces from your agent's context graph: the requests an agent handled, the options it weighed, and the outcomes it committed, materialized into a queryable BigQuery property graph (GQL traversal, scheduled refresh via `bqaa context-graph`)
|
|
99
98
|
- Long-horizon cross-session memory
|
|
100
99
|
- Multi-stage agent insights pipeline
|
|
101
100
|
- Drift detection for golden vs production question distributions
|
|
@@ -155,11 +154,53 @@ trace.render()
|
|
|
155
154
|
See [SDK.md](SDK.md) for the full API walkthrough with code examples for every
|
|
156
155
|
feature.
|
|
157
156
|
|
|
157
|
+
### Try it: extract decision traces (Agent Context Graph, ~10 minutes)
|
|
158
|
+
|
|
159
|
+
Deploy a context graph, seed sample agent events, extract the decision
|
|
160
|
+
traces, and query one in GQL — entirely from your terminal:
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
export PROJECT_ID="your-project" DATASET="agent_analytics_demo"
|
|
164
|
+
gcloud config set project "$PROJECT_ID"
|
|
165
|
+
bq --location=US mk --dataset "$PROJECT_ID:$DATASET"
|
|
166
|
+
|
|
167
|
+
# 1. Deploy the context graph (one-time DDL: tables, then the property graph).
|
|
168
|
+
cd examples/context_graph/codelab
|
|
169
|
+
envsubst < table_ddl.sql | bq query --use_legacy_sql=false
|
|
170
|
+
envsubst < property_graph.sql | bq query --use_legacy_sql=false
|
|
171
|
+
|
|
172
|
+
# 2. Seed five sample agent sessions into agent_events.
|
|
173
|
+
bqaa seed-events --project-id "$PROJECT_ID" --dataset-id "$DATASET" --sessions 5
|
|
174
|
+
|
|
175
|
+
# 3. Extract decision traces from the deployed graph
|
|
176
|
+
# (read back via INFORMATION_SCHEMA.PROPERTY_GRAPHS — no SQL file passed).
|
|
177
|
+
bqaa context-graph --project-id "$PROJECT_ID" --dataset-id "$DATASET" \
|
|
178
|
+
--graph agent_decisions_graph --lookback-hours 24 --format json
|
|
179
|
+
|
|
180
|
+
# 4. Query a decision trace: what did the agent weigh, and how did it resolve?
|
|
181
|
+
bq query --use_legacy_sql=false "
|
|
182
|
+
SELECT * FROM GRAPH_TABLE(
|
|
183
|
+
$DATASET.agent_decisions_graph
|
|
184
|
+
MATCH (req:DecisionRequest)-[eo:evaluatesOption]->(opt:DecisionOption),
|
|
185
|
+
(req)-[ri:resultedIn]->(out:DecisionOutcome)
|
|
186
|
+
COLUMNS (req.request_text AS question, opt.option_label AS considered,
|
|
187
|
+
out.status AS outcome, out.rationale AS rationale))"
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
Expect `"ok": true` with 5 sessions materialized, and fifteen GQL rows — three
|
|
191
|
+
options weighed per request, each with the committed outcome and rationale.
|
|
192
|
+
The [Agent Context Graph codelab](docs/codelabs/periodic_materialization.md) is the
|
|
193
|
+
guided version of these steps (plus backfill and production scheduling), and
|
|
194
|
+
[`examples/context_graph/`](examples/context_graph/) is the worked example
|
|
195
|
+
with a runnable ADK agent.
|
|
196
|
+
|
|
158
197
|
## Documentation
|
|
159
198
|
|
|
160
199
|
| Resource | Description |
|
|
161
200
|
|----------|-------------|
|
|
162
201
|
| [SDK Feature Reference](SDK.md) | Complete API walkthrough with working code examples |
|
|
202
|
+
| [Agent Context Graph Codelab](docs/codelabs/periodic_materialization.md) | Extract decision traces from your agent's context graph, end to end (~35 min) |
|
|
203
|
+
| [Scheduled Deploy Runbook](docs/guides/scheduled-context-graph-deploy.md) | Keep the context graph fresh on a Cloud Run + Cloud Scheduler cron |
|
|
163
204
|
| [Design Documents](docs/README.md) | Architecture decisions and design rationale |
|
|
164
205
|
| [Examples](examples/README.md) | Notebooks, SQL scripts, and demos |
|
|
165
206
|
| [Deployment Guides](deploy/README.md) | Four deployment surfaces for Google Cloud |
|
|
@@ -178,7 +219,7 @@ src/bigquery_agent_analytics/
|
|
|
178
219
|
│ └── formatter.py # Output formatting (json/text/table)
|
|
179
220
|
│
|
|
180
221
|
├── Evaluation
|
|
181
|
-
│ ├── evaluators.py #
|
|
222
|
+
│ ├── evaluators.py # SystemEvaluator + LLMAsJudge
|
|
182
223
|
│ ├── trace_evaluator.py # Trajectory matching & replay
|
|
183
224
|
│ ├── multi_trial.py # Multi-trial runner + pass@k
|
|
184
225
|
│ ├── grader_pipeline.py # Grader composition pipeline
|
|
@@ -194,16 +235,12 @@ src/bigquery_agent_analytics/
|
|
|
194
235
|
├── Analytics
|
|
195
236
|
│ ├── insights.py # Multi-stage insights pipeline
|
|
196
237
|
│ ├── feedback.py # Drift detection & question distribution
|
|
197
|
-
│ ├── context_graph.py # Property Graph: BizNode extraction, GQL
|
|
198
238
|
│ └── memory_service.py # Long-horizon agent memory
|
|
199
239
|
│
|
|
200
|
-
├──
|
|
201
|
-
│ ├──
|
|
202
|
-
│ ├──
|
|
203
|
-
│
|
|
204
|
-
│ ├── ontology_materializer.py # Graph materialization to BigQuery
|
|
205
|
-
│ ├── ontology_property_graph.py # Property graph operations
|
|
206
|
-
│ └── ontology_orchestrator.py # End-to-end ontology pipeline
|
|
240
|
+
├── Agent Context Graph
|
|
241
|
+
│ ├── context_graph.py # Decision-trace extraction & GQL traversal
|
|
242
|
+
│ ├── materialize_window.py # Scheduled materialization (bqaa context-graph)
|
|
243
|
+
│ └── property_graph_spec.py # Derive the spec from your deployed property graph
|
|
207
244
|
│
|
|
208
245
|
└── CLI & Deploy
|
|
209
246
|
├── cli.py # CLI entry point (bq-agent-sdk)
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
An open-source Python SDK for analyzing, evaluating, and curating agent traces
|
|
8
8
|
stored in BigQuery. Built on top of the
|
|
9
9
|
[BigQuery Agent Analytics](https://adk.dev/integrations/bigquery-agent-analytics/), it provides
|
|
10
|
-
a consumption-layer toolkit for agent observability, analysis, evaluation, and advanced capabilities like context graph at scale.
|
|
10
|
+
a consumption-layer toolkit for agent observability, analysis, evaluation, and advanced capabilities like the Agent Context Graph — extracting decision traces from your agent's context graph — at scale.
|
|
11
11
|
|
|
12
12
|
## Overview
|
|
13
13
|
|
|
@@ -39,8 +39,7 @@ regressions — all through BigQuery SQL or Python.
|
|
|
39
39
|
- Categorical (Hatteras-style) evaluation via BigFrames
|
|
40
40
|
|
|
41
41
|
**Advanced Analytics**
|
|
42
|
-
- Context Graph —
|
|
43
|
-
- YAML-driven ontology extraction and materialization
|
|
42
|
+
- Agent Context Graph — extract decision traces from your agent's context graph: the requests an agent handled, the options it weighed, and the outcomes it committed, materialized into a queryable BigQuery property graph (GQL traversal, scheduled refresh via `bqaa context-graph`)
|
|
44
43
|
- Long-horizon cross-session memory
|
|
45
44
|
- Multi-stage agent insights pipeline
|
|
46
45
|
- Drift detection for golden vs production question distributions
|
|
@@ -100,11 +99,53 @@ trace.render()
|
|
|
100
99
|
See [SDK.md](SDK.md) for the full API walkthrough with code examples for every
|
|
101
100
|
feature.
|
|
102
101
|
|
|
102
|
+
### Try it: extract decision traces (Agent Context Graph, ~10 minutes)
|
|
103
|
+
|
|
104
|
+
Deploy a context graph, seed sample agent events, extract the decision
|
|
105
|
+
traces, and query one in GQL — entirely from your terminal:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
export PROJECT_ID="your-project" DATASET="agent_analytics_demo"
|
|
109
|
+
gcloud config set project "$PROJECT_ID"
|
|
110
|
+
bq --location=US mk --dataset "$PROJECT_ID:$DATASET"
|
|
111
|
+
|
|
112
|
+
# 1. Deploy the context graph (one-time DDL: tables, then the property graph).
|
|
113
|
+
cd examples/context_graph/codelab
|
|
114
|
+
envsubst < table_ddl.sql | bq query --use_legacy_sql=false
|
|
115
|
+
envsubst < property_graph.sql | bq query --use_legacy_sql=false
|
|
116
|
+
|
|
117
|
+
# 2. Seed five sample agent sessions into agent_events.
|
|
118
|
+
bqaa seed-events --project-id "$PROJECT_ID" --dataset-id "$DATASET" --sessions 5
|
|
119
|
+
|
|
120
|
+
# 3. Extract decision traces from the deployed graph
|
|
121
|
+
# (read back via INFORMATION_SCHEMA.PROPERTY_GRAPHS — no SQL file passed).
|
|
122
|
+
bqaa context-graph --project-id "$PROJECT_ID" --dataset-id "$DATASET" \
|
|
123
|
+
--graph agent_decisions_graph --lookback-hours 24 --format json
|
|
124
|
+
|
|
125
|
+
# 4. Query a decision trace: what did the agent weigh, and how did it resolve?
|
|
126
|
+
bq query --use_legacy_sql=false "
|
|
127
|
+
SELECT * FROM GRAPH_TABLE(
|
|
128
|
+
$DATASET.agent_decisions_graph
|
|
129
|
+
MATCH (req:DecisionRequest)-[eo:evaluatesOption]->(opt:DecisionOption),
|
|
130
|
+
(req)-[ri:resultedIn]->(out:DecisionOutcome)
|
|
131
|
+
COLUMNS (req.request_text AS question, opt.option_label AS considered,
|
|
132
|
+
out.status AS outcome, out.rationale AS rationale))"
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
Expect `"ok": true` with 5 sessions materialized, and fifteen GQL rows — three
|
|
136
|
+
options weighed per request, each with the committed outcome and rationale.
|
|
137
|
+
The [Agent Context Graph codelab](docs/codelabs/periodic_materialization.md) is the
|
|
138
|
+
guided version of these steps (plus backfill and production scheduling), and
|
|
139
|
+
[`examples/context_graph/`](examples/context_graph/) is the worked example
|
|
140
|
+
with a runnable ADK agent.
|
|
141
|
+
|
|
103
142
|
## Documentation
|
|
104
143
|
|
|
105
144
|
| Resource | Description |
|
|
106
145
|
|----------|-------------|
|
|
107
146
|
| [SDK Feature Reference](SDK.md) | Complete API walkthrough with working code examples |
|
|
147
|
+
| [Agent Context Graph Codelab](docs/codelabs/periodic_materialization.md) | Extract decision traces from your agent's context graph, end to end (~35 min) |
|
|
148
|
+
| [Scheduled Deploy Runbook](docs/guides/scheduled-context-graph-deploy.md) | Keep the context graph fresh on a Cloud Run + Cloud Scheduler cron |
|
|
108
149
|
| [Design Documents](docs/README.md) | Architecture decisions and design rationale |
|
|
109
150
|
| [Examples](examples/README.md) | Notebooks, SQL scripts, and demos |
|
|
110
151
|
| [Deployment Guides](deploy/README.md) | Four deployment surfaces for Google Cloud |
|
|
@@ -123,7 +164,7 @@ src/bigquery_agent_analytics/
|
|
|
123
164
|
│ └── formatter.py # Output formatting (json/text/table)
|
|
124
165
|
│
|
|
125
166
|
├── Evaluation
|
|
126
|
-
│ ├── evaluators.py #
|
|
167
|
+
│ ├── evaluators.py # SystemEvaluator + LLMAsJudge
|
|
127
168
|
│ ├── trace_evaluator.py # Trajectory matching & replay
|
|
128
169
|
│ ├── multi_trial.py # Multi-trial runner + pass@k
|
|
129
170
|
│ ├── grader_pipeline.py # Grader composition pipeline
|
|
@@ -139,16 +180,12 @@ src/bigquery_agent_analytics/
|
|
|
139
180
|
├── Analytics
|
|
140
181
|
│ ├── insights.py # Multi-stage insights pipeline
|
|
141
182
|
│ ├── feedback.py # Drift detection & question distribution
|
|
142
|
-
│ ├── context_graph.py # Property Graph: BizNode extraction, GQL
|
|
143
183
|
│ └── memory_service.py # Long-horizon agent memory
|
|
144
184
|
│
|
|
145
|
-
├──
|
|
146
|
-
│ ├──
|
|
147
|
-
│ ├──
|
|
148
|
-
│
|
|
149
|
-
│ ├── ontology_materializer.py # Graph materialization to BigQuery
|
|
150
|
-
│ ├── ontology_property_graph.py # Property graph operations
|
|
151
|
-
│ └── ontology_orchestrator.py # End-to-end ontology pipeline
|
|
185
|
+
├── Agent Context Graph
|
|
186
|
+
│ ├── context_graph.py # Decision-trace extraction & GQL traversal
|
|
187
|
+
│ ├── materialize_window.py # Scheduled materialization (bqaa context-graph)
|
|
188
|
+
│ └── property_graph_spec.py # Derive the spec from your deployed property graph
|
|
152
189
|
│
|
|
153
190
|
└── CLI & Deploy
|
|
154
191
|
├── cli.py # CLI entry point (bq-agent-sdk)
|
|
@@ -112,32 +112,32 @@ traces = client.list_traces(
|
|
|
112
112
|
|
|
113
113
|
## 3. Code-Based Evaluation (Deterministic Metrics)
|
|
114
114
|
|
|
115
|
-
`
|
|
115
|
+
`SystemEvaluator` runs deterministic, code-defined metric functions against session summaries. Each metric returns a score between 0.0 and 1.0.
|
|
116
116
|
|
|
117
117
|
### Pre-Built Evaluators
|
|
118
118
|
|
|
119
119
|
The SDK ships with seven ready-to-use evaluators:
|
|
120
120
|
|
|
121
121
|
```python
|
|
122
|
-
from bigquery_agent_analytics import
|
|
122
|
+
from bigquery_agent_analytics import SystemEvaluator
|
|
123
123
|
|
|
124
|
-
# Latency: fails when average latency exceeds the
|
|
125
|
-
evaluator =
|
|
124
|
+
# Latency: fails when average latency exceeds the threshold
|
|
125
|
+
evaluator = SystemEvaluator.latency(threshold_ms=5000)
|
|
126
126
|
|
|
127
|
-
# Turn count: fails when
|
|
128
|
-
evaluator =
|
|
127
|
+
# Turn count: fails when session turns exceed the max turns
|
|
128
|
+
evaluator = SystemEvaluator.turn_count(max_turns=10)
|
|
129
129
|
|
|
130
|
-
# Error rate: fails
|
|
131
|
-
evaluator =
|
|
130
|
+
# Error rate: fails when tool error rate exceeds the max error rate
|
|
131
|
+
evaluator = SystemEvaluator.error_rate(max_error_rate=0.1)
|
|
132
132
|
|
|
133
133
|
# Token efficiency: checks total token usage stays within budget
|
|
134
|
-
evaluator =
|
|
134
|
+
evaluator = SystemEvaluator.token_efficiency(max_tokens=50000)
|
|
135
135
|
|
|
136
136
|
# Context cache hit rate: checks repeated prompt-prefix reuse
|
|
137
|
-
evaluator =
|
|
137
|
+
evaluator = SystemEvaluator.context_cache_hit_rate(min_hit_rate=0.5)
|
|
138
138
|
|
|
139
139
|
# Cost per session: checks estimated USD cost stays under budget
|
|
140
|
-
evaluator =
|
|
140
|
+
evaluator = SystemEvaluator.cost_per_session(
|
|
141
141
|
max_cost_usd=1.0,
|
|
142
142
|
input_cost_per_1k=0.00025,
|
|
143
143
|
output_cost_per_1k=0.00125,
|
|
@@ -173,7 +173,7 @@ Define your own metric functions and chain multiple metrics together:
|
|
|
173
173
|
|
|
174
174
|
```python
|
|
175
175
|
evaluator = (
|
|
176
|
-
|
|
176
|
+
SystemEvaluator(name="my_quality_check")
|
|
177
177
|
.add_metric(
|
|
178
178
|
name="latency",
|
|
179
179
|
fn=lambda s: 1.0 - min(s.get("avg_latency_ms", 0) / 5000, 1.0),
|
|
@@ -216,7 +216,7 @@ Run evaluation across all sessions matching a filter:
|
|
|
216
216
|
from bigquery_agent_analytics import TraceFilter
|
|
217
217
|
|
|
218
218
|
report = client.evaluate(
|
|
219
|
-
evaluator=
|
|
219
|
+
evaluator=SystemEvaluator.latency(threshold_ms=3000),
|
|
220
220
|
filters=TraceFilter(agent_id="my_agent"),
|
|
221
221
|
)
|
|
222
222
|
|
|
@@ -561,7 +561,7 @@ pass_pow_k = compute_pass_pow_k(num_trials=10, num_passed=8) # ~0.107
|
|
|
561
561
|
|
|
562
562
|
## 7. Grader Composition Pipeline
|
|
563
563
|
|
|
564
|
-
Combine multiple evaluators (`
|
|
564
|
+
Combine multiple evaluators (`SystemEvaluator` + `LLMAsJudge` + custom functions) into a single aggregated verdict using configurable scoring strategies.
|
|
565
565
|
|
|
566
566
|
### Scoring Strategies
|
|
567
567
|
|
|
@@ -575,7 +575,7 @@ Combine multiple evaluators (`CodeEvaluator` + `LLMAsJudge` + custom functions)
|
|
|
575
575
|
|
|
576
576
|
```python
|
|
577
577
|
from bigquery_agent_analytics import (
|
|
578
|
-
|
|
578
|
+
SystemEvaluator, GraderPipeline, LLMAsJudge,
|
|
579
579
|
WeightedStrategy, GraderResult,
|
|
580
580
|
)
|
|
581
581
|
|
|
@@ -588,8 +588,8 @@ pipeline = (
|
|
|
588
588
|
},
|
|
589
589
|
threshold=0.6,
|
|
590
590
|
))
|
|
591
|
-
.
|
|
592
|
-
.
|
|
591
|
+
.add_system_grader(SystemEvaluator.latency(threshold_ms=5000), weight=0.2)
|
|
592
|
+
.add_system_grader(SystemEvaluator.cost_per_session(max_cost_usd=0.50), weight=0.1)
|
|
593
593
|
.add_llm_grader(LLMAsJudge.correctness(threshold=0.7), weight=0.7)
|
|
594
594
|
)
|
|
595
595
|
|
|
@@ -618,8 +618,8 @@ from bigquery_agent_analytics import BinaryStrategy
|
|
|
618
618
|
|
|
619
619
|
pipeline = (
|
|
620
620
|
GraderPipeline(BinaryStrategy())
|
|
621
|
-
.
|
|
622
|
-
.
|
|
621
|
+
.add_system_grader(SystemEvaluator.latency(threshold_ms=3000))
|
|
622
|
+
.add_system_grader(SystemEvaluator.error_rate(max_error_rate=0.05))
|
|
623
623
|
.add_llm_grader(LLMAsJudge.hallucination(threshold=0.8))
|
|
624
624
|
)
|
|
625
625
|
|
|
@@ -649,7 +649,7 @@ def business_rules_grader(context):
|
|
|
649
649
|
|
|
650
650
|
pipeline = (
|
|
651
651
|
GraderPipeline(BinaryStrategy())
|
|
652
|
-
.
|
|
652
|
+
.add_system_grader(SystemEvaluator.latency())
|
|
653
653
|
.add_custom_grader("business_rules", business_rules_grader)
|
|
654
654
|
)
|
|
655
655
|
```
|
|
@@ -1292,6 +1292,25 @@ vm.create_view("LLM_REQUEST")
|
|
|
1292
1292
|
print(vm.get_view_sql("TOOL_COMPLETED"))
|
|
1293
1293
|
```
|
|
1294
1294
|
|
|
1295
|
+
#### ADK 2.0 event types
|
|
1296
|
+
|
|
1297
|
+
The plugin emits additional event types under ADK 2.0, each with a typed view:
|
|
1298
|
+
`AGENT_TRANSFER` (`from_agent`, `to_agent`), `EVENT_COMPACTION`
|
|
1299
|
+
(`start_timestamp`, `end_timestamp`, `compacted_content`),
|
|
1300
|
+
`AGENT_STATE_CHECKPOINT` (`agent_state`, `agent_state_type`, `end_of_agent`;
|
|
1301
|
+
`agent_state_type` is a `JSON_TYPE` discriminator that distinguishes a missing
|
|
1302
|
+
state key from an explicit JSON null), and `TOOL_PAUSED`
|
|
1303
|
+
(`function_call_id`, `pause_kind`). `WORKFLOW_NODE_STARTING` /
|
|
1304
|
+
`WORKFLOW_NODE_COMPLETED` are registered with header-only views for now; their
|
|
1305
|
+
typed columns follow the workflow-boundary derivation work.
|
|
1306
|
+
|
|
1307
|
+
The `TOOL_COMPLETED` view also exposes the long-running pair keys
|
|
1308
|
+
`function_call_id`, `pause_kind`, and `pause_orphan`. These are populated only
|
|
1309
|
+
on the resume row that pairs with a `TOOL_PAUSED`; on ordinary (non-long-running)
|
|
1310
|
+
tool completions they are **null**. `pause_orphan` is reserved for the pause
|
|
1311
|
+
registry and stays null until that ships — treat a null `pause_orphan` as
|
|
1312
|
+
"not yet determined", not as "not an orphan".
|
|
1313
|
+
|
|
1295
1314
|
---
|
|
1296
1315
|
|
|
1297
1316
|
## 17. Categorical Evaluation & Real-Time Dashboards
|
|
@@ -1505,9 +1524,9 @@ See [`examples/categorical_dashboard.sql`](examples/categorical_dashboard.sql) f
|
|
|
1505
1524
|
|
|
1506
1525
|
---
|
|
1507
1526
|
|
|
1508
|
-
## 18. Context Graph (
|
|
1527
|
+
## 18. Agent Context Graph (Decision-Trace Extraction)
|
|
1509
1528
|
|
|
1510
|
-
The **Context Graph** module builds a BigQuery
|
|
1529
|
+
The **Agent Context Graph** module extracts decision traces from your agent's context graph: it builds a BigQuery property graph that cross-links technical execution traces (TechNodes) with the business-domain entities the agent reasoned over (BizNodes), so you can reconstruct any decision — the request, the options weighed, the outcome committed — with GQL traversal, causal reasoning, and world-change detection for long-running agent tasks.
|
|
1511
1530
|
|
|
1512
1531
|
### Architecture: 4-Pillar Property Graph
|
|
1513
1532
|
|
|
@@ -1530,7 +1549,7 @@ The **Context Graph** module builds a BigQuery Property Graph that cross-links t
|
|
|
1530
1549
|
└────────────────────┘
|
|
1531
1550
|
```
|
|
1532
1551
|
|
|
1533
|
-
### Initialize the Context Graph Manager
|
|
1552
|
+
### Initialize the Agent Context Graph Manager
|
|
1534
1553
|
|
|
1535
1554
|
```python
|
|
1536
1555
|
from bigquery_agent_analytics import ContextGraphManager, ContextGraphConfig
|
|
@@ -1558,7 +1577,7 @@ cgm = ContextGraphManager(
|
|
|
1558
1577
|
|
|
1559
1578
|
### End-to-End Pipeline
|
|
1560
1579
|
|
|
1561
|
-
Build the full Context Graph in one call:
|
|
1580
|
+
Build the full Agent Context Graph in one call:
|
|
1562
1581
|
|
|
1563
1582
|
```python
|
|
1564
1583
|
results = cgm.build_context_graph(
|
|
@@ -2057,7 +2076,7 @@ bigquery_agent_analytics/
|
|
|
2057
2076
|
│ Core
|
|
2058
2077
|
│ ├── client.py ← High-level SDK entry point
|
|
2059
2078
|
│ ├── trace.py ← Trace/Span reconstruction & DAG rendering
|
|
2060
|
-
│ └── evaluators.py ←
|
|
2079
|
+
│ └── evaluators.py ← SystemEvaluator + LLMAsJudge + SQL templates
|
|
2061
2080
|
│
|
|
2062
2081
|
│ Evaluation Harness
|
|
2063
2082
|
│ ├── trace_evaluator.py ← BigQueryTraceEvaluator, trajectory matching, replay
|
|
@@ -2075,8 +2094,8 @@ bigquery_agent_analytics/
|
|
|
2075
2094
|
│ ├── memory_service.py ← Long-horizon agent memory (requires google-adk)
|
|
2076
2095
|
│ └── bigframes_evaluator.py ← BigFrames DataFrame evaluator (optional)
|
|
2077
2096
|
│
|
|
2078
|
-
│ Context Graph
|
|
2079
|
-
│ └── context_graph.py ←
|
|
2097
|
+
│ Agent Context Graph
|
|
2098
|
+
│ └── context_graph.py ← Decision-trace extraction, GQL, world-change
|
|
2080
2099
|
│
|
|
2081
2100
|
│ CLI & Interfaces
|
|
2082
2101
|
│ ├── cli.py ← typer CLI (bq-agent-sdk)
|
{bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.4.0}/deploy/remote_function/dispatch.py
RENAMED
|
@@ -25,9 +25,9 @@ import json
|
|
|
25
25
|
from typing import Any
|
|
26
26
|
|
|
27
27
|
from bigquery_agent_analytics import Client
|
|
28
|
-
from bigquery_agent_analytics import CodeEvaluator
|
|
29
28
|
from bigquery_agent_analytics import LLMAsJudge
|
|
30
29
|
from bigquery_agent_analytics import serialize
|
|
30
|
+
from bigquery_agent_analytics import SystemEvaluator
|
|
31
31
|
from bigquery_agent_analytics import TraceFilter
|
|
32
32
|
from bigquery_agent_analytics._deploy_runtime import resolve_client_options
|
|
33
33
|
|
|
@@ -137,7 +137,7 @@ def build_filters(params):
|
|
|
137
137
|
|
|
138
138
|
|
|
139
139
|
def build_evaluator(params):
|
|
140
|
-
"""Build
|
|
140
|
+
"""Build SystemEvaluator from params dict."""
|
|
141
141
|
metric = params.get("metric", "latency")
|
|
142
142
|
threshold = params.get("threshold")
|
|
143
143
|
fail_on_missing_telemetry = _bool_param(
|
|
@@ -145,35 +145,35 @@ def build_evaluator(params):
|
|
|
145
145
|
)
|
|
146
146
|
|
|
147
147
|
factories_with_t = {
|
|
148
|
-
"latency": lambda t:
|
|
149
|
-
"error_rate": lambda t:
|
|
148
|
+
"latency": lambda t: SystemEvaluator.latency(threshold_ms=t),
|
|
149
|
+
"error_rate": lambda t: SystemEvaluator.error_rate(
|
|
150
150
|
max_error_rate=t,
|
|
151
151
|
),
|
|
152
|
-
"turn_count": lambda t:
|
|
152
|
+
"turn_count": lambda t: SystemEvaluator.turn_count(
|
|
153
153
|
max_turns=int(t),
|
|
154
154
|
),
|
|
155
|
-
"token_efficiency": lambda t:
|
|
155
|
+
"token_efficiency": lambda t: SystemEvaluator.token_efficiency(
|
|
156
156
|
max_tokens=int(t),
|
|
157
157
|
),
|
|
158
|
-
"ttft": lambda t:
|
|
159
|
-
"cost": lambda t:
|
|
158
|
+
"ttft": lambda t: SystemEvaluator.ttft(threshold_ms=t),
|
|
159
|
+
"cost": lambda t: SystemEvaluator.cost_per_session(
|
|
160
160
|
max_cost_usd=t,
|
|
161
161
|
),
|
|
162
162
|
}
|
|
163
163
|
factories_default = {
|
|
164
|
-
"latency":
|
|
165
|
-
"error_rate":
|
|
166
|
-
"turn_count":
|
|
167
|
-
"token_efficiency":
|
|
168
|
-
"ttft":
|
|
169
|
-
"cost":
|
|
164
|
+
"latency": SystemEvaluator.latency,
|
|
165
|
+
"error_rate": SystemEvaluator.error_rate,
|
|
166
|
+
"turn_count": SystemEvaluator.turn_count,
|
|
167
|
+
"token_efficiency": SystemEvaluator.token_efficiency,
|
|
168
|
+
"ttft": SystemEvaluator.ttft,
|
|
169
|
+
"cost": SystemEvaluator.cost_per_session,
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
if metric == "context_cache_hit_rate":
|
|
173
173
|
kwargs = {"fail_on_missing_telemetry": fail_on_missing_telemetry}
|
|
174
174
|
if threshold is not None:
|
|
175
175
|
kwargs["min_hit_rate"] = threshold
|
|
176
|
-
return
|
|
176
|
+
return SystemEvaluator.context_cache_hit_rate(**kwargs)
|
|
177
177
|
|
|
178
178
|
if metric not in factories_with_t:
|
|
179
179
|
raise ValueError(f"Unknown metric: {metric!r}")
|