← f06819f26831 · f0d16ecf2012 →

f06d31332595

Find the full-height gray divider. Preserve the input and reflect every non-zero, non-gray cell from its left source panel to the equal-distance cell on the right, preserving color. The divider may be centered or may have one to three extra blank columns beyond the reflected right panel.

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 ((divs (filter (lambda (c)
                        (all? (lambda (r) (= (at g r c) 5))
                              (range 0 h)))
                      (range 0 w))))
    (if (empty? divs)
        g
        (let ((divider (first divs)))
          (cellmap g (r c v)
            (let ((src-c (- (* 2 divider) c)))
              (if (and (> c divider)
                       (in-bounds? r src-c h w)
                       (!= (at g r src-c) 0)
                       (!= (at g r src-c) 5))
                  (at g r src-c)
                  v)))))))

Provenance

Generator
generators/f06d31332595/generator.py
Notes and decisions
generators/f06d31332595/notes.md
Review label
reviewed_safe
Generator SHA-256
9bb48d51f27c434a2ebe10538eb5f6b7c0523be6db361406cc99cfc080566cb7
Rule hash
2739381bfcfd
Sources
bank:385e738e9e70
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate f06d31332595 --count 1 --seed 20261108 --test 1