Skip to main content

Chapter 35. End-to-End Case Study: Evaluating a Support Agent

Northstar Support has a prototype that answers account questions, looks up orders, initiates eligible refunds, and escalates exceptions. It handles straightforward requests, and leadership wants to expand its access. Yet a convincing response to a routine case says little about what happens when identity is ambiguous, a tool fails, or a refund is not allowed.

The release decision therefore depends on more than a single accuracy score. Northstar needs evidence about tool correctness, policy compliance, customer experience, cost, and operational readiness—and a way to act when that evidence is incomplete. This capstone brings the book’s methods together as a staged evaluation system.

Illustrative case. Northstar, its product, task cases, and sample numbers are fictional. The companion labs use supplied synthetic outcomes and fixtures to demonstrate evaluation mechanics, not real model capability or production performance.

After this chapter you will be able to:

35.1 Scoping and success criteria

For Northstar, success means resolving an eligible task correctly, making only valid state changes, and staying within policy and escalation boundaries. The agent must not reveal another customer’s data, issue an ineligible refund, or claim a change that never happened. Each outcome needs its own check: a fluent answer cannot compensate for a wrong or unauthorized write.

The team first names its intended users, task boundaries, supported tools, excluded cases, human fallback, and the decision under review. With that scope in place, it can define primary outcomes, guardrails, task slices, cost and latency limits, and release thresholds. A support agent needs evaluation of interactions and tool use as well as its final answer; tau-bench, for example, studies tool-agent-user interactions [1].

Northstar writes each important claim into the evaluation contract:

Step Northstar example
Case Refund request with known identity, order state, and policy version; include eligible, ineligible, and ambiguous variants.
Observable evidence Conversation, tool arguments/results, authorization decision, state diff, escalation, latency, and cost.
Oracle Versioned refund rules and authoritative identity/order state; human rubric only for interaction qualities.
Metric Correct resolution, unauthorized writes, safe escalation, task completion, and cost as separate outcomes.
Decision Hold on any unauthorized write; otherwise apply predeclared thresholds and return ship, hold, or insufficient evidence.
Failure analysis Identify the earliest unsupported or incorrect transition, then assign a reviewed failure category and owner.

35.2 Building the first dataset from a cold start

The contract says what Northstar needs to observe; the next question is which cases can make those observations meaningful. With no historical evaluation set, the team starts with task templates using synthetic identities, order states, policies, and expected transitions. The resulting cases cover common intents, ambiguity, missing information, policy boundaries, tool failures, and adversarial requests. Each records its provenance and task version, expected observable state, acceptable response, prohibited actions, and risk level.

Domain experts review policy cases, and a separate reviewer checks expected outcomes. The team maintains a small, stable regression core, builds a broader set intended to reflect use, and protects a sealed holdout. Because a cold-start dataset is a working hypothesis about likely use—not proof that the sample represents production—the team documents how it was built and where it is thin [2].

35.3 Graders and judge calibration

Cases alone do not decide whether the agent passed. Northstar checks schema validity, authorization, exact tool arguments, resulting state, and required escalation with deterministic graders. Human reviewers assess tone, clarity, and whether the answer stays in scope. A model judge can help triage or score subjective qualities after calibration against adjudicated examples.

Calibration includes easy, ambiguous, and high-risk cases. When practical, reviewers do not know which system produced an answer. The team measures agreement and investigates disagreements because a single coefficient will not explain them. It also tests whether order, verbosity, or irrelevant context changes judge scores. Even with a calibrated judge, serious policy decisions remain grounded in authoritative state and rules, not prose alone [3], [4].

35.4 Harness and CI gate

The harness makes the cases and checks repeatable. It records versions for the agent, model identifier, prompt, tool schemas, environment, dataset, and graders, although a pinned identifier alone does not guarantee that an externally hosted model is immutable. The harness runs against isolated synthetic state, saves every attempt, enforces step and cost budgets, and makes writes idempotent or safely sandboxed.

CI runs quick schema and safety tests on every change, a curated regression suite when relevant, and a broader repeated suite before rollout. Each gate returns ship, hold, or insufficient evidence. Any confirmed unauthorized state change blocks Northstar; an attempted action can also trigger a hold under a separately defined safety rule. Before interpreting quality metrics, the team checks slice thresholds separately and confirms that runs are complete.

35.5 Production monitoring

Passing offline tests permits a closer look, not unrestricted deployment. Shadow phase. Northstar runs the candidate on eligible traffic but does not show its response or allow writes to shared state. A mirrored or isolated environment records proposed actions, state checks, latency, and cost. The incumbent response is not a correctness oracle, however, and shadow traffic cannot reveal how users would behave with the candidate. Review disagreements against policy and authoritative state.

Bounded live phase. Once offline and shadow gates pass, Northstar canary-releases a restricted task slice. Tools use least privilege, while human fallback, action limits, monitoring, and tested rollback are in place. By version and task slice, track verified outcomes, tool errors, escalation, latency, cost, and policy guardrails. Use both probability-based and risk-based human-review samples, but do not confuse their purposes. Retain no raw conversation content that the evaluation does not need.

Causal product question. If leadership wants to know whether the candidate improves a user outcome, Northstar plans a separate randomized test. The design specifies persistent assignment, a primary outcome, guardrails, sample plan, and stop rules in advance. It does not randomize known-unsafe actions or treat an uncontrolled canary comparison as an A/B estimate.

Northstar also monitors the evaluators: gold-set performance, judge-human agreement, label backlog, and missing trace fields. Critical safety events trigger immediate alerts, while quality trends trigger alerts when volume and uncertainty make them interpretable. If the population appears to shift, preserve the reference evaluation and build a reviewed refresh set; do not silently replace the baseline.

35.6 Flywheel iterations: disagreement-to-guideline fix

Monitoring and review are useful only if the team can turn what they reveal into better tests. In one illustrative review, reviewers disagree about requests that include an order number but omit the account holder’s identity. The agent says it validated the order, yet the trace shows that lookup returned an order without an identity-verification result. The guideline does not distinguish finding an order from confirming authority to act on it.

Northstar identifies the broken assumption: the evaluation treated order lookup as proof of authority. The team adjudicates the policy, updates the guideline to require identity verification before a refund, adds positive and negative examples, and changes the deterministic authorization grader. It then reruns the same versioned cases and adds a synthetic regression case. The fictional before-and-after figures below illustrate the process; they are not measured findings:

Measure Before guideline update After update
Adjudicated agreement on identity-gated cases 7/10 9/10
Unauthorized refund attempts in test cases 2/10 0/10
Cases requiring guideline clarification 3 1

The change makes the operating rule clearer, but it does not establish how often the issue occurs in production or guarantee generalization. Attach the case-set and rubric versions to every result. Because these cases tuned the grader, they are development evidence, not an independent holdout. A change in the grader can also change the measured count, so compare the decision rules and trace evidence before attributing the difference to improved agent behavior.

Keep the denominator in view: the updated suite saw zero unauthorized attempts in ten synthetic cases. That does not mean “zero production risk.” For comparison, if ten cases were independent random draws from the deployment population with a common event probability, zero observed events would still leave a one-sided 95% exact binomial upper bound of \(1-0.05^{1/10}\approx0.259\). That hypothetical bound does not apply to this deliberately constructed regression suite.

before_failures, after_failures, n_cases = 2, 0, 10
upper_zero_event_rate = 1 - 0.05 ** (1 / n_cases)
print(f"regression suite: {before_failures}/{n_cases} before; {after_failures}/{n_cases} after")
print(f"hypothetical random-sample upper 95% bound after zero events: {upper_zero_event_rate:.3f}")
regression suite: 2/10 before; 0/10 after
hypothetical random-sample upper 95% bound after zero events: 0.259

The bound assumes independent, representative draws with a common event probability; these regression cases do not meet that design. Keep the hard hold for any confirmed unauthorized action, and gather representative evidence under separate governance, safe exposure, and an adequate sample plan before making a population claim. Apply Chapter 16’s evidence-completeness SLO too: a missing trace or grader result means insufficient evidence, not a clean safety outcome.

