← f8d1d470d522 · f98b43c1996b →

f9099d7c7e31

A 0-background 9-11 square-ish grid contains 3-4 distinct-colored, 4-connected objects. Select by (bbox width DESC, cell count DESC), then crop the original grid to that object's tight bbox. The crop preserves the selected shape's holes and any foreign-colored cells inside the bbox.

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!
  (let* ((target (first (sort (objects g 0)
                              (lambda (a b)
                                (let ((wa (obj-w a)) (wb (obj-w b)))
                                  (if (= wa wb) (> (obj-size a) (obj-size b)) (> wa wb)))))))
         ;; Bounding box (r1 c1 r2 c2) of target
         (bb (obj-bbox target)))
    (subgrid g (first bb) (second bb) (third bb) (fourth bb))))

Provenance

Generator
generators/f9099d7c7e31/generator.py
Notes and decisions
generators/f9099d7c7e31/notes.md
Review label
reviewed_safe
Generator SHA-256
637dab454ea60d0c41d371506033ef592ec2a949fc61d0b5972af1060a065b80
Rule hash
9a6f1f4b6ce5
Sources
bank:38166e88069b
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate f9099d7c7e31 --count 1 --seed 20261108 --test 1