← 056999828b88 · 05b5a82ace36 →
058ae70e4bdb
Canonical-size color-8 wall lattices contain empty, one-color, repeated-marker, and two-color regions. A deterministic three-profile teaching cycle additionally punches one wall so a non-rectangular merged region must be judged by its combined palette, not by marker count or shape.
flood fillregion ownershipwall parsing
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 loop ([remaining (filter-cells g (lambda (r c v) (not (= v 8))))] [out g])
(if (empty? remaining)
out
(let* ((start (first remaining))
(region (connected-region g (first start) (second start)
(lambda (r c v) (not (= v 8))) 4))
(colors (remove-duplicates
(filter (lambda (v) (and (not (= v 0)) (not (= v 8))))
(map (lambda (p) (at g (first p) (second p))) region))))
(next-remaining (filter (lambda (p) (not (member? p region))) remaining)))
(if (= (length colors) 1)
(loop next-remaining (paint-cells out region (first colors)))
(loop next-remaining out))))))Provenance
- Generator
- generators/058ae70e4bdb/generator.py
- Notes and decisions
- generators/058ae70e4bdb/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- c927dd22bee82bdb174e4b2af1092a6e5e9b33f8021869d224e28c08ebb70487
- Rule hash
- f3ddcec3d159
- Sources
- bank:be1bc1d91387
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 058ae70e4bdb --count 1 --seed 20261108 --test 1