Skip to content

Instantly share code, notes, and snippets.

@marcromeyn
Last active August 29, 2015 14:23
Show Gist options
  • Save marcromeyn/592d6f8197c8b15470a7 to your computer and use it in GitHub Desktop.
Save marcromeyn/592d6f8197c8b15470a7 to your computer and use it in GitHub Desktop.
{
"courseId":10,
"endpoints": {
"succes": "some endpoint",
"failure": "some other endpoint"
},
"settings":{
"diverse":true,
"iterations": 50,
// if global weights are provided we discard the local ones
"weights": {
"friends":0.4,
"preferences":0.6
},
},
"students":[
{
"id":1,
"name":"Bram",
"mandatory": true,
"preferences":[
2,
4,
1,
3
],
"friends":[
3,
9
],
"skills": {
"Sassy Bitch": 5,
"Programming": 2
},
// weights have to add up to a maximum 1
"weights":{
"friends":0.4,
"preferences":0.6
}
}
],
"groups":[
{
"id":1,
"minSize":3,
"maxSize":7,
"skills": ["Programming"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment