← 2a41d6b25262 · 2a5919c40197 →

2a43e4f3a796

Compact each column's nonzero cells to the bottom, retaining multiplicity and top-to-bottom order. Zero is background even when another color is more frequent; gray 5 moves like every other nonzero color.

parametric familycolumnwise gravitysame-size transformstable order preservation

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)) (grid-from-fn (rows g) (cols g) (lambda (r c) (let* ((vals (filter (lambda (rr) (not (= (at g rr c) 0))) (range (rows g)))) (start (- (rows g) (length vals)))) (if (< r start) 0 (at g (list-ref vals (- r start)) c)))))))

Provenance

Generator
generators/2a43e4f3a796/generator.py
Notes and decisions
generators/2a43e4f3a796/notes.md
Review label
reviewed_safe
Generator SHA-256
6c977b7266d34103024a3670a6f7d2254c6e8e0b7b2060b0af1fe96f51496cc9
Rule hash
7b698fc27b90
Sources
bank:580a8993495c
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 2a43e4f3a796 --count 1 --seed 20261108 --test 1