← 6355eb114053 · 63784d19dd2d →

637229802e6f

A 4x4 grid contains exactly one red (2) marker, magenta (6) background, and 3-7 non-{2,6} decorations. Locate the red marker, identify its 2x2 quadrant, fill that quadrant red, and replace every other output cell with magenta. Decoration positions, colors, and multiplicities are irrelevant to the answer.

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!
 ;; alt: compute numeric half ids qr/qc, then compare each cell's half id.
 (lambda (g)
   (let* ((h (rows g))
          (w (cols g))
          (mid-r (/ h 2))
          (mid-c (/ w 2))
          (cells (for*/list ((r (range 0 h)) (c (range 0 w))) (cons r c)))
          (pos (find-first (lambda (p) (= 2 (at g (fst p) (snd p)))) cells))
          (target-top? (< (fst pos) mid-r))
          (target-left? (< (snd pos) mid-c)))
     (cellmap g (r c _)
       (if (and (eq? (< r mid-r) target-top?)
                (eq? (< c mid-c) target-left?))
           2
           6)))))

Provenance

Generator
generators/637229802e6f/generator.py
Notes and decisions
generators/637229802e6f/notes.md
Review label
reviewed_safe
Generator SHA-256
21ab150fecd7bb6f62ca9914f873a6efb87dfb7698e61711844070b36ae4f519
Rule hash
315e7341b297
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 637229802e6f --count 1 --seed 20261108 --test 1