CS1QA: A Dataset for Assisting Code-based Question Answering in an Introductory Programming Course

Changyoon Lee, Yeon Seonwoo, Alice Oh
10/26/2022
cs.CL
benchmark-dataset

Official code: cyoon47/CS1QA (10 stars, Python, MIT, last commit 2023-03-10).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

cyoon47/CS1QAOfficial100%
MIT

Repository for CS1QA: A Dataset for assisting Code-based Question Answering in an Introductory Programming Course, published at NAACL 2022

103Python, ShellMay 2, 20223 years agoMIT

Similar Papers

Cite this paper

@article{lee2022csqa,
  title  = {CS1QA: A Dataset for Assisting Code-based Question Answering in an Introductory Programming Course},
  author = {Changyoon Lee and Yeon Seonwoo and Alice Oh},
  year   = {2022},
  eprint = {2210.14494},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.14494}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.14494.svg)](https://codeofpaper.com/paper/2210.14494)

Discussion