logoalt Hacker News

technotonytoday at 4:41 PM4 repliesview on HN

Have you found any solutions to this? It would be a big unlock to give it this kind of judgement


Replies

lubujacksontoday at 4:45 PM

I have actually found decent success recently (especially with Fable) giving it an "added line budget". This does more than anything else to keep it on task. The trick is knowing an approximate line count beforehand, but sometimes the LLM will push back on what it should cut. But usually it just doesn't add all those "nice to have" redundancies and multipage comments and unit tests that check if a certain phrase is still in the error message.

summaritytoday at 4:45 PM

Keeping a simple log of "accepted/rejected" avenues is basically all that's needed, maybe with a root style guide in the project. I've got several multi-day sessions in 5.6 Sol running without going off the rails in terms of complexity. After a while in this loop it actually starts to remind/berate itself to keep things straight-forward.

conceptiontoday at 4:42 PM

I haven’t used it yet but https://github.com/dietrichgebert/ponytail is somewhat popular.

AaronAPUtoday at 5:23 PM

Just ask it to do it. You can ask it to do a line reduction cleanup pass before each commit. I don’t know why they default to adding complexity because they are capable of doing it better just by asking.