coursera / coursera-labs

Apache License 2.0
18 stars 24 forks source link

Suggestions for using `vscode` image autograder? #40

Closed nickeubank closed 2 years ago

nickeubank commented 2 years ago

OK, now that I have the vscode image (with my edits) up and running for labs (#38 and #39), I'm running into a little trouble with getting the grader setup. @josephl310 sorry to bother you again, but now that my image is a "custom image", the programming assignments no longer seem to know how to get the autograder setup. Previously, with the standard vscode image + some additional docker edits, I had options like this:

image

Easy-Peezy!

But now all I see is this:

image

I also tried re-uploading the same image, but that's just spinning.

Suggestions? There a way to just point to a path in the lab image even if the image is custom?

josephl310 commented 2 years ago

Hey Nick! You were most likely using one of our VSCode images with a pre-configured grader. Now that you're using a custom image, you'll need to write a separate custom grader for this image.

Here's the ERC article on custom graders: https://www.coursera.support/s/article/360050380151-Tips-and-Best-Practices-for-Programming-Assignments-and-Custom-Graders? Here's a repository containing some sample graders: https://github.com/coursera/programming-assignments-demo/tree/master/custom-graders

nickeubank commented 2 years ago

Thanks!!