Q38, run 2026-11-06-0206-haiku

← back to the run

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']

❌ R1 csv run 1 graded by code

I04, I06, I03, I02, I01. W71's author A08 is at I06 and I04, and I04 sits under I03 → I02 → I01.

JSON: {"institutions": ["I04", "I06", "I03", "I02", "I01"]}

Why: institutions: expected ['I01', 'I02', 'I03', 'I04'], got ['I04', 'I06', 'I03', 'I02', 'I01']

❌ R1 csv run 2 graded by code

I04, I06, I03, I02 and I01. W71 is credited to I04 and I06, and their parent chain runs through I03, I02 and I01.

JSON: {"institutions": ["I01", "I02", "I03", "I04", "I06"]}

Why: institutions: expected ['I01', 'I02', 'I03', 'I04'], got ['I01', 'I02', 'I03', 'I04', 'I06']

❌ R1 csv run 3 graded by code

Direct: I06 and I04. Parents: I02, I03, I01.

JSON: {"institutions": ["I06", "I04", "I02", "I03", "I01"]}

Why: institutions: expected ['I01', 'I02', 'I03', 'I04'], got ['I06', 'I04', 'I02', 'I03', 'I01']

❌ R1 csv run 4 graded by code

I04 and I06 directly, then I03, I02 and I01 as their parents.

JSON: {"institutions": ["I04", "I06", "I03", "I02", "I01"]}

Why: institutions: expected ['I01', 'I02', 'I03', 'I04'], got ['I04', 'I06', 'I03', 'I02', 'I01']

❌ R1 csv run 5 graded by code

(no answer found)

JSON: {"institutions": ["I04", "I06", "I03", "I02", "I01"]}

Why: institutions: expected ['I01', 'I02', 'I03', 'I04'], got ['I04', 'I06', 'I03', 'I02', 'I01']

❌ R3 csv+padding run 1 graded by code

I04, I06, I03, I02 and I01 (I04 and I06 with their parents).

JSON: {"institutions": ["I04", "I06", "I03", "I02", "I01"]}

Why: institutions: expected ['I01', 'I02', 'I03', 'I04'], got ['I04', 'I06', 'I03', 'I02', 'I01']

❌ R3 csv+padding run 2 graded by code

I04, I06, 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']

❌ R3 csv+padding run 3 graded by code

I01, I02, I03, I04, I06. W71 lists A08 at I06 and I04, and each has its parent chain.

JSON: {"institutions": ["I01", "I02", "I03", "I04", "I06"]}

Why: institutions: expected ['I01', 'I02', 'I03', 'I04'], got ['I01', 'I02', 'I03', 'I04', 'I06']

❌ R3 csv+padding run 4 graded by code

I01, I02, I03, I04, I06 (I04 with its ancestors, and I06 with its ancestors).

JSON: {"institutions": ["I01", "I02", "I03", "I04", "I06"]}

Why: institutions: expected ['I01', 'I02', 'I03', 'I04'], got ['I01', 'I02', 'I03', 'I04', 'I06']

❌ R3 csv+padding run 5 graded by code

I04 and I06 at the record level, plus parents I03, I02 and I01.

JSON: {"institutions": ["I04", "I06", "I03", "I02", "I01"]}

Why: institutions: expected ['I01', 'I02', 'I03', 'I04'], got ['I04', 'I06', 'I03', 'I02', 'I01']

✅ R4 csv+markdown run 1 graded by code

I04, I03, I02, I01. W71's last-listed affiliation is I04, and I04 sits under I03, I02 and I01.

JSON: {"institutions": ["I04", "I03", "I02", "I01"]}

❌ R4 csv+markdown run 2 graded by code

(no answer found)

Why: no structured answer

✅ R4 csv+markdown run 3 graded by code

I04, I03, I02 and I01. W71's last-listed affiliation is I04, and that roll-up runs to the top of the chain.

JSON: {"institutions": ["I04", "I03", "I02", "I01"]}

❌ R4 csv+markdown run 4 graded by code

(no answer found)

Why: no structured answer

✅ R4 csv+markdown run 5 graded by code

I04, I03, I02, I01. W71's last affiliation is I04, and credit flows up through its ancestors.

JSON: {"institutions": ["I04", "I03", "I02", "I01"]}

❌ R5 csv+ontology run 1 graded by code

(no answer found)

Why: no structured answer

✅ R5 csv+ontology run 2 graded by code

I04, I03, I02, I01. The last-listed affiliation on W71 is I04, and I04's ancestors are I03, I02 and I01.

JSON: {"institutions": ["I04", "I03", "I02", "I01"]}

✅ R5 csv+ontology run 3 graded by code

I04, I03, I02, I01. W71's last-listed affiliation (seq 2) is I04, and it is credited upward through the hierarchy.

JSON: {"institutions": ["I04", "I03", "I02", "I01"]}

✅ R5 csv+ontology run 4 graded by code

I04, I03, I02, I01. W71's last-listed affiliation is I04, and it is credited to I04 and every institution above it.

JSON: {"institutions": ["I04", "I03", "I02", "I01"]}

✅ R5 csv+ontology run 5 graded by code

I04, I03, I02, I01. The last-listed affiliation on W71 is I04.

JSON: {"institutions": ["I04", "I03", "I02", "I01"]}

✅ R10 executed run 1 graded by code

I04, I03, I02 and I01. W71's credit is A08 at I04, and I04 counts towards I03, I02 and I01 by levels_up.

JSON: {"institutions": ["I04", "I03", "I02", "I01"]}

✅ R10 executed run 2 graded by code

I04, I03, I02, I01. W71 is credited to I04, and its parent chain goes I04 → I03 → I02 → I01.

JSON: {"institutions": ["I04", "I03", "I02", "I01"]}

✅ R10 executed run 3 graded by code

I04, I03, I02, I01. W71 credits A08 at I04, and the chain is I04 → I03 → I02 → I01.

JSON: {"institutions": ["I04", "I03", "I02", "I01"]}

✅ R10 executed run 4 graded by code

I04, I03, I02, I01.
W71 is credited to I04, and I04 counts towards I03, I02 and I01.

JSON: {"institutions": ["I04", "I03", "I02", "I01"]}

✅ R10 executed run 5 graded by code

I04, I03, I02 and I01, following institution_units for W71's credit at I04.

JSON: {"institutions": ["I04", "I03", "I02", "I01"]}