← 2db1f7f0392d · 2dbcb80623f9 →
2db2974cdb04
One or two distinct-colored hollow objects appear on background 0. Objects vary in size, position, edge contact, mutual contact, and may be rectangular frames or frames with a two-cell outward stem. The output is otherwise zero: remove every object border and paint only each truly enclosed zero-region with that object's color.
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!
(let ((regions (find-0-regions g 0)))
(for/fold ([out (empty-grid (rows g) (cols g) 0)]) ([obj (in-list (objects g 0))])
(let ((holes (filter (lambda (reg)
(all? (lambda (p)
(and (> (first p) (obj-r1 obj)) (< (first p) (obj-r2 obj))
(> (second p) (obj-c1 obj)) (< (second p) (obj-c2 obj))))
reg))
regions)))
(paint-cells out (append* holes) (obj-color obj))))))Provenance
- Generator
- generators/2db2974cdb04/generator.py
- Notes and decisions
- generators/2db2974cdb04/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- a966243cb3e7190492b43f480b8f3f2feea4f3a337b2debd4ab030311e04126b
- Rule hash
- c621ef85bf9e
- Sources
- bank:e57147319d67
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 2db2974cdb04 --count 1 --seed 20261108 --test 1