hn • r/hackernews
Comment on: Expensively Quadratic: The LLM Agent Cost Curve
> then you're stuck reading every line because it might've missed some edge case or broken somethingThis is what tests are for. Humans famously write crap code. They read it and assume they know what's going on, but actually they don't. Then they modify a line of code that looks like it should work, and it breaks 10 things. Tests are there to catch when it breaks so you can go back and fix it.Agents are supposed to run tests as part of their coding loops, modifying the code until the tests pass. Of course reward hacking means the AI might modify the test to 'just pass' to get around this. So t