← acb1cae24892 · ad4e576b99c4 →

ad4e2cd6e3bc

Flood reachable black cells cyan from the red seed without crossing gray walls.

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!
  (let* ((seed (first (find-color g 2)))
         (region (connected-region g (first seed) (second seed) (lambda (r c v) (or (= v 0) (= v 2))))))
    (foldl (lambda (p out)
             (if (= (at g (first p) (second p)) 0)
                 (set-cell out (first p) (second p) 8)
                 out))
           g region)))

Provenance

Generator
generators/ad4e2cd6e3bc/generator.py
Notes and decisions
generators/ad4e2cd6e3bc/notes.md
Review label
reviewed_safe
Generator SHA-256
d4facee5c4c609b83305e9d34f370072c527a8f1193d4f8be9985cf9f99ecee9
Rule hash
f76966dac45b
Sources
bank:2f7d84161f6a
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate ad4e2cd6e3bc --count 1 --seed 20261108 --test 1