Blog · · Ashutosh Agarwal

Harness Matters: We hill-climbed 47 AI-built finance data tools. The model was the easy part.

A frontier model's first builds of financial data tools passed 76% of our eval checks. Hill-climbing 47 of them surfaced 806 defects, two thirds of them clean-looking wrong answers. What models get wrong on raw financial data, why held-out sets matter more than pass rates, and what it means for any team planning to build this in-house.

A frontier model built 47 financial data tools for us: SEC filings, bank call reports, CDS trades, central-bank curves, sovereign auctions, fund flows and more. Each first build came with its own unit tests. Graded by independent evals against the publishers' own files, the first builds of the 27 tools measured the same way every round passed 76% of the checks.

The other 24% is what this post is about. Across the 47 tools, the evals surfaced 806 defects. Two thirds of them never raised an error. They returned a clean, well-formed answer that was wrong: Hertz CDS at a 66 bp spread when the trade was 66 points upfront, NVIDIA's short interest at 12.81% when it was about 1.2%, a $19.1 billion outflow from a junk-bond ETF that was really a reverse split.

We hill-climbed every tool against its eval, round after round. This is what the climb looked like, what the models got wrong, and what it means if you are a CTO deciding whether to build this layer yourself.

TL;DR

  • First builds pass about three quarters of the evals. On the 27 tools with pass counts for every round, a frontier model's first version passed 858 of 1,126 checks (76.2%). None of the 27 passed all of its checks.
  • Hill-climbing takes the pooled pass rate to 92%, slowly. Across 79 eval rounds, the same tools reached 1,128 of 1,228 checks (91.9%), on a bar that kept getting harder.
  • Two thirds of the defects were plausible wrong answers. Of 806 defects, 542 returned a clean-looking wrong answer. Among the defects that touched the data itself, the share was 81%.
  • The model misreads the source, not the code. Wrong entities, misread layouts and date windows that spill past their end make up most of it. Those are facts about the publisher's files, not bugs a better coder avoids.
  • Pass rates overfit; held-out sets don't lie. A bond-terms tool that scored 100% on documents it was tuned on captured about 80% on documents it had never seen.
  • The eval needs evaluating too. 271 times, the eval itself was wrong and had to be fixed before it could be trusted.

What a frontier model gets right on the first try, and what it doesn't

The setup was simple. For each data source, a frontier model wrote the tool: the code that fetches the publisher's files, parses them, resolves names to entities and returns a number with its source. Then an independent eval graded it against ground truth taken from the publisher by a separate route, including held-out cases the tool never saw.

The first builds were good. Most checks passed, the code was clean, the tests were green. They were also not good enough to put in front of an investor, and none of the 27 tools in Exhibit 1 was perfect on its first try.

Exhibit 1
Each of the 27 tools started between 45% and 92% of its checks, and hill-climbing moved every one up.

Share of eval checks passed: first build to latest round, % 27 tools with pass counts for the first build and the latest round; checks are added between rounds

Low High
CDS trade tape (DTCC) 45% 93%
IMF lending programs 61% 89%
UK regulatory announcements 64% 82%
CDS rulings and auctions (ISDA) 65% 98%
SEC Form 13F holdings 67% 88%
FDIC and FFIEC bank data 70% 82%
Federal contracts 70% 91%
Sovereign debt offices 70% 100%
Market-implied policy rates 74% 84%
Central banks 74% 87%
Macro expectations 75% 80%
EPA, OSHA and data.gov records 76% 96%
Portfolio analytics 77% 97%
SEC N-PORT fund holdings 77% 100%
Sovereign bonds 79% 98%
Municipal distress 80% 100%
Credit ratings 81% 100%
IMF PortWatch shipping 82% 96%
Fama-French factors 82% 95%
SEC debt documents 82% 100%
Macro statistics 84% 95%
USDA crop data 85% 96%
HUD housing data 86% 100%
Sovereign defaults 87% 100%
Options chains (Cboe) 88% 96%
openFDA 91% 97%
ETF and fund flows 92% 100%

