AuditKIT: A Unified Evaluation Spine for Benchmarking, Judging, and Comparing Large Language Models and Agentic Systems
Organizations: Lexsi Labs
Abstract
Evaluating language models and agents requires combining benchmark accuracy, judge-based assessment, runtime performance, tool-use behavior, and retrieval quality. Differences in interfaces, metric semantics, and trace formats complicate these comparisons and can hide failures in agentic workflows. We present AuditKIT, a source-available evaluation library that records these measurements in one result representation, with direction-aware metric contracts, configuration fingerprints, and extensible metrics and backends. For agents, it provides turn-aware tool-call matching, separates parallel from sequential execution, and distinguishes verified task outcomes from trajectory-level diagnostics. Missing or unobservable evidence is marked unscored rather than counted as failure. For retrieval-augmented generation, it combines ranked retrieval metrics, judged grounding, and deterministic evidence checks. Seven case studies spanning model comparison, serving runtimes, retrieval, tool calling, and interoperability show how answer extraction, runtime behavior, and metric selection change evaluation outcomes.
Figures & tables
| Family | Representative metrics | What it measures | # |
|---|---|---|---|
| Built-in | ExactMatch , QuasiExactMatch , Acc , AccNorm | Exact / normalized correctness against a target | 4 |
| Code / deterministic | Contains , Regex , IsJson , F1Score , Levenshtein , Equals , StartsWith , EndsWith , WordCount | Structural or exact string/JSON correctness | 9 |
| Generation quality | Bleu , RogueL (registry name rouge_l ), ChrF [ 32 ] , WordErrorRate , Perplexity , BertScore | N-gram overlap, fluency, LM confidence | 6 |
| Embedding similarity | CosineSimilarity , TokenOverlap , BM25Similarity | Semantic and lexical similarity | 3 |
| Retrieval-augmented generation (RAG) | LexicalGroundedness , ContextOverlap , ContextCoverage , AnswerOverlap | Groundedness and retrieval quality (lexical-overlap heuristic) | 4 |
| Hallucination | FactualConsistency | Groundedness of generated claims against source text | 1 |
| Retriever | Hit@3 | P@3 | R@3 | MRR | nDCG@3 | QEM | F1 |
|---|---|---|---|---|---|---|---|
| BM25 | 0.833 | 0.500 | 0.750 | 0.750 | 0.704 | 0.333 | 0.370 |
| TF-IDF | 0.833 | 0.389 | 0.583 | 0.750 | 0.602 | 0.333 | 0.333 |
| Evidence | Granularity | Ids given | Result |
|---|---|---|---|
| AlignTune regression report | aggregate | artifact name, format | joined (artifact) |
| AlignTune audit report | aggregate | checkpoint digest | joined (caller) |
| CircuitKIT faithfulness report | aggregate | model digest | joined (caller) |
| SafeTune audit event | per event | episode id, call id | joined (caller) |
| SafeTune audit event | per event | decision only | refused: describes, does not identify |
| CuratorKIT manifest | aggregate | row id | refused: aggregate cannot pin one row |
LLM Evaluation
Large language model evaluation measures what models can do, how reliably they do it, and whether benchmark scores predict real-world performance.
See all 2,408 papers