Template for autograding LC-3 assembly programs with LC3Tools and Gradescope's Docker images. Will likely be rebuilt into a zucchini grader down the line. Learn how to write an autograder using LC3Tools here.
To run locally:
- Place any .asm files you wish to autograde inside the
submissionfolder. - Place the corresponding autograders inside
source/lc3tools/test/tests. Make sure your assembly files and their corresponding autograder have the same name (i.e.linkedlist.cppwill run onlinkedlist.asm). - From the root directory, run
./source/run_autograder - Results will be available inside the
resultsfolder as a JSON. Check out Gradescope's JSON formatting rules here.
To add to a Gradescope image:
- Place your autograders inside
source/lc3tools/test/tests. Make sure the files you've provided students and the corresponding autograders have the same name (i.e.linkedlist.cppwill run onlinkedlist.asm). - Zip up everything the
sourcefolder as shown in the image below (zip the files themselves--not the folder. Everything needs to be at the root of the zip for this to work!). - Upload the zip to Gradescope and watch the magic happen! (Using the base Ubuntu 22.04 image on Gradescope)