← 59c2f0a5d4a9 · 59d146376904 →

59ccf6f5cc65

Use exact 4-connected orange(7) component membership: recolor an orange component blue(1) iff it contains one of the four grid-corner cells. A color-5 corner marker and near-corner orange decoys remain unchanged.

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* ((h (rows g))
         (w (cols g))
         (corners (list (list 0 0) (list 0 (- w 1)) (list (- h 1) 0) (list (- h 1) (- w 1)))))
    (for/fold ([out g]) ([obj (in-list (filter (lambda (o) (= (obj-color o) 7)) (objects g 0)))])
      (if (any? (lambda (p) (member? p corners)) (obj-cells obj))
          (paint-cells out (obj-cells obj) 1)
          out))))

Provenance

Generator
generators/59ccf6f5cc65/generator.py
Notes and decisions
generators/59ccf6f5cc65/notes.md
Review label
reviewed_safe
Generator SHA-256
62a8a9d56464154cde31ec89c90fb10be582fbc55a70ab0bdaf3a8dea5acf83b
Rule hash
bf30289ab720
Sources
bank:54d03287ae93
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 59ccf6f5cc65 --count 1 --seed 20261108 --test 1