Trends-Autograder for A1-A4.
Written in a functional style, using Effect, to handle concurrency and resource safety in a tidy manner. Refer to the Effect docs and the 3110 textbook as needed. Some inspiration (not much) taken from the Sphinx autograder for CS 3110.
git clone
this repo into some folder on your system, then cd
into it.
Install Bun.
Then, run bun install
to install dependencies.
Then, install pnpm if you don't already have it.
Run make test
to run the autograder on the test cases.
Make sure tests are passing before using this program!
-
Run
make clean
. -
On CMS go to Assignments > Groups > [Name of Assignment: either Assignment 1, Assignment 2, Assignment 3, or Assignment 4].
-
Sort by Files Remaining and find the index of the last assignment with 0 remaining.
-
Type that index into the second box next to Range and click Range. Only submissions with complete files will now be checked.
-
Under Select Group Operations click Files.
-
Unzip
submissions.zip
and copy the resultingSubmissions
directory into here (the root directory). -
Run
make
. If all goes well, Trends-Autograder will producecms.csv
in root.-
If the system had trouble automatically grading any student, it will simply skip over that student. You will need to manually grade these students.
-
If the system hangs after printing
Done!
, it's safe to hit Ctrl+C to kill the process.
-
-
Upload score in
cms.csv
to corresponding student. If student does not achieve full points, refer totmp/netid/logs.json
to investigate all test cases having"status": "failed"
and provide constructive feedback in the comment section. -
Afterwards, please run
make clean
to clean up.
[Dev Lead Only] To upload scores to CMS, go to the bottom of the CMS page next to Upload Scores and choose file cms.csv
. Note that this will potentially overwrite past uploads and should thus be done by DevLeads in the majority of cases. You should also probably check the checkbox indicating Remove existing comments (erases every comment for the group)
.