← 6b4b56166bfd · 6b694a414d96 →
6b5d8752c5c4
Find every nonzero 8-connected object, split its bounding box across the longer axis, and return only its color-9 cells shifted one cell outward from that split.
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)))
(begin
(define comps (objects-multicolor g 0))
(foldl (lambda (obj acc)
(let* ((r1 (obj-r1 obj))
(c1 (obj-c1 obj))
(r2 (obj-r2 obj))
(c2 (obj-c2 obj))
(oh (+ 1 (- r2 r1)))
(ow (+ 1 (- c2 c1)))
(split-horizontal (> oh ow))
(cut (quotient (if split-horizontal oh ow) 2)))
(foldl (lambda (p out)
(if (!= (at g (first p) (second p)) 9)
out
(let* ((lr (- (first p) r1))
(lc (- (second p) c1))
(dr (if split-horizontal
(if (< lr cut) -1 1)
0))
(dc (if split-horizontal
0
(if (< lc cut) -1 1)))
(nr (+ (first p) dr))
(nc (+ (second p) dc)))
(if (in-bounds? nr nc h w)
(set-cell out nr nc 9)
out))))
acc
(obj-cells obj))))
(empty-grid h w 0)
comps)))))Provenance
- Generator
- generators/6b5d8752c5c4/generator.py
- Notes and decisions
- generators/6b5d8752c5c4/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 30125db85bf7e59da32e0de609056bd3128625b156214501f1f96ce352b73db3
- Rule hash
- 1eb213be2892
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 6b5d8752c5c4 --count 1 --seed 20261108 --test 1