Q44, run 2026-11-04-2053-sonnet
Which institutions are part of the Albury University System, at any level below it?
Tests: Local type: an affiliated institute (AFF) is not a unit of its parent.
Expected: institutions = ['I02', 'I03', 'I04', 'I05']
csv run 1
I02, I03, I04, I05, I06.
JSON: {"institutions": ["I02", "I03", "I04", "I05", "I06"]}
Why: institutions: expected ['I02', 'I03', 'I04', 'I05'], got ['I02', 'I03', 'I04', 'I05', 'I06']
csv run 2
I02, I03, I04, I05, I06.
JSON: {"institutions": ["I02", "I03", "I04", "I05", "I06"]}
Why: institutions: expected ['I02', 'I03', 'I04', 'I05'], got ['I02', 'I03', 'I04', 'I05', 'I06']
csv run 3
I02, I03, I04, I05, I06. I06 is typed AFF but has parent I02.
JSON: {"institutions": ["I02", "I03", "I04", "I05", "I06"]}
Why: institutions: expected ['I02', 'I03', 'I04', 'I05'], got ['I02', 'I03', 'I04', 'I05', 'I06']
csv run 4
I02, I03, I04, I05, I06. I06 is typed AFF (affiliate) but has I02 as its parent in the data, so I included it.
JSON: {"institutions": ["I02", "I03", "I04", "I05", "I06"]}
Why: institutions: expected ['I02', 'I03', 'I04', 'I05'], got ['I02', 'I03', 'I04', 'I05', 'I06']
csv run 5
I02, I03, I04, I05, I06.
JSON: {"institutions": ["I02", "I03", "I04", "I05", "I06"]}
Why: institutions: expected ['I02', 'I03', 'I04', 'I05'], got ['I02', 'I03', 'I04', 'I05', 'I06']
executed run 1
I02, I03, I04, I05. I06 has I02 as its parent_id but is not part of I02's rollup in institution_units.
JSON: {"institutions": ["I02", "I03", "I04", "I05"]}
executed run 2
I02, I03, I04, I05. I06 is excluded: its parent_id is I02, but institution_units has it counting only towards itself.
JSON: {"institutions": ["I02", "I03", "I04", "I05"]}
executed run 3
I02, I03, I04, I05.
JSON: {"institutions": ["I02", "I03", "I04", "I05"]}
executed run 4
I02, I03, I04, I05. I06 has I02 as its parent_id but does not count towards it in institution_units, so I left it out.
JSON: {"institutions": ["I02", "I03", "I04", "I05"]}
executed run 5
I02, I03, I04, I05.
JSON: {"institutions": ["I02", "I03", "I04", "I05"]}