PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
March 14, 20243 citationsOpen Access

Evaluating Large Language Model Code Generation as an Autograding Mechanism for "Explain in Plain English" Questions

View Full Paper
DSDavid H. SmithCZCraig Zilles

Key Points

Key points are not available for this paper at this time.

Abstract

The ability of students to ''Explain in Plain English'' (EiPE) the purpose of code is a critical skill for students in introductory programming courses to develop. EiPE questions serve as both a mechanism for students to develop and demonstrate code comprehension skills. However, evaluating this skill has been challenging as manual grading is time consuming and not easily automated. The process of constructing a prompt for the purposes of code generation for a Large Language Model, such OpenAI's GPT-4, bears a striking resemblance to constructing EiPE responses. In this paper, we explore the potential of using test cases run on code generated by GPT-4 from students' EiPE responses as a grading mechanism for EiPE questions. We applied this proposed grading method to a corpus of EiPE responses collected from past exams, then measured agreement between the results of this grading method and human graders. Overall, we find moderate agreement between the human raters and the results of the unit tests run on the generated code. This appears to be attributable to GPT-4's code generation being more lenient than human graders on low-level descriptions of code.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Smith et al. (2024) studied this question.

synapsesocial.com/papers/68e74114b6db6435876ba9b6https://doi.org/10.1145/3626253.3635542
Ask AI
Helpful
Bookmark
Share
View Full Paper