Note: The other 20 tools' evals changed what they count between rounds (fresh held-out sets, regrouped checks) or recorded one round, so they are left out of this chart but included in every defect count below. Pooled across the 27 tools: 858 of 1,126 checks on the first build, 1,128 of 1,228 in the latest round.
Source: Matterfact evaluation records for 47 data tools, October 30 to November 29, 2026

Two things in Exhibit 1 matter more than the averages.

First, the bottom of the chart is not where you would guess. The tools that started lowest were not the ones with the hardest code. They read the sources with the strangest conventions: a swap tape that files points upfront in a spread field, IMF program documents spread across decades of formats, ISDA rulings that name a successor three mergers deep. The model wrote correct code against a wrong reading of the world.

Second, the top of the chart started high and still had defects that mattered. Fund flows passed 46 of 50 checks on its first build. It also reported JNK's 1-for-3 reverse split in May 2019 as a $19.1 billion outflow. The real flow that day was about $18 million in. None of the 50 checks had been written to look for it; adversarial review found it. A 92% score was hiding a number that would have made the front page of a credit newsletter.

How the hill climb works, and why it flattens

Hill-climbing a data tool works the way it works on a model. Each failure is fixed and pinned with a regression test, and the full eval runs again. Nobody lowers a bar to make a number go up. When the eval itself is wrong, it is corrected in the open.

Across the 27 tools in Exhibit 1, the median tool went through two eval rounds and the hardest through eight. Gains were steep at first and then flattened, because each round's fixes exposed the next layer of the source's behaviour. CDS rulings went from 15 of 23 checks to 45 of 46 over eight rounds. Credit ratings went from 25 of 31 to 40 of 40 in three. Bank data climbed from 35 of 50 to 51 of 62 while its eval grew by twelve checks.

That last point is the one people miss. A hill climb on a fixed eval is easy to game: the model learns the test. So the eval grows as the climb goes on, with new edge cases, new held-out sets and new red-team failures. The denominator in Exhibit 1 grew by 102 checks. The pass rate went up anyway.

What the models got wrong: 806 defects, sorted

Start with the split that matters most. Of the 806 defects, two in three never announced themselves (Exhibit 2).

Exhibit 2
542 of 806 defects returned a clean-looking wrong answer; only 264 raised an error, crashed or looked wrong.

Defects found across 47 data tools, by how they showed up Every defect the evals found, first build through latest round

Label Value
Clean-looking wrong answer 542
Visible failure 264

Source: Matterfact evaluation records for 47 data tools, October 30 to November 29, 2026

Then sort them by cause. Every defect went into one of a dozen failure modes (Exhibit 3). The shape of the distribution is the most useful thing we learned.

Exhibit 3
Wrong entities, misread layouts and spilled date windows lead the list; most of it is misreading the source, not bad code.

Defects found across 47 data tools, by failure mode Number of distinct defects, and how many of them returned a clean-looking wrong answer

Category All defects Clean-looking wrong answers
Wrong entity: name, ticker or ID matched to the wrong company 125 97
Misread layout, field or file variant 103 60
Wrong date window: spill, stale vintage, as-of vs period 89 79
Records that exist but were missed 64 51
Wrong category or label 60 55
A failed source returned as data 56 47
Silent truncation 33 28
Double counting of amendments and restatements 31 27
Units and scale 24 22
Annualising and aggregation 16 15
Quote conventions and signs 16 16
Robustness: crashes, pacing, misleading notes 189 45

Note: 806 defects in all, 542 of them (67%) clean-looking wrong answers. Excluding robustness defects, 497 of 617 (81%). A defect that recurred across rounds is counted once.
Source: Matterfact evaluation records for 47 data tools, October 30 to November 29, 2026

