TY - GEN
T1 - EnCus
T2 - 18th IEEE Conference on Software Testing, Verification and Validation, ICST 2025
AU - Kim, Seongbin
AU - Jang, Sechang
AU - Kim, Jindae
AU - Nam, Jaechang
N1 - Publisher Copyright:
© 2025 IEEE.
PY - 2025
Y1 - 2025
N2 - The primary challenge faced by Automated Program Repair (APR) techniques in fixing buggy programs is the search space problem. To generate a patch, APR techniques must address three critical decisions: where to fix (location), how to fix (operation), and what to fix with (ingredient). In this study, we propose EnCus, a novel approach that customizes the search space of ingredients and mutation operators during patch generation. EnCus acts as an APR wingman, using an ensemble-based strategy to customize the search space. The search space is customized by extracting edit operations that are used to fix similar bug-introducing changes from existing patches. EnCus applies an ensemble of edit operations extracted from three open source project pools and three Abstract Syntax Tree (AST)-level code differencing tools. This ensemble provides complementary perspectives on the buggy context. To evaluate this approach, we integrate EnCus to an existing context-based APR tool, ConFix. Using EnCus, the extensive search space of ConFix is reduced to ten recommended patches. EnCus was evaluated on single-line Defects4J bugs, successfully generating 20 correct patches which performs comparably to state-of-the-art context-based APR techniques.
AB - The primary challenge faced by Automated Program Repair (APR) techniques in fixing buggy programs is the search space problem. To generate a patch, APR techniques must address three critical decisions: where to fix (location), how to fix (operation), and what to fix with (ingredient). In this study, we propose EnCus, a novel approach that customizes the search space of ingredients and mutation operators during patch generation. EnCus acts as an APR wingman, using an ensemble-based strategy to customize the search space. The search space is customized by extracting edit operations that are used to fix similar bug-introducing changes from existing patches. EnCus applies an ensemble of edit operations extracted from three open source project pools and three Abstract Syntax Tree (AST)-level code differencing tools. This ensemble provides complementary perspectives on the buggy context. To evaluate this approach, we integrate EnCus to an existing context-based APR tool, ConFix. Using EnCus, the extensive search space of ConFix is reduced to ten recommended patches. EnCus was evaluated on single-line Defects4J bugs, successfully generating 20 correct patches which performs comparably to state-of-the-art context-based APR techniques.
KW - automatic program repair
KW - code differencing
KW - search space
UR - https://www.scopus.com/pages/publications/105007516077
U2 - 10.1109/ICST62969.2025.10989047
DO - 10.1109/ICST62969.2025.10989047
M3 - Conference contribution
AN - SCOPUS:105007516077
T3 - 2025 IEEE Conference on Software Testing, Verification and Validation, ICST 2025
SP - 618
EP - 622
BT - 2025 IEEE Conference on Software Testing, Verification and Validation, ICST 2025
A2 - Fasolino, Anna Rita
A2 - Panichella, Sebastiano
A2 - Aleti, Aldeida
A2 - Mesbah, Ali
PB - Institute of Electrical and Electronics Engineers Inc.
Y2 - 31 March 2025 through 4 April 2025
ER -