← 5384b0fbe9e8 · 539d4ac45311 →
538503abef57
Reflect separate monochrome components in their own square frames; vary shapes, sizes, colors and repeated-color objects.
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-paste grid pat top left) (for*/fold ((out grid)) ((r (in-range (rows pat))) (c (in-range (cols pat)))) (let ((v (at pat r c)) (rr (+ top r)) (cc (+ left c))) (if (and (not (= v 0)) (in-bounds? rr cc (rows out) (cols out))) (set-cell out rr cc v) out)))) (define (s17-anti-transpose grid) (grid-from-fn (cols grid) (rows grid) (lambda (r c) (at grid (- (rows grid) 1 c) (- (cols grid) 1 r))))) (define (s17b-object-crop grid obj) (let ((bb (obj-bbox obj))) (subgrid grid (first bb) (second bb) (third bb) (fourth bb)))) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((obj (in-list (objects g 0)))) (let ((bb (obj-bbox obj))) (e8b-paste out (s17-anti-transpose (s17b-object-crop g obj)) (first bb) (second bb))))))
Provenance
- Generator
- generators/538503abef57/generator.py
- Notes and decisions
- generators/538503abef57/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- ef7c0b0e3b5615546734915c0258e749960614810dcd7690f8e92304cc06227d
- Rule hash
- 2fbbe9d88e5d
- Sources
- bank:9f3a2c87618d
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 538503abef57 --count 1 --seed 20261108 --test 1