← 06206fc98d42 · 067449d7a3b3 →

064e439acd2d

Copy 1-8 aligned colored source cells onto the near edge of a solid cyan line or rectangle, keeping sources and ignoring optional diagonal decoys. Exact geometry/count controls; repeated colors and interior sources; four-example lessons distinguish eight executable rivals.

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))
                (cyans (find-color g 8))
                (rmin (min-list (map fst cyans)))
                (rmax (max-list (map fst cyans)))
                (cmin (min-list (map snd cyans)))
                (cmax (max-list (map snd cyans)))
                (dots (reduce (lambda (acc c)
                                (append acc
                                        (map (lambda (p) (list (fst p) (snd p) c))
                                             (find-color g c))))
                              (list)
                              (list 1 2 3 4 5 6 7 9))))
           (reduce (lambda (acc dot)
                     (let* ((r (fst dot))
                            (c (nth dot 1))
                            (color (nth dot 2)))
                       (cond
                         ((and (>= r rmin) (<= r rmax)) (if (< c cmin)
                               (set-cell acc r cmin color)
                               (set-cell acc r cmax color)))
                         ((and (>= c cmin) (<= c cmax)) (if (< r rmin)
                               (set-cell acc rmin c color)
                               (set-cell acc rmax c color)))
                         (else acc))))
                   g
                   dots))))

Provenance

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