Read the list as a CTO and one thing stands out: outside the robustness bucket, very little of it is about code. A stronger model writes the same loop, the same parser and the same regression. What it doesn't know is that the SEC's 13F form switched from thousands to dollars and some managers kept filing in thousands; that a bank's year-to-date income restarts mid-year when it changes holder; that the Bundesbank's API ignores the dates you send it. Those are facts about the world. A model only learns them when an eval with real ground truth shows it the gap.

The plausible-wrong share is what makes this dangerous. When a robustness defect happens, something crashes and a person notices; only 45 of 189 looked like a real answer. When a units, convention or annualising defect happens, the answer looks fine more than nine times in ten.

A field guide to plausible wrong answers

Exhibit 4 is a sample from the 542. Each came back as a clean row, with no error and no warning, from a tool that shipped with its own tests.

Exhibit 4
Each of these answers looked right, and each was wrong by enough to change an investment call.

Source What the first build returned The right answer Why it was wrong
DTCC swap tape Hertz 5-year CDS at a 66 bp spread 66 points upfront The tape files points in the spread field
FINRA short interest NVIDIA at 12.81% of shares outstanding About 1.2% Divided by the pre-split share count
ETF flows JNK: a $19.1 billion outflow on May 6, 2019 About $18 million in A 1-for-3 reverse split read as redemptions
SEC Form 13F Graham Holdings' Berkshire stake at $620,797 $620,797,000 Values filed in thousands on a dollar form
SEC Form 13F Mizuho's Apple position up 129.56% in a quarter Up about 30% An amendment counted on top of the original
FFIEC call reports First Bank of Manhattan net interest margin of 0.62% 4.04% A restarted year-to-date annualised as nine months
Bundesbank curves 17,790 rows for a three-day request Three days of rows The API ignores the dates sent
openFDA 80,235 device clearances for "Biomérieux, Inc." 2 The search fell back to the word "Inc."
EPA enforcement records 10,946 Johnson & Johnson facilities 146 It matched every "Johnson"
SEC N-PORT UK inflation-linked gilts priced at 77.45 42.64 The exchange rate read the wrong way round
Hospital cost reports Washington Hospital debt to capitalization of 0.0% 68% to 74% The bonds sit on a line the formula skipped
Fama-French daily factors March 2020 market return of -16.98% -13.18% The window silently stopped on March 12
ISDA CDS model A yen CDS priced at 8.22 points No price Yen conventions weren't coded, so it used a flat US-dollar curve

Note: Every one is fixed, with a regression test that fails if it comes back.
Source: Matterfact evaluation records, October 30 to November 29, 2026

A pattern runs down the right-hand column. Each defect is a place where the publisher's file means something other than what it says on its face. That is exactly the knowledge a general-purpose model doesn't carry, and exactly what an agent writing fresh code on every question has to rediscover every time.

Pass rates overfit. Held-out sets don't.

Every ML team knows Goodhart's law: when a measure becomes a target, it stops being a good measure. Data tools obey it too. A tool tuned against a fixed set of documents learns those documents' layouts, scores 100%, and then quietly misses whatever it hasn't seen.

We saw it on most tools where we drew one. A tool that reads bond term sheets captured principal, coupon, maturity, price, yield, spread and call dates 100% of the time on the 35 documents used during tuning. On 43 documents from other issuers and other years, recall fell to about 80%, and to 64% on make-whole spreads (Exhibit 5). Precision held: when it returned a value, the value was almost always right. What it missed were entire layouts.

Exhibit 5
Perfect on the documents it was tuned on, about 80% on documents it had never seen.

Share of bond tranche fields captured accurately, % Documents used in tuning against an unseen held-out set

Category Tuned on (35 documents) Held out (43 documents)
Principal 100.0% 80.0%
Coupon 100.0% 84.4%
Maturity 100.0% 82.4%
Issue price 100.0% 82.1%
Yield 100.0% 79.6%
Spread to Treasuries 100.0% 79.2%
Pricing date 100.0% 79.7%
Par call date 100.0% 73.9%
Make-whole spread 97.1% 64.3%

