← 28119d6d0e10 · 28423cdf02cc →

28268c57c367

Project nonzero, non-5 sources rightward to the unique full-height 5 wall. Only zeros are filled; the first source in each row wins. Off-wall 5s and right-side objects remain unchanged. Alternate canonical-shaped examples with multi-source, gray-obstacle counterexamples.

projectionrowssame_sizewall

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 ((wall-col (first (filter (lambda (c)
                                   (all? (lambda (r) (= (at g r c) 5)) (range 0 (rows g))))
                                 (range 0 (cols g))))))
    (for*/fold ([out g])
               ([r (in-range (rows g))]
                [c (in-range wall-col)])
      (let ((v (at g r c)))
        (if (or (= v 0) (= v 5))
            out
            (for/fold ([acc out]) ([cc (in-range (+ c 1) wall-col)])
              (if (= (at acc r cc) 0) (set-cell acc r cc v) acc)))))))

Provenance

Generator
generators/28268c57c367/generator.py
Notes and decisions
generators/28268c57c367/notes.md
Review label
reviewed_safe
Generator SHA-256
1056cfd90a2ea89d4e95e34ffe4b9f43b922e0590fccdc03ac45414961785241
Rule hash
b4fa0726be56
Sources
bank:d7b013a675b4
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 28268c57c367 --count 1 --seed 20261108 --test 1