← 39abddf600eb · 39fd645f21c6 →

39ad03f74acb

Interior cells of straight blue segments are recolored red.

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!
  (grid-from-fn (rows g) (cols g)
    (lambda (r c)
      (let ((left (= (safe-at g r (- c 1) 0) 1))
            (right (= (safe-at g r (+ c 1) 0) 1))
            (up (= (safe-at g (- r 1) c 0) 1))
            (down (= (safe-at g (+ r 1) c 0) 1)))
        (if (and (= (at g r c) 1)
                 (or (and left right (not up) (not down))
                     (and up down (not left) (not right))))
            2
            (at g r c))))))

Provenance

Generator
generators/39ad03f74acb/generator.py
Notes and decisions
generators/39ad03f74acb/notes.md
Review label
reviewed_safe
Generator SHA-256
e09cf5ed9685af05622d414bd26ce4890641073513bb6371356f076b65fbd1a3
Rule hash
28f038f1590a
Sources
bank:38166e88069b
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 39ad03f74acb --count 1 --seed 20261108 --test 1