← 63784d19dd2d · 63a780e1d475 →

6387de413b52

0-bg grid with COLOR-2 blobs (whose bbox ROW ranges define the active rows) and COLOR-3 blobs (whose bbox COL ranges define the active cols). Rule: paint 8 at every (r,c) where r is in a color-2 bbox row-range AND c is in a color-3 bbox col-range. Output size == input size.

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* ((rows-hit (remove-duplicates (apply append (map (lambda (obj) (if (= (obj-color obj) 2) (range (first (obj-bbox obj)) (+ (third (obj-bbox obj)) 1)) (list))) (objects g 0))))) (cols-hit (remove-duplicates (apply append (map (lambda (obj) (if (= (obj-color obj) 3) (range (second (obj-bbox obj)) (+ (fourth (obj-bbox obj)) 1)) (list))) (objects g 0)))))) (grid-from-fn (rows g) (cols g) (lambda (r c) (if (and (member? r rows-hit) (member? c cols-hit)) 8 0))))))

Provenance

Generator
generators/6387de413b52/generator.py
Notes and decisions
generators/6387de413b52/notes.md
Review label
reviewed_safe
Generator SHA-256
ff142f9321d9d0cd2f2bcbc082a3d6d674b47670d501b9b2541a4f6fba7371b0
Rule hash
64c7d23f90a7
Sources
bank:22a17f7a0399
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 6387de413b52 --count 1 --seed 20261108 --test 1