← 77181d1aa16c · 7768dfc99e25 →

774e0d59a5ff

An odd-height grid contains a sparse colored motif above a full color-5 divider and an empty panel below. Reflect every nonzero motif cell vertically across the divider, preserving its column and color.

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

Provenance

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