← 5f94fa359992 · 5faf9d5e3e6d →
5f9a2df57599
Paint each zero region yellow when all four bounding-box sides are gray walls, with vertical side boundaries allowed and the column-zero vertical exception preserved.
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* ((zero-regions (objects g 5)))
(paint-objects-by g
zero-regions
(lambda (obj)
(with-bbox obj
(r1 c1 r2 c2)
(let* ((top-wall (and
(> r1 0)
(for/and ((c (range c1
(+ c2
1))))
(= (at g
(- r1 1)
c)
5))))
(bottom-wall (and
(< r2 (- h 1))
(for/and ((c (range c1
(+ c2
1))))
(= (at g
(+ r2
1)
c)
5))))
(left-wall (or
(zero? c1)
(for/and ((r (range r1
(+ r2
1))))
(= (at g
r
(- c1 1))
5))))
(right-wall (or
(= c2 (- w 1))
(for/and ((r (range r1
(+ r2
1))))
(= (at g
r
(+ c2
1))
5)))))
(and
(and
(zero? (obj-color obj))
top-wall
bottom-wall
left-wall
right-wall
(not (and
(zero? c1)
(zero? c2)
(> r2 r1))))
4)))))))))Provenance
- Generator
- generators/5f9a2df57599/generator.py
- Notes and decisions
- generators/5f9a2df57599/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- f641de5c1ef15a254272dce952d0951d29a2be87c6d88873638543dcac41a51e
- Rule hash
- 5b73d3931a5c
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 5f9a2df57599 --count 1 --seed 20261108 --test 1