Created
September 20, 2020 15:49
-
-
Save InnovativeInventor/03e1c5065a87f7a6cf830caf69ccd600 to your computer and use it in GitHub Desktop.
Example yaml schema of a housing assignment input with encoded preferences
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
houses: | |
- name: East Cottage | |
capacity: 4 | |
- name: Memorial House | |
capacity: 3 | |
- name: Tenny House | |
capacity: 3 | |
- name: Atwater | |
capacity: 3 | |
size: 4 | |
ballots: | |
- name: Max Fan | |
rankings: | |
- name: Tenny House | |
weight: 20 | |
- name: Memorial House | |
weight: 5 | |
- name: East Cottage | |
weight: 30 | |
- name: Atwater | |
weight: 1 | |
pairings: | |
- name: James Doe | |
weight: 5 | |
- name: Albert | |
weight: 3 | |
- name: James Doe | |
rankings: | |
- name: Tenny House | |
weight: 5 | |
- name: Memorial House | |
weight: 31 | |
- name: East Cottage | |
weight: 10 | |
- name: Atwater | |
weight: 1 | |
pairings: | |
- name: James Doe | |
weight: 5 | |
- name: Albert | |
weight: 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment