← 72416068b0cf · 725513c9d0c9 →

724d5770b986

Expand every blue cell into a clipped 3x3 blue neighbourhood, filling only black cells and preserving all colored blockers.

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* ((ones (for*/list ((r (range 0 h)) (c (range 0 w)) #:when (= (at g r c) 1))
                          (list r c))))
             (for/fold ((out g))
               ((p ones))
               (let ((pr (first p))
                     (pc (second p)))
                 (for*/fold ((gg out))
                            ((dr (in-list ' (-1 0 1))) (dc (in-list ' (-1 0 1))))
                            (let ((r (+ pr dr))
                                  (c (+ pc dc)))
                              (cond
                                ((or (< r 0) (>= r h) (< c 0) (>= c w)) gg)
                                ((zero? (at g r c)) (set-cell gg r c 1))
                                (else gg))))))))))

Provenance

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