Exploring Plausible Patches Using Source Code Embeddings in JavaScript
원문 초록
Despite the immense popularity of the Automated Program Repair (APR) field, the question of patch validation is still open. Most of the present-day approaches follow the so-called Generate-and-Validate approach, where first a candidate solution is being generated and after validated against an oracle. The latter, however, might not give a reliable result, because of the imperfections in such oracles; one of which is usually the test suite. Although (re-) running the test suite is right under one's nose, in real life applications the problem of over- and underfitting often occurs, resulting in inadequate patches. Efforts that have been made to tackle with this problem include patch filtering, test suite expansion, careful patch producing and many more. Most approaches to date use post-filtering relying either on test execution traces or make use of some similarity concept measured on the generated patches. Our goal is to investigate the nature of these similarity-based approaches. To do so, we trained a Doc2Vec model on an open-source JavaScript project and generated 465 patches for 10 bugs in it. These plausible patches alongside with the developer fix are then ranked based on their similarity to the original program. We analyzed these similarity lists and found that plain document embeddings may lead to misclassification - it fails to capture nuanced code semantics. Nevertheless, in some cases it also provided useful information, thus helping to better understand the area of Automated Program Repair.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
CoSIL: Software Issue Localization via LLM-Driven Code Repository Graph Searching
Less is More: Adaptive Program Repair with Bug Localization and Preference Learning
o3-mini vs DeepSeek-R1: Which One is Safer?
Integrating Various Software Artifacts for Better LLM-based Bug Localization and Program Repair
Planning-Driven Programming: A Large Language Model Programming Workflow
From Code to Correctness: Closing the Last Mile of Code Generation with Hierarchical Debugging
토론
이 논문과 연결된 포럼 글이 아직 없습니다.