code generation aims to understand the problem description and generate
corresponding code snippets, where existing works generally decompose such
complex tasks into intermediate steps by prompting strategies, such as
Chain-of-Thought and its variants. While these studies have achieved