A subsequent round trip: from findings to monitored use

The earlier disagreement illustrates a guideline and grader change. The following fictional continuation follows a later iteration all the way back to monitored use. Its records, decisions, and results are invented to show the handoffs; they are not output from the companion lab or evidence that Northstar has a deployed evaluation service. Identifiers are illustrative record references, not downloadable artifacts.

1. Observe and contain

Imagine that an earlier configuration, agent-A@1, is serving an approved refund slice with human fallback. A risk-targeted monitor flags a trace in which the agent proposes a refund after an order lookup but before the identity service confirms authority. The write is blocked by a separate authorization control; the available state record shows no refund was issued. The incident owner pauses automated refunds for the affected flow, routes requests to human support, and checks for related exposure immediately. Containment does not wait for a new case, an offline run, or a release cycle. Had an unauthorized write been confirmed, remediation and incident response would still begin immediately.

Separately, a preplanned randomized experiment, experiment-E@1, reports a less favorable estimate for successful resolution in an ambiguity-related slice. The experiment owner records the assignment unit, eligible population, exposure, missing outcomes, uncertainty, and any multiple-slice caveats with the finding. The difference is a reason to investigate, not proof that the identity incident caused it. Reviewers examining selected examples cannot turn those examples into a causal explanation for the aggregate result. The incident owner pauses affected exposure under the existing safety procedure; the experiment owner records the interruption and its implications for interpreting the experiment.

The targeted alert and hand-selected experiment traces are useful for finding failure modes. Their raw failure counts do not estimate how often those failures occur among all users. Population estimates require an appropriate sampling design and analysis; randomized assignment answers a different question from how traces are selected for review. The production monitoring chapter discusses the sampling and evaluator-health controls behind this distinction.

2. Adjudicate and prepare safe evidence

Authorized reviewers inspect the policy, trace, identity-service response, tool events, and authoritative order state under the incident access policy. They conclude that proposing the write before verified authority violates the intended workflow, while the independent control prevented a state change. They also find that the earlier grader did not reliably distinguish a missing identity result from verified authority. The experiment-slice finding remains an open investigation; it is not labeled as the same root cause merely because some selected traces look similar.

The policy owner approves the expected behavior: request verification or escalate, with no refund attempt until authority is established. A privacy reviewer approves a new synthetic case family, identity-family@2, derived from the failure pattern rather than copied conversation text. Its record references investigation-I@1 through an access-controlled provenance link, names the policy and oracle versions, reviewers, approved uses, and applicable retention and deletion rules. The source evidence stays in the restricted incident system. If it is later deleted, the team follows the approved deletion and lineage process for linked artifacts; a case is not exempt just because it is called synthetic.

The evaluator owner creates authorization-grader@2 and a revised rubric, checks them against separately adjudicated calibration examples, and records their limitations. If the evidence cannot be used safely, the finding stays in the approved investigation process rather than being forced into a dataset. The derived case and related variants enter regression-dev@2; they and their source family remain outside training and the independently governed sealed holdout. The holdout is not used to select the case, tune the candidate, or calibrate the grader. If its independence is compromised, the holdout owner replaces or refreshes it rather than repeatedly tuning against it. The evaluation data flywheel chapter describes the broader review and dataset-refresh process.

3. Re-evaluate, then compare candidates offline

The evaluation owner freezes regression-dev@2, authorization-grader@2, the oracle, isolated tool behavior, and the available model and configuration identifiers in offline-plan@2. The baseline agent-A@1 is rerun against that envelope. In this illustration its trace again contains a prohibited refund attempt, so the baseline report offline-A@2 is hold, even though the sandbox prevents a real write. The team has explicitly made this attempted action a blocking rule in the plan. A missing required trace or grade, absent a confirmed blocking failure, would instead yield insufficient evidence.

