All ideasMore in Work

An LLM cut 60,000 useless lines from his test suite and fixed bugs it found, in about 2 hours

LLM audited about 100k lines of tests, deleted about 60k useless lines, wrote broader scenario tests, and caught and fixed bugs, in about 2 hours.

How it works

  1. The LLM audits about 100,000 lines of tests
  2. Deletes about 60,000 useless lines
  3. Writes broader scenario tests
  4. Catches and fixes bugs along the way, in about 2 hours

Why it’s worth knowing

Deleting tests feels wrong until an agent shows which ones test nothing.

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.