edulinq / autograder-server

A server to automatically grading coding assignments.
MIT License
4 stars 5 forks source link

Rework Task Definition (within Course) #65

Open eriq-augustine opened 6 months ago

eriq-augustine commented 6 months ago

Right now, each task for a course is defined as a list of tasks of the specific type. I don't like this because:

Instead of this, I would like to just have a list of tasks. Each item can have values like type, when, and options, and we can validate by having task types register themselves.

...
tasks: [
    {
        "type": "report",
        "when": ...,
        "options": {
            "to": [
                "test@test.com"
            ]
        }
    },
],
...