← 02fcd49e49d6 · 03269f74e737 →
03000b260ae0
A connected 4-6 cell template containing one or more 9s and 1-5 singleton 9 markers. Align the template's last BFS-visited 9 to every marker and render copy coverage on a blank canvas: 1->2, 2->3, 3+->4. A four-slot teaching schedule anchors canonical scale, then supplies repeated overlap and anchor-selection witnesses plus body-color variation.
count-map renderingtemplate extraction with anchortranslation by markers
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 (e5b-nz-components grid) (let loop-pos ((positions (grid-positions grid)) (seen (list)) (acc (list))) (cond ((empty? positions) (reverse acc)) ((or (member? (first positions) seen) (= (at grid (first (first positions)) (second (first positions))) 0)) (loop-pos (rest positions) seen acc)) (else (let bfs ((queue (list (first positions))) (seen2 (cons (first positions) seen)) (cells (list))) (if (empty? queue) (loop-pos (rest positions) seen2 (cons (reverse cells) acc)) (let* ((cur (first queue)) (nbrs (filter (lambda (p) (and (in-bounds? (first p) (second p) (rows grid) (cols grid)) (not (member? p seen2)) (not (= (at grid (first p) (second p)) 0)))) (map (lambda (d) (list (+ (first cur) (first d)) (+ (second cur) (second d)))) dirs4)))) (bfs (append (rest queue) nbrs) (append seen2 nbrs) (cons cur cells))))))))) (let* ((comps (e5b-nz-components g)) (template (first (filter (lambda (comp) (and (> (length comp) 1) (any? (lambda (p) (= (at g (first p) (second p)) 9)) comp))) comps))) (markers (map first (filter (lambda (comp) (and (= (length comp) 1) (= (at g (first (first comp)) (second (first comp))) 9))) comps))) (bb (bbox-of-cells template)) (anchor (first (reverse (filter (lambda (p) (= (at g (first p) (second p)) 9)) template)))) (ar (- (first anchor) (first bb))) (ac (- (second anchor) (second bb))) (occ (map (lambda (p) (list (- (first p) (first bb)) (- (second p) (second bb)))) template))) (grid-from-fn (rows g) (cols g) (lambda (r c) (let ((cnt (count-where (lambda (m) (member? (list (- r (- (first m) ar)) (- c (- (second m) ac))) occ)) markers))) (cond ((= cnt 1) 2) ((= cnt 2) 3) ((>= cnt 3) 4) (else 0))))))))
Provenance
- Generator
- generators/03000b260ae0/generator.py
- Notes and decisions
- generators/03000b260ae0/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- c2212a4732610e17b7f84a4374bd6c0c2dabad040d5d386883e867c02fdfa4cb
- Rule hash
- e140a6400a02
- Sources
- bank:529ce7614691
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 03000b260ae0 --count 1 --seed 20261108 --test 1