Utilize este identificador para referenciar este registo: https://hdl.handle.net/1822/90292

Registo completo
Campo DCValorIdioma
dc.contributor.authorRibeiro, Franciscopor
dc.contributor.authorAbreu, Ruipor
dc.contributor.authorSaraiva, Joãopor
dc.date.accessioned2024-03-28T19:56:28Z-
dc.date.available2024-03-28T19:56:28Z-
dc.date.issued2022-
dc.identifier.citationRibeiro, 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.3527347por
dc.identifier.isbn9781450392853por
dc.identifier.urihttps://hdl.handle.net/1822/90292-
dc.description.abstractMany 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.sponsorshipThis 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.isoengpor
dc.publisherACMpor
dc.relationinfo:eu-repo/grantAgreement/FCT/POR_NORTE/SFRH%2FBD%2F144938%2F2019/PTpor
dc.relationinfo:eu-repo/grantAgreement/FCT/6817 - DCRRNI ID/UIDB%2F50021%2F2020/PTpor
dc.relationinfo:eu-repo/grantAgreement/FCT/3599-PPCDT/PTDC%2FCCI-COM%2F29300%2F2017/PTpor
dc.rightsopenAccesspor
dc.subjectprogram repairpor
dc.subjectcode generationpor
dc.subjectcode completionpor
dc.titleFraming program repair as code completionpor
dc.typeconferencePaperpor
dc.peerreviewedyespor
dc.relation.publisherversionhttps://dl.acm.org/doi/10.1145/3524459.3527347por
oaire.citationStartPage38por
oaire.citationEndPage45por
dc.date.updated2024-03-26T08:59:42Z-
dc.identifier.doi10.1145/3524459.3527347por
dc.subject.fosEngenharia e Tecnologia::Engenharia Eletrotécnica, Eletrónica e Informáticapor
dc.subject.wosScience & Technology-
sdum.export.identifier14804-
sdum.bookTitleINTERNATIONAL WORKSHOP ON AUTOMATED PROGRAM REPAIR (APR 2022)por
Aparece nas coleções:HASLab - Artigos em atas de conferências internacionais (texto completo)

Ficheiros deste registo:
Ficheiro Descrição TamanhoFormato 
3524459.3527347.pdf371,42 kBAdobe PDFVer/Abrir

Partilhe no FacebookPartilhe no TwitterPartilhe no DeliciousPartilhe no LinkedInPartilhe no DiggAdicionar ao Google BookmarksPartilhe no MySpacePartilhe no Orkut
Exporte no formato BibTex mendeley Exporte no formato Endnote Adicione ao seu ORCID