← 8bd971ea3766 · 8c12816521a2 →

8c069ab108a1

Remove the unique color-9 anchor and copy every other colored cell to its 0, 90, 180 and 270 degree rotations around that anchor.

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 (s16-rot-cw-offset p) (list (second p) (- (first p)))) (let ((anchor (first (find-color g 9)))) (for*/fold ((out (empty-grid (rows g) (cols g) 0))) ((r (in-range (rows g))) (c (in-range (cols g)))) (let ((v (at g r c))) (if (member? v (list 0 9)) out (let loop ((k 0) (off (list (- r (first anchor)) (- c (second anchor)))) (acc out)) (if (= k 4) acc (let ((nr (+ (first anchor) (first off))) (nc (+ (second anchor) (second off)))) (loop (+ k 1) (s16-rot-cw-offset off) (if (in-bounds? nr nc (rows g) (cols g)) (set-cell acc nr nc v) acc)))))))))))

Provenance

Generator
generators/8c069ab108a1/generator.py
Notes and decisions
generators/8c069ab108a1/notes.md
Review label
reviewed_safe
Generator SHA-256
3653fb25d9b6b53e79b47c4d631394cf2c743a18bd2a586a5bf3f99aa115058b
Rule hash
9bb2dc983950
Sources
bank:5b06d39592a3
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 8c069ab108a1 --count 1 --seed 20261108 --test 1