← 05b5a82ace36 · 05ede1ccd0f1 →

05d60f5e74c6

Reduce each solid same-color 4-connected component to its distinct bbox corners; discard non-solid components. Four scheduled demos distinguish solidity, component-vs-color grouping, 4-vs-8 connectivity, and thin/dot corner collapse. Rectangle counts and textures are observable and exact.

bounding boxescorner extractionobject detection

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 (s16b-solid-rect? obj) (let* ((bb (obj-bbox obj)) (area (* (+ 1 (- (third bb) (first bb))) (+ 1 (- (fourth bb) (second bb)))))) (= (obj-size obj) area))) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((obj (in-list (objects g 0)))) (if (s16b-solid-rect? obj) (let ((bb (obj-bbox obj))) (paint-cells out (list (list (first bb) (second bb)) (list (first bb) (fourth bb)) (list (third bb) (second bb)) (list (third bb) (fourth bb))) (obj-color obj))) out))))

Provenance

Generator
generators/05d60f5e74c6/generator.py
Notes and decisions
generators/05d60f5e74c6/notes.md
Review label
reviewed_safe
Generator SHA-256
fee35f721520c535929f77201658ac3ad0c01f7a4a89014a89c2ea8149f058e7
Rule hash
a74660ace2a2
Sources
bank:5deb8ef303b3
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 05d60f5e74c6 --count 1 --seed 20261108 --test 1