Robustness evaluation and enhancement of LLMs in code generation: an empirical study (EMSE, 2026)