← c86f5a19e34d · c8ab3fc199b1 →

c878420172c2

Two separate connected shapes in colors 2 and 3 are translated to a common top-left origin; output paints their normalized intersection in 8.

parametric family

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 (has? p cells) (member? p cells))
    (define s2 (normalize-cells (find-color g 2)))
    (define s3 (normalize-cells (find-color g 3)))
    (define inter (filter (lambda (p) (has? p s3)) s2))
    (paint-cells (empty-grid (rows g) (cols g) 0) inter 8)))

Provenance

Generator
generators/c878420172c2/generator.py
Notes and decisions
generators/c878420172c2/notes.md
Review label
reviewed_safe
Generator SHA-256
e09eacada8a07cc9cdc8471c4cbb8246889f75477491d51ebe322f54e002b666
Rule hash
3938c76dfeca
Sources
bank:2f7d84161f6a
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate c878420172c2 --count 1 --seed 20261108 --test 1