← fcd1f7b55d3b · fd277c567993 →

fcd2e3748e0e

A zero-background grid contains one connected asymmetric color-1 template, one reflection control 2/3, one rotation control 4/5/6/7, and one color-9 anchor. The rule transforms the normalized template and adds a color-8 copy at the anchor while preserving the input.

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* ((reflect-cell
           (find-first
             (lambda (p)
               (let ((v (cell-at g (fst p) (snd p))))
                 (or (= v 2) (= v 3))))
             (grid-positions g)))
         (rotate-cell
           (find-first
             (lambda (p)
               (let ((v (cell-at g (fst p) (snd p))))
                 (or (= v 4) (= v 5) (= v 6) (= v 7))))
             (grid-positions g)))
         (anchor (first (find-color g 9)))
         (template (first (filter (lambda (obj) (= (obj-color obj) 1)) (objects g 0))))
         (reflect-code (cell-at g (fst reflect-cell) (snd reflect-cell)))
         (rotate-code (cell-at g (fst rotate-cell) (snd rotate-cell)))
         (base (normalize-cells (obj-cells template)))
         (reflected (if (= reflect-code 3) (normalize-cells (flip-cells-lr base)) base))
         (rot1 (normalize-cells (rotate-cells-cw reflected)))
         (rot2 (normalize-cells (rotate-cells-cw rot1)))
         (rot3 (normalize-cells (rotate-cells-cw rot2)))
         (shape
           (cond
             [(= rotate-code 4) reflected]
             [(= rotate-code 5) rot1]
             [(= rotate-code 6) rot2]
             [else rot3])))
    (stamp-normalized-cells g shape (fst anchor) (snd anchor) 8)))

Provenance

Generator
generators/fcd2e3748e0e/generator.py
Notes and decisions
generators/fcd2e3748e0e/notes.md
Review label
reviewed_safe
Generator SHA-256
e8c482a80a6f8384e25076310816631fc0326390f63cf9f473eb3bdaa3b10971
Rule hash
ab56f4871c5f
Sources
bank:e2825ca16ace
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate fcd2e3748e0e --count 1 --seed 20261108 --test 1