Left overnight to update one script, his agent came back with 180 scripts and about 100,000 lines
A man asked his agent to update a 1,000 line Python script using lessons from another project and left it running overnight. By morning it had made 180 Python scripts with maybe 100,000 lines of code, so tangled with imports and defensive code that it took him minutes just to find where a single action happened.
How it works
- He asks the agent to update the script with lessons from another project
- He leaves it running overnight with no check in
- By morning the agent has created 180 separate scripts and about 100,000 lines
- He cannot trace where one action happens in the result
Why it’s worth knowing
The failure is the size. One script became about 100 times the code, and the owner could no longer find his way around his own tool.
Where it’s from
Summarized from a public post on news.ycombinator.com. See the original ↗