← e521d16d403e · e5525362bfb8 →

e5477d32d98b

0-bg grid of 3 PANELS (each panel_w wide, panel_h tall) separated by single DIVIDER COLUMNS (color 5). panel0=BEFORE (a base shape in color A), panel1=AFTER (base + a connected DELTA of extra cells, color A), panel2=QUERY (the SAME base shape in color B). Rule: read the object in each panel; DELTA = cells AFTER has that BEFORE lacks (both normalized); output = the QUERY panel with DELTA painted in color B at the query's top-left. Net: before→after growth applied to query (before:after :: query:output).

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 (split-panels-row grid count) (let* ((panel-w (quotient (- (cols grid) (- count 1)) count))) (for/list ((i (in-range count))) (let ((left (* i (+ panel-w 1)))) (subgrid grid 0 left (- (rows grid) 1) (+ left panel-w -1)))))) (let* ((panels (split-panels-row g 3)) (before (first panels)) (after (second panels)) (q (third panels)) (cb (obj-cells (first (objects before 0)))) (ca (obj-cells (first (objects after 0)))) (qb (obj-cells (first (objects q 0)))) (rel-before (sort (normalize-cells cb) cell<)) (rel-after (sort (normalize-cells ca) cell<)) (added (filter (lambda (p) (not (member? p rel-before))) rel-after)) (qbb (bbox-of-cells qb)) (qcolor (at q (first (first qb)) (second (first qb))))) (for/fold ((out q)) ((p (in-list added))) (let ((r (+ (first qbb) (first p))) (c (+ (second qbb) (second p)))) (if (in-bounds? r c (rows q) (cols q)) (set-cell out r c qcolor) out))))))

Provenance

Generator
generators/e5477d32d98b/generator.py
Notes and decisions
generators/e5477d32d98b/notes.md
Review label
reviewed_safe
Generator SHA-256
48273510e1e20c72572961ccbc60178009e6aed64265fe04f3c104f496de0790
Rule hash
60ef109bee3d
Sources
bank:7507d112faf2
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate e5477d32d98b --count 1 --seed 20261108 --test 1