← a8d6e6039a6f · a926d2195b22 →

a90d16507995

A connected multicolor source blob and one color-9 marker. Crop the source to its tight bounding box, clear the source, and stamp the crop with the marker as its top-left destination cell.

parametric family

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)))) (let* ((marker (first (find-color g 9))) (cells (filter (lambda (p) (let ((v (at g (first p) (second p)))) (not (member? v (list 0 9))))) (grid-positions g))) (bb (bbox-of-cells cells)) (sub (subgrid g (first bb) (second bb) (third bb) (fourth bb)))) (e8b-paste (empty-grid (rows g) (cols g) 0) sub (first marker) (second marker)))))

Provenance

Generator
generators/a90d16507995/generator.py
Notes and decisions
generators/a90d16507995/notes.md
Review label
reviewed_safe
Generator SHA-256
5ed739768caef8628a6d910f72249ffccb2cc0fc4a27af87c4c2450947ee9757
Rule hash
471219bb23e5
Sources
bank:84602fe0e9ce
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate a90d16507995 --count 1 --seed 20261108 --test 1