← c690e739e0ce · c6a453e86480 →
c6a422753abe
A zero-background grid contains exactly one full blue row or column and a connected shape using exactly two non-background colors on one side. Reflect the shape across the blue separator into the empty side. At the original location swap the shape's two colors; the reflected copy keeps the original colors and the separator remains blue.
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))
(sep-row (find (lambda (r)
(for/and ((c2 (range 0 w))) (= (at g r c2) 1)))
(range 0 h)))
(sep-col (find (lambda (c2)
(for/and ((r (range 0 h))) (= (at g r c2) 1)))
(range 0 w)))
(shape-colors (filter (lambda (v) (and (!= v 0) (!= v 1)))
(unique (flatmap (lambda (r)
(map (lambda (c2) (at g r c2))
(range 0 w)))
(range 0 h)))))
(ca (first shape-colors))
(cb (second shape-colors)))
(cellmap g
(r c v)
(cond
((= v 1) 1)
((!= v 0) (cond ((= v ca) cb) ((= v cb) ca) (else v)))
(else (let* ((rr (if sep-row (- (* 2 sep-row) r) r))
(rc (if sep-col (- (* 2 sep-col) c) c)))
(if (and (>= rr 0) (< rr h) (>= rc 0) (< rc w))
(let* ((rv (at g rr rc)))
(if (and (!= rv 0) (!= rv 1)) rv 0))
0))))))))Provenance
- Generator
- generators/c6a422753abe/generator.py
- Notes and decisions
- generators/c6a422753abe/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 4448724c356a36fd8fd45efbc265cda5bbcfce5b360c8494b2b31101d29b5e53
- Rule hash
- 1781c378782f
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate c6a422753abe --count 1 --seed 20261108 --test 1