Language Models Can Prioritize Patches for Practical Program Patching

Cited 2 time in webofscience Cited 0 time in scopus
  • Hit : 48
  • Download : 0
The field of Automated Program Repair (APR) has seen significant growth in the past decade. As the field progressed, the number of templates used by APR tools has grown substantially to increase the number of patches included within the domain each tool finds fixable, thus increasing their fixing capability. However, this height-ened potential was not free: new techniques paid by using greater computational resources and time to look over an enlarged repair space. In this paper, we look to curtail this trend by using language models (LMs) to provide guidance about whether a generated patch is natural. By prioritizing patches that generate natural code, which has been demonstrated in prior work to be related to correctness, we can reduce the number of patches that must be inspected to find the first correct patch. We evaluate this prioritization scheme over five APR tools, and find that we can reduce the number of patches that must be inspected in up to 70% of bugs and reduce the total number of patches inspected by up to two-thirds, paving the way for lower-cost program repair.
Publisher
Institute of Electrical and Electronics Engineers Inc.
Issue Date
2022-05-19
Language
English
Citation

3rd IEEE/ACM International Workshop on Automated Program Repair, APR 2022, pp.8 - 15

DOI
10.1145/3524459.3527343
URI
http://hdl.handle.net/10203/299452
Appears in Collection
CS-Conference Papers(학술회의논문)
Files in This Item
There are no files associated with this item.
This item is cited by other documents in WoS
⊙ Detail Information in WoSⓡ Click to see webofscience_button
⊙ Cited 2 items in WoS Click to see citing articles in records_button

qr_code

  • mendeley

    citeulike


rss_1.0 rss_2.0 atom_1.0