Authors

Shansan Gong

Publications 1

Preprint Open access

How Should Diffusion Language Models Edit Code?

Xijia Tao, Ziru Liu, Shansan Gong et al. · 2026

Code editing requires a model to decide where to make changes, generate the new content, and preserve everything else. We study how masked diffusion language models divide these responsibilities across four editing interfaces: whole-file rewriting, search-and-replace, locate-then-infill, and token-level editing. Experi …

Co-authors