DEV Community

Cover image for Code Got Cheap. Verification Didn't: Four Tests to Run Before Writing More Code
Neilton Rocha
Neilton Rocha

Posted on

Code Got Cheap. Verification Didn't: Four Tests to Run Before Writing More Code

What Anthropic's move to Rust says about the problem, UX, value and channel, with data on where founders fool themselves

In April 2026, Anthropic's new Rust version of the Messages API passed about 98% of its tests. Replayed against real production inputs, it gave the same answer as the old Python code on about one in four. Claude had written the main path in about a week. Public traffic only moved in September (Anthropic, Nov 25, 2026).

Bars: tests passing in April at about 98%, real inputs matching Python at about 25%, about one week to write the main path and until September to prove it matched
Figure 1: Writing took a week. Proving it behaved like the old system took five months. Source: Anthropic, Nov 25, 2026.

Context

The engineering result is great: about 70% less CPU per request and a first token about 20% faster, on an API whose traffic grew roughly 1,800x from early 2024 to late 2026. The line I keep rereading is a different one: "Verification, not generation, had become the bottleneck."

Generation is now everywhere. In YC's Winter 2025 batch, a quarter of the founders said more than 95% of their codebase was written by AI (TechCrunch, Mar 6, 2025). In Stack Overflow's 2025 survey, 84% of developers use AI tools and 46% don't trust the accuracy of what comes out (Stack Overflow, Jul 29, 2025).

I spent almost 20 years building systems in financial markets and capital markets infrastructure, where engineering was the barrier to entry. Building Catech Labs and Solon, I watched our ability to ship software grow faster than our ability to win a market. Anthropic's post gave me the word for what was missing: verification, applied to everything that isn't code.

Why "it feels like progress" is not a measurement

In 2025, METR ran a randomized trial with 16 experienced open-source developers on 246 tasks in repos they knew well. Before starting, they expected AI to make them 24% faster. After finishing, they believed it had made them 20% faster. Measured, they were 19% slower (METR, Jul 10, 2025).

Diverging bars: expected +24%, believed +20%, measured -19%
Figure 2: A 39-point gap between how fast experienced developers felt and how fast they were. Source: METR, 2025.

The study is small and the authors say not to stretch it. I take one thing from it. If people who know their codebase can miss their own speed by almost 40 points, a founder can miss traction by the same amount. A week full of merged PRs feels like the company moved. It may not have.

Verifying the problem

CB Insights read 111 startup post-mortems. "No market need" showed up in 35% of them, the No. 2 reason. A flawed product showed up in 8% (CB Insights, 2021).

Bars: no market need 35%, got outcompeted 20%, flawed product 8%
Figure 3: Polishing the product attacks the smallest of these bars. Source: CB Insights, The Top 12 Reasons Startups Fail, 2021.

Asking "would you use this?" is the problem's version of 98% of tests passing: everyone is polite about the future. The real-input replay is the past. Ask about the last time the problem happened, what they did about it and what it cost. The test passes when they already pay for a fix or have built an ugly workaround. "Interesting" is a fail.

Verifying UX and value

For UX, the replay is a real user, your product and you saying nothing. Give one task, keep your hands off the mouse, write down every place they stall. A demo you narrate tells you about your demo.

For value, the cleanest instrument I've seen is the Sean Ellis question: "How would you feel if you could no longer use the product?" Ellis benchmarked nearly a hundred startups and found that the ones with traction almost always had 40% or more answering "very disappointed". Superhuman started at 22% in the summer of 2017. Segmenting to the users who loved it most took them to 33%, and three quarters of product work aimed at that group took them to 58% (Rahul Vohra, First Round Review).

Columns: 22%, 33% and 58% very disappointed, with a dashed line at the 40% benchmark
Figure 4: A value score you can track every quarter, the same way Anthropic tracked the share of matching inputs. Source: First Round Review.

What I like about that number is the same thing I like about Anthropic's one in four: it's ugly, it moves, and it doesn't care how good the code looks. Compliments don't count. A paid pilot does.

