Large language models in automated repair of haskell type errors

dc.contributor.authorSantos, Sofiapor
dc.contributor.authorSaraiva, Joãopor
dc.contributor.authorRibeiro, Franciscopor
dc.date.accessioned2025-05-22T07:51:22Z
dc.date.available2025-05-22T07:51:22Z
dc.date.issued2024
dc.description.abstractThis paper introduces a new method of Automated Program Repair that relies on a combination of the GPT-4 Large Language Model and automatic type checking of Haskell programs. This method identifies the source of a type error and asks GPT-4 to fix that specific portion of the program. Then, QuickCheck is used to automatically generate a large set of test cases to validate whether the generated repair behaves as the correct solution. Our publicly available experiments revealed a success rate of 88.5% in normal conditions. However, more detailed testing should be performed to more accurately evaluate this form of APR.por
dc.description.sponsorship(undefined)por
dc.distributioninternationalpor
dc.identifier.doi10.1145/3643788.3648012por
dc.identifier.isbn[9798400705779]por
dc.identifier.issn979-8-4007-0577-9
dc.identifier.urihttps://hdl.handle.net/1822/95655
dc.language.isoengpor
dc.peerreviewedyespor
dc.publisherACMpor
dc.relation.publisherversionhttps://dl.acm.org/doi/10.1145/3643788.3648012por
dc.rightsopenAccesspor
dc.subjectAutomated program repairpor
dc.subjectLarge language modelpor
dc.subjectFault localizationpor
dc.subjectCode generationpor
dc.subjectType checkingpor
dc.subjectAutomatic testingpor
dc.titleLarge language models in automated repair of haskell type errorspor
dc.typeconferencePaperpor
dspace.entity.typePublicationen
oaire.citationEndPage45por
oaire.citationStartPage42por
sdum.bookTitleAPR '24: Proceedings of the 5th ACM/IEEE International Workshop on Automated Program Repairpor
sdum.conferencePublicationProceedings - 2024 ACM/IEEE International Workshop on Automated Program Repair, APR 2024por

Ficheiros

Pacote original

A mostrar 1 - 1 de 1
A carregar...
Nome:
APR2024.pdf
Tamanho:
499.51 KB
Formato:
Adobe Portable Document Format
Descrição: