← cee14d35e7ec · cefd2849a551 →

ceef568b1cd4

Preserve odd-area same-color 4-connected components; erase even-area components on background 0. Inputs include singletons, areas 1..9, repeated colors, same-color diagonal contact and cross-color edge contact.

filterobjectsparity

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!
 ;; Keep only the ODD-sized objects; repaint them on a fresh canvas.
 (for/fold ((out (empty-grid h w 0))) ((obj (in-list (objects g 0))))
   (if (= (modulo (obj-size obj) 2) 1)
       (paint-cells out (obj-cells obj) (obj-color obj))
       out)))

Provenance

Generator
generators/ceef568b1cd4/generator.py
Notes and decisions
generators/ceef568b1cd4/notes.md
Review label
reviewed_safe
Generator SHA-256
1a92ce7e14e721e24bad0ac539ed9f58176b68dbcd6f4a527f0eaa90a54df78b
Rule hash
8abfb7183f00
Sources
bank:483ae17489fc
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate ceef568b1cd4 --count 1 --seed 20261108 --test 1