← adcdcbe48f64 · ae0d46c67401 →

ae0a295c2271

Find each 4-connected nonzero object and compare its exact normalized shape with every other object. Recolor a singleton shape class red (2) and a repeated shape class blue (1); leave background 0. Rotation and reflection do not count as the same shape.

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)

;; Compare 4-connected objects by exact translated shape (no rotation/flip).
;; Singleton shape classes become red 2; repeated classes become blue 1.
(rule!
 (lambda (g)
   (let* ((objs (objects g 0)))
     (paint-objects-by
      g objs
      (lambda (o)
        (let* ((n-matches
                (count-if (lambda (other) (same-shape? o other)) objs)))
          (if (= n-matches 1) 2 1)))))))

Provenance

Generator
generators/ae0a295c2271/generator.py
Notes and decisions
generators/ae0a295c2271/notes.md
Review label
reviewed_safe
Generator SHA-256
c14282044b5908ab0d49a53920dd5a8c611a3a43156f59fa71c43fe825069071
Rule hash
6c9ec74ee7cf
Sources
augmented, training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate ae0a295c2271 --count 1 --seed 20261108 --test 1