Verifying the channel

In Lenny Rachitsky's interviews on how B2B companies found their first ten customers, almost every company both worked the founders' personal network and went to the places those customers already spent time (Lenny's Newsletter).

The test is a list. Write 20 names of people who have the problem and who you can reach this week. If you get stuck at eight, the bottleneck of your company isn't the code.

What the data taught me

  • Tests passing isn't behavior matching. About 98% against about one in four, in the same month, on the same code.
  • Feeling faster isn't being faster. +20% believed, −19% measured.
  • The product is rarely what kills. 35% no market need against 8% flawed product.
  • Value can be measured and moved. 22% to 58% at Superhuman, with a fixed question and a fixed benchmark.

Reid Hoffman says that if you're not embarrassed by the first version of your product, you launched too late. With agents writing the code, polishing is so cheap that it can fill every week you have.

Tomorrow

Before you open the editor for the next feature, run one of these and write down the result:

Block Not proof The test Passes when
Problem "Would you use this?" Ask about the last time it happened, what they did and what it cost They already pay for, or hack around, a fix today
UX A demo you narrate Give a real user one task, stay silent, write down where they stall They finish the core task without you
Value Compliments Ask the Sean Ellis question to active users; ask for a paid pilot 40%+ "very disappointed", or money on the table
Channel "We'll post on launch day" Write 20 names who have the problem and you can reach this week You reach 20 without a search tool

Then add a rule for two weeks: for every day of code your agents write, spend the next one on a row of this table. If nobody is paying yet and you can't keep that pace, you're optimizing the API before you have the traffic.

Sources: Anthropic · METR · CB Insights · First Round Review · Lenny's Newsletter · TechCrunch · Stack Overflow

Tags: startup, ai, entrepreneurship, productivity

Top comments (5)

Collapse
 
analista_83 profile image
Sammi De Blas •

The honest number in this post is 98 percent of tests passing while only about one in four replays matched production behaviour. Unit tests pass on synthetic inputs and real traffic exposes the divergence. Which harness did you use for the replay, differential testing over recorded payloads or shadow traffic behind a flag?

Collapse
 
neilton_rocha_dev profile image
Neilton Rocha •

Anthropic used live shadow traffic with differential checks. The uncomfortable question is: when AI writes both the code and the tests, who's verifying whom?

anthropic.com/research/migrating-a...

Collapse
 
kami_butt_69b922ade8de012 profile image
Agentic Affairs •

The 98%-tests-pass versus 25%-real-inputs-match gap is the cleanest indictment of test-passing as a metric I've seen — five months to prove behaviour that took a week to write. The METR number pairs with it brutally: feeling 20% faster while measuring 19% slower is the same failure at the level of the individual developer. On the four tests — is there a minimum sample where the Sean Ellis 40% line starts meaning something, or does even a tiny founder sample beat no verification at all?

Collapse
 
userxnom profile image
Abdullah Naseer •

This is the sharpest framing of the verification problem I have read in a while, Neilton — especially the Anthropic split, 98% of tests passing against about one in four real inputs matching. That gap is the whole argument in one number: the tests were measuring the new code against itself, not against the behavior users actually depend on.

The test I keep coming back to is the channel one. The problem, UX and value tests all feel doable in an afternoon, but writing 20 names of people who have the problem and who you can reach this week is the one that exposes whether anyone is actually waiting for this. Most builders I know would stall at name seven or eight, and that stall is the answer.

One question for you: of the four tests, which one has failed hardest for you personally on something you were building — and did the failure change what you built, or just how you talked about it?

Collapse
 
neilton_rocha_dev profile image
Neilton Rocha •

The channel test, without a doubt. After nearly 20 years in engineering, building software is my comfort zone. But building a company goes far beyond building a product.

AI made me a faster builder, not a better founder. It's changing both what I prioritize building and how I invest my time in distribution, sales, and customer relationships.