Kumar describes evaluations as a way to catch reliability and security problems before deployment, while harnesses handle problems at runtime. He uses an Instagram support chatbot example in which attackers reportedly changed account details for 20,225 accounts, arguing that evaluations and runtime safeguards could help prevent such failures.
Evals in AI: A Deep Dive
Speaker
Tejas Kumar, an AI engineer at IBM, explains how to design and use AI evaluations, with a live coding workshop and examples from customer support and enterprise policy retrieval.
Kumar defines an evaluation as reliability instrumentation for nondeterministic systems, comparable to a fuzzy unit test. A useful evaluation set includes scenarios, expected behavior, a judge, and an aggregate score. Tool calls can often be checked deterministically, while broader questions such as whether an agent resolved a request may need judgment.
Kumar recommends starting with exact matches, schema validation, and checks on tool calls before using an LLM judge. He cautions that pairwise comparisons and LLM judges can show position bias, sycophancy, self-preference, and a preference for verbose answers. He suggests testing for these biases, including by swapping answer order.
Kumar builds a customer support example around a 14-day return policy and a customer seeking a refund after 20 days. He recommends comparing judge verdicts against a human-scored dataset, starting with about 30 examples and aiming for roughly 80 to 85 percent agreement. When the judge disagrees, add missing policy context or consider a stronger model; use an agreement threshold in CI and keep the dataset current with reviewed production traffic or synthetic examples.
Kumar says policies change and should be retrieved from current sources when possible. He describes IBM's Open RAG and Docling as tools for converting varied company documents into searchable knowledge, which can supply policy to agents and judges. In the coding demonstration, he adds refund rules to the judge's context and shows it correctly rejecting a return outside the window.
Takeaways
- Start with deterministic checks for tool calls and schemas, then add an LLM judge only where outputs need interpretation.
- Score the judge against human-reviewed examples; investigate disagreements and add the missing policy context.
- Test judges for position bias, sycophancy, self-preference, and verbosity bias before relying on their scores.
- Gate releases on an agreement range, and refresh evaluation examples as policies and user traffic change.
- Keep the agent and judge aligned on the same current policy so CI results better reflect production behavior.
Mentioned in this talk
Search inside this talk
What was claimed 9
- works atTejas Kumar works at
IBMAI Engineer (AI Developer Advocate)“Today, I'm an AI developer advocate at IBM”
0:33inHarnesses in AI: A Deep DiveYouTube Verified4 sources· Talk, Web, GitHub· archived
- uses
Open RAG uses
OpenSearch
“OpenSearch for search indexing”
1:58inOpenRAG: An open-source stack for RAGYouTube Verified2 sources· Talk
- metricPairwise comparison: 39% more vulnerable to attack vectors than pointwise comparison, according to a study cited in the talk
“One study showed that pairwise comparison was 39% more vulnerable to attack vectors than pointwise.”
YouTube Unverified1 source· Talk
- built
“At IBM, we created an open-source project”
17:51inHarnesses in AI: A Deep DiveYouTube Verified2 sources· Talk
- metricAgent evaluation: Target 80–85% agreement between the judge and the human-labeled dataset
“You want to aim for 80 to 85%, maybe a bit more.”
YouTube Unverified1 source· Talk
- featurecontinuous integration: Release gate based on judge agreement with human-labeled eval data
“If my judge agrees with me less than the threshold of 80%, I don't ship.”
YouTube Unverified1 source· Talk
- feature
Open RAG: Open source; accepts company knowledge and provides retrieval for RAG agents
“It's open source, and we give it to our customers, too.”
YouTube Unverified1 source· Talk
- feature
Docling: Converts unstructured documents and media into LLM-ready formats
“It takes in any unstructured data ... and spits out LLM-ready formats.”
YouTube Unverified1 source· Talk
- built
“It's a research project we made.”
YouTube Unverified1 source· Talk













