Please use this identifier to cite or link to this item: http://hdl.handle.net/10397/114193
PIRA download icon_1.1View/Download Full Text
DC FieldValueLanguage
dc.contributorDepartment of Computing-
dc.creatorXie, L-
dc.creatorLi, C-
dc.creatorPei, Y-
dc.creatorZhang, T-
dc.creatorPan, M-
dc.date.accessioned2025-07-15T08:44:12Z-
dc.date.available2025-07-15T08:44:12Z-
dc.identifier.isbn979-8-4007-0612-7-
dc.identifier.urihttp://hdl.handle.net/10397/114193-
dc.description33rd ACM SIGSOFT International Symposium on Software Testing and Analysis, ISSTA 2024en_US
dc.language.isoenen_US
dc.publisherAssociation for Computing Machinery, Inc.en_US
dc.rights© 2024 Copyright held by the owner/author(s). Publication rights licensed to ACM. This is the author's version of the work. It is posted here for your personal use. Not for redistribution. The definitive Version of Record was published in ISSTA 2024: Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis, http://dx.doi.org/10.1145/3650212.3680326.en_US
dc.subjectProgram Repairen_US
dc.subjectProgramming Educationen_US
dc.subjectSoftware Refactoringen_US
dc.titleBRAFAR : bidirectional refactoring, alignment, fault localization, and repair for programming assignmentsen_US
dc.typeConference Paperen_US
dc.identifier.spage856-
dc.identifier.epage868-
dc.identifier.doi10.1145/3650212.3680326-
dcterms.abstractThe problem of automated feedback generation for introductory programming assignments (IPAs) has attracted significant attention with the increasing demand for programming education. While existing approaches, like Refactory, that employ the ”block-by-block” repair strategy have produced promising results, they suffer from two limitations. First, Refactory randomly applies refactoring and mutation operations to correct and buggy programs, respectively, to align their control-flow structures (CFSs), which, however, has a relatively low success rate and often complicates the original repairing tasks. Second, Refactory generates repairs for each basic block of the buggy program when its semantics differs from the counterpart in the correct program, which, however, ignores the different roles that basic blocks play in the programs and often produces unnecessary repairs. To overcome these limitations, we propose the Brafar approach to feedback generation for IPAs. The core innovation of Brafar lies in its novel bidirectional refactoring algorithm and coarse-to-fine fault localization. The former aligns the CFSs of buggy and correct programs by applying semantics-preserving refactoring operations to both programs in a guided manner, while the latter identifies basic blocks that truly need repairs based on the semantics of their enclosing statements and themselves. In our experimental evaluation on 1783 real-life incorrect student submissions from a publicly available dataset, Brafar significantly outperformed Refactory and Clara, generating correct repairs for more incorrect programs with smaller patch sizes in a shorter time.-
dcterms.accessRightsopen accessen_US
dcterms.bibliographicCitationIn M Christakis, & M Pradel (Eds.), ISSTA ’24: Proceedings of the 33rd ACM SIGSOFT InternationalSymposium on Software Testing and Analysis, p. 856-868. New York, NY: Association for Computing Machinery, Inc., 2024-
dcterms.issued2024-
dc.identifier.scopus2-s2.0-85205557690-
dc.relation.conference16 September 2024 through 20 September 2024-
dc.description.validate202507 bcch-
dc.description.oaAccepted Manuscripten_US
dc.identifier.FolderNumbera3888en_US
dc.identifier.SubFormID51564en_US
dc.description.fundingSourceSelf-fundeden_US
dc.description.pubStatusPublisheden_US
dc.description.oaCategoryGreen (AAM)en_US
Appears in Collections:Conference Paper
Files in This Item:
File Description SizeFormat 
Xie_BRAFAR_Bidirectional_Refactoring.pdfPre-Published version4.79 MBAdobe PDFView/Open
Open Access Information
Status open access
File Version Final Accepted Manuscript
Access
View full-text via PolyU eLinks SFX Query
Show simple item record

Google ScholarTM

Check

Altmetric


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.