← 55312177dae6 · 5553241d87bf →

554712910457

Fill each zero with its nearer red or green Manhattan seed, preserving equal-distance zeros and all nonzero distractors.

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* ((s2 (first (find-color g 2)))
         (s3 (first (find-color g 3))))
    (grid-from-fn (rows g) (cols g)
      (lambda (r c)
        (if (not (= (at g r c) 0))
            (at g r c)
            (let ((d2 (+ (abs (- r (first s2))) (abs (- c (second s2)))))
                  (d3 (+ (abs (- r (first s3))) (abs (- c (second s3))))))
              (cond [(< d2 d3) 2] [(< d3 d2) 3] [else 0])))))))

Provenance

Generator
generators/554712910457/generator.py
Notes and decisions
generators/554712910457/notes.md
Review label
reviewed_safe
Generator SHA-256
a66c3bdd47c425d3ba80f7bf2eb03f065a05de135f74acad2fcc78c6af39acbb
Rule hash
71fde72d5413
Sources
bank:0d41ded5f4cd
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 554712910457 --count 1 --seed 20261108 --test 1