← 4e79c276ce9d · 4ecf2a93671f →
4ebdc8d865ce
Recolor each isolated 2 to 1 and preserve every 2 having at least one orthogonal 2-neighbor.
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)))
(map-grid g
(lambda (r c v)
(if (!= v 2)
v
(if (or
(and (> r 0) (= 2 (at g (- r 1) c)))
(and (< r (- h 1)) (= 2 (at g (+ r 1) c)))
(and (> c 0) (= 2 (at g r (- c 1))))
(and (< c (- w 1)) (= 2 (at g r (+ c 1)))))
2
1)))))))Provenance
- Generator
- generators/4ebdc8d865ce/generator.py
- Notes and decisions
- generators/4ebdc8d865ce/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 943bbd19be3918848e6377245c7f264068812dc9331f0e19a97658d189927797
- Rule hash
- 6c1ad8a5edc2
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 4ebdc8d865ce --count 1 --seed 20261108 --test 1