Skip to content

Instantly share code, notes, and snippets.

@DoronShapiro
Last active December 25, 2015 09:29
Show Gist options
  • Save DoronShapiro/6954176 to your computer and use it in GitHub Desktop.
Save DoronShapiro/6954176 to your computer and use it in GitHub Desktop.
hw1.project.json holds project data and is written centrally for every hw. Comments and grades are later written to this file as well. student_data.json is reused for every assignment.
{
"files": [
{
"name": "something.json",
"questions": [
{
"name": "someQuestion",
"tag": "let someQuestion",
"points": {
"style": 7,
"testing": 8
}
},
{
"name": "anotherQuestion",
"tag": "let anotherQuestion"
}
]
}
],
"default_grades": {
"style": 10,
"testing": 5
},
"final_grades": {
"final_style": "some formula?"
},
"students": [
{
"email address": "bfranklin@seas.upenn.edu",
"final_style": 13,
"files": [
{
"name": "something.ml",
"questions": [
{
"name": "someQuestion",
"points": {
"style": 8,
"testing": 4
},
"issues": [
{
"name": "Spaces for tabs",
"description": "Make sure you're using spaces instead of the tab character",
"severity": 2
}
]
}
]
}
],
"email_text": "Dear Benjamin..."
}
],
"email_template": "Dear %NAME%..."
}
{
"issues": [
{
"name": "Spaces for tabs",
"description": "Make sure you're using spaces instead of the tab character",
"severity": 2
}
]
}
{
"students": [
{
"email": "bfranklin@seas.upenn.edu",
"name": "Benjamin"
},
{
"email": "adams@sas.upenn.edu",
"name": "John"
}
]
}
@DoronShapiro
Copy link
Author

In the project file, you can either specify point breakdowns per-problem or let the app use the default_grades instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment