Q38, run 2026-11-04-2035-haiku
Which institutions is W71 credited to, at every level?
Tests: Local rule on affiliations, then the hierarchy: the Tessel Laboratory is listed last, so Halloran gets nothing.
Expected: institutions = ['I01', 'I02', 'I03', 'I04']
csv run 1
I04 and I06 directly, then their ancestors I03, I02 and I01.
JSON: {"institutions": ["I04", "I06", "I03", "I02", "I01"]}
Why: institutions: expected ['I01', 'I02', 'I03', 'I04'], got ['I04', 'I06', 'I03', 'I02', 'I01']
csv run 2
I01, I02, I03, I04, I06. **Reasoning:** W71 is credited to I06 (seq 1) and I04 (seq 2), and their ancestors are I02 and I03 (under I01).
JSON: {"institutions": ["I01", "I02", "I03", "I04", "I06"]}
Why: institutions: expected ['I01', 'I02', 'I03', 'I04'], got ['I01', 'I02', 'I03', 'I04', 'I06']
csv run 3
I04 and I06 directly, with their parents I03, I02 and I01 at every level.
JSON: {"institutions": ["I04", "I06", "I03", "I02", "I01"]}
Why: institutions: expected ['I01', 'I02', 'I03', 'I04'], got ['I04', 'I06', 'I03', 'I02', 'I01']
csv run 4
I01, I02, I03, I04 and I06. These are the direct affiliations I06 and I04, plus their parent chains.
JSON: {"institutions": ["I01", "I02", "I03", "I04", "I06"]}
Why: institutions: expected ['I01', 'I02', 'I03', 'I04'], got ['I01', 'I02', 'I03', 'I04', 'I06']
csv run 5
Direct: I04 and I06. At every level, including parents: I04, I06, I03, I02 and I01.
JSON: {"institutions": ["I04", "I06", "I03", "I02", "I01"]}
Why: institutions: expected ['I01', 'I02', 'I03', 'I04'], got ['I04', 'I06', 'I03', 'I02', 'I01']
executed run 1
I04, I03, I02, I01. W71's only credit is A08 at I04, which rolls up through the chain.
JSON: {"institutions": ["I04", "I03", "I02", "I01"]}
executed run 2
I04, I03, I02, I01. W71's author A08 is credited to I04, and I04's units run up through I03, I02 and I01.
JSON: {"institutions": ["I04", "I03", "I02", "I01"]}
executed run 3
I04, I03, I02, I01. A08 is credited to I04 on W71, and I04 counts towards I03, I02 and I01.
JSON: {"institutions": ["I04", "I03", "I02", "I01"]}
executed run 4
I04, I03, I02, I01. W71 is credited to I04, which counts towards each of these levels.
JSON: {"institutions": ["I04", "I03", "I02", "I01"]}
executed run 5
I04, I03, I02 and I01. W71 is credited to I04, which rolls up through I03, I02 and I01 per institution_units.
JSON: {"institutions": ["I04", "I03", "I02", "I01"]}