← dfa9d0b2dd41 · dfc4967f816f →

dfc3ce537883

Mirror every colored cell left of one full-height color-9 divider to the equal-distance cell on the right, preserving each source color. Lawful inputs vary dimensions, source count, palette cardinality, connectedness, and centered/off-center divider placement.

parametric family

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 ((div (f14-full-col g 9))) (if (not div) g (for*/fold ((out g)) ((r (in-range (rows g))) (c (in-range div))) (let ((v (at g r c)) (mc (+ div (- div c)))) (if (and (not (member? v (list 0 9))) (in-bounds? r mc (rows g) (cols g))) (set-cell out r mc v) out)))))))

Provenance

Generator
generators/dfc3ce537883/generator.py
Notes and decisions
generators/dfc3ce537883/notes.md
Review label
reviewed_safe
Generator SHA-256
a92953fceef84dbeb161142b0a3d0e3de646cdc6da5839952e44f1c72ac64fde
Rule hash
6177794736be
Sources
bank:e14e4b5836bc
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate dfc3ce537883 --count 1 --seed 20261108 --test 1