← 51481963f4a3 · 51c5df6650a9 →
515cca15a0b7
Several monochrome components. Keep exactly those touching one horizontal and one vertical border; erase components touching only one border or none.
parametric familyborder reasoningcomponent selectionsame-size filtering
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* ((cells (obj-cells obj)) (top (any? (lambda (p) (= (first p) 0)) cells)) (bottom (any? (lambda (p) (= (first p) (- (rows g) 1))) cells)) (left (any? (lambda (p) (= (second p) 0)) cells)) (right (any? (lambda (p) (= (second p) (- (cols g) 1))) cells))) (if (and (or top bottom) (or left right)) (paint-cells out cells (obj-color obj)) out)))))
Provenance
- Generator
- generators/515cca15a0b7/generator.py
- Notes and decisions
- generators/515cca15a0b7/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- c2a56d8fb67cbd8c2204cb5de3780dc9e79d16373ca7cc9fd2bbded54ea63288
- Rule hash
- 8a3c35320856
- Sources
- bank:6ee66428b984
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 515cca15a0b7 --count 1 --seed 20261108 --test 1