← 5d321adb3a28 · 5d59b75cb58e →
5d3738a6b89c
Two to four 3x3 prototypes sit above a full color-9 separator row. Each prototype uses one distinct nonzero, non-9 key color and includes its center. Below the separator, every key appears twice in disjoint 3x3 placement tiles. Stamp the matching prototype mask around every key, retaining only in-bounds cells below the separator. Mixed lessons exercise both separator clipping and an outer-grid clipping boundary.
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 (t13-full-row grid color) (let ((hits (filter (lambda (r) (all? (lambda (v) (= v color)) (row grid r))) (range (rows grid))))) (if (empty? hits) #f (first hits)))) (define (t12-full-cols grid color) (filter (lambda (c) (all? (lambda (r) (= (at grid r c) color)) (range (rows grid)))) (range (cols grid)))) (let* ((sep (t13-full-row g 9)) (top (subgrid g 0 0 (- sep 1) (- (cols g) 1))) (sepcols (t12-full-cols top 9)) (starts (cons 0 (map (lambda (c) (+ c 1)) sepcols))) (ends (append sepcols (list (cols top)))) (boxes (map (lambda (se) (subgrid top 0 (first se) (- (rows top) 1) (- (second se) 1))) (map list starts ends))) (protos (map (lambda (box) (list (at box 1 1) (for*/list ((r (in-range 3)) (c (in-range 3)) #:when (not (= (at box r c) 0))) (list (- r 1) (- c 1))))) boxes))) (for*/fold ((out g)) ((r (in-range (+ sep 1) (rows g))) (c (in-range (cols g)))) (let ((v (at g r c))) (if (not (member? v (map first protos))) out (let ((offs (second (first (filter (lambda (entry) (= (first entry) v)) protos))))) (for/fold ((acc out)) ((off (in-list offs))) (let ((rr (+ r (first off))) (cc (+ c (second off)))) (if (and (>= rr (+ sep 1)) (in-bounds? rr cc (rows g) (cols g))) (set-cell acc rr cc v) acc))))))))))
Provenance
- Generator
- generators/5d3738a6b89c/generator.py
- Notes and decisions
- generators/5d3738a6b89c/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 6e19b085bbf7ad281a2ccb6f1b4e1fb0fdee908ab379e52e2bdfab778d4e014d
- Rule hash
- f9d79bf79624
- Sources
- bank:421ecdc153f8
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 5d3738a6b89c --count 1 --seed 20261108 --test 1