← 60baf0d49ed5 · 60c56114260f →

60c27b9638fb

Read the command at (0,0), clear it, crop all remaining nonzero content, then transform the crop: 1=rotate CW, 2=rotate 180, 3=flip LR, 4=transpose.

croppingrotation/reflectionsymbol-to-transform mapping

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

Provenance

Generator
generators/60c27b9638fb/generator.py
Notes and decisions
generators/60c27b9638fb/notes.md
Review label
reviewed_safe
Generator SHA-256
d1169b165b975b7d10784e8f540599ad952f375698aee1103ab90252c2bae914
Rule hash
73df2925e9f2
Sources
bank:be1bc1d91387
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 60c27b9638fb --count 1 --seed 20261108 --test 1