← 85dcd5c922b9 · 85e65da9fb15 →

85de426e8683

Recolor the middle cell of every whole gray(5) 8-connected object that is exactly a three-cell diagonal; larger gray near-misses and unrelated colored distractors remain unchanged.

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 (cell< a b) (or (< (first a) (first b)) (and (= (first a) (first b)) (< (second a) (second b)))))
    (for/fold ([out g]) ([obj (filter (lambda (o) (and (= (obj-color o) 5) (= (obj-size o) 3))) (objects-8 g 0))])
      (let* ((cells (sort (obj-cells obj) cell<))
             (norm (sort (normalize-cells cells) cell<)))
        (if (or (equal? norm (list (list 0 0) (list 1 1) (list 2 2)))
                (equal? norm (list (list 0 2) (list 1 1) (list 2 0))))
            (paint-cells out (list (second cells)) 4)
            out)))))

Provenance

Generator
generators/85de426e8683/generator.py
Notes and decisions
generators/85de426e8683/notes.md
Review label
reviewed_safe
Generator SHA-256
cd7190108b0aea195d4f6516055b93a7e5da642fec382da85bd555c066abc639
Rule hash
810181a298c8
Sources
bank:f4facb1306bd
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 85de426e8683 --count 1 --seed 20261108 --test 1