← 5d59b75cb58e · 5d9c166a8c3b →
5d6fcce80b6a
Double the input to a 2x2 canvas, copy it only on the main block diagonal, and paint colour-3 rows for every empty source row at or before the last non-empty row. Empty rows after the last non-empty row stay blank.
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* ((oh (* h 2))
(ow (* w 2))
(has-color? (lambda (r)
(find (lambda (c) (!= (at g r c) 0)) (range 0 w))))
(colored-rows (filter has-color? (range 0 h)))
(max-colored (if (empty? colored-rows) 0 (max-list colored-rows)))
(is-sep? (lambda (r) (and (not (has-color? r)) (<= r max-colored)))))
(build-grid oh
ow
(r c)
(let ((tr (remainder r h))
(br (quotient r h))
(tc (remainder c w))
(bc (quotient c w)))
(cond ((is-sep? tr) 3) ((= br bc) (at g tr tc)) (else 0))))))))Provenance
- Generator
- generators/5d6fcce80b6a/generator.py
- Notes and decisions
- generators/5d6fcce80b6a/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- e603a3763bcdfd01d19d355a529a391b51112d9862466ef82b26b69a28db1c5a
- Rule hash
- 652672c3e3c3
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 5d6fcce80b6a --count 1 --seed 20261108 --test 1