← 7e826540d45d · 7eaf2d73ca39 →

7e9fd4cf84a9

A 0-background grid contains 1–6 separated green rectangles. Each green rectangle has exactly one strictly interior missing cell. One or more non-green distractor cells are outside every green bounding box. Fill every missing rectangle cell cyan (8) and preserve every other cell.

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
      (let* ((bb (obj-bbox obj))
             (r0 (first bb))
             (c0 (second bb))
             (r1 (third bb))
             (c1 (fourth bb)))
        (reduce (lambda (acc r)
          (reduce (lambda (acc2 c)
            (if (= (cell-at g r c) 0)
              (set-cell acc2 r c 8)
              acc2))
            acc (range c0 (+ c1 1))))
          out (range r0 (+ r1 1))))))
    g (objects g 0)))

Provenance

Generator
generators/7e9fd4cf84a9/generator.py
Notes and decisions
generators/7e9fd4cf84a9/notes.md
Review label
reviewed_safe
Generator SHA-256
d5c9cb413285c978298c9828a2c48c84e0799c5d26a3b6de11dc001f6a321bc5
Rule hash
806f1d42e5ab
Sources
bank:8edfaf6db623
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 7e9fd4cf84a9 --count 1 --seed 20261108 --test 1