← 040bfb038c65 · 04b1a77fc994 →

0491e1a49389

0-background grids with one full-width maroon(9) guide row and 2-4 distinct-color polyominoes on both sides. The output is a fresh canvas containing the guide plus every object reflected across that row; source objects disappear and off-board reflected cells are clipped.

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 (f14-full-row grid color) (let ((hits (filter (lambda (r) (all? (lambda (v) (= v color)) (row grid r))) (range (rows grid))))) (if (empty? hits) #f (first hits)))) (let ((guide (f14-full-row g 9))) (for/fold ((out (paint-cells (empty-grid (rows g) (cols g) 0) (map (lambda (c) (list guide c)) (range (cols g))) 9))) ((obj (in-list (objects g 0)))) (if (= (obj-color obj) 9) out (for/fold ((acc out)) ((p (in-list (obj-cells obj)))) (let ((rr (- (* 2 guide) (first p)))) (if (in-bounds? rr (second p) (rows g) (cols g)) (set-cell acc rr (second p) (obj-color obj)) acc))))))))

Provenance

Generator
generators/0491e1a49389/generator.py
Notes and decisions
generators/0491e1a49389/notes.md
Review label
reviewed_safe
Generator SHA-256
8e46b096c0424af787d6475a5f40b2501eaa4fae0eb2924253bdc495939162c7
Rule hash
d6db986b56c9
Sources
bank:884454e62c49
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 0491e1a49389 --count 1 --seed 20261108 --test 1