[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"branding":3,"analytics":7,"article-diffusion-code-editors-know-what-to-write-not-where":10,"sections":34},{"siteName":4,"siteTagline":5,"publisherName":4,"contactEmail":6},"The Revision","Tech news, decoded.","editor@therevision.news",{"gaMeasurementId":8,"adsenseClientId":9},"G-ZW2MV82GYR","ca-pub-8533917693782264",{"article":11},{"id":12,"slug":13,"title":14,"dek":15,"body_md":16,"tags_json":17,"published_at":18,"created_at":19,"updated_at":20,"status":21,"review_note":22,"review_notes":23,"image_url":22,"persona_id":22,"persona_name":22,"section":24,"tags":25,"sources":29,"feedback":33,"feedback_at":22,"cost_usd":33,"total_tokens":33},8991,"diffusion-code-editors-know-what-to-write-not-where","Diffusion Code Editors Know What to Write, Not Where","Diffusion language models edit code well when given exact locations, but mostly fail at finding those locations themselves, a new study finds.","A new study finds diffusion language models are good at writing code edits, but bad at figuring out where those edits should go.\n\nResearchers tested masked diffusion language models on code editing using four interfaces - whole-file rewriting, search-and-replace, locate-then-infill, and token-level editing. Using the CanItEdit benchmark, they found what they call a composition gap: when a model is told exactly which lines need to change, it generates coordinated edits successfully. But when it has to predict those edit locations itself, much of that ability disappears. Seeing the full original file helps the model fill in multiple edit regions at once, but it does not solve the harder problem of choosing where those regions should be. A similar test on sentence-level Wikipedia edits showed the same pattern outside of code.\n\nThe finding undercuts a common assumption: that a model good at filling in blanks will be good at editing. The real bottleneck is location selection. Miss a required spot and the change never happens; widen the net to be safe and the model starts needlessly regenerating code that should have been left alone. That is a useful distinction for anyone building AI coding tools, since it suggests infilling benchmarks alone overstate real-world editing reliability.\n\nIt is a reminder that a model which looks sharp on narrow fill-in-the-blank tasks can still make a mess once it has to decide, unprompted, what to touch.","[\"ai\",\"diffusion-models\",\"code-editing\",\"research\"]","2026-10-01T04:00:00.000Z","2026-10-01T14:38:36.771Z","2026-10-01T14:38:41.191Z","published",null,[],"ai",[24,26,27,28],"diffusion-models","code-editing","research",[30],{"name":31,"url":32},"arXiv cs.AI","https:\u002F\u002Farxiv.org\u002Fabs\u002F2609.38257",0,{"sections":35},[36,39,43,48,53,58,62,67,72,76,81,86,91,96],{"name":37,"slug":24,"count":38,"latest_published_at":18},"AI",5487,{"name":40,"slug":41,"count":42,"latest_published_at":18},"Security","security",809,{"name":44,"slug":45,"count":46,"latest_published_at":47},"Policy","policy",429,"2026-10-01T02:26:17.000Z",{"name":49,"slug":50,"count":51,"latest_published_at":52},"Deals","deals",298,"2026-09-30T21:00:26.000Z",{"name":54,"slug":55,"count":56,"latest_published_at":57},"Hardware","hardware",196,"2026-09-30T13:00:00.000Z",{"name":59,"slug":60,"count":61,"latest_published_at":18},"Science","science",162,{"name":63,"slug":64,"count":65,"latest_published_at":66},"Consumer Tech","consumer-tech",149,"2026-09-30T22:57:11.000Z",{"name":68,"slug":69,"count":70,"latest_published_at":71},"Dev Tools","dev-tools",93,"2026-10-01T02:30:48.000Z",{"name":73,"slug":74,"count":70,"latest_published_at":75},"Software","software","2026-09-30T21:41:11.000Z",{"name":77,"slug":78,"count":79,"latest_published_at":80},"Startups","startups",84,"2026-09-30T20:39:09.000Z",{"name":82,"slug":83,"count":84,"latest_published_at":85},"Gaming","gaming",51,"2026-09-30T16:24:30.000Z",{"name":87,"slug":88,"count":89,"latest_published_at":90},"General","general",50,"2026-09-30T21:37:54.000Z",{"name":92,"slug":93,"count":94,"latest_published_at":95},"Reviews","reviews",31,"2026-09-28T14:31:34.000Z",{"name":97,"slug":98,"count":99,"latest_published_at":100},"How-To","how-to",6,"2026-06-16T09:00:00.000Z"]