← c78d339cf2f2 · c7c9b61d5a51 →

c792bb147617

A 6..16 by 6..16 zero-background grid contains 2..8 blue(1) anchor cells. Anchors may be interior or lie on any outer edge. For every original blue cell, the rule paints its in-bounds cardinal neighbors: up=2, left=7, right=6, down=8, while retaining the input elsewhere.

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* ((hh (rows g))
                  (ww (cols g))
                  (result (make-hash)))
             (for* ((r (range 0 hh)) (c (range 0 ww)))
                   (hash-set! result (list r c) (at g r c)))
             (for* ((r (range 0 hh)) (c (range 0 ww)))
                   (when
                     (= (at g r c) 1)
                     (when (> r 0) (hash-set! result (list (- r 1) c) 2))
                     (when (> c 0) (hash-set! result (list r (- c 1)) 7))
                     (when (< c (- ww 1)) (hash-set! result (list r (+ c 1)) 6))
                     (when (< r (- hh 1)) (hash-set! result (list (+ r 1) c) 8))))
             (build-grid hh ww (r c) (hash-ref result (list r c) 0))))))

Provenance

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