← 97b3f59b5cc4 · 97c9b7818f99 →

97bcb3b9194e

A 0-background grid contains 2-7 separated solid rectangular objects. Every object has a blue (1) body plus one or more non-blue marks. Exactly one rectangle has the fewest marks. Select that rectangle and return its bounding-box crop unchanged.

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! (lambda (g)
         (let* ((h (rows g))
                (w (cols g)))
           (let* ((comps (objects-multicolor g 0))
                  (box-info (map (lambda (o)
                                   (with-bbox o
                                              (r1 c1 r2 c2)
                                              (let* ((marks (for*/sum ((r (range r1
                                                                                 (+ r2
                                                                                    1))) (c (range c1
                                                                                  (+ c2
                                                                                     1)))
                                                                        #:when
                                                                        (and
                                                                          (!= (at g r c)
                                                                              0)
                                                                          (!= (at g r c)
                                                                              1)))
                                                                      1)))
                                                (list marks r1 c1 r2 c2))))
                                 comps))
                  (sorted (sort box-info (lambda (a b) (< (first a) (first b)))))
                  (best (first sorted))
                  (br1 (second best))
                  (bc1 (third best))
                  (br2 (fourth best))
                  (bc2 (fifth best))
                  (bh (+ 1 (- br2 br1)))
                  (bw (+ 1 (- bc2 bc1))))
             (build-grid bh bw (r c) (at g (+ br1 r) (+ bc1 c)))))))

Provenance

Generator
generators/97bcb3b9194e/generator.py
Notes and decisions
generators/97bcb3b9194e/notes.md
Review label
reviewed_safe
Generator SHA-256
6e2d6a927f50fd4aa57a1c888cf28c819a01182a27616404495aeb128f3ba144
Rule hash
d21a7bae9946
Sources
augmented, training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 97bcb3b9194e --count 1 --seed 20261108 --test 1