Skip to main navigation Skip to search Skip to main content

RepairNet: Contextual Sequence-to-Sequence Network for Automated Program Repair

  • Kumar Abhinav
  • , Vijaya Sharvani
  • , Alpana Dubey
  • , Meenakshi D’Souza
  • , Nitish Bhardwaj
  • , Sakshi Jain
  • , Veenu Arora
  • Accenture Labs
  • IIIT Bangalore

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

10 Citations (Scopus)

Abstract

Compile-time errors can wreak havoc for programmers – seasoned and novice. Often developers spend a lot of time debugging them. An automated system to repair such errors can be a useful aid to the developers for their productivity. In this work, we propose a deep generative model, RepairNet, that automatically repairs programs that fail at compile time. RepairNet is based on sequence-to-sequence modeling and uses both code and error messages to repair the program. We evaluated the effectiveness of our system on 6,971 erroneous submissions for 93 programming tasks. RepairNet outperforms the existing state-of-the-art technique, MACER, with 17% relative improvement of repair accuracy. Our approach can fix 66.4% of the erroneous submissions completely and 14.2% partially.

Original languageEnglish
Title of host publicationArtificial Intelligence in Education - 22nd International Conference, AIED 2021, Proceedings
EditorsIdo Roll, Danielle McNamara, Sergey Sosnovsky, Rose Luckin, Vania Dimitrova
PublisherSpringer Science and Business Media Deutschland GmbH
Pages3-15
Number of pages13
ISBN (Print)9783030782917
DOIs
Publication statusPublished - 2021
Externally publishedYes
Event22nd International Conference on Artificial Intelligence in Education, AIED 2021 - Virtual, Online
Duration: 14 Jun 2021 → 18 Jun 2021

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume12748 LNAI
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference22nd International Conference on Artificial Intelligence in Education, AIED 2021
CityVirtual, Online
Period14/06/21 → 18/06/21

Keywords

  • Bug fixing
  • Program repair
  • Sequence modeling

Fingerprint

Dive into the research topics of 'RepairNet: Contextual Sequence-to-Sequence Network for Automated Program Repair'. Together they form a unique fingerprint.

Cite this