Note: The held-out set covered headerless grids, yen, euro and Canadian dollar sheets, sovereigns, supranationals, hybrids and taps.
Source: Matterfact evaluation records for new bond issues, November 2026

The pattern repeated wherever a fresh held-out set was drawn:

  • Credit events from SEC filings: event-type recall of 100% on the set the tool was tuned on and 89.6% on a held-out set. After the fixes, recall on that set rose to 94.8%, and on the next fresh set it was 82.4%.
  • ISDA successor rulings: every successor right on a 34-ruling set the tool had seen; errors on each fresh hand-read set of 37, 55 and 59 rulings, concentrated in multi-step merger and rename chains.
  • FINRA short data: passed every check on its first full run. Three rounds of adversarial review then found 43 problems, including the NVIDIA split error and two that no check had pulled enough data to reach.

So wherever a source allows it, we report a tool's accuracy on data it has never seen, and draw a fresh held-out set for the next round. A vendor that quotes you a single pass rate, measured on the data it tuned against, is quoting you its training loss.

The eval is a model too, and it is wrong sometimes

An eval is software written by someone, against ground truth assembled by someone. It has bugs. Across the 47 tools, the eval itself was found wrong and corrected 271 times: a bar set on a misreading of the source, a ground truth that double-counted, a check that couldn't fail.

The worst kind is circular. In two cases the eval computed its expected answer the same way the tool did, so the two agreed while both were wrong: one copied the tool's rule for dating a security identifier, and the other computed London business dates with the same bug. In another, a credit-ratings check flagged 416 rating changes as mislabelled. The count was challenged and rebuilt from the source: the check had paired ratings from three different instruments, and the true count was 220.

The lesson for anyone building evals for finance: ground truth has to come from somewhere the tool cannot reach, and every disagreement between tool and eval is a question, not a verdict. Sometimes the tool is wrong. Sometimes the eval is.

The harness moves accuracy more than the model

The same lesson shows up one level up, when you score whole agents. On Vals AI's Finance Agent benchmark, Claude Opus 5.5 ranks 10th of 78 models. We ran it, GPT-6.1 Sol, Gemini 3.8 Flash and GLM 5.3 inside our agent on the benchmark's 27 public tasks, graded with the benchmark's own rubrics. Every model scored 7 to 17 points higher than on the leaderboard, and the order changed (Exhibit 6).

Exhibit 6
Claude Opus 5.5 went from 10th on the leaderboard to first of the four in our harness.

Slope chart of each model's accuracy and rank on Vals AI's harness and in Matterfact's agent. Claude Opus 5.5 moves from 58.6% (#10 of 78 on Vals AI) to 75.6% (#1 of the four); GPT-6.1 Sol from 52.0% (#35) to 68.6% (#2); Gemini 3.8 Flash from 61.4% (#2) to 68.5% (#3); GLM 5.3 from 55.8% (#20) to 65.0% (#4).

Note: Vals AI's scores are on its 450 private questions and ours on the 27 public ones, from the same distribution. Graded by Claude Sonnet 5 against 239 weighted rubric items, 79 of them must-pass.
Source: Vals AI Finance Agent v2 leaderboard, October 12, 2026; Matterfact analysis

For scale: four Gemini Flash releases, 3.5 to 3.8, gained 3.6 points between them on the leaderboard. Moving one model into our harness gained between 7.1 and 17.0. In our harness Opus also averaged 8 model calls a task against 19 to 34 for the others, which made it the fastest and cheapest of the four, at 1 minute 47 seconds and 63 cents a task, 15 times cheaper than in Vals AI's harness. The comparison has limits: a different grader and question set from Vals AI's, a Claude model grading a contest a Claude model won, and 27 tasks, on which GPT-6.1 Sol and Gemini 3.8 Flash are tied.

