← cc4d8d3dc442 · cc8c719680e6 →

cc74d7392ecd

Every non-zero input cell is a colored seed. Preserve each seed and paint its up, down, left, and right neighbours with that seed's color; cells outside the grid are simply clipped and all other background stays 0. Generated lessons contain two or three separated, distinctly colored seeds. A four-profile schedule alternates interior canonical anchors with mixed boundary scenes, so every three demonstrations show a complete five-cell plus, a one-edge clip, and a two-edge corner clip.

parametric familylocal expansionsame-sizeseed-based transform

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).

Reference rule (Racket)

(rule!
  (let ((seeds (filter (lambda (cell) (not (= (third cell) 0))) (grid-cells g))))
    (define (covers? seed r c)
      (= (+ (abs (- r (first seed))) (abs (- c (second seed)))) 1))
    (define (same? seed r c)
      (and (= r (first seed)) (= c (second seed))))
    (grid-from-fn (rows g) (cols g)
      (lambda (r c)
        (let ((hit (find-first (lambda (seed) (or (same? seed r c) (covers? seed r c))) seeds)))
          (if hit (third hit) 0))))))

Provenance

Generator
generators/cc74d7392ecd/generator.py
Notes and decisions
generators/cc74d7392ecd/notes.md
Review label
reviewed_safe
Generator SHA-256
393cb44ebc2c9081288823ea3dd05a4bd3e76a6fed26dcc4462509cf0ccfec65
Rule hash
e685ca8a450d
Sources
bank:edd0efb19ea0
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate cc74d7392ecd --count 1 --seed 20261108 --test 1