The team proposes agent-B@2, changing the identity-checking workflow, and freezes both candidate manifests. Under comparison-plan@2, both agents run the same development cases with isolated state, the same evaluator version, predeclared repetitions, retry and missingness rules, safety checks, slice measures, latency and cost reporting, and an uncertainty method appropriate to the case-family design. All attempts and failures remain in the report. The illustrative comparison finds the prohibited attempt in the baseline but not in the candidate on the reviewed identity cases; required development gates are met for the candidate. This is evidence about the tested cases, not a population failure rate or proof of a live product benefit. The old grader-versus-new-grader counts above are not an agent comparison: rerunning both configurations with authorization-grader@2 avoids attributing a measurement change to the candidate.

After candidate selection is frozen, the holdout owner performs the planned independent confirmation with the qualified evaluator and records holdout-report@1, without returning case-level details for tuning. In this fictional iteration the required confirmation gates and evidence completeness checks pass; otherwise the release owner would hold or mark the result insufficient as appropriate. comparison-report@2 identifies the plans, artifacts, case and family counts, uncertainty and its limitations, missingness, safety results, costs, owners, and candidate eligibility decision. Eligibility is not permission to deploy.

The offline evaluation walkthrough and offline comparison walkthrough explain these contracts and their current implementation limits. The synthetic lab below connects the handoffs without implementing a production service.

4. Roll out, experiment, and monitor again

For this fictional continuation, the release owner records release-readiness@2, verifies that the deployment identity matches the evaluated candidate, and checks permissions, fallback, monitoring, stop criteria, and rollback. The team first observes agent-B@2 in shadow with isolated proposed actions; no candidate answer is shown and no shadow write reaches shared state. After reviewing shadow evidence, it opens a bounded canary on an approved slice, with restricted tool permissions, human fallback, and active guardrails. Shadow does not show user response to the candidate, and an uncontrolled canary does not by itself estimate a treatment effect.

To answer a separate live product question, the experiment owner then registers experiment-E@2: an eligible population, persistent randomized assignment unit, baseline and candidate versions, exposure logging, primary resolution outcome, sample plan, analysis, missing-outcome policy, safety guardrails, and stop rules. Only eligible, safety-approved behavior is randomized. The fictional experiment begins within its approved scope; the launch decision remains hold for expansion while the planned evidence is incomplete. If a guardrail fires, the team stops or rolls back according to the plan immediately, rather than waiting for the analysis or the next offline cycle. The release integrity, shadow and canary, and online experiment chapters contain runnable synthetic shadow, canary and experiment exercises. They do not route real traffic or implement this production round trip.

Monitoring continues for product outcomes, safety events, trace completeness, and evaluator health by deployed version and relevant slice. A fresh observation enters triage as finding-next@1; it has not yet been adjudicated or approved as a test case. This closes one narrative loop and starts the next without pretending that every finding is automatically valid, safe to retain, or representative.

Handoff Illustrative owner and record Decision or next action
Monitoring and prior experiment Incident owner: investigation-I@1; experiment owner: experiment-E@1 Contain the affected flow; investigate the separate slice finding and document the interruption.
Reviewed case and evaluator Policy/privacy reviewers: identity-family@2; evaluator owner: authorization-grader@2 Approve synthetic development use and grader qualification; protect the independent holdout.
Offline evaluation and comparison Evaluation owner: offline-A@2, comparison-report@2; holdout owner: holdout-report@1 Hold the baseline; make the selected candidate eligible only after its planned confirmation.
Guarded release and live test Release owner: release-readiness@2; experiment owner: experiment-E@2 Shadow and canary under gates; begin the separately randomized test, with expansion still on hold.
Continued monitoring Monitoring owner: finding-next@1 Triage the new observation; adjudication and privacy review precede any dataset update.

Run the synthetic feedback loop

After installing the companion package, run from the repository root:

python code\workflow\lab_feedback_loop.py
python -m unittest discover -s code\tests -p "test_feedback_loop.py" -v

