Detecting Code Quality Issues in Pre-written Templates of Programming Tasks in Online Courses

04/24/2023
by   Anastasiia Birillo, et al.
0

In this work, we developed an algorithm for detecting code quality issues in the templates of online programming tasks, validated it, and conducted an empirical study on the dataset of student solutions. The algorithm consists of analyzing recurring unfixed issues in solutions of different students, matching them with the code of the template, and then filtering the results. Our manual validation on a subset of tasks demonstrated a precision of 80.8 of 73.3 platform and discovered that as much as 14.7 in their template, thus making it harder for students to learn good code quality practices. We describe our results in detail, provide several motivating examples and specific cases, and share the feedback of the developers of the platform, who fixed 51 issues based on the output of our approach.

READ FULL TEXT
research
01/26/2023

Analyzing the Quality of Submissions in Online Programming Courses

Programming education should aim to provide students with a broad range ...
research
03/13/2023

SOBO: A Feedback Bot to Nudge Code Quality in Programming Courses

Recent research has shown the great potential of automatic feedback in e...
research
03/28/2023

Adaptive Scaffolding in Block-Based Programming via Synthesizing New Tasks as Pop Quizzes

Block-based programming environments are increasingly used to introduce ...
research
12/17/2019

Detection of a Source Code Plagiarism in a Student Programming Competition

The article presents a system for testing the independence of solutions ...
research
05/01/2023

Freeform Templates: Combining Freeform Curation with Structured Templates

Online whiteboards are becoming a popular way to facilitate collaborativ...
research
08/28/2020

A Framework for Generating Diverse Haskell-IO Exercise Tasks

We present the design of a framework to automatically generate a large r...
research
06/25/2023

Total Error Sheets for Datasets (TES-D) – A Critical Guide to Documenting Online Platform Datasets

This paper proposes a template for documenting datasets that have been c...

Please sign up or login with your details

Forgot password? Click here to reset