← 807c284a7e79 · 80a3c4f25880 →
8096ecc43d5a
Sequentially apply row-0 transform codes to the cropped connected, monochrome motif below a blank separator. Codes 1/2/3/4 mean clockwise quarter-turn / left-right reflection / half-turn / up-down reflection. Return one final crop. Code order and multiplicity matter; zero gaps are ignored. Motif color has no instruction meaning.
parametric familyresizescripttransforms
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 (crop-nonzero-below-top grid) (let* ((cells (filter (lambda (cell) (and (> (first cell) 0) (not (= (third cell) 0)))) (grid-cells grid))) (pts (map (lambda (cell) (list (first cell) (second cell))) cells)) (bb (bbox-of-cells pts))) (subgrid grid (first bb) (second bb) (third bb) (fourth bb)))) (define (apply-transform sub code) (cond ((= code 1) (rotate-cw sub)) ((= code 2) (flip-lr sub)) ((= code 3) (rotate-180 sub)) ((= code 4) (flip-ud sub)) (else sub))) (let* ((codes (filter (lambda (v) (not (= v 0))) (top-row g))) (sub (crop-nonzero-below-top g))) (foldl (lambda (code acc) (apply-transform acc code)) sub codes))))
Provenance
- Generator
- generators/8096ecc43d5a/generator.py
- Notes and decisions
- generators/8096ecc43d5a/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 0a7333474bb418b62192c1c7a9ee8a8bb92a9480b109811bceb0eac71b5d85fc
- Rule hash
- 04788c0240d6
- Sources
- bank:1cd6e373f225
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 8096ecc43d5a --count 1 --seed 20261108 --test 1