← bbbabb45042b · bc0816632908 →

bbbec840ce41

Preserve colored source cells and copy each color across the anti-diagonal (r,c) -> (n-1-c,n-1-r).

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!
  (let ((n (rows g)))
    (for/fold ([out g]) ([cell (in-list (grid-cells g))])
      (let ((r (first cell)) (c (second cell)) (v (third cell)))
        (if (not (= v 0))
            (set-cell out (- n 1 c) (- n 1 r) v)
            out)))))

Provenance

Generator
generators/bbbec840ce41/generator.py
Notes and decisions
generators/bbbec840ce41/notes.md
Review label
reviewed_safe
Generator SHA-256
33ec3a6cd523fc37a16a282f83ca44f7c26d7f081cf5bf561f1394e63405ac72
Rule hash
655e255b5949
Sources
bank:4e772fa039b8
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate bbbec840ce41 --count 1 --seed 20261108 --test 1