Can OpenAI's Codex Fix Bugs?: An evaluation on QuixBugs

By Julian Aron Prenner, Hlib Babii, Romain Robbes. 2022

165 citations recorded by the source corpus.

OpenAI's Codex, a GPT-3like model trained on a large code corpus, has made headlines in and outside of academia. Given a short user-provided description, it is capable of synthesizing code snippets that are syntactically and semantically valid in most cases. In this work, we want to investigate whether Codex is able to localize and fix bugs, two important tasks in automated program repair. Our initial evaluation uses the multi-language QuixBugs benchmark (40 bugs in both Python and Java). We find that, despite not being trained for APR, Codex is surprisingly effective, and competitive with recent state of the art techniques. Our results also show that Codex is more successful at repairing Python than Java, fixing 50% more bugs in Python.

Subfields: Information Systems, Software, Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Information Systems

  1. Gabriel Synnaeve
  2. Nicolas Usunier
  3. Wenhan Xiong
  4. Baptiste Rozière
  5. Thomas Scialom
  6. Jason Aaron Edward Weston
  7. Aliaksei Severyn

In Software

  1. Gabriel Synnaeve
  2. Baptiste Rozière

In Natural Language Processing

  1. Gabriel Synnaeve
  2. Yossi Adi
  3. Nicolas Usunier
  4. Thomas Scialom
  5. Louis Martin
  6. Jade Copet
  7. Hugo Touvron
  8. Tal Remez

Citations in the corpus