Blogs (19) >>
Fri 17 Mar 2023 10:45 - 11:10 at 701A - Understanding Programming Error Messages Chair(s): Christopher Moretti

Reading programming error messages is the first step to understanding what it is trying to tell the programmer about how to fix errors in their code. However, these are often difficult to read, especially for novices which is not surprising given that error messages in many of the most popular languages in which novices learn to code were not written with readability in mind. As a result, novices frequently struggle to understand them. This is a long-standing problem, with researchers highlighting concerns around Programming error message readability over the last six decades. Very recent work has finally put forward evidence of the need for measuring readability in error messages and a framework for doing so. This framework consists of four important pillars of readability for Programming error messages: message length, vocabulary, jargon, and sentence construction. We use this framework to propose an approach that could be used to automatically assess the readability of Programming error messages in any language. Using the established readability factors as predictors in a machine learning model, we train several models using a dataset of messages from C and Java. We examine the performance of these models, and apply the best performing model to a previously published set of messages evaluated for readability by experts, non-experts and students. Our results validate the previously proposed four factors, and our model classifies messages similarly to human raters. Finally, we discuss ideas for future work that are needed to improve the accuracy of the model.

Fri 17 Mar

Displayed time zone: Eastern Time (US & Canada) change

10:45 - 12:00
Understanding Programming Error MessagesPapers at 701A
Chair(s): Christopher Moretti Princeton University, USA
10:45
25m
Paper
First Steps Towards Predicting the Readability of Programming Error MessagesIn-PersonGlobal
Papers
James Prather Abilene Christian University, Paul Denny The University of Auckland, Brett Becker University College Dublin, Robert Nix Oklahoma Christian University, Brent Reeves Abilene Christian University, Arisoa Randrianasolo Abilene Christian University, Garrett Powell Abilene Christian University
DOI
11:10
25m
Paper
Scaffolding Progress: How Structured Editors Shape Novice Errors When Transitioning from Blocks to TextIn-PersonGlobal
Papers
Majeed Kazemitabaar Department of Computer Science, University of Toronto, Viktar Chyhir Department of Computer Science, University of Toronto, David Weintrop University of Maryland, Tovi Grossman University of Toronto
DOI
11:35
25m
Paper
Using Large Language Models to Enhance Programming Error MessagesIn-PersonGlobal
Papers
Juho Leinonen The University of Auckland, Arto Hellas Aalto University, Sami Sarsa Aalto University, Brent Reeves Abilene Christian University, Paul Denny The University of Auckland, James Prather Abilene Christian University, Brett Becker University College Dublin
DOI