Introduction
Deploying LLM-based analytics agents in enterprise settings requires evaluation frameworks that can reliably detect failures across complex, multi-tool workflows. We present a three-phase comparative study of three evaluation frameworks, each representing a distinct evaluation paradigm (trace-based LLM judging, text-only LLM judging with red-teaming, and deterministic heuristics), applied to two analytics agents in a controlled research setting using frozen execution traces.
Phase 1: Stability Quantification
Phase 1 quantifies evaluation harness stability through repeated measurements, finding that 97% of configurations meet the stability threshold and that stability patterns are agent-independent.
Phase 2: Known Risk Detection
Phase 2 measures known risk detection on 72 ground-truth test cases, where the trace-based framework achieves the best precision-recall balance (F1=0.90) while text-only evaluation matches on recall but generates 5x more false alarms.
Phase 3: Unknown Risk Discovery
Phase 3 evaluates unknown risk discovery, uncovering 24 novel failures with zero overlap between functional testing and security red-teaming.
Conclusion & Recommendations
Our results demonstrate that:
- (1) the information available to the evaluation harness determines evaluation quality
- (2) functional and security evaluation are complementary
- (3) LLM-based evaluation harnesses surface subtle errors that human reviewers miss
We recommend a two-framework strategy: trace-based evaluation for functional assessment and adversarial red-teaming for security validation.