← fd9ad93c2cc8 · fdffdd0bbde7 →

fdb8815ba528

Replace every same-colour 4-connected component by the same-colour outline of its own tight axis-aligned bounding box on a fresh zero background. Canonical-size scenes are interleaved with repeated-colour and connectivity counterexamples.

geometryobject_reasoning

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 (border-cells obj)
      (append (for/list ([r (in-range (obj-r1 obj) (+ (obj-r2 obj) 1))]) (list r (obj-c1 obj)))
              (for/list ([r (in-range (obj-r1 obj) (+ (obj-r2 obj) 1))]) (list r (obj-c2 obj)))
              (for/list ([c (in-range (+ (obj-c1 obj) 1) (obj-c2 obj))]) (list (obj-r1 obj) c))
              (for/list ([c (in-range (+ (obj-c1 obj) 1) (obj-c2 obj))]) (list (obj-r2 obj) c))))
    (for/fold ([out (empty-grid (rows g) (cols g) 0)]) ([obj (in-list (objects g 0))])
      (paint-cells out (border-cells obj) (obj-color obj)))))

Provenance

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