← 337ce626a05f · 33c7c507a8ef →

33c1de6c4310

A full color-9 column separates equal left and right panels. The left panel contains one to four nonzero mask components; the right panel is a nonzero multicolor source. Copy each right-panel value through positions where the left panel is nonzero, and output 0 elsewhere.

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 (split-full-sep-cols grid sep) (let* ((seps (filter (lambda (c) (all? (lambda (r) (= (at grid r c) sep)) (range (rows grid)))) (range (cols grid))))) (let loop ((cuts (append seps (list (cols grid)))) (start 0) (acc (list))) (if (empty? cuts) (reverse acc) (let ((c (first cuts))) (loop (rest cuts) (+ c 1) (cons (subgrid grid 0 start (- (rows grid) 1) (- c 1)) acc))))))) (let* ((panels (split-full-sep-cols g 9)) (left (first panels)) (right (second panels))) (grid-from-fn (rows left) (cols left) (lambda (r c) (if (= (at left r c) 0) 0 (at right r c)))))))

Provenance

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