Flexible Control Flow Graph Alignment for Delivering Data-Driven Feedback to Novice Programming Learners
January 02, 2024 ยท Entered Twilight ยท ๐ Journal of Systems and Software
Repo contents: .gitignore, .vscode, Clara___User_Manual.pdf, Dockerfile, LICENSE, MANIFEST.in, Makefile, README.md, bin, build.sh, clara.egg-info, clara, dataset, eg, examples, libs, multi.sh, notebook, payload.sh, reg_sys.db, requirements.txt, scripts, setup.py, test_eg, tests
Authors
Md Towhidul Absar Chowdhury, Maheen Riaz Contractor, Carlos R. Rivero
arXiv ID
2401.01416
Category
cs.SE: Software Engineering
Citations
2
Venue
Journal of Systems and Software
Repository
https://github.com/towhidabsar/clara
โญ 1
Last Checked
3 months ago
Abstract
Supporting learners in introductory programming assignments at scale is a necessity. This support includes automated feedback on what learners did incorrectly. Existing approaches cast the problem as automatically repairing learners' incorrect programs extrapolating the data from an existing correct program from other learners. However, such approaches are limited because they only compare programs with similar control flow and order of statements. A potentially valuable set of repair feedback from flexible comparisons is thus missing. In this paper, we present several modifications to CLARA, a data-driven automated repair approach that is open source, to deal with real-world introductory programs. We extend CLARA's abstract syntax tree processor to handle common introductory programming constructs. Additionally, we propose a flexible alignment algorithm over control flow graphs where we enrich nodes with semantic annotations extracted from programs using operations and calls. Using this alignment, we modify an incorrect program's control flow graph to match the correct programs to apply CLARA's original repair process. We evaluate our approach against a baseline on the twenty most popular programming problems in Codeforces. Our results indicate that flexible alignment has a significantly higher percentage of successful repairs at 46% compared to 5% for baseline CLARA. Our implementation is available at https://github.com/towhidabsar/clara.
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
๐ Similar Papers
In the same crypt โ Software Engineering
R.I.P.
๐ป
Ghosted
R.I.P.
๐ป
Ghosted
Microservices: yesterday, today, and tomorrow
๐
๐
The Cartographer
A Survey of Machine Learning for Big Code and Naturalness
R.I.P.
๐ป
Ghosted
An Overview on Smart Contracts: Challenges, Advances and Platforms
R.I.P.
๐ป
Ghosted
Slither: A Static Analysis Framework For Smart Contracts
R.I.P.
๐ป
Ghosted