Databricks genai evaluation observability

From VincentChuWaiChow/vanguard-frontier-agentic · View interactive version

Databricks genai evaluation observability is an AI agent skill from the GitHub repository VincentChuWaiChow/vanguard-frontier-agentic. Use this skill to review generative-AI evaluation, tracing, and observability design on Databricks: MLflow Tracing instrumentation and span design, trace storage and governance, `mlflow.genai.evaluate()` harness design, the judge-versus-scorer distinction, built-in judge selection (ten single-turn a

How to use this skill

Skill file

databricks-genai-evaluation-observability

Purpose

This skill decides whether evaluation and observability are correctly designed for generative AI on Databricks: traces are instrumented with rich spans, trace storage is chosen for governance and durability, evaluation datasets have consistent expectations, judges are validated against human labels before regression claims, judge configuration is held constant across releases, human feedback is bias-checked, and cost/latency are measured accurately. Sound design avoids confounded regression detection, unvalidated judge conclusions, and real-time cost claims from BETA tables.

When to use

When NOT to use

Scope

Decision workflow

  1. Establish the tracing instrumentation strategy: which APIs or auto-instrumentation decorators are used, and which spans are captured.
  2. Confirm trace storage choice: experiment-based or Unity Catalog Delta tables. If Delta tables, confirm SQL-query access and governance requirements.
  3. Review the evaluation dataset: schema, expected-response or expected-facts definitions, and consistency of expectations across eval samples.
  4. Audit judge selection: name each judge, confirm it is from the 17 built-in set, and confirm configuration (LLM model for judges like Correctness) is documented.
  5. Confirm judge validation status: do human labels exist on a holdout set for this judge? If so, report inter-rater agreement. If not, flag the judge as un-validated.
  6. For regression detection: confirm the evaluation dataset, judge selection, and judge configuration are held constant across the two releases being compared. Name any confounding factors (new data, feature flags, environment changes) introduced between releases.
  7. For human feedback: confirm feedback is collected on production traces, validated for inter-rater agreement, and bias-checked before use in expectations.
  8. Audit cost/latency observability: confirm data sources (traces, system tables) and aggregation cadence.

Lean operating rules

Evidence requirements

No recommendation is issued before the evidence below exists. When it is missing, name the smallest artifact that would supply it and stop.

Context7 MCP policy

Context7 supplies current, version-specific library and SDK documentation. It does not establish Databricks service behaviour — Databricks' own documentation does. Use it exactly when:

If Context7 is not exposed in the session, say so and label every version-sensitive claim unknown rather than answering from memory. Never state that Context7 was consulted when it was not, and never assume an MCP server or tool name.

Official documentation policy

Databricks service semantics come from current Databricks documentation, not from memory, blog posts, conference talks, or release-note summaries. Where the behaviour differs by cloud (AWS / Azure / GCP), name the cloud the claim applies to. Where a feature is Public Preview or Beta, say so on first mention and never describe it as a production default. Anything that cannot be grounded stays out of the answer and is reported as an open question.

Security boundaries

Runtime authority

T0 (static review only). Reads evaluation code, judge selection, dataset schema, expectation definitions, and trace storage configuration. Never executes a judge or scorer, never runs a live evaluation, never mutates traces, and never changes gateway or observability policy. Trace storage and policy changes escalate to a live guard.

Authority tiers used across this board: T0 static review (read artifacts only); T1 read-only runtime (allowlisted read-only queries against a workspace, no writes); T2 sandbox-mutating (dry-run or non-production only); T3 mutating-runtime (changes production state — human-approved live guards only). This skill never raises its own tier, and never hands a task to a higher tier without an explicit named human owner.

Production caveats

References

Progressive disclosure — load only the one the task needs:

Response minimum

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.