← 7f181d3b0012 · 7f31c4f794b2 →

7f2dafa2bee4

3-5 distinct-color components arranged as contact graphs with visible 4-neighbor touch degrees.

parametric familygraphsobjectsrecolor

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 comps (objects g 0)) (define indexed (enumerate-list comps)) (define (touching? a b) (any? (lambda (p) (any? (lambda (d) (member? (list (+ (first p) (first d)) (+ (second p) (second d))) (obj-cells b))) cardinal-deltas)) (obj-cells a))) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((entry (in-list indexed))) (let* ((idx (first entry)) (obj (second entry)) (degree (count-where (lambda (other) (and (not (= idx (first other))) (touching? obj (second other)))) indexed)) (color (cond ((= degree 0) 1) ((= degree 1) 2) ((= degree 2) 3) (else 4)))) (paint-cells out (obj-cells obj) color)))))

Provenance

Generator
generators/7f2dafa2bee4/generator.py
Notes and decisions
generators/7f2dafa2bee4/notes.md
Review label
reviewed_safe
Generator SHA-256
e8015c4e6fed6a9b48f26dcd74d820fd93ed37aaa52dad99d365e0492375ab4e
Rule hash
c4e5aa9ad5fd
Sources
bank:ecfb302aa617
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 7f2dafa2bee4 --count 1 --seed 20261108 --test 1