Errors left out
Last week's sheet counted 1,203 questions, not 1,240, and claimed 91.2% accuracy.
Impact: Legal Ops refused to sign off on the replacement model.
FDE interview labData & Systems
Build a small evaluation runner.
Your mission · Model evaluation
Wexford Legal cannot get its replacement model approved, because Legal Ops does not trust the accuracy sheet it was given. The sheet skipped some questions and a regression slipped past reviewers. The release review is December 3, and the current model is retired December 15.
Last week's sheet counted 1,203 questions, not 1,240, and claimed 91.2% accuracy.
Impact: Legal Ops refused to sign off on the replacement model.
The overall row averaged the per-area rows instead of counting each question once.
Impact: Reviewers could not trust the headline number.
Reviewers compared two sheets by hand and missed msa-117.
Impact: The release review missed a question that stopped passing.
Edit the components marked “Your work”. The other components show where your changes fit.
| Field | Type | Notes |
|---|---|---|
id | string | Unique and nonempty, such as msa-102. |
scorer | "exact" | "contains_all" | |
expected | string | string[] | One string for exact; a nonempty list of nonempty terms for contains_all. |
replies | (string | {error})[] | What fake_model returns for attempt 0, 1, 2 (cycling). |
tags | string[] | Distinct, nonempty. May be empty as a list. |
| Field | Type | Notes |
|---|---|---|
id | string | |
pass_rate | number | Passing attempts / attempts, six decimals. |
consistent | boolean | All attempts passed or all failed. |
attempts | {output, passed, error}[] | A model error has null output and passed false. |
| Field | Type | Notes |
|---|---|---|
tag | string | |
total | integer | Cases carrying the tag. |
passed | integer | Of those, cases whose every attempt passed. |
accuracy | number | null | Passing attempts / attempts for those cases. |
samples/review-cases.json Six questions from the library: a casing difference, extra spaces and punctuation, a missing term, a model timeout, a hyphen, and a case with two tags.[
{
"id": "nda-014",
"scorer": "exact",
"expected": "Yes",
"replies": [
"yes"
],
"tags": [
"confidentiality",
"smoke"
]
},
{
"id": "msa-102",
"scorer": "contains_all",
"expected": [
"30 days",
"written notice"
],
"replies": [
"Either party may terminate on 30 days' Written Notice."
],
"tags": [
"termination"
]
},
{
"id": "msa-117",
"scorer": "contains_all",
"expected": [
"12 months",
"fees paid"
],
"replies": [
"Liability is capped at the fees paid in the prior year."
],
"tags": [
"liability",
"smoke"
]
},
{
"id": "dpa-031",
"scorer": "exact",
"expected": "72 hours",
"replies": [
{
"error": "upstream timeout"
}
],
"tags": [
"privacy"
]
},
{
"id": "sow-008",
"scorer": "exact",
"expected": "net 45",
"replies": [
"Net-45"
],
"tags": [
"payment"
]
},
{
"id": "msa-121",
"scorer": "exact",
"expected": "Delaware",
"replies": [
"delaware"
],
"tags": [
"liability",
"termination"
]
}
]samples/baseline-2026-11-17.json Last week's pass or fail per id, including msa-099, which is not in this run.{
"nda-014": true,
"msa-102": true,
"msa-117": true,
"dpa-031": true,
"sow-008": false,
"msa-099": true
}samples/review-report.json The report evaluate(cases, {"baseline": baseline}) must return for those two files.{
"total": 6,
"passed": 3,
"accuracy": 0.5,
"by_tag": [
{
"tag": "confidentiality",
"total": 1,
"passed": 1,
"accuracy": 1
},
{
"tag": "liability",
"total": 2,
"passed": 1,
"accuracy": 0.5
},
{
"tag": "payment",
"total": 1,
"passed": 0,
"accuracy": 0
},
{
"tag": "privacy",
"total": 1,
"passed": 0,
"accuracy": 0
},
{
"tag": "smoke",
"total": 2,
"passed": 1,
"accuracy": 0.5
},
{
"tag": "termination",
"total": 2,
"passed": 2,
"accuracy": 1
}
],
"results": [
{
"id": "dpa-031",
"pass_rate": 0,
"consistent": true,
"attempts": [
{
"output": null,
"passed": false,
"error": "upstream timeout"
}
]
},
{
"id": "msa-102",
"pass_rate": 1,
"consistent": true,
"attempts": [
{
"output": "Either party may terminate on 30 days' Written Notice.",
"passed": true,
"error": null
}
]
},
{
"id": "msa-117",
"pass_rate": 0,
"consistent": true,
"attempts": [
{
"output": "Liability is capped at the fees paid in the prior year.",
"passed": false,
"error": null
}
]
},
{
"id": "msa-121",
"pass_rate": 1,
"consistent": true,
"attempts": [
{
"output": "delaware",
"passed": true,
"error": null
}
]
},
{
"id": "nda-014",
"pass_rate": 1,
"consistent": true,
"attempts": [
{
"output": "yes",
"passed": true,
"error": null
}
]
},
{
"id": "sow-008",
"pass_rate": 0,
"consistent": true,
"attempts": [
{
"output": "Net-45",
"passed": false,
"error": null
}
]
}
],
"regressions": [
"dpa-031",
"msa-117"
]
}logs/eval-run-2026-11-20.log The candidate run behind last week's sheet: 1,240 calls, 37 model errors, 1,203 rows exported.2026-11-20T14:02:11Z eval run=ev-0412 model=candidate-2026-11 cases=1240 repetitions=1 2026-11-20T14:09:37Z model error case=dpa-031 attempt=0 error="upstream timeout" 2026-11-20T14:09:52Z model error case=dpa-044 attempt=0 error="upstream timeout" 2026-11-20T14:21:05Z model error case=msa-388 attempt=0 error="rate limited" 2026-11-20T14:31:40Z eval run=ev-0412 finished calls=1240 answered=1203 errors=37 2026-11-20T14:32:02Z export sheet=candidate-vs-current.xlsx rows=1203
metrics/candidate-vs-current-2026-11-20.csv The sheet Legal Ops rejected: 1,203 of 1,240 questions, and an "ALL" row taken as the mean of the area rows.area,questions,correct,accuracy termination,214,201,0.939 liability,256,226,0.883 privacy,188,170,0.904 payment,141,131,0.929 confidentiality,233,218,0.936 other,171,151,0.883 ALL (mean of areas),1203,1097,0.912
TASK-201 Define the result record and implement one scorer at a time Reported by Priya (Model Quality)
Expected msa-102 passes (case and spaces differ, both terms present). sow-008 fails ("Net-45" keeps its hyphen). Each result has pass_rate, consistent and attempts.
Actual evaluate raises NotImplementedError: the report is not implemented yet.
TASK-202 Keep errors as failed attempts and aggregate overall and tag metrics Reported by Marco (Legal Ops)
Expected total 6, accuracy 0.5 with dpa-031's timeout counted as a failed attempt; liability shows total 2, accuracy 0.5; msa-121 counts in both of its tags but once overall.
Actual The only numbers today are the sheet's: 37 errored questions missing from the denominator and an overall row computed as the mean of the area rows.
TASK-203 Compare current outcomes with the previous run Reported by Dana (product)
Expected regressions is ["dpa-031", "msa-117"]. sow-008 failed before too, and msa-099 is not in this run, so neither is listed.
Actual Nothing lists regressions. Reviewers compared two sheets by eye and missed msa-117.
Scores use evidence from your session. A short or incomplete session may not provide enough evidence for every skill. See a sample scorecard
I will review whether your numbers mean what their labels say. Use the AI assistant to build the runner, then walk me through a small report by hand.