The AI reviewed his 2013 research code and found the constant that made it drift
A researcher pointed the AI at the shallow water equations code he wrote in 2013. The review found PI defined as 3.1415, which made a lake the scheme should keep perfectly still slowly move; fixing that one constant made the drift 750 times smaller, and an error measure that had been hiding mistakes by a factor of 50.
How it works
- He points the AI at the old repository and asks for a review
- The AI finds PI set to 3.1415 where the maths mixes it with exact values
- Fixing the constant makes the drift 750 times smaller
- It also finds an error measure scaled wrong and a better rule that makes the run 20 times faster
Why it’s worth knowing
One wrong constant, 3.1415 instead of PI, had been moving a lake that the maths says must stay perfectly still.
Where it’s from
Summarized from a public post on news.ycombinator.com. See the original ↗