← 91ba253f9945 · 91c488d9ffdc →
91ba301501c5
Horizontal gray line; blue extends away and red extends toward it.
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* ((hh (rows g))
(ww (cols g))
(gray-row (let loop
((r 0))
(if (for/and ((c (range 0 ww))) (= (at g r c) 5))
r
(loop (+ r 1)))))
(result (make-hash)))
(for* ((r (range 0 hh)) (c (range 0 ww)))
(hash-set! result (list r c) (at g r c)))
(for* ((r (range 0 hh)) (c (range 0 ww)))
(let ((v (at g r c)))
(when
(or (= v 1) (= v 2))
(let* ((above (< r gray-row))
(dir (cond
((and (= v 1) above) -1)
((and (= v 1) (not above)) 1)
((and (= v 2) above) 1)
(else -1))))
(let loop
((rr (+ r dir)))
(when
(and (>= rr 0) (< rr hh) (zero? (at g rr c)))
(hash-set! result (list rr c) v)
(loop (+ rr dir))))))))
(build-grid hh ww (r c) (hash-ref result (list r c) 0))))))Provenance
- Generator
- generators/91ba301501c5/generator.py
- Notes and decisions
- generators/91ba301501c5/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- e40bb84f5b027b6406e27122aa3a3f18828f5c9fc705c2fbbd632aabdfede4dd
- Rule hash
- c850a30c9e63
- Sources
- augmented, training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 91ba301501c5 --count 1 --seed 20261108 --test 1