← 9aed2df94248 · 9b2cd53e36fb →
9af68e46cf69
On a color-9 background, several disconnected color-1 objects are shown. An object changes to color 8 iff a complete background-9 region is wholly strictly inside that object's bounding box; no-hole objects stay color 1. Generated lessons include irregular hole-bearing objects and open-bbox decoys, not only rectangular frames.
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* ((bg 9)
(new-color 8)
(regions (find-0-regions g bg))
(objs (objects g bg)))
(paint-objects-by g
objs
(lambda (obj)
(with-bbox obj
(r1 c1 r2 c2)
(let* ((has-hole? (for/or ((region regions))
(for/and ((p region))
(let ((r (fst p))
(c (snd p)))
(and
(> r
r1)
(< r
r2)
(> c
c1)
(< c
c2)))))))
(and has-hole? new-color)))))))))Provenance
- Generator
- generators/9af68e46cf69/generator.py
- Notes and decisions
- generators/9af68e46cf69/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 2eb732c96e68ad6de3d40e0af4bf307fcc8f94d0d0774b818adf361814a213a8
- Rule hash
- 7fd2884c3200
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 9af68e46cf69 --count 1 --seed 20261108 --test 1