← ed55b2928ac3 · ed98575459d2 →

ed860c0a9107

Place 2-4 equal solid rectangles of transparent zero and colored payload on a nonzero background. Align their bounding boxes and overlay them in row-major object order, taking the first nonzero payload at every local coordinate. Every generated scene contains a distinct-color overlap that makes first-object priority observable. Default even-index scenes also distinguish row-major object order from column and fixed color priorities.

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* ([bg (at g 0 0)]
         [boxes (objects-multicolor g bg)]
         [bb (obj-bbox (first boxes))]
         [out-h (+ 1 (- (third bb) (first bb)))]
         [out-w (+ 1 (- (fourth bb) (second bb)))])
    ;; alt: normalize every box to its bbox, then left-fold a transparent overlay.
    (define (local-at obj r c)
      (let* ([obb (obj-bbox obj)]
             [gr (+ (first obb) r)]
             [gc (+ (second obb) c)])
        (and (in-bounds? gr gc h w) (at g gr gc))))
    (define (visible? v)
      (and v (!= v 0) (!= v bg)))
    (build-grid out-h out-w (r c)
      (let ([hit (find-first (lambda (obj) (visible? (local-at obj r c))) boxes)])
        (if hit (local-at hit r c) 0)))))

Provenance

Generator
generators/ed860c0a9107/generator.py
Notes and decisions
generators/ed860c0a9107/notes.md
Review label
reviewed_safe
Generator SHA-256
2d7912fe3e21dbe1bc7fb9ecd3c2300aabbbca5d0a7ab5f6d29c74ba79778a18
Rule hash
8e6a03efc456
Sources
augmented, training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate ed860c0a9107 --count 1 --seed 20261108 --test 1