← c83b29b14c16 · c86f5a19e34d →

c84e2a641055

Move one connected nonzero object straight down by a single shared offset until its lowest cell touches the bottom row; preserve shape and colors.

connected componentsgravity-like motionwhole-object translation

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)) (let ((cells (filter (lambda (p) (not (= (at g (first p) (second p)) 0))) (grid-positions g)))) (if (empty? cells) g (let ((shift (- (- (rows g) 1) (apply max (map first cells))))) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((p (in-list cells))) (set-cell out (+ (first p) shift) (second p) (at g (first p) (second p)))))))))

Provenance

Generator
generators/c84e2a641055/generator.py
Notes and decisions
generators/c84e2a641055/notes.md
Review label
reviewed_safe
Generator SHA-256
a373622249dcc16ae20d7db5770d19554ac62eef29ef49fc7c939b5791261207
Rule hash
b08466eb063e
Sources
bank:9f005a7005fe
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate c84e2a641055 --count 1 --seed 20261108 --test 1