← dcb4d769d19d · dcf954423fbb →
dcc5f8961845
Two header commands 0..5 are composed in order on one translated 2..5 by 2..5 multicolor motif; the output is the transformed crop.
parametric familycommand compositioncrop outputtransform sequencing
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)]))
(let* ((cmd1 (at g 0 0))
(cmd2 (at g 0 1))
(clean (set-cell (set-cell g 0 0 0) 0 1 0))
(obj (crop-to-content clean)))
(apply-transform (apply-transform obj cmd1) cmd2))))Provenance
- Generator
- generators/dcc5f8961845/generator.py
- Notes and decisions
- generators/dcc5f8961845/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 1bf0ed962c3e1e98187d3fad584489823b420f8f2a8b483dfb8fb973d316c965
- Rule hash
- 9f952248bd5f
- Sources
- bank:63dac95f0c67
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate dcc5f8961845 --count 1 --seed 20261108 --test 1