-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample-1.yaml
44 lines (44 loc) · 2.18 KB
/
sample-1.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# The penalty for allocating an assistant to an unsuitable group.
penalty_bad_time: 1000
# The penalty for allocating an assistant to an "if need be" group.
penalty_ok_time: 100
# The penalty for allocating an assistant to a suitable group.
# Usually 0 but positive values can be used to if there are more
# assistant resources than needed.
penalty_good_time: 0
# The penalty for allocating an assistant to two consecutive groups.
penalty_consecutive: 10
# The exercise groups: the name, the minimum number of assistants required,
# the maxmimum number of assistants required, and
# the optional "predecessor group" for describing which groups are consecutive.
groups:
- "Tue 10-12": {min: 2, max: 2}
- "Tue 12-14": {min: 2, max: 2, pred: "Tue 10-12"}
- "Tue 14-16": {min: 2, max: 2, pred: "Tue 12-14"}
- "Tue 16-18": {min: 2, max: 2, pred: "Tue 14-16"}
- "Wed 10-12": {min: 2, max: 2}
- "Wed 12-14": {min: 2, max: 2, pred: "Wed 10-12"}
- "Wed 14-16": {min: 3, max: 3, pred: "Wed 12-14"}
- "Wed 16-18": {min: 2, max: 2, pred: "Wed 14-16"}
- "Thu 10-12": {min: 2, max: 2}
- "Thu 12-14": {min: 3, max: 3, pred: "Thu 10-12"}
- "Thu 14-16": {min: 3, max: 3, pred: "Thu 12-14"}
- "Thu 16-18": {min: 3, max: 3, pred: "Thu 14-16"}
# The assistants: name, preferences, minimum and maximum number of groups taken.
# The preferences are in the same order as the groups:
# ' ' means 'bad', '1' means 'ok/if need be', and '2' means 'good'.
assistants:
- "Emma": {prefs: " 222 222", min: 2, max: 2}
- "John B.": {prefs: " 22122122212", min: 2, max: 2}
- "Toby": {prefs: " 122 122 122", min: 2, max: 2}
- "Lisa": {prefs: "222121122 12", min: 2, max: 2}
- "Angela": {prefs: "22 2222222 2", min: 2, max: 2}
- "Matthew": {prefs: "222 22 2 2", min: 2, max: 2}
- "Peter": {prefs: " 22 22 ", min: 2, max: 2}
- "Sam": {prefs: " 222 22 ", min: 2, max: 2}
- "John A.": {prefs: " 22222222", min: 2, max: 2}
- "Robert": {prefs: " 22 22 22", min: 2, max: 2}
- "Edward": {prefs: " 22 222 2", min: 2, max: 2}
- "Maria": {prefs: "22 222 2 2 ", min: 2, max: 2}
- "Joanna": {prefs: " 2 22222222", min: 2, max: 2}
- "Thomas": {prefs: " 121112211 ", min: 2, max: 2}