This prompt is designed for evaluation infrastructure and operations teams who need a structured, machine-readable health snapshot of their entire LLM judge fleet. The primary job-to-be-done is to query a time-series database of judge scores, agreement metrics, and drift indicators and produce a dashboard-ready summary. This summary must flag anomalies, track SLA compliance, and identify which judges or judge groups require immediate attention. The ideal user is an MLOps engineer or an evaluation platform lead who already has a running judge fleet producing metrics and needs to operationalize its monitoring.
Prompt
Judge Fleet Health Dashboard Query Prompt Template

When to Use This Prompt
A practical guide for evaluation infrastructure teams to query judge fleet metrics and produce a structured, dashboard-ready health snapshot.
Use this prompt when you have a pre-existing data source containing per-judge metrics over time. The prompt template is designed to accept a time range, a list of judge groups, and specific health indicators as input. It is not a prompt for scoring individual outputs or designing evaluation rubrics. It assumes you are querying aggregated operational data, not raw model outputs. The output is a structured JSON report containing sections for an executive summary, anomaly flags, SLA compliance status, and per-judge-group health details. This report is intended to be consumed by a monitoring dashboard or an automated alerting system, not read in isolation.
Do not use this prompt if you are trying to build the initial evaluation pipeline, calibrate a single judge, or diagnose a specific scoring error on one item. For those tasks, refer to the playbooks on Judge Calibration Set Generation or Disagreement Root Cause Analysis. This prompt is also unsuitable if your metrics are not yet centralized in a queryable database. The prompt's value is in synthesizing existing operational data into a coherent health report. Before using it, ensure your data pipeline reliably collects judge scores, agreement metrics, and drift indicators with consistent timestamps and judge identifiers. The next step after generating this report is to wire its structured output into your alerting platform, such as PagerDuty or a Grafana webhook, to automate incident creation for critical anomalies.
Use Case Fit
Where the Judge Fleet Health Dashboard Query Prompt Template delivers reliable operational insight—and where it introduces risk.
Good Fit: Production Judge Fleets
Use when: you have multiple LLM judges running in automated evaluation pipelines and need a single-pane health snapshot. Guardrail: Ensure judge identifiers are stable across runs so trend lines don't break on naming changes.
Good Fit: SLA-Bound Evaluation Systems
Use when: evaluation latency, throughput, or availability SLAs exist and violations need automated flagging. Guardrail: Define SLA thresholds explicitly in the prompt's [CONSTRAINTS] block so the dashboard query doesn't apply soft interpretations to hard limits.
Bad Fit: Single-Judge Deployments
Avoid when: only one judge model is in use. Agreement metrics and outlier detection require a fleet of at least two judges. Guardrail: Gate the query behind a fleet-size check—return a clear 'insufficient judges' message rather than degenerate metrics.
Bad Fit: Ad-Hoc One-Off Evaluations
Avoid when: you're running a single evaluation batch and want a quick quality check. This prompt is designed for ongoing monitoring, not point-in-time spot checks. Guardrail: Route one-off evaluation review to the Disagreement Root Cause Analysis prompt instead.
Required Inputs
Must provide: time-range parameters, judge group definitions, score matrices with item-level data, and SLA thresholds. Guardrail: Validate input completeness before invoking the prompt—missing time windows produce misleading trend lines, and missing judge groupings break agreement calculations.
Operational Risk: Alert Fatigue
What to watch: Overly sensitive drift thresholds generating noisy alerts that teams ignore. Guardrail: Implement alert suppression windows and require consecutive threshold breaches before escalation. Use statistical process control rules rather than raw threshold crossings.
Copy-Ready Prompt Template
A machine-readable prompt for generating a structured health snapshot of an LLM judge fleet from time-series metrics.
This prompt template is designed to be wired directly into an evaluation infrastructure pipeline. It instructs the model to act as an operations analyst, consuming raw judge fleet metrics and producing a structured JSON health report. The primary job is to flag SLA violations, calculate agreement trends, and classify anomaly severity—all within a specified time window. Use this when you need a consistent, automatable snapshot for dashboards or alerting systems, not a conversational summary.
textYou are an evaluation infrastructure operations analyst. Your task is to generate a structured health snapshot for an LLM judge fleet based on the provided time-series metrics. The output must be machine-readable JSON suitable for dashboard ingestion and alerting pipelines. Analyze the judge fleet data below and produce a health report covering the specified time window. Flag any judges, groups, or metrics that violate SLA thresholds. Include trend direction for agreement metrics and severity classifications for all anomalies. [JUDGE_FLEET_METRICS_JSON] [TIME_WINDOW_START] [TIME_WINDOW_END] [SLA_THRESHOLDS_JSON] [ALERT_CONFIGURATION_JSON] Produce a JSON health report following the output schema exactly. Include only metrics and judges with data in the specified time window. For any metric where data is missing or insufficient, set the status to "INSUFFICIENT_DATA" and include a reason. Do not fabricate data or extrapolate beyond the provided window.
To adapt this template, replace the square-bracket placeholders with your actual data payloads. [JUDGE_FLEET_METRICS_JSON] expects a structured object containing per-judge time-series data, including agreement scores, latency, and throughput. [SLA_THRESHOLDS_JSON] defines the acceptable bounds for each metric, such as a minimum Cohen's Kappa of 0.7. The [ALERT_CONFIGURATION_JSON] maps severity levels (e.g., WARNING, CRITICAL) to specific threshold breaches. The output schema, which you must provide alongside this prompt, should strictly define the expected JSON structure, including arrays for violations, trends, and judge_statuses. Do not rely on the model to invent a schema; provide it as part of the system context or a preceding user message.
Before deploying this prompt into a production pipeline, you must implement a validation layer. The model's JSON output must be parsed and validated against your defined schema. Any deviation—missing fields, incorrect types, or fabricated data—should trigger a retry or fallback. For high-stakes environments where a missed SLA violation could mask a degrading judge, route reports with CRITICAL severity anomalies for human review before they trigger automated paging. A common failure mode is the model hallucinating metric values for judges with sparse data; the explicit "INSUFFICIENT_DATA" instruction mitigates this, but your validator should still flag any report where a judge's status is "OK" but the underlying data points are fewer than your minimum sample threshold.
Prompt Variables
Required inputs for the Judge Fleet Health Dashboard Query Prompt Template. Each variable must be populated before the prompt is assembled and sent. Missing or malformed variables will cause the dashboard query to fail or produce unreliable health metrics.
| Placeholder | Purpose | Example | Validation Notes |
|---|---|---|---|
[TIME_RANGE_START] | Start of the observation window for health metrics | 2025-03-01T00:00:00Z | Must be ISO 8601 UTC. Must be before [TIME_RANGE_END]. Reject if null or unparseable. |
[TIME_RANGE_END] | End of the observation window for health metrics | 2025-03-07T23:59:59Z | Must be ISO 8601 UTC. Must be after [TIME_RANGE_START]. Window must not exceed 30 days without explicit override. |
[JUDGE_GROUPING_KEY] | Dimension for segmenting judge fleet health | model_family | Must be one of: model_family, deployment_region, judge_role, rubric_version, or custom_tag. Reject unknown values. |
[AGREEMENT_THRESHOLD] | Minimum acceptable inter-rater agreement score before flagging | 0.75 | Must be a float between 0.0 and 1.0. Values below 0.6 trigger a warning in validation. Null defaults to 0.7. |
[DRIFT_SENSITIVITY] | Statistical sensitivity for detecting score distribution drift | moderate | Must be one of: low, moderate, high. Controls p-value threshold and minimum effect size. Reject unknown values. |
[ALERT_INTEGRATION_HOOK] | Webhook or callback URL for pushing health alerts | Must be a valid HTTPS URL. Null allowed if alerts are polled. Reject non-HTTPS schemes in production. | |
[SLA_COMPLIANCE_WINDOW_DAYS] | Rolling window in days for SLA compliance calculation | 30 | Must be an integer between 1 and 90. Null defaults to 30. Reject negative values or zero. |
[OUTPUT_FORMAT] | Desired structure for the health dashboard payload | json | Must be one of: json, markdown_summary, slack_block_kit. Controls output schema selection. Reject unknown values. |
Implementation Harness Notes
Wire the Judge Fleet Health Dashboard Query into a production monitoring pipeline with validation, retries, and alert routing.
The Judge Fleet Health Dashboard Query prompt is designed to be called by an automated scheduler—such as a cron job, Airflow DAG, or Prefect flow—that runs at the same cadence as your evaluation dashboard refresh interval. Before invoking the LLM, your harness must assemble the JUDGE_FLEET_METRICS_JSON payload from your metrics store. This typically involves querying Prometheus, Datadog, a feature store, or an eval database to collect agreement trends, outlier counts, drift flags, and SLA compliance data for the specified time window. Validate that all required fields are present, timestamps fall within the expected range, and numeric fields contain valid values before passing the payload to the model.
After receiving the LLM response, validate the output JSON against the expected contract: a top-level health_report object containing fleet_summary, alert_items, and recommended_actions arrays, with each alert item including severity, metric, affected_judges, and evidence fields. If validation fails, retry once by appending the validation error message to the original prompt as additional context—this gives the model a chance to correct structural mistakes. If the retry also fails, log the full failure details and emit an UNHEALTHY status to your dashboard with the validation error as the reason. Route any alerts with critical severity to your incident management system (PagerDuty, Opsgenie, or similar) using the mappings defined in ALERT_CONFIGURATION_JSON, which should specify routing keys, severity thresholds, and suppression windows.
For high-stakes deployments—such as judge fleets used in regulated domains, safety-critical evaluations, or customer-facing quality gates—require human review of any report containing critical severity alerts before automated actions are taken. Log every query payload, model response, validation result, and routing decision for auditability. Store these logs in a queryable format (structured JSON in your observability platform) so you can trace disagreements back to specific prompt invocations. When selecting a model for this workflow, prefer one with strong JSON output reliability and low latency at your query volume; if cost is a concern, consider routing routine health checks to a faster, cheaper model and reserving a more capable model for reports that trigger alerts or require human review.
Expected Output Contract
Defines the structure, types, and validation rules for the health report object returned by the Judge Fleet Health Dashboard Query Prompt. Use this contract to parse, validate, and integrate the model's output into downstream monitoring dashboards and alerting systems.
| Field or Element | Type or Format | Required | Validation Rule |
|---|---|---|---|
report_metadata.generated_at | ISO 8601 timestamp | Parse check: must be valid ISO 8601. Must be within 5 minutes of system clock at validation time. | |
report_metadata.time_window.start | ISO 8601 timestamp | Parse check: must match the [START_TIME] input parameter exactly. | |
report_metadata.time_window.end | ISO 8601 timestamp | Parse check: must match the [END_TIME] input parameter exactly. | |
fleet_summary.total_judges | integer | Schema check: must be >= 0. Must equal the count of objects in the judge_details array. | |
fleet_summary.overall_agreement_kappa | float | Schema check: must be between -1.0 and 1.0 inclusive. Null allowed if total_judges < 2. | |
fleet_summary.outlier_count | integer | Schema check: must be >= 0. Must not exceed total_judges. | |
judge_details[].judge_id | string | Schema check: must match the pattern defined in [JUDGE_ID_PATTERN]. Must be unique within the array. | |
judge_details[].drift_flag | boolean | Schema check: must be true or false. If true, a corresponding entry must exist in the drift_alerts array. |
Common Failure Modes
What breaks first when querying judge fleet health and how to prevent it in production.
Time-Window Boundary Skew
What to watch: Queries spanning partial time windows produce misleading agreement trends. A dashboard showing 'last 7 days' that includes an incomplete current day will show artificially low agreement due to sparse data. Guardrail: Enforce complete window boundaries in the query harness. Use [WINDOW_END] set to last full UTC day, not now(). Validate that each window contains the minimum required evaluation count before rendering trends.
Silent Judge Dropout
What to watch: A judge model version is deprecated or rate-limited mid-window, producing zero scores without triggering an explicit error. The dashboard shows healthy agreement because it only computes metrics on available judge pairs, masking the missing judge. Guardrail: Include a judge participation completeness check. For each configured judge in the fleet, assert score_count > 0 for the window. Flag judges with zero scores as MISSING rather than excluding them silently from agreement calculations.
Small-Sample Agreement Inflation
What to watch: Agreement metrics computed on fewer than 30 evaluation items produce unstable, misleadingly high or low Kappa scores. A dashboard showing 95% agreement on 5 items hides extreme fragility. Guardrail: Attach sample-size confidence intervals to every agreement metric. Suppress or flag any metric where n < [MIN_SAMPLE_SIZE]. Display 'Insufficient Data' instead of a point estimate when the confidence interval width exceeds the acceptable threshold.
Score Distribution Collapse
What to watch: All judges assign the same score (e.g., all 4/5) for an entire window, producing 100% agreement that reflects task simplicity or judge laziness, not reliability. The dashboard looks perfect while the judges have stopped discriminating. Guardrail: Compute and display score distribution entropy per judge per window. Trigger a LOW_VARIANCE alert when a judge's score standard deviation falls below [VARIANCE_THRESHOLD]. Cross-reference with item difficulty distribution to distinguish easy batches from judge disengagement.
Stale SLA Baseline Drift
What to watch: SLA compliance is measured against a static baseline set months ago. As evaluation items change in difficulty or domain, the baseline becomes irrelevant. The dashboard reports green SLA status while actual judge quality has degraded against current work. Guardrail: Implement a rolling baseline window [BASELINE_WINDOW] that updates periodically. Compare current SLA compliance against both the static baseline and the rolling baseline. Flag divergence between the two as BASELINE_STALE requiring recalibration review.
Alert Storm from Transient Spikes
What to watch: A single bad batch of 5 evaluations triggers agreement alerts that fire repeatedly, flooding on-call channels before anyone can investigate. The dashboard becomes a source of noise rather than signal. Guardrail: Apply alert suppression windows after the first alert fires for a given judge pair and metric. Require sustained degradation across [SUPPRESSION_WINDOW] before re-alerting. Include a TRANSIENT_SPIKE classification in the alert payload when the degradation self-resolves within the suppression window.
Evaluation Rubric
Criteria for testing the Judge Fleet Health Dashboard Query Prompt Template before production deployment. Each row defines a pass standard, a failure signal, and a test method to validate output quality.
| Criterion | Pass Standard | Failure Signal | Test Method |
|---|---|---|---|
Time-Range Parameter Handling | Output correctly reflects the [TIME_RANGE] parameter; all metrics are bounded by the specified start and end timestamps. | Metrics include data outside the requested time window or default to a fixed window ignoring the input. | Unit test with fixed [TIME_RANGE] values and verify all returned timestamps fall within the bounds. |
Judge Grouping Accuracy | Output segments metrics by the [JUDGE_GROUPING] key; no judges are miscategorized or omitted from their designated group. | Judges appear in the wrong group, an 'Other' category is overused, or the grouping key is ignored. | Schema check: extract unique group values and confirm they match the input grouping specification exactly. |
Agreement Trend Calculation | Agreement metrics (e.g., Cohen's Kappa) are computed per [TIME_WINDOW_INTERVAL] and show a valid trend direction. | Trend values are static, null, or mathematically impossible (e.g., Kappa > 1.0 or < -1.0). | Assert that each window's agreement score is a float between -1.0 and 1.0 and that consecutive windows produce a non-null trend. |
Outlier Count Accuracy | Outlier judge count matches a pre-computed baseline for a known test dataset within a tolerance of ±1. | Outlier count is zero when known outliers exist, or the count is improbably high, suggesting a broken detection threshold. | Deterministic test: run against a golden dataset with pre-labeled outliers and assert count matches expected value. |
Drift Flag Severity Classification | Drift flags include a valid severity level from the allowed enum: [CRITICAL, WARNING, INFO]. | Severity is missing, misspelled, or uses a value outside the defined enum. | JSON Schema validation: assert the 'severity' field is a string and its value is one of the allowed enum members. |
SLA Compliance Status Reporting | SLA compliance is reported as a percentage (0-100) per judge group with a clear 'compliant' or 'breached' status. | SLA status is a raw number without a compliance determination, or the percentage exceeds 100%. | Parse check: assert 'sla_compliance_pct' is a number between 0 and 100 and 'sla_status' is a boolean or a string from a fixed set. |
Alert Integration Hook Payload | Output contains a valid [ALERT_PAYLOAD] object conforming to the target webhook schema when a CRITICAL drift flag is present. | Alert payload is malformed JSON, missing required fields like 'alert_id' or 'timestamp', or is generated for non-CRITICAL flags. | Schema validation: validate the [ALERT_PAYLOAD] against the expected JSON Schema; assert presence only when severity is CRITICAL. |
Output Schema Completeness | All required top-level fields (fleet_summary, group_metrics, alerts) are present and non-null. | A required field is missing, null, or replaced with a placeholder string like 'N/A'. | Structural assertion: check for the presence and non-null value of all required keys in the output JSON. |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Adapt This Prompt
How to adapt
Use the base prompt with a single judge model and a small time window. Replace [JUDGE_FLEET_IDS] with a hardcoded list of 2–3 judge names. Set [TIME_RANGE] to a fixed 7-day window. Skip the alert integration hooks and focus on getting a readable markdown table with agreement trends and outlier counts.
Watch for
- Missing schema checks: the model may return prose instead of structured health metrics.
- Overly broad instructions: without explicit metric definitions, the model may invent its own health indicators.
- Hardcoded judge IDs that break when judges are added or renamed.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us