← 07eaf5f238ad · 083ba0fc4534 →
0832c700ffb9
Two-colour rectangle-corner dots expand into clipped 3x3 blocks; each ring copies the dot's same-row partner and colour-5 guides join aligned dots. A three-profile schedule teaches partner colour, multiple rectangles, and border clipping while preserving canonical shapes and integer outputs.
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* ((dots (for*/list ((r (range 0 h)) (c (range 0 w)) #:when (!= (at g r c) 0))
(list r c (at g r c))))
(result (make-hash)))
(for* ((r (range 0 h)) (c (range 0 w))) (hash-set! result (list r c) 0))
(for ((dot dots))
(let* ((dr (first dot))
(dc (second dot))
(color (third dot))
(other-color (for/first ((d dots) #:when
(and
(= (first d) dr)
(!= (second d) dc)))
(third d))))
(for* ((ddr (range -1 2)) (ddc (range -1 2)))
(let ((nr (+ dr ddr))
(nc (+ dc ddc)))
(when
(and (>= nr 0) (< nr h) (>= nc 0) (< nc w))
(hash-set! result
(list nr nc)
(if (and (zero? ddr) (zero? ddc))
color
other-color)))))))
(for ((d1 dots))
(for ((d2 dots))
(when
(and (= (first d1) (first d2)) (< (second d1) (second d2)))
(let* ((dr (first d1))
(lc (second d1))
(rc (second d2))
(mid (/ (+ 0.0 lc rc) 2.0)))
(let loop
((c (+ lc 2)))
(when
(<= (+ c 0.0) mid)
(hash-set! result (list dr c) 5)
(loop (+ c 2))))
(let loop
((c (- rc 2)))
(when
(>= (+ c 0.0) mid)
(hash-set! result (list dr c) 5)
(loop (- c 2))))))))
(for ((d1 dots))
(for ((d2 dots))
(when
(and (= (second d1) (second d2)) (< (first d1) (first d2)))
(let* ((dc (second d1))
(tr (first d1))
(br (first d2))
(mid (/ (+ 0.0 tr br) 2.0)))
(let loop
((r (+ tr 2)))
(when
(<= (+ r 0.0) mid)
(hash-set! result (list r dc) 5)
(loop (+ r 2))))
(let loop
((r (- br 2)))
(when
(>= (+ r 0.0) mid)
(hash-set! result (list r dc) 5)
(loop (- r 2))))))))
(cellmap g (r c v) (hash-ref result (list r c) 0))))))Provenance
- Generator
- generators/0832c700ffb9/generator.py
- Notes and decisions
- generators/0832c700ffb9/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- a7f97e5f113536579cbcc2cf6245c7ea325d34b387ca2707435070208cf2758f
- Rule hash
- 781d2d53fe4d
- Sources
- augmented, training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 0832c700ffb9 --count 1 --seed 20261108 --test 1