FuseApplyBench: Multilingual Benchmark for Trustworthy Code Edit Applying Task

With the rise of Language Models (LMs) and Large Language Models (LLMs), their potential for code editing (CE) has gained attention. An approach is to have LLMs generate draft code modifications, which are then refined by smaller LMs in further Code Editing Apply (CEA). However, CEA is error-prone, and existing benchmarks do not systematically evaluate LLM performance in handling these issues. We introduce FuseApplyBench, a benchmark designed to evaluate LLM performance across three major error types in CEA tasks. Atop FuseApplyBench's pipeline, we collect datasets to perform fine-tuning, enhancing code modifications' reliability (denoted as FuseApply). We benchmark FuseApply, four widely used open source LLMs, and Kortix-FastApply on FuseApplyBench. Results show that FuseApply significantly improves trustworthiness and accuracy metrics, while other models demonstrate weaker performance, highlighting opportunities for advancing LLM in CE.

Authors

Institutions

Publication Details

Published
2025-06-06
DOI
https://doi.org/10.1145/3713081.3732929
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

FuseApplyBench: Multilingual Benchmark for Trustworthy Code Edit Applying Task

Zhipeng Zuo, Shao-cheng Zheng, Yong Li, Wei Jiang et al.
Software Engineering Research
article

FuseApplyBench: Multilingual Benchmark for Trustworthy Code Edit Applying Task

Zhipeng Zuo, Shao-cheng Zheng, Yong Li, Wei Jiang, Ming Liang, Qingyu Zhang, Dajun Chen
article en

Abstract

With the rise of Language Models (LMs) and Large Language Models (LLMs), their potential for code editing (CE) has gained attention. An approach is to have LLMs generate draft code modifications, which are then refined by smaller LMs in further Code Editing Apply (CEA). However, CEA is error-prone, and existing benchmarks do not systematically evaluate LLM performance in handling these issues. We introduce FuseApplyBench, a benchmark designed to evaluate LLM performance across three major error types in CEA tasks. Atop FuseApplyBench's pipeline, we collect datasets to perform fine-tuning, enhancing code modifications' reliability (denoted as FuseApply). We benchmark FuseApply, four widely used open source LLMs, and Kortix-FastApply on FuseApplyBench. Results show that FuseApply significantly improves trustworthiness and accuracy metrics, while other models demonstrate weaker performance, highlighting opportunities for advancing LLM in CE.

Chinese University of Hong Kong (HK), University of Hong Kong (HK)
Openalex Percentile: Top 82%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.