← f44596002946 · f47990415137 →

f4725b891d89

A hollow color-5 frame contains a sparse top header and left header. Every interior crossing whose two header colors match is filled with that shared color; nonmatching crossings remain background.

color matchingcross-product reasoningframe parsing

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)) (let* ((row-entries (filter values (for/list ((r (in-range 2 (- (rows g) 1)))) (let ((v (at g r 1))) (if (member? v (list 0 5)) #f (list r v)))))) (col-entries (filter values (for/list ((c (in-range 2 (- (cols g) 1)))) (let ((v (at g 1 c))) (if (member? v (list 0 5)) #f (list c v))))))) (for*/fold ((out g)) ((rv (in-list row-entries)) (cv (in-list col-entries))) (if (= (second rv) (second cv)) (set-cell out (first rv) (first cv) (second rv)) out)))))

Provenance

Generator
generators/f4725b891d89/generator.py
Notes and decisions
generators/f4725b891d89/notes.md
Review label
reviewed_safe
Generator SHA-256
4528e73c1b0e4538083d65d9981e3f212c1967a8af71217747d2cb9393eaf40c
Rule hash
d0cb884b1dae
Sources
bank:d82cc3a28c3b
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate f4725b891d89 --count 1 --seed 20261108 --test 1