← d2708f8b731b · d2b3402dde86 →

d2a80a6f9495

0-background grid (h in [6, 14], w in [6, 16]) holding 1-4 FULLY-FILLED 3x3 OBJECTS that each use EXACTLY TWO colors in an interlocking pattern (checkerboard, row/column stripes, center or column markers, random mixes), plus 0-2 NEGATIVE objects (solid 1-color blocks or 3-color blocks). Objects stay 8-separated. Rule (SWAP THE TWO COLORS OF EVERY 2-COLOR OBJECT): within every 8-connected non-bg object that uses exactly two distinct colors, swap those two colors; objects with 1 or 3+ colors stay unchanged. Net: the two-color blocks invert their pattern; solid and 3+ color blocks are untouched.

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! (lambda (g)
         (let* ((objs (objects-multicolor g 0)))
           (reduce (lambda (acc obj)
                     (let* ((cells (obj-cells obj))
                            (colors (unique (map (lambda (p) (at g (fst p) (snd p)))
                                                 cells))))
                       (if (!= 2 (length colors))
                           acc
                           (let* ((ka (first colors))
                                  (kb (nth colors 1)))
                             (reduce (lambda (g2 p)
                                       (set-cell g2
                                                 (fst p)
                                                 (snd p)
                                                 (if (= ka (at g (fst p) (snd p)))
                                                     kb
                                                     ka)))
                                     acc
                                     cells)))))
                   g
                   objs))))

Provenance

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