← 274345a1792c · 27a915a2c9b3 →

2786bc764238

A zero-background 9-12 by 12-15 grid contains exactly two to five spatially separated nonzero 4-connected components. One component is uniquely largest by cell count; smaller components may tie with each other, as they do in the canonical examples. Select the largest component and return the exact input subgrid spanning its bounding box, preserving internal zeros and every target color. Distractor bounding boxes stay outside the selected box, so the crop contains the selected component rather than unrelated context.

parametric familycomponent sizecroppingshape preservation

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* ((mask (grid-from-fn (rows g) (cols g)
                 (lambda (r c) (if (= (at g r c) 0) 0 1))))
         (objs (sort (objects mask 0)
                     (lambda (a b)
                       (cond [(not (= (obj-size a) (obj-size b))) (> (obj-size a) (obj-size b))]
                             [(not (= (obj-r1 a) (obj-r1 b))) (< (obj-r1 a) (obj-r1 b))]
                             [else (< (obj-c1 a) (obj-c1 b))]))))
         (chosen (first objs)))
    (subgrid g (obj-r1 chosen) (obj-c1 chosen) (obj-r2 chosen) (obj-c2 chosen))))

Provenance

Generator
generators/2786bc764238/generator.py
Notes and decisions
generators/2786bc764238/notes.md
Review label
reviewed_safe
Generator SHA-256
8d02f4d960666987af3c27c89e313bfa5ec10b7df24864e809c2b353419fb155
Rule hash
92d8b810afaf
Sources
bank:8ed83d4e427b
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 2786bc764238 --count 1 --seed 20261108 --test 1