← 56bcb1d01e53 · 56e5ade4e829 →
56c0055fd65f
Recolor each yellow component by its enclosed-background-hole count: 0 holes -> 2, 1 hole -> 3, 2 holes -> 8; preserve the optional color-6 domino distractor.
Generated by the released generator before publication; every output was computed by its Racket reference rule. White outlines mark the cells the rule changed. Lesson check:
refuted: a demonstration contradicts the rival. survived_all: it fits every demonstration and also gives the intended answer, so it cannot mislead here. ambiguous: it fits every demonstration but answers the query differently. Names are as declared by the generator; a declared shortcut is not guaranteed to fit the original pairs (see the paper’s Limitations).
Original task pairs
From the source task; the reference rule must reproduce them.
Reference rule (Racket)
(rule!
(for/fold ([out g]) ([obj (in-list (filter (lambda (o) (= (obj-color o) 4)) (objects g 0)))])
(let* ((n (topo-count-holes g obj 0))
(hit (cond [(= n 0) 2] [(= n 1) 3] [(= n 2) 8] [else #f])))
(if hit (paint-cells out (obj-cells obj) hit) out))))Provenance
- Generator
- generators/56c0055fd65f/generator.py
- Notes and decisions
- generators/56c0055fd65f/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 95e384de3665722c749cfb6772ea776d5a0298d001edf6382021be53737acf1e
- Rule hash
- d0be87fb4806
- Sources
- bank:d3d681cdb82a
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 56c0055fd65f --count 1 --seed 20261108 --test 1