← ba0c6a5828f9 · ba29d14676d1 →

ba1bd4c08c37

Place one horizontally and vertically symmetric colored shape on background 0. Its even bounding box is 6..10 rows by 6..10 columns; the selected rule returns the top-left quadrant, preserving its colors and internal zeros.

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* ((nz (for*/list ((r (range 0 h)) (c (range 0 w)) #:when (!= (at g r c) 0))
                        (list r c)))
                  (rs (map first nz))
                  (cs (map second nz))
                  (r1 (min-list rs))
                  (c1 (min-list cs))
                  (r2 (max-list rs))
                  (c2 (max-list cs))
                  (bh (+ 1 (- r2 r1)))
                  (bw (+ 1 (- c2 c1)))
                  (half-h (quotient bh 2))
                  (half-w (quotient bw 2)))
             (build-grid half-h half-w (i j) (at g (+ r1 i) (+ c1 j)))))))

Provenance

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