Key points are not available for this paper at this time.
Recent advances in artificial intelligence have been driven by an exponential growth in digitised data. Natural language processing, in particular, has been transformed by machine learning models such as OpenAI’s GPT-3 which generates human-like text so realistic that its developers have warned of the dangers of its misuse. In recent months OpenAI released Codex, a new deep learning model trained on Python code from more than 50 million GitHub repositories. Provided with a natural language description of a programming problem as input, Codex generates solution code as output. It can also explain (in English) input code, translate code between programming languages, and more. In this work, we explore how Codex performs on typical introductory programming problems. We report its performance on real questions taken from introductory programming exams and compare it to results from students who took these same exams under normal conditions, demonstrating that Codex outscores most students. We then explore how Codex handles subtle variations in problem wording using several published variants of the well-known “Rainfall Problem” along with one unpublished variant we have used in our teaching. We find the model passes many test cases for all variants. We also explore how much variation there is in the Codex generated solutions, observing that an identical input prompt frequently leads to very different solutions in terms of algorithmic approach and code length. Finally, we discuss the implications that such technology will have for computing education as it continues to evolve, including both challenges and opportunities.
Building similarity graph...
Analyzing shared references across papers
Loading...
James Finnie-Ansley
Paul Denny
Brett A. Becker
University of Auckland
University College Dublin
Abilene Christian University
Building similarity graph...
Analyzing shared references across papers
Loading...
Finnie-Ansley et al. (Wed,) studied this question.
www.synapsesocial.com/papers/69da5b870f778bd2e4684be1 — DOI: https://doi.org/10.1145/3511861.3511863