SERG-Delft / andy

Andy assesses student's test code. It's used in CSE1110, TU Delft.
MIT License
78 stars 22 forks source link

Update highlights.json format #146

Closed martinmladenov closed 1 year ago

martinmladenov commented 2 years ago

The highlights.json file should be renamed to editor-feedback.json.

Per the weblab documentation, it should be placed in the same directory as results.xml, and must be in the following format:

[
    {
        "location": "SOLUTION", //one of ["LIBRARY", "SOLUTION", "TEST"]
        "startLine": 20, //int
        "endLine": 20, //int
        "severity": "Info", //one of ["Error", "Hint", "Info", "Warning"]
        "message": "100% coverage" //String
    },
    {
        "location": "LIBRARY",
        "startLine": 41,
        "endLine": 48,
        "severity": "Info",
        "message": "Some message"
    },
  [...]
]