← d53534afb2ff · d57b7deebba2 →

d552baa9e49e

Read command 1..5 from (0,0), clear that command cell, tightly crop all remaining nonzero content, then apply clockwise rotation, 180-degree rotation, transpose, left/right reflection, or up/down reflection respectively. The output is the transformed crop, never the full canvas.

command decodinggeometric transformsobject crop

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 (apply-transform grid cmd)
      (cond [(= cmd 0) grid]
            [(= cmd 1) (rotate-cw grid)]
            [(= cmd 2) (rotate-180 grid)]
            [(= cmd 3) (transpose grid)]
            [(= cmd 4) (flip-lr grid)]
            [else (flip-ud grid)]))
    (apply-transform (crop-to-content (set-cell g 0 0 0)) (at g 0 0))))

Provenance

Generator
generators/d552baa9e49e/generator.py
Notes and decisions
generators/d552baa9e49e/notes.md
Review label
reviewed_safe
Generator SHA-256
78b013356c78b80565774363b6dd3eed029b9f825c4a343325f0822c32ccbc5a
Rule hash
21cd1730c540
Sources
bank:63dac95f0c67
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate d552baa9e49e --count 1 --seed 20261108 --test 1