← fd277c567993 · fd68649aabf7 →

fd588326c845

Place a sparse 3x3 or 4x4 multicolor key beside a cyan silhouette whose logical occupancy is the key rotated 90 degrees clockwise and expanded into uniform tiles. Recolor each cyan tile with its corresponding rotated key color while leaving the key unchanged.

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* ((h (rows g))
                (w (cols g)))
           (let* ((key-cells (filter (lambda (p)
                                       (let ((v (third p))) (and (!= v 0) (!= v 8))))
                                     (grid-cells g)))
                  (kr1 (min-of first key-cells))
                  (kr2 (max-of first key-cells))
                  (kc1 (min-of second key-cells))
                  (kc2 (max-of second key-cells))
                  (kh (+ 1 (- kr2 kr1)))
                  (kw (+ 1 (- kc2 kc1)))
                  (eight-cells (find-color g 8))
                  (er1 (min-of first eight-cells))
                  (er2 (max-of first eight-cells))
                  (ec1 (min-of second eight-cells))
                  (ec2 (max-of second eight-cells))
                  (tile-h (/ (+ 1 (- er2 er1)) kh))
                  (tile-w (/ (+ 1 (- ec2 ec1)) kw)))
             (cellmap g
                      (r c v)
                      (let ((v v))
                        (if (= v 8)
                            (let* ((tr (/ (- r er1) tile-h))
                                   (tc (/ (- c ec1) tile-w))
                                   (kr (- (- kh 1) tc))
                                   (kc tr)
                                   (color (at g (+ kr1 kr) (+ kc1 kc))))
                              (if (zero? color) 0 color))
                            v)))))))

Provenance

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