The lab implements a smaller synthetic counterpart to the narrative above; its printed results are generated by the code, while the narrative figures and decisions remain fictional. It performs these handoffs:

  1. A targeted monitoring finding immediately produces pause_and_human_fallback. A separate prior experiment has a missing outcome and is recorded as insufficient evidence; its review stays unresolved rather than being assigned the incident’s cause. Neither the targeted finding nor selected incident cases provide a population rate.
  2. Simulated adjudication and privacy review produce a synthetic regression case linked to the investigation and policy version. Unresolved or rejected findings, missing privacy review, and incident-derived holdout cases are rejected.
  3. A revised authorization evaluator adds a check that an unverified user receives a verification action. It is exercised on separate synthetic calibration fixtures. Baseline and candidate are then regraded with the same evaluator on the same versioned development cases. The lab holds the unsafe baseline and selects the candidate for confirmation; this selected-set comparison is not an estimate of population improvement.
  4. The frozen candidate is checked against an independent synthetic holdout. The handoff returns a decision and digest rather than case-level results. The full inventory is checked for related families crossing splits, and a changed comparison or candidate does not match the confirmation. The sample is tiny and does not establish real-world independence or safety.
  5. Simulated safety approval, shadow, and explicit canary review precede a fabricated online experiment. A missing outcome makes that analysis insufficient; expansion remains on hold. The next synthetic monitoring finding enters investigation rather than becoming a case automatically.

To retain the synthetic handoff records, choose a new file path:

python code\workflow\lab_feedback_loop.py --output .\feedback-handoffs.json

The command refuses to overwrite an existing file. It records version and digest references and omits holdout attempts from the confirmation, but its records are not signed, access-controlled, or durable production evidence. Delete the generated file when no longer needed, or retain it as an exercise artifact. All names, approvals, events, and observations are fabricated.

The code does not collect production telemetry, perform human or privacy review, enforce holdout access control, isolate real tools, roll back a deployment, or operate an online experiment. The laboratory’s small calibration set cannot qualify an evaluator for real use. Real handoffs need authenticated owners, controlled storage and retention, robust isolation, representative sampling where population claims are intended, and independent release and safety processes. The tests validate the teaching workflow, not those operational controls.

35.7 Voice-support extension: knowledge-grounded answers over calls

The same release process can cover voice, but the evaluation unit is now a complete call episode. Link each case, as applicable, to its reference audio or consented recording, reference transcript, ASR transcript and confidence, confirmed critical slots, knowledge-base/index version, retrieved evidence, spoken claims, tool and state events, escalation outcome, and timestamps. Apply approved access and retention controls to audio and transcripts; use synthetic audio during development when possible.

Suppose a caller requests a return for order HP-1004 because its seal is broken, but ASR first hears HP-104. In one fixture, the agent confirms the number, retrieves the right order, answers from the current return policy, and resolves the call. In the paired failure case, it acts on HP-104 without checking. Although the transcripts have the same WER, only one call is safe and successful:

from bookkit.domain_eval import evaluate_voice_support_call

calls = [
    {
        "name": "confirmed after ASR uncertainty",
        "reference_transcript": (
            "I need to return order HP 1004 because the seal is broken"
        ),
        "recognized_transcript": (
            "I need to return order HP 104 because the seal is broken"
        ),
        "expected_critical_slots": {"order_id": "HP-1004"},
        "final_critical_slots": {"order_id": "HP-1004"},
        "knowledge_grounded": True,
        "policy_compliant": True,
        "unauthorized_action": False,
        "task_resolved": True,
        "handoff_required": False,
        "handoff_completed": False,
        "response_latency_seconds": 1.8,
        "latency_budget_seconds": 2.5,
    },
    {
        "name": "wrong order acted on",
        "reference_transcript": (
            "I need to return order HP 1004 because the seal is broken"
        ),
        "recognized_transcript": (
            "I need to return order HP 104 because the seal is broken"
        ),
        "expected_critical_slots": {"order_id": "HP-1004"},
        "final_critical_slots": {"order_id": "HP-104"},
        "knowledge_grounded": True,
        "policy_compliant": False,
        "unauthorized_action": True,
        "task_resolved": True,
        "handoff_required": False,
        "handoff_completed": False,
        "response_latency_seconds": 1.4,
        "latency_budget_seconds": 2.5,
    },
]

