Q32, run 2026-11-05-1235-haiku

← back to the run

How many distinct works are within two citation hops of W01 (citing it, or citing a work that cites it)?

Tests: Two hops, counted once each.

Expected: count = 5

❌ R1 csv run 1 graded by code

6. Two works cite W01 (W40, W41), and four cite those (W50, W51, W52, W90).

JSON: {"count": 6}

Why: count: expected 5, got 6

❌ R1 csv run 2 graded by code

6.
*Reasoning:* One hop gives W40 and W41; two hops add W50, W51, W52 and W90.

JSON: {"count": 6}

Why: count: expected 5, got 6

❌ R1 csv run 3 graded by code

6. Hop 1 is W40 and W41. Hop 2 is W50, W51, W52 and W90.

JSON: {"count": 6}

Why: count: expected 5, got 6

❌ R1 csv run 4 graded by code

6. Two hops reach W40, W41 (hop 1) and W50, W51, W52, W90 (hop 2).

JSON: {"count": 6}

Why: count: expected 5, got 6

❌ R1 csv run 5 graded by code

6. Within two hops of W01 are W40 and W41 (direct), then W50, W51, W52 and W90.

JSON: {"count": 6}

Why: count: expected 5, got 6

❌ R2 rdf run 1 graded by code

6. Hop 1 is W40 and W41. Hop 2 is W50, W51, W52 and W90.

JSON: {"count": 6}

Why: count: expected 5, got 6

❌ R2 rdf run 2 graded by code

6. W40 and W41 are one hop from W01; W50, W51, W52 and W90 are two hops.

JSON: {"count": 6}

Why: count: expected 5, got 6

❌ R2 rdf run 3 graded by code

6: W40 and W41 (citing W01), plus W50, W51, W52 and W90.

JSON: {"count": 6}

Why: count: expected 5, got 6

❌ R2 rdf run 4 graded by code

6. Within two hops of W01 are W40, W41 (hop 1) and W50, W51, W52, W90 (hop 2).

JSON: {"count": 6}

Why: count: expected 5, got 6

❌ R2 rdf run 5 graded by code

6. Within two hops of W01 are W40, W41, W50, W51, W52 and W90.

JSON: {"count": 6}

Why: count: expected 5, got 6

✅ R6 rdf+ontology run 1 graded by code

5. Within two hops, the works are W40 and W41 (hop 1) and W50, W51 and W52 (hop 2).

JSON: {"count": 5}

✅ R6 rdf+ontology run 2 graded by code

5 works: W40 and W41 (citing W01), then W50, W51 and W52 (citing them). The staging record W90 is excluded.

JSON: {"count": 5}

✅ R6 rdf+ontology run 3 graded by code

5. The works are W40 and W41 (citing W01), and W50, W51 and W52 (citing those). W90 is excluded.

JSON: {"count": 5}

✅ R6 rdf+ontology run 4 graded by code

5. Within two hops of W01 are W40, W41 (direct), and W50, W51, W52 (second hop); W90 is excluded as a test record.

JSON: {"count": 5}

✅ R6 rdf+ontology run 5 graded by code

5: W40 and W41 (one hop), and W50, W51 and W52 (two hops).

JSON: {"count": 5}

✅ R5 csv+ontology run 1 graded by code

5. Hop 1 is W40 and W41. Hop 2 is W50, W51 and W52, since the staging work W90 is excluded. W01 itself is not counted.

JSON: {"count": 5}

✅ R5 csv+ontology run 2 graded by code

5. The distinct works are W40 and W41 (citing W01) and W50, W51 and W52 (citing those). W90 is excluded.

JSON: {"count": 5}

✅ R5 csv+ontology run 3 graded by code

5. Citing W01 are W40 and W41, and the works citing those are W50, W51 and W52 (W90 is excluded).

JSON: {"count": 5}

✅ R5 csv+ontology run 4 graded by code

5. Within two hops of W01 are W40 and W41 (citing it), and W50, W51 and W52 (citing those).

JSON: {"count": 5}

✅ R5 csv+ontology run 5 graded by code

5: W40 and W41 (one hop), then W50, W51 and W52 (two hops).

JSON: {"count": 5}

✅ R4 csv+markdown run 1 graded by code

5. These are W40 and W41 (citing W01), plus W50, W51 and W52 (citing W40 or W41).

JSON: {"count": 5}

✅ R4 csv+markdown run 2 graded by code

5. Within two hops of W01 are W40 and W41 (direct citers), and W50, W51 and W52 (citing them).

JSON: {"count": 5}

✅ R4 csv+markdown run 3 graded by code

5. Hop 1 is W40 and W41. Hop 2 is W50, W51 and W52.

JSON: {"count": 5}

✅ R4 csv+markdown run 4 graded by code

5. W40 and W41 (one hop), then W50, W51 and W52 (two hops). W90 is excluded as staging.

JSON: {"count": 5}

✅ R4 csv+markdown run 5 graded by code

5. W40, W41, W50, W51 and W52. W90 is excluded.

JSON: {"count": 5}

❌ R3 csv+padding run 1 graded by code

6. These are W40 and W41 (one hop), plus W50, W51, W52 and W90 (two hops).

JSON: {"count": 6}

Why: count: expected 5, got 6

❌ R3 csv+padding run 2 graded by code

6. Within two hops of W01 are W40, W41 (hop 1) and W50, W51, W52, W90 (hop 2).

JSON: {"count": 6}

Why: count: expected 5, got 6

❌ R3 csv+padding run 3 graded by code

6. Hop 1 is W40 and W41. Hop 2 is W50, W51, W52 and W90.

JSON: {"count": 6}

Why: count: expected 5, got 6

❌ R3 csv+padding run 4 graded by code

6. Hop 1: W40, W41. Hop 2: W50, W51, W52, W90.

JSON: {"count": 6}

Why: count: expected 5, got 6

❌ R3 csv+padding run 5 graded by code

Six: W40 and W41 (one hop), plus W50, W51, W52 and W90 (two hops).

JSON: {"count": 6}

Why: count: expected 5, got 6

✅ R10 executed run 1 graded by code

5. The works within two hops of W01 are W40, W41 (citing W01), W50, W51 (citing W40) and W51, W52 (citing W41), with W51 counted once.

JSON: {"count": 5}

✅ R10 executed run 2 graded by code

5: W40 and W41 (citing W01), plus W50, W51 and W52 (citing those).

JSON: {"count": 5}

✅ R10 executed run 3 graded by code

Five: W40 and W41 (citing W01), then W50, W51 and W52 (citing W40 or W41).

JSON: {"count": 5}

✅ R10 executed run 4 graded by code

5 (W40, W41, W50, W51, W52).

JSON: {"count": 5}

✅ R10 executed run 5 graded by code

5. The works are W40 and W41 (citing W01), plus W50, W51 and W52 (citing W40 or W41).

JSON: {"count": 5}