← e2bc70324918 · e2fa7e7aee7c →

e2eab62ba331

Select the remote object matching the top-left color and return its original tight bounding-box subgrid.

component detectioncroppingselection

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).

Reference rule (Racket)

(rule!
  (let* ((target (at g 0 0))
         (choices (filter (lambda (o) (and (= (obj-color o) target)
                                           (not (member? (list 0 0) (obj-cells o)))))
                          (objects g 0))))
    (if (empty? choices)
        (empty-grid 1 1 0)
        (let ((bb (bbox-of-cells (obj-cells (first choices)))))
          (subgrid g (first bb) (second bb) (third bb) (fourth bb))))))

Provenance

Generator
generators/e2eab62ba331/generator.py
Notes and decisions
generators/e2eab62ba331/notes.md
Review label
reviewed_safe
Generator SHA-256
5603466f3b04a5e1a2f9c2e7944230987c64dab644ba41a79763871c53ed7758
Rule hash
a06ec2fdb2eb
Sources
bank:cc07013acae1
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate e2eab62ba331 --count 1 --seed 20261108 --test 1