RaguR
ServiceNow Employee

 

AI Data Mastery Series  |  Community Article 

 

Who Checks the Judge? Ground Truth Metrics for Agentic Evals in AI Data Kit 

Co-authored by Ragu Ramakrishnan and Elvira Astashkina 

 article5_comic_hook.png

Four articles in, one pattern keeps holding: agentic AI rarely fails on the model. It fails on the data under the evaluation. So far, this series has been about getting that data, whether you generate it, curate it, or link it across tables. I asked Elvira, who has run ground-truth-based evaluation on a live customer deployment, to walk through why it matters and how she does it. — Ragu Ramakrishnan, PM, AI Data Kit 

Elvira Astashkina is a Staff Research Scientist, CSM, at ServiceNow. 

 

 

When the Judge Isn’t Enough 

 

When you build agentic systems, you need to know your AI agents are doing the right thing. The foundation for that is ground truth: a set of expected outcomes you can compare the agent’s actual output against. Before you make a shipping decision, you need metrics that give you real confidence in the agent’s quality. 

The LLM-as-a-judge metrics in Skill Kit and AI Data Kit work well for many out-of-the-box scenarios. Where they struggle is domain-specific agents built on customer data. That’s why, on most custom agentic implementations we’ve worked on, the evaluation ended up custom too: background scripts and deterministic checks, written just to get some confidence that the agent was doing its job. It works, but it’s slow, it’s different on every project, and it doesn’t scale. 

 

One Model’s Opinion of Another 

 

LLM-as-a-judge earned its place for a reason. In the best-known study, strong judges like GPT-4 agreed with human raters more than 80% of the time on open-ended chat questions, roughly as often as humans agree with each other. But most of those questions had no reference answer to check against. That’s exactly why a judge was needed. 

Agents are different. When an agent picks a tool, decides what to pass it, and updates a field, there is usually a right answer. On our own domain-specific agents we’ve seen human-to-judge agreement in the 70–80% range, sometimes even lower. So somewhere between one verdict in five and one in three may not match what a domain expert would say. You can’t hill-climb on a signal that noisy. When the score moves, you can’t tell whether the agent improved or the judge changed its mind. 

Ground truth fixes that. Instead of asking a second model whether the output looks right, you write down what right is and compare against it. Serious agent benchmarks already work this way: τ-bench scores an agent by comparing the database state at the end of a conversation with an annotated goal state. 

 

 

 

Some Ground Truth Is Easy to Collect. Some Isn’t. 

 

Ground truth can be collected at different levels. One agent might use AI Search to find the most relevant knowledge article, find similar cases or incidents to help resolve a case, and run a chat assistant that authenticates users and creates incidents or cases. Each of those needs its own check that the output matches what was expected. 

Collecting that ground truth isn’t always easy. Sometimes you can draw on historical records. For simple case categorization, it’s straightforward to pull past cases that already carry the right labels. Other scenarios are harder. Validating AI Search results is a good example: customers usually don’t have this data, and collecting and verifying it becomes the main bottleneck. 

 

What Ground Truth Actually Contains 

 

Ground truth pairs each input in your golden dataset with the expected result, and the evaluation compares the agent’s actual output against it. In AI Data Kit, that drives three ground-truth-backed agentic metrics: 

Metric 

What it checks 

Example 

Field update correctness 

Did the agent update record fields with the expected values? 

A categorization agent set the correct assignment group 

Tool output correctness 

Did each tool the agent called return the expected output? 

AI Search returned the right similar incidents and KB articles 

Outcome match 

Does the agent’s final outcome match the expected result? 

A case was created and handed to a live agent 

 

Every run is scored against the same fixed answer key, so scores are comparable from one run to the next. That’s what makes them something you can improve against. 

 

How AI Data Kit Builds the Answer Key 

 

The collection bottleneck, plus the effort of writing ground truth by hand, is why most teams skip it. AI Data Kit now automates the first draft. The flow has three steps: 

Step 

What happens 

Generate 

In AI Data Kit, create a ground truth labeling project for your agent or agentic workflow, choose the source (existing execution logs or instance table records), pick the metrics, and generate a first draft 

Review 

A subject matter expert reviews each labeling task, edits the expected outcome and tool outputs where needed, and approves it 

Evaluate 

In automated evaluation, select the ground-truth-enabled metrics and the approved ground truth dataset, then run 

 

AIDM_A5_GT Review.png

 

 

Figure 1. Reviewing a ground truth labeling task in AI Data Kit 

The middle step is the one that matters. The model drafts the expected outputs, and someone who knows the domain decides. You get the speed of generation without handing the answer key to the same kind of model you’re trying to grade. 

 

What We Learned Running It 

 

If you’ve already done some manual testing, start from execution logs. Tools return output in a specific format, and because these metrics are deterministic, it’s much easier to compare ground truth against tool output that’s already captured in the logs. No logs yet? Start from instance table records instead. Behind the scenes, that flow creates execution logs too. 

Pick metrics that fit the agent. On one workflow, field update correctness came back at zero. The agent hadn’t failed. It just never updates fields, so the metric didn’t apply. 

And look below the aggregate. When tool output correctness sat at 60%, the dashboard told us there was a problem. The individual records are where you see why, and whether the fix belongs in the tool or the prompt. 

AIDM_A5_Eval REsults.png

 

 

Figure 2. Auto-evaluation results with ground-truth-backed metrics 

 

How Much Ground Truth Is Enough? 

 

The working guidelines our AI Quality CoE uses recommend at least 100 human-labeled records for manual evaluation, a hand spot-check of about 10% of automated results to confirm the judge still agrees with people, and roughly 10% of the set kept as edge cases, ideally as a separate holdout set. 

 

The Pattern Worth Remembering 

As Elvira puts it, ground truth turns “the agent seems to work” into measurable evidence. A judge without an answer key is an opinion. Often a good one, but still an opinion. If your agent’s job has a right answer, whether that’s the right tool, the right record, or the right field, write it down and score against it. Let the judge handle what genuinely has no reference answer and check the judge against people on a sample. That’s the difference between debating a score and measuring one. With AI Data Kit drafting the ground truth, experts approving it, and auto-evaluation scoring your agent against it, you can make shipping decisions with confidence. 


Note:
Ground truth in AI Data Kit and its metrics in Skill Kit are released behind a feature flag, so an admin needs to activate them before using it.


Could This Be Your Story?
 

If you’re evaluating agents on ServiceNow and your scores won’t settle, reach out to Ragu Ramakrishnan on the ServiceNow Community. Let’s tell your story next. 

 

Elvira Astashkina is a Staff Research Scientist, CSM, at ServiceNow. 

Ragu Ramakrishnan is Product Manager, AI Data Kit & Evals at ServiceNow. 

Sources 

Zheng et al., “Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena” (NeurIPS 2023), arxiv.org/abs/2306.05685 

Yao et al., “τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains” (ICLR 2025), arxiv.org/abs/2406.12045 

Labels: Best Practices, AI Data Kit, Agentic Evaluation, Responsible AI   |   © 2026 ServiceNow, Inc. 

Version history
Last update:
20m ago
Updated by:
Contributors