autograding icon indicating copy to clipboard operation
autograding copied to clipboard

Give instructors access to source code of autograding actions

Open titaniumbones opened this issue 5 years ago • 4 comments

It would be very helpful if we could edit the autograding workflow yml and test json files directly. Reling on a slightly inflexible GUI in this situation is a bit odd; for one thing, it means we can't keep our grading schemas in version control (!)

titaniumbones avatar May 06 '20 14:05 titaniumbones

Good news! You can absolutely change the workflow and autograding.json files manually and check them into your template repository. When checking in the autograding files, don't setup autograding in the assignment (if you do, it will overwrite the files in the template repo) and it should work as expected.

jeffrafter avatar May 12 '20 16:05 jeffrafter

Awesome! Is that new though? I tried toxdocthst and autograding didn't seem to get set up (the autograde report didn't seem to be visible in the classroom view). Would you like me to set up an example assignment and retest, maybe sending you some screenshots?

On May 12, 2020 12:01 p.m., Jeff Rafter [email protected] wrote:

Good news! You can absolutely change the workflow and autograding.json files manually and check them into your template repository. When checking in the autograding files, don't setup autograding in the assignment (if you do, it will overwrite the files in the template repo) and it should work as expected.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/education/autograding/issues/20#issuecomment-627436635, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AACY6NCMFT3MWW4NSPUHAV3RRFXGLANCNFSM4M2QD53Q.

titaniumbones avatar May 12 '20 16:05 titaniumbones

That would be fantastic... though this wasn't an official feature it is something I very much think should work!

jeffrafter avatar May 12 '20 16:05 jeffrafter

Awesome! Is that new though? I tried toxdocthst and autograding didn't seem to get set up (the autograde report didn't seem to be visible in the classroom view).

Here's how I'm set up.

Inside my repository, I have the following folders:

image

My classroom.yml file looks like this:

image

The main thing under the steps is the "autograder" step and maybe the "checkout" one.

Then, inside autograding.json, I have my test configs, like so:

image

If you want more than one test, just copy the one object and add it to the "tests" array and tell your test runner to run certain suites or tests or whatever.

ShaunaGordon avatar Nov 03 '20 23:11 ShaunaGordon