← cde6cd1740f9 · ce3c0854174d →
ce0b0e843251
A color-7 outer frame encloses a color-5 guillotine wall network. One or two spanning backbone walls form two or three strips; compartment-local perpendicular branches split selected strips, producing 3-6 rectangular rooms and genuine T-junctions. Every seeded room has exactly one distinct non-{0,5,7} seed; either all rooms are seeded or exactly one is seedless. Fill each seeded room's zeros with its seed color, preserving walls, seeds, and the seedless room.
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 dirs4 (list (list -1 0) (list 1 0) (list 0 -1) (list 0 1))) (define (t10-open-region grid start walls) (let bfs ((queue (list start)) (seen (list start)) (cells (list))) (if (empty? queue) (reverse cells) (let* ((cur (first queue)) (nbrs (filter (lambda (p) (and (in-bounds? (first p) (second p) (rows grid) (cols grid)) (not (member? p seen)) (not (member? (at grid (first p) (second p)) walls)))) (map (lambda (d) (list (+ (first cur) (first d)) (+ (second cur) (second d)))) dirs4)))) (bfs (append (rest queue) nbrs) (append seen nbrs) (cons cur cells)))))) (for*/fold ((out g)) ((r (in-range (rows g))) (c (in-range (cols g)))) (if (not (= (at g r c) 0)) out (let* ((region (t10-open-region g (list r c) (list 5 7))) (colors (remove-duplicates (filter (lambda (v) (not (member? v (list 0 5 7)))) (map (lambda (p) (at g (first p) (second p))) region))))) (if (= (length colors) 1) (set-cell out r c (first colors)) out))))))
Provenance
- Generator
- generators/ce0b0e843251/generator.py
- Notes and decisions
- generators/ce0b0e843251/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- a5cb3cce9a4254e79d7f33c8487c8c3aa176ef572cc97d1da86d67ad6a13ea4c
- Rule hash
- ecbd69f623c3
- Sources
- bank:22a17f7a0399
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate ce0b0e843251 --count 1 --seed 20261108 --test 1