[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-719669-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-719669-en":130,"doc-similar-719669":162},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","edit-bench-evaluating-llm-abilities-to-perform-real-world-instructed-code-edits","EDIT-Bench - Evaluating LLM Abilities to Perform Real-World Instructed Code Edits","","Instructed code editing enables large language models to modify existing developer code directly from a user instruction, but few benchmarks measure this capability and many rely on artificial or annotator-created data. EDIT-Bench introduces a real-world benchmark built from instructions and code contexts collected in the wild. It covers 540 problems across multiple natural and programming languages, testing context use (highlighted code and cursor position) and evaluating 40 LLMs across instruction categories.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/edit-bench-evaluating-llm-abilities-to-perform-real-world-instructed-code-edits/719669/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/edit-bench-evaluating-llm-abilities-to-perform-real-world-instructed-code-edits/719669.png","ImageObject",300,407,{"name":42,"@type":43},"Logic","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-22","2026-11-18",true,{"@type":52,"interactionType":53,"userInteractionCount":26},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What is EDIT-Bench designed to evaluate?","Question",{"text":62,"@type":63},"EDIT-Bench evaluates LLM abilities to perform instructed code edits, where the model updates existing code according to a user instruction.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"How does EDIT-Bench ensure its problems reflect real-world usage?",{"text":67,"@type":63},"It builds problems from a live dataset gathered using a VS Code extension that mimics existing instructed editing tools, capturing user instructions, code context, highlighted code, and cursor position.",{"name":69,"@type":60,"acceptedAnswer":70},"What context information does EDIT-Bench require models to use?",{"text":71,"@type":63},"Models must use the user instruction plus the code file, highlighted region, and the cursor position, because real edits often involve ambiguous instructions and large context lengths.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},719669,1795010766,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,105,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":102,"show_sort_weight":103,"slug":104},6,"Technology",50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},8,30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":111,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":26,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":79,"read_time":144,"preview_page_count":33,"preview_urls":145},1099513958762,"https://ap-avatar.wpscdn.com/avatar/1000023916a998db790?x-image-process=image/resize,m_fixed,w_180,h_180&k=1784791008015729253","EDIT-BEN C H: EVALUATING LLM ABILITIES TO PERFORM REAL-WORLD INSTRUCTED CODE EDITS  \nWayne Chi 1 ,∗ Valerie Chen 1 ,∗ Ryan Shar 1 ,∗  \nAditya Mittal 1 Jenny Liang 1 Wei-Lin Chiang2 Anastasios Nikolas Angelopoulos2 Ion Stoica2 Graham Neubig 1 Ameet Talwalkar 1 ,† Chris Donahue 1 ,†  \n1 Carnegie Mellon University 2UC Berkeley, Arena  \nABSTRACT  \nInstructed code editing, where LLMs directly modify a developer’s existing code based on a user instruction, is becoming a widely used interaction mode in AI coding assistants. However, few benchmarks directly evaluate this capability and current datasets often rely on artificial sources. We introduce EDIT-Bench, a benchmark for evaluating LLM code editing capabilities grounded in real-world usage, i.e., user instructions and code contexts collected in the wild. EDIT-Bench comprises of 540 problems, multiple natural and programming languages, and a diverse set of real-world use cases, ranging from resolving errors to adding features.  \nEDIT-Bench introduces context-dependent problems that require the model to understand code context, highlighted code, and cursor position in addition to the user instruction. We evaluate 40 diverse LLMs and observe that EDIT-Bench is a challenging set of problems where only 1 model scores over 60% . We find that model performance varies across different categories of user instructions. Further, we find that different levels of contextual information greatly affect task success rate, with performance varying up to 8%, indicating the importance of evaluating with realistic context.  \n Github Repo [https://github.com/waynchi/editbench](https://github.com/waynchi/editbench)  \n Leaderboard [https://waynechi.com/edit-bench/](https://waynechi.com/edit-bench/)  \n1 INTRODUCTION  \nSoftware developers increasingly write code with AI assistants such as Github Copilot (Github, 2022), Cursor (Cursor, 2023), and Continue (Continue Dev, 2025) using a variety of modes of interaction. Instructed code editing, where developers use natural language to request the assistant to edit a highlighted section of code, has emerged as a prominent interaction mode alongside autocomplete suggestions and chat (Nam et al., 2025) . Due to the flexibility provided through natural language instructions, use cases for edits are diverse and range from code improvements given detailed user instructions to bug fixes provided only an error trace (Cassano et al., 2023b) . Because of this, instructed code edits pose a challenging set of problems that existing LLMs must tackle to support developers.  \nDespite the emergence of this new interaction modality, we lack benchmarks to capture real-world edit behavior. Code generation benchmarks typically evaluate LLM capabilities on generating code from scratch (Chen et al., 2021; Austin et al., 2021; Jain et al., 2024; White et al., 2024) . While there are a few edit-related datasets (e.g., CanItEdit (Cassano et al., 2023b), Aider polyglot (Gauthier, 2025)), the sources of data are not reflective of most real-world software development, relying on either simple, annotator-written problems or Leetcode and educational style problems that do not capture diverse, real-world software development challenges. Recent work has begun collecting human preferences to interactively evaluate models—Chatbot Arena (Chiang et al., 2024) evaluates LLM capabilities for chat and contains a coding subset, while Copilot Arena (Chi et al., 2025)  \n* Equal contribution.† Equal senior author.  \nFigure 1: EDIT-Bench tests LLMs’ real-world editing capabilities. We propose EDIT-Bench, an evaluation on real user instructions and code snippets collected in-the-wild. It is the first benchmark for instructed code edits that requires models to ingest the user instruction, current code, highlighted code, and cursor position to solve problems.  \nevaluates LLM capabilities to perform code completions—highlighting a growing awareness of the need for grounding evaluations with in-the-wild dat","cbCaib91ZKQdhr6p","https://ap.wps.com/l/cbCaib91ZKQdhr6p","pdf",1049865,27,"English","# Abstract\n# Introduction\n## Motivation for real-world edit benchmarks\n## Instructed code editing as a key assistant mode\n## Limitations of existing datasets\n## Overview of EDIT-Bench approach\n## Key properties: diverse instructions, context dependence, multilingual support","[{\"question\":\"What is EDIT-Bench designed to evaluate?\",\"answer\":\"EDIT-Bench evaluates LLM abilities to perform instructed code edits, where the model updates existing code according to a user instruction.\"},{\"question\":\"How does EDIT-Bench ensure its problems reflect real-world usage?\",\"answer\":\"It builds problems from a live dataset gathered using a VS Code extension that mimics existing instructed editing tools, capturing user instructions, code context, highlighted code, and cursor position.\"},{\"question\":\"What context information does EDIT-Bench require models to use?\",\"answer\":\"Models must use the user instruction plus the code file, highlighted region, and the cursor position, because real edits often involve ambiguous instructions and large context lengths.\"}]","EDIT-Bench - Evaluating LLM Abilities to Perform Real-World Instructed Code Edits | PDF",68,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/f0b72e81a4e2e74e7e70c764478a555f.webp",983,1272,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/48660a6cbd01feac994e3dcedfd38efa.webp",982,1270,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/d5a2dd0097af9d412da01dba76dc70af.webp",981,1269,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/0894746b04041442a8dea78b19160b8c.webp",980,1268,{"list":163,"token":11},[164,171,178,184,191,197,204,210,217,223],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":29,"create_tm":170},429163,"Substance Beats Style - Why Beginning Students Fail to Code with LLMs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922832720/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=rM5SRBmkilDf040xgKeoNrIgTWU%3D","substance-beats-style-why-beginning-students-fail-to-code-with-llms",12,1790648879,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":176,"category_name":29,"create_tm":177},81965,"Deployment Risk Assessment Using Diff-Aware Features: A Case Study at Prime Video","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808698867/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=2oBWi6%2B%2FyzAZ4iDoNjmUYrwGIJs%3D","deployment-risk-assessment-using-diff-aware-features-a-case-study-at-prime-video",17,1784177329,{"doc_id":179,"doc_title":180,"file_type":137,"home_preview_img_url":181,"slug":182,"view_count":30,"category_name":29,"create_tm":183},686580,"Live API-Bench - 2500+ Live APIs for Testing Multi-Step Tool Calling","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000538437/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=ohdhhHmiZVYuGX360krk%2FqFxNv8%3D","live-api-bench-2500-live-apis-for-testing-multi-step-tool-calling",1794057054,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":189,"category_name":29,"create_tm":190},83990,"From Conversation to Contribution Characterizing Vibe Coding in Open Source Software","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809121964/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=DD9ZbO%2F2iM8N%2BImEH%2FK7uhuSOb4%3D","from-conversation-to-contribution-characterizing-vibe-coding-in-open-source-software",31,1784191889,{"doc_id":192,"doc_title":193,"file_type":137,"home_preview_img_url":194,"slug":195,"view_count":26,"category_name":29,"create_tm":196},724805,"IWR-BENCH: CAN LVLMS RECONSTRUCT INTERACTIVE WEBPAGE FROM A USER INTERACTION VIDEO - Paper","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230028791788/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=C0XMO6VY6E%2BMWiAWASkOlpSOBuo%3D","iwr-bench-can-lvlms-reconstruct-interactive-webpage-from-a-user-interaction-video-paper",1795200039,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":202,"category_name":29,"create_tm":203},327500,"TESTEVO-BENCH - An Executable and Live Benchmark for Test and Code Co-Evolution","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909327086/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=7spYuGyaEuD%2FX1WdJfT0gJWvibY%3D","testevo-bench-an-executable-and-live-benchmark-for-test-and-code-co-evolution",16,1789977348,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":115,"category_name":29,"create_tm":209},273353,"Library Hallucinations in LLM-Generated Code - A Risk Analysis Grounded in Developer Queries","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899929277/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=J%2FqarHp8PBFuZ5BAVufrWAfuvVE%3D","library-hallucinations-in-llm-generated-code-a-risk-analysis-grounded-in-developer-queries",1789471019,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":215,"category_name":29,"create_tm":216},86418,"CORE-Bench: A Comprehensive Benchmark for Code Retrieval in the Era of Agentic Coding","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809523872/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=d1%2FPEy5YELFfCZobnM8auYWCbw4%3D","core-bench-a-comprehensive-benchmark-for-code-retrieval-in-the-era-of-agentic-coding",23,1784211616,{"doc_id":218,"doc_title":219,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":115,"category_name":29,"create_tm":222},590290,"Enhancing Quantitative Analysis in Social Sciences With Large Language Models (LLMs) - A Methodological Case Study in Educational Research","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229954929132/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=vyUOTCuCwBpFtstiD1CiRyWiQPc%3D","enhancing-quantitative-analysis-in-social-sciences-with-large-language-models-llms-a-methodological-case-study-in-educational-research",1792069257,{"doc_id":224,"doc_title":225,"file_type":137,"home_preview_img_url":226,"slug":227,"view_count":228,"category_name":29,"create_tm":229},85676,"What Context Does a Coding Agent Actually Need to Act","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809341592/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=mYtHxYiuGxnZSr6s5gOxpA90LN0%3D","what-context-does-a-coding-agent-actually-need-to-act",25,1784205534]