Utilize este identificador para referenciar este registo:
https://hdl.handle.net/1822/90292
Registo completo
Campo DC | Valor | Idioma |
---|---|---|
dc.contributor.author | Ribeiro, Francisco | por |
dc.contributor.author | Abreu, Rui | por |
dc.contributor.author | Saraiva, João | por |
dc.date.accessioned | 2024-03-28T19:56:28Z | - |
dc.date.available | 2024-03-28T19:56:28Z | - |
dc.date.issued | 2022 | - |
dc.identifier.citation | Ribeiro, F., Abreu, R., & Saraiva, J. (2022, May 19). Framing program repair as code completion. Proceedings of the Third International Workshop on Automated Program Repair. ACM. http://doi.org/10.1145/3524459.3527347 | por |
dc.identifier.isbn | 9781450392853 | por |
dc.identifier.uri | https://hdl.handle.net/1822/90292 | - |
dc.description.abstract | Many techniques have contributed to the advancement of automated program repair, such as: generate and validate approaches, constraint-based solvers and even neural machine translation. Simultaneously, artificial intelligence has allowed the creation of general-purpose pre-trained models that support several downstream tasks. In this paper, we describe a technique that takes advantage of a generative model - CodeGPT - to automatically repair buggy programs by making use of its code completion capabilities. We also elaborate on where to perform code completion in a buggy line and how we circumvent the open-ended nature of code generation to appropriately fit the new code in the original program. Furthermore, we validate our approach on the ManySStuBs4j dataset containing real-world open-source projects and show that our tool is able to fix 1739 programs out of 6415 - a 27% repair rate. The repaired programs range from single-line changes to multiple line modifications. In fact, our technique is able to fix programs which were missing relatively complex expressions prior to being analyzed. In the end, we present case studies that showcase different scenarios our technique was able to handle. | por |
dc.description.sponsorship | This work is financed by National Funds through the Portuguese funding agency, FCT -Fundacao para a Ciencia e a Tecnologia, within project LA/P/0063/2020. Francisco Ribeiro would like to acknowledge a PhD scholarship with reference SFRH/BD/144938/2019. Rui Abreu would like to acknowledge FCT through reference UIDB/50021/2020, the SecurityAware Project (ref. CMU/TIC/0064/2019) -also funded by the Carnegie Mellon Program, and the FaultLocker Project (ref. PTDC/CCI-COM/29300/2017). | por |
dc.language.iso | eng | por |
dc.publisher | ACM | por |
dc.relation | info:eu-repo/grantAgreement/FCT/POR_NORTE/SFRH%2FBD%2F144938%2F2019/PT | por |
dc.relation | info:eu-repo/grantAgreement/FCT/6817 - DCRRNI ID/UIDB%2F50021%2F2020/PT | por |
dc.relation | info:eu-repo/grantAgreement/FCT/3599-PPCDT/PTDC%2FCCI-COM%2F29300%2F2017/PT | por |
dc.rights | openAccess | por |
dc.subject | program repair | por |
dc.subject | code generation | por |
dc.subject | code completion | por |
dc.title | Framing program repair as code completion | por |
dc.type | conferencePaper | por |
dc.peerreviewed | yes | por |
dc.relation.publisherversion | https://dl.acm.org/doi/10.1145/3524459.3527347 | por |
oaire.citationStartPage | 38 | por |
oaire.citationEndPage | 45 | por |
dc.date.updated | 2024-03-26T08:59:42Z | - |
dc.identifier.doi | 10.1145/3524459.3527347 | por |
dc.subject.fos | Engenharia e Tecnologia::Engenharia Eletrotécnica, Eletrónica e Informática | por |
dc.subject.wos | Science & Technology | - |
sdum.export.identifier | 14804 | - |
sdum.bookTitle | INTERNATIONAL WORKSHOP ON AUTOMATED PROGRAM REPAIR (APR 2022) | por |
Aparece nas coleções: |
Ficheiros deste registo:
Ficheiro | Descrição | Tamanho | Formato | |
---|---|---|---|---|
3524459.3527347.pdf | 371,42 kB | Adobe PDF | Ver/Abrir |