The real problem with “bad” AI code is that it compiles, without errors or warnings. It passes all the unit tests. It passes all the integration tests. At least it will if you tell it to keep iterating until it does. Some days that may be a spaghetti mess, some days that’s all you need.
If you develop a modular architecture with sufficiently fine grained modules, the spaghetti comes in managable portions.
The real problem with “bad” AI code is that it compiles, without errors or warnings. It passes all the unit tests. It passes all the integration tests. At least it will if you tell it to keep iterating until it does. Some days that may be a spaghetti mess, some days that’s all you need.
If you develop a modular architecture with sufficiently fine grained modules, the spaghetti comes in managable portions.