← 5566bf611783 · 557449d8b860 →

5573cf8e2aa4

A full-height maroon(9) divider splits equal left/right panels. Output is cyan(8) exactly where either corresponding panel cell is occupied. Ordinary draws expose blank, left-only, right-only, and overlap cases; same-color overlap periodically distinguishes occupancy union from raw cell-value inequality.

panel splitting, occupancy union, same-size blank output

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 (render-same-size cells h w (color 8)) (paint-cells (empty-grid h w 0) (filter (lambda (p) (in-bounds? (first p) (second p) h w)) cells) color)) (define (panel-occ panel) (sort (filter (lambda (p) (let ((v (at panel (first p) (second p)))) (and (not (= v 0)) (not (= v 9))))) (grid-positions panel)) cell<)) (define (split-cols-9 grid) (let loop ((c 0) (start 0) (acc (list))) (cond ((>= c (cols grid)) (reverse (if (< start (cols grid)) (cons (subgrid grid 0 start (- (rows grid) 1) (- (cols grid) 1)) acc) acc))) ((all? (lambda (r) (= (at grid r c) 9)) (range 0 (rows grid))) (let scan ((cc c)) (if (and (< cc (cols grid)) (all? (lambda (r) (= (at grid r cc) 9)) (range 0 (rows grid)))) (scan (+ cc 1)) (loop cc cc (if (< start c) (cons (subgrid grid 0 start (- (rows grid) 1) (- c 1)) acc) acc))))) (else (loop (+ c 1) start acc))))) (define (union-cells panels) (sort (remove-duplicates (flatmap panel-occ panels)) cell<)) (let* ((panels (split-cols-9 g)) (a (first panels))) (render-same-size (union-cells panels) (rows a) (cols a) 8))))

Provenance

Generator
generators/5573cf8e2aa4/generator.py
Notes and decisions
generators/5573cf8e2aa4/notes.md
Review label
reviewed_safe
Generator SHA-256
741c159b6ea59db191c59de14107e63bb8eef78c994996e9318d463f8c2746a9
Rule hash
59a18f0cd9d4
Sources
bank:0938460c498b
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 5573cf8e2aa4 --count 1 --seed 20261108 --test 1