← e4c4a1290088 · e51349aef7b1 →

e4cb0224ca42

Place one to three separated, distinctly colored, solid odd-by-odd rectangles on a zero background. Replace every rectangle by the union of its geometric middle row and middle column on a fresh zero canvas.

bbox_center_crosssolid_rectangle_detect

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!
  (for/fold ([out (empty-grid (rows g) (cols g) 0)])
            ([obj (in-list (filter filled? (objects g 0)))])
    (if (and (= (modulo (- (obj-r2 obj) (obj-r1 obj)) 2) 0)
             (= (modulo (- (obj-c2 obj) (obj-c1 obj)) 2) 0))
        (let ((rm (quotient (+ (obj-r1 obj) (obj-r2 obj)) 2))
              (cm (quotient (+ (obj-c1 obj) (obj-c2 obj)) 2)))
          (paint-cells
           (paint-cells out
                        (for/list ([c (in-range (obj-c1 obj) (+ (obj-c2 obj) 1))]) (list rm c))
                        (obj-color obj))
           (for/list ([r (in-range (obj-r1 obj) (+ (obj-r2 obj) 1))]) (list r cm))
           (obj-color obj)))
        out)))

Provenance

Generator
generators/e4cb0224ca42/generator.py
Notes and decisions
generators/e4cb0224ca42/notes.md
Review label
reviewed_safe
Generator SHA-256
1c86e2a97f9f050cc7fb89a2f210a6d961d4466a982afe70cd6c7773020d6b9b
Rule hash
7798fb9f1ac0
Sources
bank:f4425e302da7
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate e4cb0224ca42 --count 1 --seed 20261108 --test 1