← 531e65dffc0a · 537b409b6744 →
536de2f7591b
Slide each contiguous color-3 row block left until immediately after the nearest color-8 cell originally to its left, or column zero. Preserve block length. Other rows and all 8s stay fixed. Optional nonmarker distractors are placed outside both initial and final block footprints and survive.
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! (lambda (g)
(let* ((h (rows g))
(w (cols g)))
(reduce (lambda (grid r)
(let* ((threes (filter (lambda (c) (= (at grid r c) 3))
(range 0 w))))
(if (null? threes)
grid
(let* ((gc1 (first threes))
(gc2 (nth threes (- (length threes) 1)))
(glen (+ 1 (- gc2 gc1)))
(stops (filter (lambda (nc) (= (at grid r nc) 8))
(reverse (range 0 gc1))))
(stop (and (> (length stops) 0) (+ (first stops) 1)))
(dest (if stop stop 0)))
(if (= dest gc1)
grid
(reduce (lambda (g2 i)
(let ((old-c (+ gc1 i))
(new-c (+ dest i)))
(set-cell (if (!= old-c new-c)
(set-cell g2 r old-c 0)
g2)
r
new-c
3)))
grid
(range 0 glen)))))))
g
(range 0 h)))))Provenance
- Generator
- generators/536de2f7591b/generator.py
- Notes and decisions
- generators/536de2f7591b/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- c0f5598cf011e36aa5302bc3fd897c8f3fdc8851e043ccb64d05c4f5065fcf06
- Rule hash
- 02c227b9b2a6
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 536de2f7591b --count 1 --seed 20261108 --test 1