All ideasMore in Work

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

  1. He points the AI at the old repository and asks for a review
  2. The AI finds PI set to 3.1415 where the maths mixes it with exact values
  3. Fixing the constant makes the drift 750 times smaller
  4. 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 ↗

Upgraded prompt

A ready-to-use prompt for this idea, built from research on what makes AI agents do the job right: who the AI should be, the exact steps, and a check to make sure it was done the way you wanted.

1Who the AI should be
2The prompt, with the steps
3The check when it’s done
Upgraded prompts are coming soon.

Try next

Every idea is a real post from someone who tried it, summarized in our words, with a link to the original. App names are swapped for plain words.