Logo image
Can OpenAI's codex fix bugs?: An evaluation on QuixBugs
Conference proceeding

Can OpenAI's codex fix bugs?: An evaluation on QuixBugs

Julian Aron Prenner, H Babii and Romain Pierre Julien Robbes
APR '22: Proceedings of the Third International Workshop on Automated Program Repair, pp.69-75
3rd International Workshop on Automated Program Repair, APR 2022 (Pittsburgh, 19/05/2022–19/05/2022)
2022
Handle:
https://hdl.handle.net/10863/51352

Abstract

Automatic program repair Codex Deep learning QuixBugs
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.
url
https://doi.org/10.1145/3524459.3527351View

Details

Metrics

1 Record Views
Logo image