← e5d9efdf472c · e5ead55c33e7 →

e5dc3d423bd9

0-background grid with 1-3 distinct-color odd-by-odd hollow rectangular frames and one distinct-color hollow even-dimension decoy, all separated by at least one background cell. Rule: add one same-color cell at the exact bbox center of each frame whose height and width are both odd; leave the even-dimension decoy unchanged.

frame_center_fillframe_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!
  (let ((dummy 0))
    (define (frame? obj)
      (let* ((h (obj-h obj))
             (w (obj-w obj))
             (perim (+ (* 2 w) (* 2 (- h 2)))))
        (and (>= h 3) (>= w 3)
             (= (obj-size obj) perim)
             (all? (lambda (p)
                     (or (= (first p) (obj-r1 obj)) (= (first p) (obj-r2 obj))
                         (= (second p) (obj-c1 obj)) (= (second p) (obj-c2 obj))))
                   (obj-cells obj)))))
    (for/fold ([out g]) ([obj (in-list (filter frame? (objects g 0)))])
      (if (and (= (modulo (- (obj-r2 obj) (obj-r1 obj)) 2) 0)
               (= (modulo (- (obj-c2 obj) (obj-c1 obj)) 2) 0))
          (set-cell out
                    (quotient (+ (obj-r1 obj) (obj-r2 obj)) 2)
                    (quotient (+ (obj-c1 obj) (obj-c2 obj)) 2)
                    (obj-color obj))
          out))))

Provenance

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