← 99d5bc858270 · 99e7ba062bec →
99d71aabd753
Place 3-4 ordinary-draw colors as separated solid rectangles on a zero background. Each color has a distinct number of 4-connected objects. Rectangle areas vary independently of those counts, and the colored-cell ranking conflicts with the object-count ranking. The Racket rule counts objects per color, sorts counts descending, and emits a right-aligned staircase with one row per color.
parametric family
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 (filter (lambda (c) (!= c 0)) (grid-colors g)))
(counts (map (lambda (col)
(let* ((mask (cellmap g (r c v) (if (= v col) 1 0)))
(objs (objects mask 0)))
(list col (length objs))))
colors))
(sorted-counts (reverse (sort-by counts (lambda (x) (second x)))))
(n (length sorted-counts))
(max-w (second (first sorted-counts))))
(build-grid n
max-w
(r c)
(let* ((entry (nth sorted-counts r))
(col (first entry))
(cnt (second entry)))
(if (>= c (- max-w cnt)) col 0)))))))Provenance
- Generator
- generators/99d71aabd753/generator.py
- Notes and decisions
- generators/99d71aabd753/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- ba6cdaa0ebda419382ce7a86aa25ab5cee7e23f9e73eeca25f4d2ae3cf9dea11
- Rule hash
- a6f4f8240a92
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 99d71aabd753 --count 1 --seed 20261108 --test 1