← 2b83f40cf6d9 · 2c1567aea733 →

2bb81826c18d

Generate 1..4 separated solid rectangles, each at least 3x3 and with a distinct nonzero color. Dimensions, object count, palette family, size profile, and boundary contact are explicit controls. The canonical Racket rule keeps every rectangle border and checker-erases its interior in rectangle-relative coordinates. Default four-pair lessons alternate informative thin-rectangle scenes with broad and canonical-profile scenes.

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)))
           (cellmap g
                    (r c v)
                    (let ((v v))
                      (if (zero? v)
                          0
                          (let* ((on-border (or
                                              (or (zero? r) (!= (at g (- r 1) c) v))
                                              (or (= r (- h 1)) (!= (at g (+ r 1) c) v))
                                              (or (zero? c) (!= (at g r (- c 1)) v))
                                              (or (= c (- w 1)) (!= (at g r (+ c 1)) v)))))
                            (if on-border
                                v
                                (let* ((dr (let loop
                                                ((d 1))
                                                (if (and
                                                      (>= (- r d) 0)
                                                      (= (at g (- r d) c) v))
                                                    (loop (+ d 1))
                                                    d)))
                                       (dc (let loop
                                                ((d 1))
                                                (if (and
                                                      (>= (- c d) 0)
                                                      (= (at g r (- c d)) v))
                                                    (loop (+ d 1))
                                                    d)))
                                       (ir (- dr 1))
                                       (ic (- dc 1)))
                                  (if (zero? (remainder (+ ir ic) 2)) 0 v))))))))))

Provenance

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