← ba988f8d25d5 · bab4d8f5ba7a →

ba9d8eb0cd5a

Compact each row's nonzero cells flush left while preserving their original left-to-right order.

parametric familyorder preservationrow compactionsame-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!
 ;; Pack every row's non-zeros flush LEFT, preserving order.
 (gravity g "left"))

Provenance

Generator
generators/ba9d8eb0cd5a/generator.py
Notes and decisions
generators/ba9d8eb0cd5a/notes.md
Review label
reviewed_safe
Generator SHA-256
2e8eff2841fb77f8c50326cb0f5b871f5f4f93dc290cc961248adeac8ca7cf94
Rule hash
8cd149b15ecf
Sources
bank:889fa9012eb1
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate ba9d8eb0cd5a --count 1 --seed 20261108 --test 1