← 01bdf9b8d2db · 01f4294de005 →

01dfed2930fa

8-walled grid (border + 1-2 dividers, optional gaps) with rooms holding one seed color each — sometimes several seeds of that color, sometimes a two-color room that stays unfilled, sometimes an empty room; rule floods each room with its unique seed color.

parametric familyflood_fillroomswalls

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 ((dummy 0)) (define seen (make-hash)) (define out g) (for* ((r (in-range (rows g))) (c (in-range (cols g)))) (when (and (not (= (at g r c) 8)) (not (hash-has-key? seen (list r c)))) (define region (connected-region g r c (lambda (rr cc v) (not (= v 8))) 4)) (for ((p (in-list region))) (hash-set! seen p #t)) (define seeds (remove-duplicates (filter (lambda (v) (not (member? v (list 0 8)))) (map (lambda (p) (at g (first p) (second p))) region)))) (when (= (length seeds) 1) (set! out (for/fold ((acc out)) ((p (in-list region))) (if (= (at g (first p) (second p)) 0) (set-cell acc (first p) (second p) (first seeds)) acc)))))) out))

Provenance

Generator
generators/01dfed2930fa/generator.py
Notes and decisions
generators/01dfed2930fa/notes.md
Review label
reviewed_safe
Generator SHA-256
b4c096df55afa8f295b637c13633fea9375ff9f8eebfe2ffce1e6126aa1a313b
Rule hash
f4fc416972b0
Sources
bank:056856052daa
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 01dfed2930fa --count 1 --seed 20261108 --test 1