← 56169a1e5c1d · 563e1df172df →
5639e60f0fac
Preserve a connected green (3) template and stamp its untransformed 3x3 or 3x4 binary crop into an isolated matching solid cyan (8) canvas. Template holes become zero in the canvas. Roles follow fixed colors; object positions vary in all four quadrants on a zero background.
mask transferpaired-object reasoningtemplate extraction
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 ((dummy 0))
(define proto (first (filter (lambda (obj) (= (obj-color obj) 3)) (objects g 0))))
(define proto-crop (subgrid g (obj-r1 proto) (obj-c1 proto) (obj-r2 proto) (obj-c2 proto)))
(define canvas
(find-first
(lambda (obj)
(and (= (obj-color obj) 8)
(= (obj-h obj) (rows proto-crop))
(= (obj-w obj) (cols proto-crop))
(= (obj-size obj) (* (obj-h obj) (obj-w obj)))))
(objects g 0)))
(for*/fold ([out g])
([r (in-range (rows proto-crop))]
[c (in-range (cols proto-crop))])
(set-cell out (+ (obj-r1 canvas) r) (+ (obj-c1 canvas) c)
(if (= (at proto-crop r c) 3) 8 0)))))Provenance
- Generator
- generators/5639e60f0fac/generator.py
- Notes and decisions
- generators/5639e60f0fac/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 9e77fa42b117a86ba45e717018b1fbb8996b2ad2b3b7c8adf2b6b2124a935dd7
- Rule hash
- c4cb7e8eec6d
- Sources
- bank:e06827914c5c
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 5639e60f0fac --count 1 --seed 20261108 --test 1