What it says

HoneyHive argues that offline evaluation (a fixed dataset scored before release) and online evaluation (traces scored after launch) catch different failures, so most teams run both. Offline answers whether a change broke known regressions; online scores live traffic for drift and unanticipated failures. The practical recipe: sample online scoring by volume (100% under 1K events/day, 25 to 50% for 1K to 10K, 5 to 25% above that), let Python evaluators run at 100% while more expensive LLM judges are sampled, run evaluators after ingestion (they cannot block unsafe responses; guardrails stay client-side), and close the loop by reading failing traces, adding them to the offline dataset, and re-checking the offline run.

Claims drawn from this source

  • Offline evaluation gates releases, online evaluation detects drift. Offline evaluation runs the app on a fixed dataset before you ship; online evaluation scores traces from production after you ship. Anthropic describes automated evals as especially useful pre-launch and in CI/CD, with production monitoring as the layer that kicks in post-launch to detect distribution drift and unanticipated real-world failures.
  • Offline and online answer different questions. Offline answers ‘did this change break anything we know about?’, and online answers ‘what is happening to users right now?’
  • Online scoring is sampled by volume. The docs suggest 100% under 1K events a day, 25 to 50% for 1K to 10K, and 5 to 25% above that, with the sampling percentage setting how many matching traces get scored.
  • Python evaluators run at 100% while LLM judges are sampled. Because LLM evaluators cost model calls for every evaluation, Python evaluators can often run at 100% while LLM judges are sampled.
  • Online evaluators cannot block unsafe responses in flight. Online evaluators run asynchronously after ingestion, so they add no latency but scores appear after a short delay; checks that must happen during execution, such as guardrails, go to client-side evaluators.
  • Production failures become offline test cases through error analysis. The cycle is: an online score drops or a user complains, you read the failing traces, you add those cases to the offline dataset, you fix the prompt or pipeline, and the offline run now guards against the same failure.