← 23ef3502f576 · 2496d7db1883 →
241567a35764
0-bg grid (h~11-15, w~13-18) with: (a) ONE COLOR-1 (blue) TEMPLATE drawn from 6 asymmetric tetromino shapes at top-left position; (b) ONE ROTATION CONTROL cell in COLOR ∈ {2, 3, 4} on the BOTTOM BORDER encoding rotation; (c) optionally ONE COLOR-6 FLIP CONTROL adjacent (±2 cols) to the rotation control; (d) MARKER PAIR — COLOR-7 cell at (r7, c7) and COLOR-8 cell at (r8, c8) (interior, ≥2-cell vector between them, allowing ≥2 in-bounds stamps). Rule (STAMP ROTATED+FLIPPED TEMPLATE IN MAROON ALONG 7→8 VECTOR): READ rotation control (determines k = 0/1/2 CW rotations or D4 code). READ optional FLIP-6 (toggle horizontal flip). APPLY transform to the BLUE TEMPLATE. COMPUTE delta = (r8 - r7, c8 - c7). STAMP the transformed template in COLOR-9 (maroon) at the 7-marker position, then at successive offsets (+delta) until off-grid. Net: blue template + rotation control → maroon stamps repeated along the 7→8 vector path.
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!
(let ((dummy 0))
(define (cell<? a b)
(or (< (first a) (first b))
(and (= (first a) (first b)) (< (second a) (second b)))))
(define (norm cells) (sort (normalize-cells cells) cell<?))
(define (rot cells) (norm (rotate-cells-cw cells)))
(define (flip-v cells)
(let* ((n (norm cells)) (cmax (apply max (map second n))))
(norm (map (lambda (p) (list (first p) (- cmax (second p)))) n))))
(define ctrl (cond [(not (empty? (find-color g 2))) 2]
[(not (empty? (find-color g 3))) 3]
[(not (empty? (find-color g 4))) 4]
[else 2]))
(define times (cond [(= ctrl 2) 0] [(= ctrl 3) 1] [else 2]))
(define shape-rot
(let loop ((k times) (cells (norm (find-color g 1))))
(if (= k 0) cells (loop (- k 1) (rot cells)))))
(define shape (if (empty? (find-color g 6)) shape-rot (flip-v shape-rot)))
(define start (first (find-color g 7)))
(define nxt (first (find-color g 8)))
(define dr (- (first nxt) (first start)))
(define dc (- (second nxt) (second start)))
(let loop ((ar (first start)) (ac (second start)) (out (empty-grid (rows g) (cols g) 0)))
(let ((placed (map (lambda (p) (list (+ ar (first p)) (+ ac (second p)))) shape)))
(if (all? (lambda (p) (pos-in-bounds? p (rows g) (cols g))) placed)
(loop (+ ar dr) (+ ac dc) (paint-cells out placed 9))
out)))))Provenance
- Generator
- generators/241567a35764/generator.py
- Notes and decisions
- generators/241567a35764/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 64187bd8ec7d18f916c9b94844ab76e24989c100c1ba510e9fea9410607499ec
- Rule hash
- b9955a94f124
- Sources
- bank:3cb9777539c7
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 241567a35764 --count 1 --seed 20261108 --test 1