← 924a6f0f0549 · 928c39acebe3 →

926c6bd137d3

A 10-18 by 10-18 zero-background grid contains one to four separated hollow yellow (4) rectangular frames, each 4-6 cells tall and wide. Every frame interior contains exactly one marker whose color is neither 0 nor 4. One to four non-yellow distractor cells also lie outside all frame boxes. For each frame independently, fill only its zero-valued interior cells with that frame's marker color; preserve marker cells, yellow borders, and every exterior cell.

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 frames (filter (lambda (obj) (= (obj-color obj) 4)) (objects g 0)))
    (define (inside-interior? obj p)
      (and (> (fst p) (obj-r1 obj)) (< (fst p) (obj-r2 obj))
           (> (snd p) (obj-c1 obj)) (< (snd p) (obj-c2 obj))))
    (define (frame-fill-cells obj)
      (let* ((inside (filter (lambda (p) (inside-interior? obj p)) (grid-positions g)))
             (marker (first (filter (lambda (p) (not (= (cell-at g (fst p) (snd p)) 0))) inside)))
             (color (cell-at g (fst marker) (snd marker))))
        (map (lambda (p) (list (fst p) (snd p) color))
             (filter (lambda (p) (= (cell-at g (fst p) (snd p)) 0)) inside))))
    (paint-cells g (flatmap frame-fill-cells frames))))

Provenance

Generator
generators/926c6bd137d3/generator.py
Notes and decisions
generators/926c6bd137d3/notes.md
Review label
reviewed_safe
Generator SHA-256
1dc709d667f4d97a119fc4bc94656c95f07438f37a0e6da6fb0abb6169a6cb57
Rule hash
575c55ee70e4
Sources
bank:0d41ded5f4cd
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 926c6bd137d3 --count 1 --seed 20261108 --test 1