← 36b22ff07a2e · 372fcf6aa6ad →
371eb0221101
A 7..14 by 7..14 zero-background grid contains 2..4 isolated monochrome L-triominoes. There are 1..2 distinct nonzero colors. Rotate every object 90 degrees clockwise inside its own tight 2x2 bounding box, preserving color and the bounding-box anchor.
parametric familybounding-box anchoringobject-wise 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 (e8b-list< a b) (cond ((empty? a) #f) ((< (first a) (first b)) #t) ((> (first a) (first b)) #f) (else (e8b-list< (rest a) (rest b))))) (define (t10-norm-cells cells) (let* ((bb (bbox-of-cells cells)) (r0 (first bb)) (c0 (second bb)) (r1 (third bb)) (c1 (fourth bb))) (list (map (lambda (p) (list (- (first p) r0) (- (second p) c0))) cells) (+ 1 (- r1 r0)) (+ 1 (- c1 c0)) r0 c0))) (define (t10-rot-offset dr dc k) (if (= k 0) (list dr dc) (t10-rot-offset dc (- dr) (- k 1)))) (define (t3b-rotate-offsets offs k) (let* ((raw (map (lambda (p) (let ((rot (t10-rot-offset (first p) (second p) k))) (list (first rot) (second rot)))) offs)) (minr (apply min (map first raw))) (minc (apply min (map second raw)))) (sort (map (lambda (p) (list (- (first p) minr) (- (second p) minc))) raw) e8b-list<))) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((obj (in-list (objects g 0)))) (let* ((bb (obj-bbox obj)) (offs (first (t10-norm-cells (obj-cells obj)))) (rot (t3b-rotate-offsets offs 1))) (paint-cells out (map (lambda (p) (list (+ (first bb) (first p)) (+ (second bb) (second p)))) rot) (obj-color obj))))))
Provenance
- Generator
- generators/371eb0221101/generator.py
- Notes and decisions
- generators/371eb0221101/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 4e2a90e07a476a026815fe0332aeee45f7481ca8bc7540419eea5ce0a91946b8
- Rule hash
- 27c74d38508a
- Sources
- bank:6ee66428b984
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 371eb0221101 --count 1 --seed 20261108 --test 1