← 6b6fc5374976 · 6bbf6747b137 →
6b88648ff0e0
Extract each two-row strip between paired 2x2 cyan markers and stack the strips in marker-row order, discarding the surrounding nine-color noise field.
parametric family
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)))
(let* ((blocks (for*/list ((r (range 0 (- h 1))) (c (range 0 (- w 1)))
#:when
(and
(= (at g r c) 8)
(= (at g r (+ c 1)) 8)
(= (at g (+ r 1) c) 8)
(= (at g (+ r 1) (+ c 1)) 8)))
(list r c)))
(row-groups (let ((h (make-hash)))
(for-each (lambda (b)
(let ((r (first b))
(c (second b)))
(hash-set! h
r
(cons c (hash-ref h r (list))))))
blocks)
h))
(sorted-rows (sort (hash-keys row-groups) <))
(strips (map (lambda (top-row)
(let* ((cs (hash-ref row-groups top-row))
(left-c (min-list cs))
(right-c (max-list cs))
(int-c1 (+ left-c 2))
(int-c2 (- right-c 1))
(strip (for/list ((r (list top-row (+ top-row 1))))
(for/list ((c (range int-c1 (+ int-c2 1))))
(at g r c)))))
strip))
sorted-rows))
(all-rows (apply append strips))
(out-h (length all-rows))
(out-w (length (first all-rows))))
(build-grid out-h out-w (r c) (list-ref (list-ref all-rows r) c))))))Provenance
- Generator
- generators/6b88648ff0e0/generator.py
- Notes and decisions
- generators/6b88648ff0e0/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 5cdda6dcf8350671973e7b39309b6f5f04f69bad4cf990c53fb8c5904e9a0a94
- Rule hash
- 7bc08a76718f
- Sources
- augmented, training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 6b88648ff0e0 --count 1 --seed 20261108 --test 1