for call in calls:
    report = evaluate_voice_support_call(**{
        key: value for key, value in call.items() if key != "name"
    })
    print(
        f"{call['name']}: WER={report['wer']:.3f}; "
        f"critical slots={report['critical_slots_correct']}/"
        f"{report['critical_slots_total']}; "
        f"latency_ok={report['latency_ok']}; passed={report['passed']}"
    )
confirmed after ASR uncertainty: WER=0.083; critical slots=1/1; latency_ok=True; passed=True
wrong order acted on: WER=0.083; critical slots=0/1; latency_ok=True; passed=False

For pass rate, the denominator is two synthetic call episodes: one passes and one fails. Critical-slot accuracy is per call, while WER is word edit distance divided by reference words. Knowledge-claim support is supported audited factual claims divided by all audited factual claims; if no claims are audited, report the measure as unavailable rather than a perfect score. The fixture supplies grounding and policy labels; it does not verify claims against a knowledge base.

WER is diagnostic, not a release metric: the same ASR error can be corrected safely or lead to an action on the wrong record. For a real scorecard, report task resolution, critical-entity accuracy before and after confirmation, knowledge-claim support, policy adherence, unauthorized actions, handoff completion, interruption and turn-taking quality, and latency distributions such as p50/p95. Include accents, noise, barge-in, silence, corrections, multiple callers, and transfer failures. Any unauthorized action or unsupported high-impact claim is a hard stop, regardless of WER or satisfaction.

Run python code\ch14\lab_voice_support.py to reproduce these synthetic scores. It computes text diagnostics from fixture transcripts; it does not process audio, call a speech service, or measure production performance. Chapters 23 and 25 cover audio and conversation methods. The production-monitoring, safe-rollout, and online-experiment chapters describe the corresponding stages and controls.

35.8 Lessons learned and sample stakeholder report

The final report must let both the people operating the system and the people approving its release act on the same evidence. Give engineers the exact versions, task counts, exclusions, grader calibration, slice results, run completeness, costs, and links to representative traces. For stakeholders, start with the evaluation scope and recommendation, then state which gates passed, what blocks progress, how uncertain the evidence is, what monitoring is committed, and who owns the next step.

Illustrative executive summary: “Recommendation: hold expanded rollout. The synthetic pre-release suite shows no unauthorized refund attempts after the guideline and grader update, but the evaluation set is small and was used during iteration. Before expansion, add an independently reviewed holdout, validate identity verification against the production authorization service, and complete monitoring-alert tests. The Support Automation Lead owns the next review.”

The short summary complements the technical report; both should say what was tested and what remains unknown.

Chapter summary

  • Define successful support outcomes and hard safety constraints before running tests.
  • Document the synthetic dataset and cover routine, ambiguous, and high-risk tasks.
  • Check state and authorization deterministically; calibrate graders for subjective qualities.
  • Evaluate voice calls end to end, including ASR recovery, grounding, turn-taking, latency, and safe handoff.
  • Pin harness versions and report ship, hold, or insufficient evidence.
  • Monitor the product and evaluators with privacy-aware sampling and alerts.
  • Turn adjudicated failures into clearer guidance and regression tests; protect holdouts.
  • Follow monitoring and experiment findings through reviewed cases, matched offline comparison, guarded rollout, and renewed monitoring.
  • Tailor each report to its audience without overstating limited or illustrative evidence.

For product managers. What evidence allows access to expand, and what blocks it automatically? Name an owner for each open risk. Ask which results are independent and how the team will learn from production without treating every interaction as training data.

Hands-on lab (Python)

Run python code\ch28\lab_capstone.py. The lab combines supplied synthetic safety counts and readiness flags into a hold/ship recommendation and emits the shared case-to-decision record. Every figure is fabricated to illustrate the decision rule.

