ai code generation bugs