← 2534c7164e36 · 25c140f9307d →
25bcc06211d8
Replace every distinct-colour connected object by the '+' cross spanning the center row and center column of its tight bounding box, on an otherwise zero grid. Ordinary lessons contain two or three separated irregular objects whose source cells are both removed and added by the rule. A four-slot schedule covers odd boxes plus upper/left tie-breaking for even heights and widths.
abstractionbounding-boxobjects
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 ((dummy 0)) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((obj (in-list (objects g 0)))) (let* ((bb (obj-bbox obj)) (r1 (first bb)) (c1 (second bb)) (r2 (third bb)) (c2 (fourth bb)) (cr (quotient (+ r1 r2) 2)) (cc (quotient (+ c1 c2) 2)) (color (obj-color obj))) (paint-cells (paint-cells out (for/list ((c (in-range c1 (+ c2 1)))) (list cr c)) color) (for/list ((r (in-range r1 (+ r2 1)))) (list r cc)) color)))))
Provenance
- Generator
- generators/25bcc06211d8/generator.py
- Notes and decisions
- generators/25bcc06211d8/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 3eac9992d73a24f81323457728d089e38968318edf067ad2e7a985f0db611000
- Rule hash
- a677c65272a2
- Sources
- bank:cf5246d38569
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 25bcc06211d8 --count 1 --seed 20261108 --test 1