← 0dba62203065 · 0e71518de287 →

0e4adc584fa1

A 0-background grid contains one connected 5..9-colored object and one isolated control marker. Marker colors 1,2,3,4 request identity, 90° clockwise, 180°, and 90° counterclockwise transforms. Crop the object tightly and apply the requested transform. Consecutive four-example windows cover all four codes; canonical-size anchors remain in every band.

parametric familycontrol coderotationsize-changing extraction

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 dirs4 (list (list -1 0) (list 1 0) (list 0 -1) (list 0 1))) (define (e11b-transform-code grid code) (cond ((= code 1) grid) ((= code 2) (rotate-cw grid)) ((= code 3) (rotate-180 grid)) ((= code 4) (rotate-ccw grid)) ((= code 5) (flip-lr grid)) ((= code 6) (flip-ud grid)) (else grid))) (let* ((isolated (filter (lambda (p) (let ((v (at g (first p) (second p)))) (and (member? v (list 1 2 3 4)) (= (length (filter (lambda (d) (let ((rr (+ (first p) (first d))) (cc (+ (second p) (second d)))) (and (in-bounds? rr cc (rows g) (cols g)) (not (= (at g rr cc) 0))))) dirs4)) 0)))) (grid-positions g))) (control (if (empty? isolated) #f (at g (first (last isolated)) (second (last isolated))))) (cells (filter (lambda (p) (and (not (= (at g (first p) (second p)) 0)) (not (member? p isolated)))) (grid-positions g)))) (if (or (not control) (empty? cells)) (list (list 0)) (let ((bb (bbox-of-cells cells))) (e11b-transform-code (subgrid g (first bb) (second bb) (third bb) (fourth bb)) control))))))

Provenance

Generator
generators/0e4adc584fa1/generator.py
Notes and decisions
generators/0e4adc584fa1/notes.md
Review label
reviewed_safe
Generator SHA-256
e9b1924c9d1b928ebb802dfe0ec1ac3e511acb75577003ad4f223bb99e6b147c
Rule hash
314b2cc8cd15
Sources
bank:db2a1cce4e4e
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 0e4adc584fa1 --count 1 --seed 20261108 --test 1