← 0b9e771d6ba5 · 0bb8813a21dc →
0ba6a62312d0
Use the first color-6 cell in row-major order as the pivot. Rebuild an empty canvas, keep that pivot, and rotate every non-{0,6} cell 90 degrees clockwise around it. Clip rotated cells that leave the canvas. Later color-6 cells vanish. Every five consecutive generated examples include plain/canonical, clipping, multiple-object, multicolor, and extra-six witnesses.
90-degree rotationpivot geometryrelative coordinates
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).
Reference rule (Racket)
(rule! (let ((dummy 0)) (define (first-pos grid color) (first (find-color grid color))) (let* ((pivot (first-pos g 6)) (pr (first pivot)) (pc (second pivot)) (base (set-cell (empty-grid (rows g) (cols g) 0) pr pc 6))) (for/fold ((out base)) ((obj (in-list (filter (lambda (o) (not (= (obj-color o) 6))) (objects g 0))))) (for/fold ((acc out)) ((p (in-list (obj-cells obj)))) (let* ((dr (- (first p) pr)) (dc (- (second p) pc)) (rr (+ pr dc)) (cc (- pc dr))) (if (in-bounds? rr cc (rows g) (cols g)) (set-cell acc rr cc (obj-color obj)) acc)))))))
Provenance
- Generator
- generators/0ba6a62312d0/generator.py
- Notes and decisions
- generators/0ba6a62312d0/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 1840102bf5e327f5d501ed845f791bc0a7778e2395f83fc362d2baba13bed140
- Rule hash
- 4a2f94aea981
- Sources
- bank:081996b60750
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 0ba6a62312d0 --count 1 --seed 20261108 --test 1