← 85d3a8e1aa7f · 85de426e8683 →
85dcd5c922b9
Within each row, preserve the left-to-right order of all nonzero cells and move that sequence flush to the row's right edge; rows are handled independently and zero remains background.
order_preservingpackingrowssame_size
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/85dcd5c922b9/generator.py
- Notes and decisions
- generators/85dcd5c922b9/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 1afaf423600b656fc0f77f254f34690928fc49ff589067c611692094f8a9c214
- Rule hash
- 6ab6552b1d13
- Sources
- bank:a54e1d9e1d4b
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 85dcd5c922b9 --count 1 --seed 20261108 --test 1