CSEPrompts is a framework with hundreds of programming exercise prompts and multiple-choice questions from introductory CS and programming courses. It evaluates the performance of LLMs in generating Python code and answering basic CS questions.
Publication: International Symposium on Methodologies for Intelligent Systems
Read in arXiv
If you use this dataset, please cite our paper.
@inproceedings{raihan2024cseprompts,
title={CSEPrompts: A Benchmark of Introductory Computer Science Prompts},
author={Raihan, Nishat and Goswami, Dhiman and Puspo, Sadiya Sayara Chowdhury and Newman, Christian and Ranasinghe, Tharindu and Zampieri, Marcos},
booktitle={International Symposium on Methodologies for Intelligent Systems},
pages={45--54},
year={2024},
organization={Springer}
}- Sources: Coding websites (e.g., CodingBat, LearnPython) and MOOCs (e.g., Harvard's CS50, UMich's PforE).
- Statistics: 118 coding prompts from websites, 101 from MOOCs, and 100 MCQs.
- Collection: Manual collection ensuring no duplication.
- RQ1: LLM performance on introductory CS assignments compared to existing benchmarks.
- RQ2: Performance difference on assignments from coding websites vs. academic MOOCs.
- RQ3: LLMs' performance in generating code vs. answering MCQs.
- RQ4: Performance of Code LLMs vs. raw LLMs.
| Metric | CodingSites | Academic | MCQ |
|---|---|---|---|
| Total Prompts | 118 | 101 | 100 |
| Max. No. of Tokens | 101 | 372 | 221 |
| Min. No. of Tokens | 5 | 17 | 15 |
| Mean No. of Tokens | 28 | 158 | 106 |
| Standard Deviation | 16 | 72 | 51 |
| LLM | Parameter | Model Type | Reference |
|---|---|---|---|
| GPT3.5 | 175B | Base | OpenAI2023GPT4TR |
| Llama2 | 7B | Base | touvron2023llama |
| Falcon | 7B | Base | penedo2023refinedweb |
| MPT | 7B | Base | mosaicml_mpt30b |
| Code-Llama | 7B | Fine-tuned | roziere2023code |
| StarCoder | 7B | Fine-tuned | li2023starcoder |
| WizardCoder | 7B | Fine-tuned | luo2023wizardcoder |
| Mistral | 7B | Base | jiang2023mistral |

