← 22d1f016cb3d · 2314acbb67be →

22e428cda452

An orange canvas contains colored markers only at a nonempty subset of its four corners. Top markers project to inward 2x2 blocks; bottom markers project to inward three-cell bent diagonals, and all markers are erased. Three-phase lessons teach both side-dependent branches.

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! (lambda (g)
         (let* ((h (rows g))
                (w (cols g)))
           (let* ((cells (filter (lambda (p) p)
                                 (for*/list ((r (range 0 h)) (c (range 0 w)))
                                   (and (!= (at g r c) 7) (list r c (at g r c))))))
                  (base (recolor-cells g cells 7)))
             (reduce (lambda (acc cell)
                       (let* ((cr (first cell))
                              (cc (second cell))
                              (cv (third cell))
                              (top (zero? cr))
                              (left (zero? cc))
                              (dr (if top 1 -1))
                              (dc (if left 1 -1))
                              (new-cells (if top
                                             (list (list (+ cr dr) (+ cc dc))
                                                   (list (+ cr dr) (+ cc (* 2 dc)))
                                                   (list (+ cr (* 2 dr)) (+ cc dc))
                                                   (list (+ cr (* 2 dr))
                                                         (+ cc (* 2 dc))))
                                             (list (list (+ cr (* 3 dr))
                                                         (+ cc (* 2 dc)))
                                                   (list (+ cr (* 2 dr))
                                                         (+ cc (* 2 dc)))
                                                   (list (+ cr dr) (+ cc (* 3 dc)))))))
                         (recolor-cells acc new-cells cv)))
                     base
                     cells)))))

Provenance

Generator
generators/22e428cda452/generator.py
Notes and decisions
generators/22e428cda452/notes.md
Review label
reviewed_safe
Generator SHA-256
b4655068a725dddba8295203ddfc360f896393209ba21c47b62d9010609ffd5a
Rule hash
2e6c42d70b0f
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 22e428cda452 --count 1 --seed 20261108 --test 1