Why-Clean-Code-Matters-for-AI-Optimization