← 9b2cd53e36fb · 9b5d72b45563 →

9b37d4bbfb7e

Erase each same-color 4-connected object touching any outer border; keep every fully interior object. Zero is the background. Shapes, edge positions, dimensions and colors vary, including one color in both erased and surviving objects, diagonal-only same-color contacts and cardinal different-color contacts.

object_reasoningselection

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!
  (for/fold ([out g]) ([obj (in-list (objects g 0))])
    (if (empty? (filter (lambda (p)
                          (or (= (first p) 0) (= (first p) (- (rows g) 1))
                              (= (second p) 0) (= (second p) (- (cols g) 1))))
                        (obj-cells obj)))
        out
        (paint-cells out (obj-cells obj) 0))))

Provenance

Generator
generators/9b37d4bbfb7e/generator.py
Notes and decisions
generators/9b37d4bbfb7e/notes.md
Review label
reviewed_safe
Generator SHA-256
721dd5dac679d41722e20f174628c892f06cc61f91f109dae2040b5e0335e044
Rule hash
b41941e8090e
Sources
bank:276b5e4c56a1
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 9b37d4bbfb7e --count 1 --seed 20261108 --test 1