← ecd92348e78a · ed860c0a9107 →
ed55b2928ac3
A 0-background grid has a transform key at (0,0) and one connected nonzero content shape elsewhere. Clear the key, crop all remaining nonzero content, then apply 1=rotate-cw, 2=rotate-180, 3=flip-lr, 4=flip-ud, or identity for 5/6/7. Generated lessons use exact keyed controls and strong connected non-rectangular shapes; the validator also accepts the less-asymmetric and key-color-reusing canonical cases.
parametric familycropkeyed_transformrotation
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 (transform-by-key grid key) (cond ((= key 1) (rotate-cw grid)) ((= key 2) (rotate-180 grid)) ((= key 3) (flip-lr grid)) ((= key 4) (flip-ud grid)) (else grid))) (let* ((key (at g 0 0)) (work (set-cell g 0 0 0)) (crop (crop-to-content work 0))) (transform-by-key crop key))))
Provenance
- Generator
- generators/ed55b2928ac3/generator.py
- Notes and decisions
- generators/ed55b2928ac3/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 4cdd0380fcf6d6a0e1c130f4726609ed1e4b4a4ad4224201aaccdc19ebce6883
- Rule hash
- 91c8058c70fd
- Sources
- bank:fec6a16dfcc9
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate ed55b2928ac3 --count 1 --seed 20261108 --test 1