← 0c5e8548d3be · 0d15074a8931 →

0d0f5035a157

Compact each row independently: delete zeros, preserve the nonzero values' left-to-right order, write them from the left edge, and zero-fill the suffix. Generated lessons mix already-packed rows with rows containing leading or internal gaps, and regularly include a moved row with at least five values.

order preservationrow-wise 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!
  (grid-from-fn (rows g) (cols g)
    (lambda (r c)
      (let ([vals (filter (lambda (v) (!= v 0)) (row g r))])
        (if (< c (length vals)) (list-ref vals c) 0)))))

Provenance

Generator
generators/0d0f5035a157/generator.py
Notes and decisions
generators/0d0f5035a157/notes.md
Review label
reviewed_safe
Generator SHA-256
d62c497f5d9bd691389552dd6d5313d0bbab513f63fd19ce975a146cdd93f6de
Rule hash
8b15a51d568d
Sources
bank:5deb8ef303b3
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 0d0f5035a157 --count 1 --seed 20261108 --test 1