I. Introduction
As one of the most important research areas in programming theory, code generation refers to the process of transforming specifications or descriptions at a high-level abstraction into executable computer program code using automated tools or programming techniques. In recent years, code generation has made remarkable progress in both the academic and industrial sectors [1]–[3]. It’s worth noting that large language models (LLMs) have demonstrated impressive capabilities in the field of code generation [4]–[6].