Skip to main content

Definition

The session record count test monitors the number of records — typically turns — per session. It’s a numeric test (no LLM evaluator involved) that aggregates the row count per session ID and lets you alert on pathological cases: runaway sessions with hundreds of turns, or sessions that never went past one.

Taxonomy

  • Task types: LLM.
  • Availability: and .
  • Evaluation level: session.
  • Computation: deterministic aggregation.

Why it matters

  • Runaway sessions (too many turns) often signal tool-call loops, clarification loops, or frustrated users hammering on the same question.
  • Very short sessions (one turn then drop-off) may signal users bouncing off the product before the assistant could help.
  • Track both tails — mean and percentile views of session length often tell very different stories.

Available measurements

Required columns

  • Session ID: Groups turns belonging to the same conversation.

Test configuration examples