← c4155b3fcecd · c464f6b94fbb →
c425a7cc61c7
A top-left color swatch selects one separated component; crop that component and rotate the crop 90 degrees clockwise.
croppinglegend lookupobject selectionrotation
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 (component-grid obj) (let* ((bb (obj-bbox obj)) (h (+ 1 (- (third bb) (first bb)))) (w (+ 1 (- (fourth bb) (second bb))))) (for/fold ((out (empty-grid h w 0))) ((p (in-list (obj-cells obj)))) (set-cell out (- (first p) (first bb)) (- (second p) (second bb)) (obj-color obj))))) (let* ((legend (at g 0 0)) (gg (set-cell g 0 0 0)) (obj (first (filter (lambda (o) (= (obj-color o) legend)) (objects gg 0))))) (rotate-cw (component-grid obj)))))
Provenance
- Generator
- generators/c425a7cc61c7/generator.py
- Notes and decisions
- generators/c425a7cc61c7/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- c7099fb1ca4fb7d5fdf455b43cf48686e47c4266c2ca6d954d837921c31e008a
- Rule hash
- 07f3dbff434c
- Sources
- bank:9a1b04175c5a
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate c425a7cc61c7 --count 1 --seed 20261108 --test 1