← 25d47dde0246 · 25e78410d5bb →

25e18d9bd322

A 0-background grid contains one color-9 control marker and 3 or 4 monochrome objects. Ignore the marker. Select the object whose nearest cell has minimum Manhattan distance to the marker; break distance ties by bbox top row, then bbox left column. Output that object cropped to its tight bbox. Every third default draw is a linked canonical-profile anchor, and the intervening draws explicitly rebut object-origin, centroid, fixed-shape, reading-order, size, and color-rank shortcuts.

parametric family

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* ((marker (first (find-color g 9)))
         (objs (objects (set-cell g (first marker) (second marker) 0) 0))
         (best (first (sort objs
                            (lambda (a b)
                              (let ((da (apply min (map (lambda (p) (pos-manhattan p marker)) (obj-cells a))))
                                    (db (apply min (map (lambda (p) (pos-manhattan p marker)) (obj-cells b)))))
                                (cond [(not (= da db)) (< da db)]
                                      [(not (= (obj-r1 a) (obj-r1 b))) (< (obj-r1 a) (obj-r1 b))]
                                      [else (< (obj-c1 a) (obj-c1 b))]))))))
         (cells (normalize-cells (obj-cells best)))
         (bb (bbox-of-cells cells)))
    (paint-cells (empty-grid (+ 1 (third bb)) (+ 1 (fourth bb)) 0) cells (obj-color best))))

Provenance

Generator
generators/25e18d9bd322/generator.py
Notes and decisions
generators/25e18d9bd322/notes.md
Review label
reviewed_safe
Generator SHA-256
62c31795ef3e67c6bc7bddd21508b6ea8a416d604dea01ad4ea51e89313ab406
Rule hash
f275e1e6250c
Sources
bank:0d92044d8ccc
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 25e18d9bd322 --count 1 --seed 20261108 --test 1