← 6098a755202d · 60b3a4fe8090 →
60a8a9d74a75
Flood each 4-connected zero region only when its distinct cardinal neighbours, after ignoring 0 and wall colour 8, contain exactly one colour. Scheduled canonical profiles use 8-walled chambers with one seed; composite profiles additionally teach repeated same-colour seeds, mixed-colour no-fill regions, edge-connected fills, and coloured walls.
chamber detectionseed propagationwall-aware flood fill
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).
Reference rule (Racket)
(rule!
(let ((zero-objs (objects (grid-from-fn (rows g) (cols g)
(lambda (r c) (if (= (at g r c) 0) 1 0)))
0)))
(define (neighbor-colors obj)
(remove-duplicates
(filter (lambda (v) (and (not (= v 0)) (not (= v 8))))
(for*/list ([p (in-list (obj-cells obj))]
[d (in-list cardinal-deltas)]
#:when (in-bounds? (+ (first p) (first d))
(+ (second p) (second d))
(rows g) (cols g)))
(at g (+ (first p) (first d)) (+ (second p) (second d)))))))
(for/fold ([out g]) ([obj (in-list zero-objs)])
(let ((colors (neighbor-colors obj)))
(if (= (length colors) 1)
(paint-cells out (obj-cells obj) (first colors))
out)))))Provenance
- Generator
- generators/60a8a9d74a75/generator.py
- Notes and decisions
- generators/60a8a9d74a75/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 570fc941da7e0efc5efbee58d5b49f8173a062b6c2966201d8bf7c02a92dcc73
- Rule hash
- 49411595dc9e
- Sources
- bank:64addfdad75c
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 60a8a9d74a75 --count 1 --seed 20261108 --test 1