← 1a4459f1a38f · 1a5d49e539de →

1a58c96bb078

Use row 0 as a column legend. Replace each body colour-8 cell with its column's non-zero header colour; leave colour-8 cells below empty headers and all other cells unchanged.

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!
 ;; Every cyan(8) takes its COLUMN header color (row 0; empty headers leave
 ;; the 8 unchanged).
 (grid-from-fn h w (lambda (r c)
   (let ((key (at g 0 c)) (v (at g r c)))
     (if (and (> r 0) (= v 8) (!= key 0)) key v)))))

Provenance

Generator
generators/1a58c96bb078/generator.py
Notes and decisions
generators/1a58c96bb078/notes.md
Review label
reviewed_safe
Generator SHA-256
19aefdb0d934a8981c522178e747668a9a66832cf927c62f0c5c18620a70c075
Rule hash
341c4a414d7c
Sources
bank:b5b9f7c948f0
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 1a58c96bb078 --count 1 --seed 20261108 --test 1