← 33c1de6c4310 · 33d2674e3094 →

33c7c507a8ef

Read the color at (0,0) as a rotation code. Find the complete gray (5) rectangular frame, crop its interior, and return that crop unchanged for code 1, rotated clockwise for code 2, rotated 180 degrees for code 3, or rotated counter-clockwise for code 4.

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)) (let* ((code (at g 0 0)) (cells (find-color g 5)) (bb (bbox-of-cells cells)) (inner (subgrid g (+ (first bb) 1) (+ (second bb) 1) (- (third bb) 1) (- (fourth bb) 1)))) (cond ((= code 1) inner) ((= code 2) (rotate-cw inner)) ((= code 3) (rotate-180 inner)) ((= code 4) (rotate-ccw inner)) (else inner)))))

Provenance

Generator
generators/33c7c507a8ef/generator.py
Notes and decisions
generators/33c7c507a8ef/notes.md
Review label
reviewed_safe
Generator SHA-256
1e0fba152cbbdc340d753d076450a3004ce7b519417bf7d1c4970ae475c622b2
Rule hash
a03a4d8f590f
Sources
bank:b9cb6b5db49d
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 33c7c507a8ef --count 1 --seed 20261108 --test 1