I tried code gen for the first time recently. The generated code look great, was commented and ran perfectly. The results were completely wrong.
The code was to calculate the cpu temperature from the Raspberry Pi RP2350 in python.
The initial value look about right, then I put my finger on the chip and the temp went down!
I assume the model had been trained on broken code. This lead me to think how do they validate code does what it says
IshKebab|8 months ago
markb139|8 months ago
EForEndeavour|8 months ago
markb139|8 months ago