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

Hannah McLean Babe, Sydney Nguyen, Yangtian Zi, Molly Q Feldman, Carolyn Jane Anderson, Arjun Guha · Submission to ICLR 2024 · Withdrawn

Its authors withdrew this paper, so there is no full text to read or summarize.

Abstract

Code LLMs are being rapidly deployed and there is evidence that they can make professional programmers more productive. Current benchmarks for code generation measure whether models generate correct programs given an expert prompt. We present the first benchmark with prompts written by a uniform population of non-experts: students with just one semester of Python programming. StudentEval has 1,749 prompts for 48 problems, written by 80 students. Our students wrote these prompts while working interactively with a Code LLM, and we observed very mixed success rates. We use StudentEval to evaluate contemporary Code LLMs and find that StudentEval is a better discriminator of model performance than existing benchmarks. We analyze the prompts and find significant variation in students’ prompting techniques. We also find that nondeterministic LLM sampling could mislead students into thinking that their prompts are more (or less) effective than they actually are, which has implications for how to teach with Code LLMs.
BibTeX
@inproceedings{babe2024studenteval,
  author = {Hannah McLean Babe and Sydney Nguyen and Yangtian Zi and Molly Q Feldman and Carolyn Jane Anderson and Arjun Guha},
  title = {{StudentEval: A Benchmark of Student-Written Prompts for Large Language Models of Code}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.501},
}
Figure