← f7a512650552 · f7c20cfd443f →
f7b828a70061
Canonical-sized zero-background grids. An isolated command at (0,0) selects identity, clockwise, 180-degree, or counter-clockwise rotation. Choose the uniquely largest component by cell count, crop its bounding box, and rotate it. A smaller reading-order-first component has the same bounding-box area and explicitly refutes largest-bbox-area selection.
command decodingcroppingrotation
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 ((cmd (at g 0 0)))
(define (apply-cmd grid code)
(cond [(= code 2) grid]
[(= code 3) (rotate-cw grid)]
[(= code 4) (rotate-180 grid)]
[else (rotate-ccw grid)]))
(let* ((cleaned (set-cell g 0 0 0))
(mask (grid-from-fn (rows cleaned) (cols cleaned)
(lambda (r c) (if (= (at cleaned r c) 0) 0 1))))
(objs (sort (objects mask 0)
(lambda (a b)
(cond [(not (= (obj-size a) (obj-size b))) (> (obj-size a) (obj-size b))]
[(not (= (obj-r1 a) (obj-r1 b))) (< (obj-r1 a) (obj-r1 b))]
[else (< (obj-c1 a) (obj-c1 b))]))))
(obj (first objs)))
(apply-cmd (subgrid cleaned (obj-r1 obj) (obj-c1 obj) (obj-r2 obj) (obj-c2 obj)) cmd))))Provenance
- Generator
- generators/f7b828a70061/generator.py
- Notes and decisions
- generators/f7b828a70061/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- eea80f00b8851ea76a5a9952f98ea2828a1c979ac2ba4a57e9e4202f0ec722b5
- Rule hash
- d95bdc7a1a1a
- Sources
- bank:8ed83d4e427b
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate f7b828a70061 --count 1 --seed 20261108 --test 1