All articles

Scoring Simulated Conversations: Grounding Every Criterion in Evidence

Moving beyond valid JSON in LLM-assisted conversation feedback with behavior-anchored rubrics, verifiable transcript citations, explicit abstention, and honest reproducibility boundaries.

  • Agent evaluation
  • AI engineering
  • Structured output

Valid JSON Does Not Equal Reliable Scoring

On the sales training project, I participated in designing multi-agent flows for simulated customer conversations and structured performance scoring. In automated coaching architectures, structured output tools—such as JSON Schema constraints or Spring AI’s StructuredOutputConverter—can create a misleading sense of certainty. A cleanly parsed JSON object guarantees field shape, not sound judgment. The following is an illustrative design shaped by that project background rather than an exhaustive account of a shipped system.

Consider a hypothetical scenario. A six-turn practice session stays focused on product basics, and the simulated customer never brings up price. Yet the scorecard includes a mandatory “Price Objection Handling (1–5)” field. If the schema forces an integer on every criterion, an evaluator model rarely states that the topic never arose; instead, it often outputs a middle-of-the-road 3 along with generic advice. That looks polished in a chart, but it misleads the learner.

Anchoring Scores to Rubrics, Transcript Evidence, and Abstention

Making automated feedback inspectable by both learners and human coaches takes three deliberate design choices:

  • Observable rubric anchors: replace vague labels like “persuasive tone” with concrete behavioral criteria, such as whether the rep clarified the customer’s constraint before pitching a solution.
  • Turn-linked transcript evidence: assign stable turn IDs (T1, T2, …) to the transcript and require every scored criterion to reference specific evidenceTurnIds and verbatim quotes so reviewers—and automated checks—can trace the score back to what was actually said.
  • First-class abstention: when a conversation never tests a given skill, let the evaluator return insufficient_evidence with score: null instead of guessing an average mark.

Below is an illustrative structured evaluation payload pairing evidence links, abstention, and version metadata:

{
  "rubricVersion": "sales-rubric-v2",
  "promptVersion": "evaluator-2026-12",
  "modelId": "example-evaluator-model",
  "criteria": [
    {
      "criterionId": "needs_discovery",
      "status": "scored",
      "score": 4,
      "evidenceTurnIds": ["T2", "T4"],
      "quote": "Is your team running into delays during inventory counts or onboarding?",
      "rationale": "Asked a concrete discovery question before proposing a workflow."
    },
    {
      "criterionId": "price_objection",
      "status": "insufficient_evidence",
      "score": null,
      "evidenceTurnIds": [],
      "quote": null,
      "rationale": "No pricing objection occurred in the transcript; criterion not evaluated."
    }
  ]
}

Post-processing should go beyond JSON Schema validation. Deterministic server-side checks can verify that every scored item cites non-empty evidenceTurnIds whose quote actually appears in those transcript turns, and that every insufficient_evidence item carries score: null and is excluded from the score denominator rather than silently treated as zero.

Facing Reproducibility Limits Honestly

Even with tight rubrics and citation checks, LLM-based scoring has clear reproducibility bounds. Consistent with measurement validity and reliability concerns in the NIST AI Risk Management Framework (AI RMF 1.0), teams need to distinguish schema determinism from judgment repeatability:

  • Sampling and model drift: even at low temperature, inference variance, minor model updates, or prompt edits can nudge borderline transcripts between adjacent bands (such as 3 versus 4).
  • Branching simulations: in a multi-agent roleplay, a slight change in how the simulated customer replies on turn 2 alters the entire dialogue. End-to-end roleplay runs are therefore not bit-for-bit reproducible; repeatable regression testing happens on fixed transcripts fed into the evaluator.
  • Coaching aid, not sole verdict: presenting scores alongside quoted turns and supporting human review is far safer than treating automated scores as an unappealable grade.

Verification Ideas

Testing an evaluation pipeline works best when uncertainty is measured explicitly:

  • Programmatic citation checks: verify automatically that every returned quote and evidenceTurnIds entry matches the source transcript so fabricated citations fail fast.
  • Abstention fixtures: maintain static transcripts intentionally missing specific objection scenarios and assert that the evaluator emits insufficient_evidence rather than fabricating a mid-range score.
  • Repeat-run stability checks: score a fixed benchmark set of transcripts multiple times across changes, tracking score variance and agreement against human-reviewed references while logging rubricVersion, promptVersion, and modelId.

References