← 91c488d9ffdc · 926c6bd137d3 →

924a6f0f0549

Row 0 has k color-1 markers. Below it are distinctly sized, distinctly colored body objects; exactly one has area k. Select that object, keep its 4-neighbor outline, and crop to its bounding box.

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 dirs4 (list (list -1 0) (list 1 0) (list 0 -1) (list 0 1))) (define (e5-outline-cells cells) (filter (lambda (p) (any? (lambda (d) (not (member? (list (+ (first p) (first d)) (+ (second p) (second d))) cells))) dirs4)) cells)) (let* ((k (length (filter (lambda (v) (= v 1)) (first g)))) (body (subgrid g 1 0 (- (rows g) 1) (- (cols g) 1))) (hit (first (filter (lambda (obj) (= (obj-size obj) k)) (objects body 0)))) (cells (map (lambda (p) (list (+ 1 (first p)) (second p))) (obj-cells hit))) (outline (e5-outline-cells cells)) (bb (bbox-of-cells outline))) (paint-cells (empty-grid (+ 1 (- (third bb) (first bb))) (+ 1 (- (fourth bb) (second bb))) 0) (map (lambda (p) (list (- (first p) (first bb)) (- (second p) (second bb)))) outline) (obj-color hit)))))

Provenance

Generator
generators/924a6f0f0549/generator.py
Notes and decisions
generators/924a6f0f0549/notes.md
Review label
reviewed_safe
Generator SHA-256
f97049ce300f03e78eab23d74422ae7d06f8e37bb3b88501c4c91d14731a75a0
Rule hash
23fd1d61a026
Sources
bank:bfb58307fa26
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 924a6f0f0549 --count 1 --seed 20261108 --test 1