← 26f313fdf812 · 270af96a99b0 →

27080597d778

A height-3..10, width-9 grid has two width-4 monochrome/zero panels and a gray separator in column 4. Overlay the panels, preserving their colors, only if every aligned cell pair contains exactly one nonzero cell. If any pair overlaps or is empty on both sides, output the complete left panel unchanged. Generate complement, overlap-only, gap-only and balanced overlap-plus-gap cases, including canonical-height/color anchors.

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! (lambda (g)
  ;; alt: crop the left panel, then overlay the right panel only where the left has zero and the panels are zero-complements.
  (let* ((h (rows g))
         (left-w 4)
         (zero-complements?
          (for*/and ((r (in-range h))
                     (c (in-range left-w)))
            (not (equal? (zero? (at g r c))
                         (zero? (at g r (+ c 5))))))))
    (grid-from-fn h left-w
      (lambda (r c)
        (let ((left (at g r c))
              (right (at g r (+ c 5))))
          (if (and zero-complements? (zero? left)) right left)))))))

Provenance

Generator
generators/27080597d778/generator.py
Notes and decisions
generators/27080597d778/notes.md
Review label
reviewed_safe
Generator SHA-256
dc379efc26f48130d6f42e7f52573ca74dfb4eccf407d467b741d94e832c37d9
Rule hash
7362bea2dda7
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 27080597d778 --count 1 --seed 20261108 --test 1