CoreTrail

AI evaluation

Build reference datasets and diagnose retrieval, context selection, generation and tool execution independently.

Chapter overview 2 min read
On this page

A successful answer can conceal unsafe tool activity, while a failed answer can arise from lost source evidence or an incorrect final calculation. Evaluation needs reference cases, component-level diagnostics and complete execution trajectories.

Choose the test by the failure it can expose

Test scope Evidence it should retain Detailed reference
Reference cases Expected evidence, actions and held-out examples Golden datasets
Retrieval and context stages Whether required facts survive each stage Evidence survival and oracle tests
Tool execution Arguments, authorization, effects and final state Agent trajectories
Release decision Per-slice quality, latency, errors and task economics Metrics and release gates

A component test isolates a fault; an end-to-end run checks whether the full workflow completes under the intended permissions. Version the source corpus and pipeline configuration so a changed score can be traced to a changed input or component.

In this chapter

Type a concept, keyword, or function.