← f29955be8ba2 · f2dbde875127 →

f29af9159005

Paint zero cells visible orthogonally from any red seed unless a blue blocker lies strictly between.

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 ((seeds (find-color g 2)))
    (grid-from-fn h w
      (lambda (r c)
        (let ((v (cell-at g r c)))
          (if (not (= v 0))
              v
              (if (any?
                    (lambda (p)
                      (let ((sr (fst p))
                            (sc (snd p)))
                        (cond
                          [(= sr r)
                           (all?
                             (lambda (cc) (not (= (cell-at g r cc) 1)))
                             (range (+ (min sc c) 1) (max sc c)))]
                          [(= sc c)
                           (all?
                             (lambda (rr) (not (= (cell-at g rr c) 1)))
                             (range (+ (min sr r) 1) (max sr r)))]
                          [else #f])))
                    seeds)
                  4
                  0)))))))

Provenance

Generator
generators/f29af9159005/generator.py
Notes and decisions
generators/f29af9159005/notes.md
Review label
reviewed_safe
Generator SHA-256
fed9ef34b00ce974451a3cb133cb345363a57b1dd76864e1461c8984b3de1ec1
Rule hash
21f0acd89113
Sources
bank:765a70430bc9
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate f29af9159005 --count 1 --seed 20261108 --test 1