← 537b409b6744 · 538503abef57 →

5384b0fbe9e8

Find the centered full-height color-5 divider. Preserve the input and copy every non-zero cell from the left panel to the equal-distance cell on the right, keeping its color.

panel parsingreflection across dividersame-size transform

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 (f14-full-cols grid color) (filter (lambda (c) (all? (lambda (r) (= (at grid r c) color)) (range (rows grid)))) (range (cols grid)))) (define (f14-full-col grid color) (let ((hits (f14-full-cols grid color))) (if (empty? hits) #f (first hits)))) (let ((divider (f14-full-col g 5))) (for*/fold ((out g)) ((r (in-range (rows g))) (c (in-range divider))) (let ((v (at g r c)) (mc (- (* 2 divider) c))) (if (and (not (= v 0)) (in-bounds? r mc (rows g) (cols g))) (set-cell out r mc v) out))))))

Provenance

Generator
generators/5384b0fbe9e8/generator.py
Notes and decisions
generators/5384b0fbe9e8/notes.md
Review label
reviewed_safe
Generator SHA-256
281139229aacc593a802d9b1b361316ee01d786a81d03f9097761ebe544d63a3
Rule hash
590349f64152
Sources
bank:d82cc3a28c3b
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 5384b0fbe9e8 --count 1 --seed 20261108 --test 1