← 34abaec056ef · 35368341e72e →

34f8510e39d0

On a background-0 grid, find every solid green (3) axis-aligned rectangle. Recolor exactly its bounding-box perimeter cyan (8), leave strict green interior cells green, and preserve all non-green distractor objects.

parametric family

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!
  (reduce (lambda (out obj)
    (if (not (= (obj-color obj) 3)) out
      ;; Bounding box (r1 c1 r2 c2) of obj
      (let* ((bb (obj-bbox obj))
             ;; Top edge (row r1)
             (r0 (first bb))
             ;; Left edge (col c1)
             (c0 (second bb))
             ;; Bottom edge (row r2)
             (r1 (third bb))
             ;; Right edge (col c2)
             (c1 (fourth bb)))
        (reduce (lambda (acc r)
          (reduce (lambda (acc2 c)
            (if (and (= (cell-at g r c) 3)
                     (or (= r r0) (= r r1) (= c c0) (= c c1)))
              (set-cell acc2 r c 8)
              acc2))
            acc (range c0 (+ c1 1))))
          out (range r0 (+ r1 1))))))
    g (objects g 0)))

Provenance

Generator
generators/34f8510e39d0/generator.py
Notes and decisions
generators/34f8510e39d0/notes.md
Review label
reviewed_safe
Generator SHA-256
62d147a5665e372573eb439a63045987b9c016939383e0a6310c542956a6131b
Rule hash
f97715331ac1
Sources
bank:343f662c728a
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 34f8510e39d0 --count 1 --seed 20261108 --test 1