Q38, run 2026-11-04-2053-sonnet

← 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

I01, I02, I03, I04, I06. The direct credits are I06 and I04, plus their ancestors.

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

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

❌ R1 csv run 2 graded by code

I06, I04, I03, I02, I01. I04 and I06 are the direct credits, and the rest are the ancestors of I04.

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

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

❌ R1 csv run 3 graded by code

I06, I04, I03, I02, I01.

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

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

❌ R1 csv run 4 graded by code

I06, I04, I03, I02, I01.

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

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

❌ R1 csv run 5 graded by code

I06 and I04 directly, plus their ancestors I03, I02 and I01.

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

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

✅ R10 executed run 1 graded by code

I04, I03, I02, I01.

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

✅ R10 executed run 2 graded by code

I04, I03, I02, I01. These come from the institution_units rows for I04.

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

✅ R10 executed run 3 graded by code

I04, I03, I02, I01.

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

✅ R10 executed run 4 graded by code

I04, I03, I02, I01.

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

✅ R10 executed run 5 graded by code

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

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