← 69c39a5f416b · 69dbf44065e2 →

69cab6228fdc

Rows 0 and 1 contain aligned nonzero source->target legend pairs; row 2 is all-zero separation. Crop away those three rows. In the remaining canvas replace each legend source color by its paired target and preserve 0 plus any color absent from the legend.

parametric familycrop after decodelegend decodingpalette remapping

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 ((dummy 0)) (define (t10-alist-ref pairs key default) (let ((hits (filter (lambda (p) (= (first p) key)) pairs))) (if (empty? hits) default (second (first hits))))) (let ((pairs (filter (lambda (p) (and (not (= (first p) 0)) (not (= (second p) 0)))) (map list (row g 0) (row g 1))))) (grid-from-fn (- (rows g) 3) (cols g) (lambda (r c) (let ((v (at g (+ r 3) c))) (t10-alist-ref pairs v v)))))))

Provenance

Generator
generators/69cab6228fdc/generator.py
Notes and decisions
generators/69cab6228fdc/notes.md
Review label
reviewed_safe
Generator SHA-256
e321c1876f90a5efb13c60f8eb3c32f4f89d9d74121695b1ce6c3fe9f1c801a2
Rule hash
8fec6004f588
Sources
bank:580a8993495c
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 69cab6228fdc --count 1 --seed 20261108 --test 1