← 9af68e46cf69 · 9b37d4bbfb7e →
9b2cd53e36fb
Grid (h 6..18, w 8..14) textured with a random 5/7 mix, carrying 1..8 rectangular zero holes (along-edge span 1..6, perpendicular depth 1..6), each touching exactly one edge and placed clear of corners (margin >=1). Rule: every edge-touching zero component is mirrored to the opposite edge (row-flip for top/bottom holes, col-flip for left/right holes), then the hole's full column band (top/bottom) or row band (left/right) is painted 7; mirrored zeros take precedence over the sweep. Floating holes are not mirrored but may be consumed by other sweeps.
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* ((transformed (cellmap g (r c v) (if (zero? v) 1 0)))
(holes-objs (objects transformed 0))
(holes (map obj-cells holes-objs))
(new-hole-set (make-hash))
(path-set (make-hash))
(_process (for ((hole holes))
(unless
(null? hole)
(let* ((rs (map first hole))
(cs (map second hole))
(r1 (min-list rs))
(r2 (max-list rs))
(c1 (min-list cs))
(c2 (max-list cs))
(touches-top (zero? r1))
(touches-bot (= r2 (- h 1)))
(touches-left (zero? c1))
(touches-right (= c2 (- w 1)))
(mirror (cond
((or touches-top touches-bot) 'rows)
((or touches-left touches-right) 'cols)
(else 'none))))
(unless
(eq? mirror 'none)
(for ((cell hole))
(let* ((cr (first cell))
(cc (second cell))
(nr (if (eq? mirror 'rows) (- h 1 cr) cr))
(nc (if (eq? mirror 'rows) cc (- w 1 cc))))
(hash-set! new-hole-set (list nr nc) #t)))
(cond
((eq? mirror 'rows) (for* ((rr (range 0 h)) (cc cs))
(hash-set! path-set (list rr cc) #t)))
(else (for* ((rr rs) (cc (range 0 w)))
(hash-set! path-set (list rr cc) #t))))))))))
(cellmap g
(r c v)
(cond
((hash-has-key? new-hole-set (list r c)) 0)
((hash-has-key? path-set (list r c)) 7)
(else v)))))))Provenance
- Generator
- generators/9b2cd53e36fb/generator.py
- Notes and decisions
- generators/9b2cd53e36fb/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 3e0191b04ca7e9426dda8e183dee21ce42f46ce4add9cf8682554e04af6fd80d
- Rule hash
- 7f60c228b0fa
- Sources
- augmented, training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 9b2cd53e36fb --count 1 --seed 20261108 --test 1