← c2fb0e01a539 · c36d1678a484 →
c3052979ff96
One connected color-8 source is rotated around the unique color-9 pivot. The unique control value 1,2,3,4 means identity, 90 degrees clockwise, 180 degrees, or 90 degrees counter-clockwise. Stamp the transformed cells as color 2 while preserving the source, control, pivot, and unrelated color-5/6/7 objects except where a red stamp overlaps them.
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* ((shape (first (filter (lambda (o) (= (obj-color o) 8)) (objects g 0))))
(pivot (first (find-color g 9)))
(code (third (first (filter (lambda (cell) (let ((v (third cell))) (and (>= v 1) (<= v 4)))) (grid-cells g))))))
(foldl (lambda (p out)
(let* ((dr (- (first p) (first pivot)))
(dc (- (second p) (second pivot)))
(nrnc (cond [(= code 1) (list (+ (first pivot) dr) (+ (second pivot) dc))]
[(= code 2) (list (+ (first pivot) dc) (- (second pivot) dr))]
[(= code 3) (list (- (first pivot) dr) (- (second pivot) dc))]
[else (list (- (first pivot) dc) (+ (second pivot) dr))]))
(nr (first nrnc))
(nc (second nrnc)))
(if (in-bounds? nr nc (rows g) (cols g))
(set-cell out nr nc 2)
out)))
g
(obj-cells shape))))Provenance
- Generator
- generators/c3052979ff96/generator.py
- Notes and decisions
- generators/c3052979ff96/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- e919668b35fc70bb9c292e0efa5bf13497e7788c0388ccc7b9abf354ce5bdf55
- Rule hash
- a9dc0b2876d4
- Sources
- bank:0d41ded5f4cd
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate c3052979ff96 --count 1 --seed 20261108 --test 1