|
|
|
|
|
by perlgeek
23 days ago
|
|
> "AI writes shallow tests" - used to be true, not true anymore since Astra and Fable 5.1 / Opus 5.5. You can also tell it what kinds of tests to write. (Assuming you're still interested in details of the codebase). > "AI writes overly complex ccode" - only if you let it. A "do not overengineer it" or "Pareto, 80% result with 20% of effort" go a long long way. Also, if it wrote a complex solution, tell it write a simple one instead. In my experience, good AI adjusts pretty well to an existing code base, and produces roughly similar abstractions to the ones it finds. |
|
This is a pretty severe issue I have. Give it a bad codebase, and it'll happily carry on the awful, ignore failed unit tests, omit documentation, not fixing existing problems just to, and I quote, "follow precedence".
It seems these models have been (probably for the better) trained to not rock the boat too much, to somewhat keep the work to a minimum. I think we're going to end up get stuck in de-risked "just make it work" sort of mode in the near term, with all the "less good" code that's was generated relative to newer/future models. At some point, there's going to need to be a shift to just rewrite/replace bad code, without excessive, and very often forgotten, instructions to do so.