I think you have described a new definition of hell.
Re:Our Plan for Python 3.13
by dumpsterdiver on Thursday June 15, 2023 @05:54PM
(#36347143)
Yeah, when people start running into weird failure modes with no insight into the code... sounds like a nightmare.
Re:Our Plan for Python 3.13
by ActorNightly on Friday June 16, 2023 @06:45PM
(#36364997)
Input output mapping. Point out what output should be for any failure mode and compiler will auto fix the code
Good luck with that.
What you wrote is naive. I dont think AI will ever be able to guess what correct output for arbitrary inputs should look like, just based on examples. You need to specify an algorithm that produces the correct output for all inputs. AI could be able to optimize that, but not fill in gaps in the definition of the goal.
The algorithm will be smart enough to simply regenerate the code minimally to produce the correct output.