Litcius/Paper detail

StudentEval: A Benchmark of Student-Written Prompts for Large Language Models of Code

Hannah McLean Babe, Sydney Nguyen, Yangtian Zi, Arjun Guha, Molly Q Feldman, Carolyn Jane Anderson

202411 citationsDOIOpen Access PDF

Abstract

Code LLMs have the potential to make it easier for non-experts to understand and write code.However, current CodeLLM benchmarks rely on a single expert-written prompt per problem, making it hard to generalize their success to non-expert users.In this paper, we present a new natural-language-to-code benchmark of prompts written by a key population of nonexperts: beginning programmers.STUDEN-TEVAL contains 1,749 prompts written by 80 students who have only completed one introductory Python course.STUDENTEVAL contains numerous non-expert prompts describing the same problem, enabling exploration of key factors in prompt success.We use STUDEN-TEVAL to evaluate 12 Code LLMs and find that STUDENTEVAL is a better discriminator of model performance than existing benchmarks.Our analysis of student prompting strategies reveals that nondeterministic LLM sampling can mislead students about the quality of their descriptions, a finding with key implications for Code LLMs in education.

Topics & Concepts

Computer scienceBenchmark (surveying)Programming languageCode (set theory)Natural language processingGeodesySet (abstract data type)GeographySoftware Engineering ResearchSoftware Testing and Debugging TechniquesModel-Driven Software Engineering Techniques