← bdd177308a5b · be05cee2806f →

be02b305dd1e

Use the largest magenta(6) component's occupied cells relative to its bounding box as a mask. Find the solid green(3) rectangle with the same height and width, clear it, and redraw the mask there in cyan(8). Keep all magenta components unchanged.

bbox alignmentmask transfertemplate 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* ((template (first (sort (filter (lambda (o) (= (obj-color o) 6)) (objects g 0)) (lambda (a b) (> (obj-size a) (obj-size b)))))) (rel (map (lambda (p) (list (- (first p) (obj-r1 template)) (- (second p) (obj-c1 template)))) (obj-cells template)))) (define target (first (filter (lambda (obj) (and (= (obj-color obj) 3) (solid-rect? obj) (= (obj-h obj) (obj-h template)) (= (obj-w obj) (obj-w template)))) (objects g 0)))) (let ((cleared (paint-cells g (obj-cells target) 0))) (for/fold ((out cleared)) ((p (in-list rel))) (set-cell out (+ (obj-r1 target) (first p)) (+ (obj-c1 target) (second p)) 8)))))

Provenance

Generator
generators/be02b305dd1e/generator.py
Notes and decisions
generators/be02b305dd1e/notes.md
Review label
reviewed_safe
Generator SHA-256
b70ae4e93b362406f3233b4de9d019f8a51ec3c98f176ee35b70b368839e12ee
Rule hash
ed1eb3ca2cbf
Sources
bank:f234ef852d75
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate be02b305dd1e --count 1 --seed 20261108 --test 1