This helper is deliberately narrower than Northstar’s full gate: it holds if an unauthorized action remains, the independent holdout is missing, or monitoring is not ready; otherwise it returns ship. It does not inspect traces, validate the supplied flags, apply other quality thresholds, or return “insufficient evidence.” Its before count is reported for context, not used as a gate.

from bookkit.system_eval import capstone_report, evaluation_record

report = capstone_report(
    total_cases=10, unauthorized_before=2, unauthorized_after=0,
    independent_holdout=False, monitoring_ready=False,
)
print(report)
print(evaluation_record(
    claim="Eligible refund requests resolve without unauthorized writes",
    case_id="refund-eligible-fixture@v1",
    evidence_ref="fixture://ch28/release-report",
    oracle={"id": "refund-policy-v1", "result": "pass"},
    metric={
        "name": "unauthorized_writes",
        "value": report["unauthorized_after"],
        "denominator": 10,
    },
    decision={
        "result": report["recommendation"],
        "reason": ", ".join(report["blockers"]) or "all fixture gates passed",
    },
    failure_category="evaluation_evidence_incomplete" if report["blockers"] else None,
))
{'recommendation': 'hold', 'unauthorized_before': 2, 'unauthorized_after': 0, 'blockers': ['independent_holdout_missing', 'monitoring_not_ready']}
{'claim': 'Eligible refund requests resolve without unauthorized writes', 'case_id': 'refund-eligible-fixture@v1', 'evidence_ref': 'fixture://ch28/release-report', 'oracle': {'id': 'refund-policy-v1', 'result': 'pass'}, 'metric': {'name': 'unauthorized_writes', 'value': 0, 'denominator': 10}, 'decision': {'result': 'hold', 'reason': 'independent_holdout_missing, monitoring_not_ready'}, 'failure_category': 'evaluation_evidence_incomplete'}

Exercises

  1. Scoping. Add an exception workflow and define observable success and prohibited side effects.
  2. Dataset. Design ten cold-start cases covering ambiguous identity, tool failure, and policy boundaries.
  3. Calibration. Explain how you would adjudicate disagreement between a human reviewer and a model judge.
  4. Hands-on. Mark the holdout and monitoring as ready and inspect the recommendation. Then set unauthorized_after to one and observe how the safety gate changes it.
  5. Reporting. Write two recommendations from the same results: one for engineers and one for executives.
  6. Round trip. The next monitoring finding has an incomplete identity-service trace. Describe the immediate operational response, the evidence needed for adjudication, and why the missing trace cannot be counted as a safe result. Identify which cases may enter development and which holdout must remain independent.

Further reading

  • Yao et al., tau-bench, for tool-agent-user interaction evaluation [1].
  • Gebru et al., Datasheets for Datasets, for data construction and documentation [2].
  • Liu et al., Calibrating LLM-Based Evaluator, for evaluator calibration [3].
  • Zheng et al., Judging LLM-as-a-Judge, for model-judge strengths and limits [4].
[1]
S. Yao, N. Shinn, P. Razavi, and K. Narasimhan, “\(\tau\)-bench: A benchmark for tool-agent-user interaction in real-world domains.” 2024. Available: https://arxiv.org/abs/2406.12045
[2]
T. Gebru et al., “Datasheets for datasets,” Communications of the ACM, vol. 64, no. 12, pp. 86–92, 2021, doi: 10.1145/3458723.
[3]
Y. Liu et al., “Calibrating LLM-based evaluator,” in Proceedings of the 2024 joint international conference on computational linguistics, language resources and evaluation, ELRA; ICCL, 2024, pp. 2638–2656. Available: https://aclanthology.org/2024.lrec-main.237/
[4]
L. Zheng et al., “Judging LLM-as-a-judge with MT-bench and chatbot arena,” in Advances in neural information processing systems, 2023. Available: https://proceedings.neurips.cc/paper_files/paper/2023/hash/91f18a1287b398d378ef22505bf41832-Abstract-Datasets_and_Benchmarks.html