← 04e2ffe8dc8e · 053118990e92 →

04ec2218e2d8

Build a 23x23 black scene with two or three separated cyan components whose bounding boxes follow the demonstrated size grammar. Components cycle among solid rectangles, one-hole rectangles, and one-notch rectangles. Repaint only cyan cells: inset center yellow; outer top-left magenta, top-right blue, bottom-left red, and bottom-right green.

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!
 ;; Every cyan(8) object is repainted by REGION within its own bbox: an
 ;; interior belt (inset t = max(2, min(h,w)/4)) turns 4; the remaining ring
 ;; splits by bbox quadrant — top-left 6, top-right 1, bottom-left 2,
 ;; bottom-right 3.
 (lambda (g)
   (let ()
     (define (paint-object out obj)
       (let* ((r1 (obj-r1 obj))
              (c1 (obj-c1 obj))
              (hh (obj-h obj))
              (ww (obj-w obj))
              (t (max 2 (quotient (min hh ww) 4))))
         (for/fold ((acc out)) ((p (obj-cells obj)))
           (let* ((rr (- (first p) r1))
                  (cc (- (second p) c1))
                  (color (cond ((and (>= rr t) (< rr (- hh t))
                                     (>= cc t) (< cc (- ww t))) 4)
                               ((and (< (* 2 rr) hh) (< (* 2 cc) ww)) 6)
                               ((< (* 2 rr) hh) 1)
                               ((< (* 2 cc) ww) 2)
                               (else 3))))
             (set-cell acc (first p) (second p) color)))))
     (for/fold ((out g)) ((obj (filter (lambda (o) (= (obj-color o) 8))
                                       (objects g 0))))
       (paint-object out obj)))))

Provenance

Generator
generators/04ec2218e2d8/generator.py
Notes and decisions
generators/04ec2218e2d8/notes.md
Review label
reviewed_safe
Generator SHA-256
705979abafe1f0f810601ed2e37f98b635b7a7c873b2fb8105790711847b52f5
Rule hash
6d0c8228b329
Sources
augmented, training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 04ec2218e2d8 --count 1 --seed 20261108 --test 1