Cited by 41Teaching and Learning ProgrammingSoftware Engineering ResearchLogic, programming, and type systems

The Error Behind The Message: Finding the Cause of Error Messages in Python

Kohn, Tobias·2019·Proceedings of the 50th ACM Technical Symposium on Computer Science Education

Abstract

The interaction between a novice programmer, and the compiler plays a crucial role in the learning process of the novice programmer. Of particular importance is the compiler's feedback on errors in the program code. Accordingly, compiler error messages are an important and active field of research. Yet, a language that has largely been left out of this discussion so far is Python. We have collected Python programs from high school students taking introductory courses. For each collected erroneous program, we sought to classify the effective error, and assess if the student was able to fix the error. Our study is a precursor to providing improved error messages in Python, and assess their effectiveness. As such, we are eventually interested in finding ways to automatically determine the effective error, so as to base the displayed message on. From our data, we found that a considerable part of students' errors can be attributed to minor mistakes, which can easily be identified and corrected. However, beyond such minor mistakes, a proper error diagnosis might have to be based on a goal/plan analysis of the entire program. Likewise, proper assessment of whether an error has been fixed frequently requires more context than is provided by the program alone.

Integrity signals

Registry

Crossref · 10.1145/3287324.3287381

Cites

20 of 20 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Claims the paper makes

This paper’s full text isn’t openly available, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Cites

Flagged first, then by citations

Cited by

Sorted by citations

Authors
Kohn, T.
Affiliations
University of Cambridge (GB)
Corresponding author
Kohn, Tobias
Venue
Proceedings of the 50th ACM Technical Symposium on Computer Science Education
Publisher
ACM
Published
2019-02-22
Pages
524-530
OpenAlex
W2915219867
Cited by
41
References
20
Citations by year
2026: 1 · 2025: 4 · 2024: 12 · 2023: 9 · 2022: 3 · 2021: 4 · 2020: 6 · 2019: 2
FWCI
4.34
Type
conference paper
Language
en
Open access
closed
Locations
ACM Technical Symposium on Computer Science Education (SIGCSE) (publishedVersion)
Topics
  • Physical Sciences › Computer Science › Computer Science Applications › Teaching and Learning Programming
  • Physical Sciences › Computer Science › Information Systems › Software Engineering Research
  • Physical Sciences › Computer Science › Artificial Intelligence › Logic, programming, and type systems
Keywords
compiler error messages, Python, novice programmers, error diagnosis, error classification, student programming errors, introductory programming, high school students

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review