← 9ee024f29fdb · 9f362acbf729 →

9f05dcdedf35

Recolor whole degree-one monochrome components to 8. Construct chains or branches with isolated contrasts, repeated colors and lawful input 8; two of every four default samples distinguish ten explicit rivals.

endpoint detectiongraph degreesame-size recolor

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 (adjacent? grid 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))) (define (neighbors grid objs i) (filter (lambda (j) (and (not (= i j)) (adjacent? grid (list-ref objs i) (list-ref objs j)))) (range 0 (length objs)))) (define (degree grid objs i) (length (neighbors grid objs i))) (define objs (objects g 0)) (for/fold ((out g)) ((i (in-range (length objs)))) (if (= (degree g objs i) 1) (paint-cells out (obj-cells (list-ref objs i)) 8) out))))

Provenance

Generator
generators/9f05dcdedf35/generator.py
Notes and decisions
generators/9f05dcdedf35/notes.md
Review label
reviewed_safe
Generator SHA-256
32eae1598eb032fa4de9d4af7c65aa2113405e9c392b5a8398b2071d5a135ecc
Rule hash
85fa63b64c3c
Sources
bank:3a1815be7c2e
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 9f05dcdedf35 --count 1 --seed 20261108 --test 1