← cc74d7392ecd · ccbf7456811b →
cc8c719680e6
Replace every same-colour 4-connected component by the same-colour outline of its own axis-aligned bounding box on a fresh zero background.
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)) (define (f14-border-cells r0 c0 r1 c1) (for*/list ((r (in-range r0 (+ r1 1))) (c (in-range c0 (+ c1 1))) #:when (or (= r r0) (= r r1) (= c c0) (= c c1))) (list r c))) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((obj (in-list (objects g 0)))) (let ((bb (obj-bbox obj))) (paint-cells out (f14-border-cells (first bb) (second bb) (third bb) (fourth bb)) (obj-color obj))))))
Provenance
- Generator
- generators/cc8c719680e6/generator.py
- Notes and decisions
- generators/cc8c719680e6/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 5f8ab6d1ea311ab8de97d061a6063bf6cc4d7fc788aaab43006a7a6a5f405928
- Rule hash
- 8f9e53b42241
- Sources
- bank:05283c9df3d9
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate cc8c719680e6 --count 1 --seed 20261108 --test 1