yeti labs

field note 006 · 2026-08-06 · agents, evals

the expensive model read confirmation emails no better, and four templates were over half the failures

a travel platform asked whether it should rebuild the parser that turns forwarded booking emails into trips. before writing one, we measured the one they already had. it was very good, and over half of its problems lived in four places.

incumbent precision
99.88%
failures from 4 templates
56%
haiku vs opus, $/mo
$2.42 / $11.63
month replay, traced
3,645/3,645

measure the incumbent first

the platform pays the existing email-parsing vendor to read hotel, flight, and car confirmations. when the automatic parse fails, someone on the team clicks a button and the email goes to the vendor's human team. that click mints a second record against the same inbound email, so grouping records by email gives a clean count of what needed a person. over 24 months that's 9,612 emails, 94.4% handled automatically on the first pass, and 539 (5.6%) escalated to humans. the automatic path answers in 6 seconds at the median. the human path takes 2.4 hours at the median and 20.9 hours at p90, which is a user forwarding a hotel booking and seeing it show up the next day.

94.4% only means nobody clicked the button, though. it's a ceiling on accuracy, and nobody had ever measured the real thing. so we built a grounding check: for every value the vendor extracted, does it actually appear in the source email? fields that should appear literally (confirmation numbers, prices, flight numbers, names) count as verbatim, and a miss there is a real error. fields the vendor fairly derives, like an airport code from a city name, don't count against it. we left out the 415 records whose data lives in a pdf or image, since the vendor reads attachments and our checker didn't.

across 3,678 text-only records, 99.88% of verbatim values were grounded (31,861 of 31,900). when the vendor answers, the answer is right.

first, we were wrong

the first grounding run made the vendor look worse than it was, three times over. a few sources scored 0% because the email was a cover note and the itinerary was a pdf. one hotel template's check-in dates looked 89.9% grounded because it puts invisible zero-width characters inside the date, and our normalizer didn't strip them (29 of 31 misses). and 57 "wrong" arrival times were all red-eyes, where the email shows the time but not the next-day date and the vendor correctly works it out.

each one would have been a false accusation against an incumbent we were about to recommend replacing. fwiw, that's the most useful thing a baseline does.

four templates

in the most recent ten months, 335 of 4,149 emails (8.1%) either needed a human or came back empty. they weren't spread out. four supplier templates, three hotels and one airport car-rental desk, failed nearly every time, month after month, and each time the vendor's human team quietly absorbed it. those four were 189 of the 335 failures. a large car-rental template with 468 emails failed 0.4% of the time.

templateemailsfailure rate
hotel template a105100%
hotel template b22100%
hotel template c (8 property variants)58~98%
an airport car-rental desk5100%
a large car-rental template, for contrast4680.4%

every one of those emails is clean, structured html with labelled fields. the vendor is excellent on templates it knows and has no way to learn new ones. that changed the project from "beat the vendor's average" to "read four templates it never will."

the bake-off

we ran the same 60 records through three claude models with the same prompt and the same schema, and scored each with the same grounding check.

the cheapest model read the emails as well as the most expensive one

projected monthly cost per model on the same 60-record slice, labelled with verbatim values grounded in the source email

$0$4$8$12/mohaiku 4.5$2.42 · 99.67%sonnet 5$8.01 · 99.67%opus 5$11.63 · 99.66%same accuracy, about afifth of opus's price.
source: yeti labs bake-off, 60 real confirmation emails, one prompt and schema for all three modelsyeti labs · field note 006

99.67%, 99.67%, and 99.66% are the same number at this sample size. we also checked whether two models disagreeing would flag errors, which is the obvious design for an escalation path. haiku and opus disagreed on 1 of 273 field comparisons, haiku and sonnet on 3 of 269, and none of the disagreeing values were ungrounded. there were no errors for disagreement to find, so running a second model would double the bill to sort values that were already right. we didn't build it.

a month of real mail

then we gave haiku every email from the last month: 369 of them, plus a normalization layer. every value it emitted was traced back to the source email, 3,645 of 3,645. it matched the vendor's segment count on 316 emails, found more on 48, and found fewer on 5. we read all 5. two were the vendor emitting the same segment several times, two were pdf-only emails we hadn't passed attachments for, and one was a 28k-character reply-chain argument about a rental where declining to emit anything is defensible. the month cost $2.45 in model calls, against about $500 a month for the vendor.

the one real open question is a selection problem. an email showing a daily rate and a trip total has two true prices, haiku and opus picked different ones, and grounding can't settle it because both appear in the email. that needs a stated rule from the product side.

what broke

grounding catches invented values and can't catch values that are present but contradict each other, like an arrival before a departure. so we added a coherence check. its first run scored 0 true positives and 5 false positives. it compared local wall-clock times across timezones, it decided a two-word first name meant two travellers had been merged, and it applied a dollar ceiling to a price in pesos. a regex that stripped non-digits also stripped the minus sign, twice, so the negative-price rule could never fire. after the fixes it raised 0 flags across 572 real segments and still tripped on every synthetic bad case we fed it.

against an incumbent that's right 99.88% of the time, a noisy validator is worse than none. it teaches whoever reads the alerts to stop reading them. a check that can't verify a value now stays silent.

what we'd do instead

  1. measure the incumbent before building its replacement. the escalation count was free, and with the grounding harness it turned a vague "rebuild the parser" into four templates and a number to beat.
  2. ship the four templates first, alongside the vendor. that alone covers 189 of 335 failures and carries no cutover risk.
  3. start with the cheapest model and make a bigger one earn its place on your own data. on verbatim extraction, it didn't.
  4. test the tests. both checks we wrote were wrong before they were right, and both times the error pointed at the parser.
paying a vendor to be mostly right?

we'll measure where it's wrong before you replace it.

talk to the agent →