CS1QA: A Dataset for Assisting Code-based Question Answering in an Introductory Programming Course
Not on the map. Why?
Abstract (arXiv)
We introduce CS1QA, a dataset for code-based question answering in the programming education domain. CS1QA consists of 9,237 question-answer pairs gathered from chat logs in an introductory programming class using Python, and 17,698 unannotated chat data with code. Each question is accompanied with the student's code, and the portion of the code relevant to answering the question. We carefully design the annotation process to construct CS1QA, and analyze the collected dataset in detail. The tasks for CS1QA are to predict the question type, the relevant code snippet given the question and the code and retrieving an answer from the annotated corpus. Results for the experiments on several baseline models are reported and thoroughly analyzed. The tasks for CS1QA challenge models to understand both the code and natural language. This unique dataset can be used as a benchmark for source code comprehension and question answering in the educational setting.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 18 of its 26 references that are in the map. First posted on arXiv 26 Oct 2022.
Builds on
18 of 26 references.
References · 18
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2015VQA: Visual Question Answeringcited by 2,489
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2018CoQA: A Conversational Question Answering Challengecited by 674
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
- 2016NewsQA: A Machine Comprehension Datasetcited by 330
- 2017Learning to Represent Programs with Graphscited by 219
6 more
- 2018code2seq: Generating Sequences from Structured Representations of Codecited by 177
- 2020Graph-based, Self-Supervised Program Repair from Diagnostic Feedbackcited by 93
- 2020PyMT5: multi-mode translation of natural language and Python code with transformerscited by 80
- 2018Generative Code Modeling with Graphscited by 59
- 2021CodeQA: A Question Answering Dataset for Source Code Comprehensioncited by 30
- 2019The TechQA Datasetcited by 29
Built on by
Citing papers per year: 2023: 2; 2024: 3; 2025: 4; 2026: 2.
11 papers.
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 85
- 2023Teach AI How to Code: Using Large Language Models as Teachable Agents for Programming Educationcited by 38
- 2025SWE-QA: Can Language Models Answer Repository-level Code Questions?cited by 37
- 2024NoFunEval: Funny How Code LMs Falter on Requirements Beyond Functional Correctnesscited by 23
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2024CoSQA+: Pioneering the Multi-Choice Code Search Benchmark with Test-Driven Agentscited by 11
- 2025Software Development Life Cycle Perspective: A Survey of Benchmarks for Code Large Language Models and Agentscited by 11
- 2024Leveraging Large Language Models in Code Question Answering: Baselines and Issuescited by 6
- 2025RefactorCoderQA: Benchmarking LLMs for Multi-Domain Coding Question Solutions in Cloud and Edge Deploymentcited by 2
- 2026DeepRepoQA: Code Repository Question Answering with Deep Agent Explorationcited by 0
- 2026Can LLMs Reason About Runtime Behavior? A Repository-Level Dynamic Benchmarkcited by 0
- 2026Can LLMs Reason About Runtime Behavior? A Repository-Level Dynamic Benchmark23 Sep 2026
- 2026DeepRepoQA: Code Repository Question Answering with Deep Agent Exploration25 Aug 2026
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025SWE-QA: Can Language Models Answer Repository-level Code Questions?18 Sep 2025
- 2025RefactorCoderQA: Benchmarking LLMs for Multi-Domain Coding Question Solutions in Cloud and Edge Deployment12 Sep 2025
- 2025Software Development Life Cycle Perspective: A Survey of Benchmarks for Code Large Language Models and Agents8 May 2025
- 2024Leveraging Large Language Models in Code Question Answering: Baselines and Issues5 Nov 2024
- 2024CoSQA+: Pioneering the Multi-Choice Code Search Benchmark with Test-Driven Agents17 Jun 2024
- 2024NoFunEval: Funny How Code LMs Falter on Requirements Beyond Functional Correctness29 Jan 2024
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Education1 Oct 2023
- 2023Teach AI How to Code: Using Large Language Models as Teachable Agents for Programming Education25 Sep 2023