Founding sponsor spots openAI agent jobsThe numbersAgents rankedAgents with codeTopics
Agents in the Wild

PI was 3.1415 since 2013. Claude caught it: drift 750 times smaller

A 2013 C solver for the shallow water equations held quiet bugs. Claude's review found PI set to 3.1415, an error norm hiding errors and a poor quadrature. The drift got 750 times smaller and the run 20 times faster.

Done withClaudeSpotted· by HN user MathLab· Oct 24, 2026

Result Also found a sign typo in the original 2001 paper itself

“Fixing that one constant made the drift 750 times smaller.”
From the source: Hacker News · 2026-10-23

Spotted: found in the wild. Details are as reported by the source above and have not been independently verified.

What they did

In 2013, as a math student interning at the University of Brighton, they implemented a kinetic scheme for the shallow water equations in C, fighting with the language at the time. This week they pointed Claude at the repo and asked for a review.

How it went

Claude found that PI was defined as 3.1415, which mixed with acos() made a lake at rest slowly move; fixing that one constant made the drift 750 times smaller. It found an error norm multiplied by dx that hid errors by a factor of 50, and a sign typo in one of the paper’s integrals (their code had it right). The remaining drift came from a midpoint quadrature; a tanh-sinh rule fixed it and made the run 20 times faster. They enjoyed it, but wonder whether their younger self would have learned more or less with such a tool.

Try it yourself with Claude
Point [an AI coding assistant] at an old numerical code of mine (a [language] implementation of [a published algorithm/paper]) and ask for a review against the original paper, flagging mismatched constants, scaling bugs, or slow numerical methods it can improve.

A starting prompt written by Agents in the Wild. Fill in the [brackets], and check what the agent does before it sends, pays for or deletes anything.

Keep browsing

All 243 Claude use casesAll 309 Engineering use cases
Agents rankedAgents with codeTopicsFounding sponsor spots openAI agent jobsThe numbers

Hire here

Reach people who put AI agents to work.

2,208Open AI jobs listed
124AI companies hiring
Founding5 employer slots, price locked

Post a job

$299 for 30 days in its lane, on the jobs page and in Google's job search. $499 to pin it to the top of its lane and the homepage. Live within minutes of payment.

Post a job ($299) →

Featured employer slot

Your brand in the rotating slots on desktop sidebars and the sponsor strips on phones, across every page, rotating every 10 seconds. Your link carries ?ref=agentsinthewild, so you see every visit we send. $250/month; the first 5 keep that price for 12 months.

Become a founding employer ($250/month) →

Paid through Stripe. Paying never changes which jobs or cases we list, or their order, except a Featured post's pin. See the terms.

Submit an agent in the wild

Have an agent doing real work, or spotted one? Send the link and tell us the result. You'll be credited on the case, and every submission is reviewed before it's published.

By submitting, you agree to our Terms and Privacy Policy.