and the reconstructed output from CODEFUSION
at timesteps t = {200, 400, 600, 800, 1000, 1200}.
We can see how CODEFUSION gradually denoises
and generates the correct code. Figure 5 shows
a failure case where CODEFUSION is unable to
generate the correct code. The user asks to re-
move the directory tree ’folder_name/’. CODEFU-
SION’s generation is incorrect as os.removedir
is not a valid function, the correct function name
is os.removedirs. Further, this function only re-
moves empty directories while the user wanted to
remove the directory tree which includes files.

C.3 Effect of Diffusion Time Step

The number of diffusion timesteps is directly re-
lated to the generation quality as shown in (Sa-
haria et al., 2022a). We explore how CODE-
FUSION is affected by the number of timesteps
CODEFUSION