← a51a8e285ce9 · a55c1997c5e3 →
a53fa114c4a9
0-bg grid (h~8-13, w~10-17) with STRUCTURED LAYOUT: (a) ROWS 0 and 1 — LEGEND: at n_pairs (2-4) DISTINCT COLUMNS, row 0 holds a SOURCE COLOR and row 1 holds the corresponding TARGET COLOR (aligned src→dst pairs). Source/target colors are drawn from {2..9} as 2 * n_pairs distinct values. Other cells in rows 0-1 are bg-0; (b) ROW 2 — COLUMN-KEEP MASK: at n_keep (2-8) DISTINCT COLUMNS, paint cells with COLOR 1 (the mask marker). Other cells in row 2 are bg-0; (c) ROWS 3..h-1 — BODY: each body cell is INDEPENDENTLY filled with a random SRC color (from the legend) at density 0.42, plus guaranteed source cells at each (keep_col[i], 3 + (i % (h-3))) position. Rule (RECOLOR BODY VIA LEGEND THEN CROP TO MASK-MARKED COLUMNS): READ the LEGEND (rows 0-1) to build a SRC→DST color map. APPLY the map to every cell in the BODY (rows 3..h-1): each SRC-color cell becomes its DST. READ the MASK (row 2) — get the LIST of KEEP COLUMNS (cells where g[2][c]=1). CROP the recolored body to only those columns. OUTPUT is (h-3) rows × n_keep cols (legend and mask rows are discarded). Net: a recoloring filter applied to the body, then a column-subset crop.
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)) (let* ((mapping (filter values (for/list ((c (in-range (cols g)))) (let ((s (at g 0 c)) (t (at g 1 c))) (if (and (not (= s 0)) (not (= t 0))) (list s t) #f))))) (keep (filter (lambda (c) (= (at g 2 c) 1)) (range (cols g))))) (for/list ((r (in-range 3 (rows g)))) (for/list ((c (in-list keep))) (let* ((v (at g r c)) (hit (filter (lambda (p) (= (first p) v)) mapping))) (if (empty? hit) v (second (first hit)))))))))
Provenance
- Generator
- generators/a53fa114c4a9/generator.py
- Notes and decisions
- generators/a53fa114c4a9/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- f6a5f232b0f3c9213764b550025a402055eec8487c8bfd68726e6d1c3b4ed65f
- Rule hash
- 92f98ca45734
- Sources
- bank:bfb58307fa26
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate a53fa114c4a9 --count 1 --seed 20261108 --test 1