← 7e7614405852 · 7e9fd4cf84a9 →

7e826540d45d

Separated small objects whose orthogonal halos can be drawn without overlap; exact size, object-count and distinct-color controls are observable, while palette_size controls the sampled color pool.

parametric familyhalomorphologyobjectssame_size

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)) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((obj (in-list (objects g 0)))) (let* ((cells (obj-cells obj)) (halo (filter (lambda (p) (and (= (at g (first p) (second p)) 0) (not (member? p cells)))) (remove-duplicates (apply append (map (lambda (cell) (map (lambda (d) (list (+ (first cell) (first d)) (+ (second cell) (second d)))) cardinal-deltas)) cells)))))) (paint-cells out (filter (lambda (p) (in-bounds? (first p) (second p) (rows g) (cols g))) halo) (obj-color obj))))))

Provenance

Generator
generators/7e826540d45d/generator.py
Notes and decisions
generators/7e826540d45d/notes.md
Review label
reviewed_safe
Generator SHA-256
6315c46606c0c48354517a8163fd003c3df3d56867ad4cae8de557def39e71b4
Rule hash
b716dd485b4c
Sources
bank:04c7711cefc4
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 7e826540d45d --count 1 --seed 20261108 --test 1