← e3a2ff6ea587 · e3c21120e3d1 →

e3be2a9d8ce2

An 8..22 by 8..22 zero-background grid contains 1..8 isolated interior colored pixels. For each pixel at (r,c), the output keeps the pixel and draws one vertical arm to its nearer top/bottom edge plus one horizontal arm to its nearer left/right edge. Exact center ties on odd dimensions resolve toward bottom and right, matching the canonical strict-less-than rule. Generated complete L-ray footprints are pairwise disjoint, so each lesson has a unique answer without relying on unshown overlap precedence.

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* ((pixels (for*/list ((r (range 0 h)) (c (range 0 w)) #:when (!= (at g r c) 0))
                            (list r c (at g r c)))))
             (cellmap g
                      (r c v)
                      (let loop
                           ((ps pixels))
                           (cond
                             ((null? ps) 0)
                             (else (let* ((p (car ps))
                                          (pr (first p))
                                          (pc (second p))
                                          (col (third p))
                                          (go-up (< (* 2 pr) (- h 1)))
                                          (go-left (< (* 2 pc) (- w 1)))
                                          (on-v (and
                                                  (= c pc)
                                                  (if go-up
                                                      (and (>= r 0) (<= r pr))
                                                      (and (>= r pr) (<= r (- h 1))))))
                                          (on-h (and
                                                  (= r pr)
                                                  (if go-left
                                                      (and (>= c 0) (<= c pc))
                                                      (and (>= c pc) (<= c (- w 1)))))))
                                     (if (or on-v on-h) col (loop (cdr ps))))))))))))

Provenance

Generator
generators/e3be2a9d8ce2/generator.py
Notes and decisions
generators/e3be2a9d8ce2/notes.md
Review label
reviewed_safe
Generator SHA-256
ef670abf4cb698782bf304b172a771ce2103487f52c966897e01e5067aea2392
Rule hash
116a1aaf2218
Sources
augmented, training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate e3be2a9d8ce2 --count 1 --seed 20261108 --test 1