← b38782448e7b · b39674306606 →

b38ab8be5f4c

Exactly one non-zero top-row marker supplies guide color G. Rows 1+ contain three distinct-color connected objects, exactly one colored G. Return the raw tight bounding-box crop of all body cells colored G. Non-guide cells inside that box remain in the output.

color matchingcroppingobject selection

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* ((guide (first (filter (lambda (v) (not (= v 0))) (first g))))
         (cells (filter-cells g (lambda (r c v) (and (> r 0) (= v guide)))))
         (bb (bbox-of-cells cells)))
    (subgrid g (first bb) (second bb) (third bb) (fourth bb))))

Provenance

Generator
generators/b38ab8be5f4c/generator.py
Notes and decisions
generators/b38ab8be5f4c/notes.md
Review label
reviewed_safe
Generator SHA-256
87f47e0d9bea2bc142adbb0efd44a9695ea0325ced1b7e33542f5f0ef8a4f900
Rule hash
439c1e733337
Sources
bank:0f1ff2289d6f
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate b38ab8be5f4c --count 1 --seed 20261108 --test 1