← 0a855288946a · 0a9e3d364bb3 →

0a9926d504f3

Sparse extrema markers define a colored rectangular frame around a color-2 center; a color-5 cross is drawn through the center and every non-extreme marker is erased. Scheduled shared-corner, center-on-edge, and ignored-extra-marker examples refute the canonical-fitting shortcuts.

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! (lambda (g)
         (let* ((pixels (filter (lambda (p) (!= 0 (at g (fst p) (snd p))))
                                (grid-positions g)))
                (center-p (first (find-color g 2)))
                (cr (fst center-p))
                (cc (snd center-p))
                (others (filter (lambda (p) (!= 2 (at g (fst p) (snd p)))) pixels))
                (min-r-marker (pick-min others fst))
                (max-r-marker (pick-max others fst))
                (min-c-marker (pick-min others snd))
                (max-c-marker (pick-max others snd))
                (top-r (fst min-r-marker))
                (top-color (at g top-r (snd min-r-marker)))
                (bot-r (fst max-r-marker))
                (bot-color (at g bot-r (snd max-r-marker)))
                (lft-c (snd min-c-marker))
                (lft-color (at g (fst min-c-marker) lft-c))
                (rgt-c (snd max-c-marker))
                (rgt-color (at g (fst max-c-marker) rgt-c)))
           (cellmap g
                    (r c v)
                    (cond
                      ((and (= r top-r) (>= c lft-c) (<= c rgt-c)) top-color)
                      ((and (= r bot-r) (>= c lft-c) (<= c rgt-c)) bot-color)
                      ((and (= c lft-c) (>= r top-r) (<= r bot-r)) lft-color)
                      ((and (= c rgt-c) (>= r top-r) (<= r bot-r)) rgt-color)
                      ((and (= r cr) (= c cc)) 2)
                      ((and (= r cr) (> c lft-c) (< c rgt-c)) 5)
                      ((and (= c cc) (> r top-r) (< r bot-r)) 5)
                      (else 0))))))

Provenance

Generator
generators/0a9926d504f3/generator.py
Notes and decisions
generators/0a9926d504f3/notes.md
Review label
reviewed_safe
Generator SHA-256
384af5e273f157a3e809dd070b5f985f46753df5c7657e2ce9fbfd7a0c5ab82e
Rule hash
b54594bcf310
Sources
augmented, training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 0a9926d504f3 --count 1 --seed 20261108 --test 1