← 1ea6c72cb7e3 · 1ecf6add3fe7 →
1ec277b81469
Independently in each row, collect the nonzero cells in left-to-right order and place that sequence flush against the right edge, leaving zeros on the left.
parametric familycompressionrow_logic
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) (not (= v 0))) (row-at g r)))
(start (- (cols g) (length vals))))
(if (< c start) 0 (list-ref vals (- c start)))))))Provenance
- Generator
- generators/1ec277b81469/generator.py
- Notes and decisions
- generators/1ec277b81469/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- f9fcbf62e33c445502f00e64722ecebb6286063da35c41c746e4eed854fef7b2
- Rule hash
- 6ab6552b1d13
- Sources
- bank:ca0e5b777526
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 1ec277b81469 --count 1 --seed 20261108 --test 1