← 441d3a994cf6 · 44690b1b635f →
443eebb271d9
Repeat a color-7 glyph across the top lattice row, recoloring every third column of copies to 6 and extending those columns downward.
parametric family
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! (lambda (g)
(let* ((h (rows g))
(w (cols g)))
(begin
(define bb (bbox-of-cells (find-color g 7)))
(define r0 (first bb))
(define c0 (second bb))
(define r1 (third bb))
(define c1 (fourth bb))
(define gh (+ 1 (- r1 r0)))
(define gw (+ 1 (- c1 c0)))
(define hstep (+ gw 1))
(define vstep (+ gh 1))
(define (mask? local-r local-c)
(= (safe-at g (+ r0 local-r) (+ c0 local-c) 0) 7))
(define (paint? r c)
(if (or (< r r0) (< c c0))
#f
(let* ((rr (- r r0))
(cc (- c c0))
(local-r (mod rr vstep))
(local-c (mod cc hstep))
(inst (quotient cc hstep))
(row-rep (quotient rr vstep)))
(and
(< local-r gh)
(< local-c gw)
(mask? local-r local-c)
(or (zero? row-rep) (= (mod inst 3) 2))))))
(cellmap g
(r c v)
(if (paint? r c)
(if (= (mod (quotient (- c c0) hstep) 3) 2) 6 7)
0))))))Provenance
- Generator
- generators/443eebb271d9/generator.py
- Notes and decisions
- generators/443eebb271d9/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- ba9fea17e935d9d09ebcd6fb761a4d7350fa932337efda1bc91e152ff97c69bb
- Rule hash
- 9a8ad7e4958a
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 443eebb271d9 --count 1 --seed 20261108 --test 1