← 66a121e0d7e4 · 671a9af906aa →
66e63986855b
Clear a one-color row-front outline, then fill each interior occupied row from its frontier through the point mirrored across the outline's global rightmost column.
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* ((cells (filter (lambda (p) (!= (at g (fst p) (snd p)) 0))
(grid-positions g)))
(color (at g (fst (fst cells)) (snd (fst cells))))
(r0 (min-of fst cells))
(r1 (max-of fst cells))
(maxc (max-of snd cells)))
(reduce (lambda (acc r)
(let ((rowcells (filter (lambda (p) (= (fst p) r)) cells)))
(if (or (empty? rowcells) (= r r0) (= r r1))
acc
(let* ((rc (max-of snd rowcells))
(end (- (* 2 maxc) rc)))
(reduce (lambda (a c)
(if (in-bounds? r c h w)
(set-cell a r c color)
a))
acc
(range (+ rc 1) (+ end 1)))))))
(cellmap g (r c v) 0)
(range 0 h))))))Provenance
- Generator
- generators/66e63986855b/generator.py
- Notes and decisions
- generators/66e63986855b/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 8f78ef0944e40e80f9b86e9d5fdb2c9515fd05240e400d097e9993c5af79bc2f
- Rule hash
- e9ecd02cbe2e
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 66e63986855b --count 1 --seed 20261108 --test 1