← 401026bab1f6 · 40ad7195c775 →

406739865b43

Read the unique row-0 marker color, select the body component of that color, and return its tight bounding-box crop. Canonical-size anchors and alternating interior-rank counterexamples make component order, size, and marker distance insufficient shortcuts.

bbox cropcomponent selectionlegend decoding

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 (first (filter (lambda (v) (not (= v 0))) (row g 0))))
         (candidates
          (filter (lambda (obj)
                    (and (= (obj-color obj) target)
                         (all? (lambda (p) (> (first p) 0)) (obj-cells obj))))
                  (objects g 0)))
         (chosen (first (sort candidates
                              (lambda (a b)
                                (if (= (obj-r1 a) (obj-r1 b))
                                    (< (obj-c1 a) (obj-c1 b))
                                    (< (obj-r1 a) (obj-r1 b))))))))
    (subgrid g (obj-r1 chosen) (obj-c1 chosen) (obj-r2 chosen) (obj-c2 chosen))))

Provenance

Generator
generators/406739865b43/generator.py
Notes and decisions
generators/406739865b43/notes.md
Review label
reviewed_safe
Generator SHA-256
5af59a1154f8f278bdf0a43eff4ed9775bbc2eeddfd29df65f7aeec3c0a80554
Rule hash
c69934b21e7a
Sources
bank:f234ef852d75
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 406739865b43 --count 1 --seed 20261108 --test 1