← 4c93dc1552b3 · 4cea2727fcf9 →
4ca8a7b38652
Generate a 3x3 grid with two to four distinct nonzero colors. Count only those nonzero colors; if the count is n, upscale every input cell to an n-by-n block. Canonical-profile sparse examples contain zero, while two scheduled zero-free examples per five-sample lesson disprove the tempting canonical-only shortcut of always subtracting one from the total color count.
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! (lambda (g)
(let* ((h (rows g))
(w (cols g)))
(let* ((colors (unique (filter (lambda (v) (!= v 0))
(flatmap (lambda (r)
(map (lambda (c) (at g r c))
(range 0 w)))
(range 0 h)))))
(n (length colors)))
(if (<= n 1) g (build-grid (* h n) (* w n) (r c) (at g (/ r n) (/ c n))))))))Provenance
- Generator
- generators/4ca8a7b38652/generator.py
- Notes and decisions
- generators/4ca8a7b38652/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 9e39ddd0012e5dba7be9e7ae10f3ac8de0ca736e8c7bfad79a3535b4ae352ac5
- Rule hash
- 2e2cb8677499
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 4ca8a7b38652 --count 1 --seed 20261108 --test 1