mp-access / Backend-Re

0 stars 2 forks source link

Task config.json #37

Closed sealexan closed 1 year ago

sealexan commented 1 year ago

Update the task config.json spec as follows.

{
    "title": "ACCESS Tutorial",
    "slug": "access-tutorial",
    "authors": ["Jane Doe <jane@uzh.ch>"],
    "tags": ["beginner", "loops"],
    "license": null,
    "instructions": "description.md",
    "evaluator": {
        "dockerImage":"python:latest",
        "runCommand": "python script.py",
        "testCommand": "python -m unittest tests.py -v",
        "gradeCommand": "python -m private.tests"
    },
    "maxAttempts": 3,
    "refill": 86400,
    "maxPoints": 2,
    "files": {
      "visible": [
        "path/to/visible.r",
        "path/to/editable.r",
        "example.r"
      ],
      "editable": [
        "path/to/editable.r"
      ],
      "grading": [
        "path/to/grading.r"
      ]
      "solution": [
        "path/to/solution.r"
      ]
  }

}
sealexan commented 1 year ago

Implemented as new toml-based config in SHA: d868043479