← 6b6e3acc8a0a · 6b88648ff0e0 →
6b6fc5374976
Find the blue template, rotate it clockwise according to the lone control (2=0 turns, 3=1, 4=2, 6=3), and normalize the rotated shape. The vector from orange 7 to cyan 8 is the repeat step. Starting with the rotated template's bounding-box anchor at the cyan cell, stamp it in maroon 9 repeatedly. Stop before the first placement that touches a color-5 wall or leaves the grid; all input markings disappear.
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 ctrl (cond [(not (empty? (find-color g 2))) 2]
[(not (empty? (find-color g 3))) 3]
[(not (empty? (find-color g 4))) 4]
[(not (empty? (find-color g 6))) 6]
[else 2]))
(define times (cond [(= ctrl 2) 0] [(= ctrl 3) 1] [(= ctrl 4) 2] [else 3]))
(define shape
(let loop ((k times) (cells (norm (find-color g 1))))
(if (= k 0) cells (loop (- k 1) (rot cells)))))
(define p7 (first (find-color g 7)))
(define p8 (first (find-color g 8)))
(define dr (- (first p8) (first p7)))
(define dc (- (second p8) (second p7)))
(let loop ((top (first p8)) (left (second p8)) (out (empty-grid (rows g) (cols g) 0)))
(let ((placed (map (lambda (p) (list (+ top (first p)) (+ left (second p)))) shape)))
(if (all? (lambda (p) (and (pos-in-bounds? p (rows g) (cols g)) (not (= (at g (first p) (second p)) 5)))) placed)
(loop (+ top dr) (+ left dc) (paint-cells out placed 9))
out)))))Provenance
- Generator
- generators/6b6fc5374976/generator.py
- Notes and decisions
- generators/6b6fc5374976/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 6f7523f8da1def93e97e72243c7bedeb075a35ee75b1fc33b23dbd7f0943cb8d
- Rule hash
- 27a417d278bf
- Sources
- bank:ce088a50599a
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 6b6fc5374976 --count 1 --seed 20261108 --test 1