← 5f9a2df57599 · 5fdbbb5a53ef →
5faf9d5e3e6d
A unique transform key at (0,0) selects identity, clockwise rotation, 180-degree rotation, or horizontal reflection of the cropped nonzero body. Every lesson demonstrates all four key meanings before a seed-varying query; generated bodies make the four answers distinct.
flipkeyed transformrotationsize-changing output
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 (nonzero-cells grid) (filter (lambda (p) (not (= (at grid (first p) (second p)) 0))) (grid-positions grid))) (define (crop-nonzero grid) (let ((cells (nonzero-cells grid))) (if (empty? cells) (list (list 0)) (let* ((bb (bbox-of-cells cells))) (subgrid grid (first bb) (second bb) (third bb) (fourth bb)))))) (define (t10b-transform grid code) (cond ((= code 1) grid) ((= code 2) (rotate-cw grid)) ((= code 3) (rotate-180 grid)) ((= code 4) (flip-lr grid)) ((= code 5) (flip-ud grid)) ((= code 6) (rotate-ccw grid)) (else grid))) (let* ((key (at g 0 0)) (body (set-cell g 0 0 0))) (t10b-transform (crop-nonzero body) key))))
Provenance
- Generator
- generators/5faf9d5e3e6d/generator.py
- Notes and decisions
- generators/5faf9d5e3e6d/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- b982564eb0eb6bf7381a66f6c4fd70bae2b187c0cd85b50d3a8da5eb698a7efa
- Rule hash
- abd7c563a610
- Sources
- bank:ad4abc25f505
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 5faf9d5e3e6d --count 1 --seed 20261108 --test 1