The fixes that moved the needle were engineering, not prompting. On ten warehouse questions with known answers, run three times each, a model with no checks got 22 of 30 right. Telling it in the prompt what to watch for moved it to 23. Having it verify each join against the data before trusting it moved it to 30 of 30, for half a cent more per question. A prompt can tell a model that duplicates exist. Only a check can tell it that this table has them.

Why a deterministic tool beats code written on the fly

A general-purpose agent platform, on the best model there is, answers a data question by writing the parsing code fresh, in the moment. Exhibit 1 is a fair estimate of how that goes: roughly three quarters of the details right on the first attempt. Then the next question comes, and it writes the code again from scratch, with a fresh chance to make every mistake in Exhibit 4.

A deterministic tool fails once. The failure is found by an eval, fixed, and pinned with a regression test that catches it if it ever returns. Every user and every agent run after that gets the fixed version. It also answers in one call instead of a browse-download-parse loop, so it is faster and far cheaper to run.

That matters most where agents run longest. A research swarm that works for an hour may compute hundreds of numbers. If each has a 3% chance of being silently wrong, a 50-number report has a 78% chance of containing at least one wrong figure, and no reader can tell which. Long-horizon agents don't need a smarter model so much as inputs that are right every time.

This is the gap between a strong model and a research product. Matterfact runs on Claude, and the model is not where the difference lies. The difference is 141 deterministic scripts the agent calls instead of improvising, with 47 of the data tools among them hill-climbed against evals like these.

Search finds the filing. It doesn't compute the number.

Much of the AI research market for finance grew out of search: find the right filing, transcript or broker note and summarise it. That works when the answer is a sentence. It breaks when the answer is a number that has to be computed from a primary file.

Look again at Exhibit 4. In most rows, the right document was found. The 13F filing was the right filing. The call report was the right call report. The DTCC tape was the right tape. The error happened after retrieval, in reading units, conventions, windows and amendments, and attaching the figure to the right entity. A search index with an LLM on top inherits every one of those failure modes the moment it starts returning numbers instead of passages. Better retrieval does not fix them. Only evaluated computation does.

What it took, line by line

For a CTO pricing an internal build, here is the ledger for this layer alone (Exhibit 7). It excludes the model, the interface, the skills library and the agent harness itself.

Exhibit 7
The evaluation layer is nearly as large as the tools it evaluates.

What it took Count
Data tools taken through independent evals 47
Deterministic scripts the agent calls 141
Lines of tool code 124,049
Lines of evaluation code 88,332
Unit tests 3,814
Lines of unit-test code 52,481
Eval rounds on the 27 tools in Exhibit 1 79
Defects found and fixed 806
Of those, clean-looking wrong answers 542
Times the eval itself was corrected 271

Source: Matterfact repository and evaluation records, November 29, 2026

Some of the ground truth behind those evals is large in its own right: 221,760 13F fields compared with an independent parse of the raw filings, 305,708 bank ratios recomputed against the FDIC's own, 145,668 ISDA test-grid cases, 80,724 daily shipping rows against the IMF's export, every cell of 297 files in Kenneth French's data library.

An internal team doesn't need to beat the model to replicate this. It needs to find these 806 defects on its own, most of which raise no error, for every source it covers. Then it needs to keep finding the new ones, because publishers change formats, regulators change forms, tickers change hands and models turn over every few months. That is not a quarter's project with a demo at the end. It is a standing evaluation function with a domain specialist behind every source.

Five questions for any AI data layer, bought or built

  1. What did the first version score, and how many rounds did it take to get here? If nobody knows the first number, nobody ran the eval.
  2. Is the accuracy measured on data the system has never seen? A pass rate on tuning data is a training loss.
  3. Where does the ground truth come from, and can the system under test reach it? If it can, the eval can agree with a wrong answer.
  4. What happens on the reverse split, the amendment, the reused ticker and the file filed in thousands? Ask for the test, not the claim.
  5. When a source breaks, does the system return a number or say it can't know? A blank with a reason is an answer. A zero is a lie.