← bc0816632908 · bc932ac8117a →

bc5e668b7668

A 5..9 by 5..9 color grid uses background 0 and all foreground colors 1..9. Every column contains one to three nonzero values. The rule packs each column's nonzero values upward into rows 0,1,... while preserving their original top-to-bottom order. A deterministic four-example teaching schedule includes dense canonical-scale scenes, a below-top singleton that must move, and an A-B-A column whose order must remain A-B-A.

column compressionsame-size transformstable ordering

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)) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((c (in-range (cols g)))) (let ((vals (filter (lambda (v) (not (= v 0))) (map (lambda (r) (at g r c)) (range (rows g)))))) (for/fold ((acc out)) ((v (in-list vals)) (r (in-naturals))) (set-cell acc r c v))))))

Provenance

Generator
generators/bc5e668b7668/generator.py
Notes and decisions
generators/bc5e668b7668/notes.md
Review label
reviewed_safe
Generator SHA-256
e1eccf31d384e706f3e98cb7fc7c67fbf3a4a43626db9938de7dfa26ce543455
Rule hash
bd83e3df4565
Sources
bank:9a1b04175c5a
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate bc5e668b7668 --count 1 --seed 20261108 --test 1