← a2e841db66ad · a2fc4c442e35 →

a2e8d5ad83e5

Solid colored anchors emit center-row/column crosses; distinct-color overlaps cancel to zero.

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* ((objs (filter (lambda (o) (and (filled? o) (>= (obj-size o) 4)))
                                (objects g 0)))
                  (centers (map (lambda (o)
                                  (let ((bb (obj-bbox o)))
                                    (list (obj-color o)
                                          (quotient (+ (first bb) (third bb)) 2)
                                          (quotient (+ (second bb) (fourth bb)) 2))))
                                objs)))
             (cellmap g
                      (r c v)
                      (let* ((hits (remove-duplicates (filter (lambda (col) col)
                                                              (map (lambda (cn)
                                                                     (cond
                                                                       ((or
                                                                          (= (second cn)
                                                                             r)
                                                                          (= (list-ref cn
                                                                                       2)
                                                                             c)) (first cn))
                                                                       (else #f)))
                                                                   centers)))))
                        (cond
                          ((> (length hits) 1) 0)
                          ((= (length hits) 1) (first hits))
                          (else v))))))))

Provenance

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