← 096c65084073 · 099aeda5aa7b →
0994294912bf
A color-9 cross forms four quadrants. TL->TR is always a worked solid-to-cardinal-outline example. The BL union is outlined and stamped into BR at the same local offset in the BL row-major first color. Solid, multicolor, pre-filled-BR, and clipped variants rebut whole-copy, per-cell/modal-color, empty-target, fixed-size, and must-fit shortcuts. Version 4.1.0 makes the four decisive profiles match the four-demo lesson budget, and adjacent profiles deliberately overlap their causal witnesses so every allowed query rotation remains identifiable. It preserves the mandatory worked analogy, exact 8..20 dimension envelope, and observable axes.
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 (e5-outline-cells cells) (filter (lambda (p) (any? (lambda (d) (not (member? (list (+ (first p) (first d)) (+ (second p) (second d))) cells))) dirs4)) cells)) (define (e5-full-col grid color) (let ((hits (filter (lambda (c) (all? (lambda (r) (= (at grid r c) color)) (range (rows grid)))) (range (cols grid))))) (if (empty? hits) #f (first hits)))) (define (e5-full-row grid color) (let ((hits (filter (lambda (r) (all? (lambda (c) (= (at grid r c) color)) (range (cols grid)))) (range (rows grid))))) (if (empty? hits) #f (first hits)))) (define (e5-quadrant-bounds grid quad) (let ((gr (e5-full-row grid 9)) (gc (e5-full-col grid 9))) (cond ((equal? quad 'TL) (list 0 gr 0 gc)) ((equal? quad 'TR) (list 0 gr (+ gc 1) (cols grid))) ((equal? quad 'BL) (list (+ gr 1) (rows grid) 0 gc)) (else (list (+ gr 1) (rows grid) (+ gc 1) (cols grid)))))) (define (e5-quad-cells grid quad) (let* ((b (e5-quadrant-bounds grid quad)) (r0 (first b)) (r1 (second b)) (c0 (third b)) (c1 (fourth b))) (filter values (for*/list ((r (in-range r0 r1)) (c (in-range c0 c1))) (let ((v (at grid r c))) (if (or (= v 0) (= v 9)) #f (list v (- r r0) (- c c0)))))))) (let ((cells-rel (e5-quad-cells g 'BL))) (if (empty? cells-rel) g (let* ((color (first (first cells-rel))) (coords (map (lambda (x) (list (second x) (third x))) cells-rel)) (bb (bbox-of-cells coords)) (rmin (first bb)) (cmin (second bb)) (shape (map (lambda (p) (list (- (first p) rmin) (- (second p) cmin))) coords)) (outline (e5-outline-cells shape)) (b (e5-quadrant-bounds g 'BR)) (br0 (first b)) (bc0 (third b))) (for/fold ((out g)) ((p (in-list outline))) (set-cell out (+ br0 rmin (first p)) (+ bc0 cmin (second p)) color)))))))
Provenance
- Generator
- generators/0994294912bf/generator.py
- Notes and decisions
- generators/0994294912bf/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- bf7c48abf69578ffb0280d00490e28ef0ed2a7e842969bd72a89599c36613005
- Rule hash
- ebb564e19380
- Sources
- bank:bfb58307fa26
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 0994294912bf --count 1 --seed 20261108 --test 1