Skip to content
This repository has been archived by the owner on Jan 1, 2021. It is now read-only.
/ masters Public archive

Source code for my Masters thesis "Automating Programming Assignment Marking with AST Analysis"

Notifications You must be signed in to change notification settings

Trinovantes/masters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClangAutoMarker

This thesis presents a novel approach to automatically mark programming assignments. We hypothesize that correct student solution ASTs will be more similar to reference solution ASTs than incorrect student solutions and that their similarities can be quantitatively measured. Our approach first preprocesses the ASTs before computing their tree edit distances. We then aggregate the student's set of edit distances from every reference solution into a final mark for the student. We have implemented our approach in our ClangAutoMarker tool. Our experiments demonstrate promising potential for reducing a human marker's workload but further refinements are needed before its accuracy can be suitable for a live classroom.

Note: I cannot publish my test data (student code/grades) due to copyright/privacy issues.

Compiling Code

We first need to download, extract, and symlink the appropriate LLVM/Clang source code. Go inside src directory and run:

./setup.py

Warning: Compling from scratch will take a few hours and require approximately 50GB of free space.

The next step compiles and runs the tool on dummy inputs. Go inside code/tests directory and run:

./run.py

Compiling Thesis

Go inside thesis directory and run:

make

About

Source code for my Masters thesis "Automating Programming Assignment Marking with AST Analysis"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published