← 80f776fb3ce5 · 81a2a6d68649 →

8118155d8959

A canonical-size zero-background grid contains exactly three blue (1) 4-connected objects whose cell counts are a demonstrated distinct-size profile. Sort the blue objects by occupied-cell count ascending and recolor them 2, 3, and 8; preserve all non-blue distractor objects. Every three-example lesson includes deliberate cell-count versus bounding-box-area, spatial-order, and shape-lookup conflicts.

parametric family

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* ((blues
           (sort
             (filter (lambda (obj) (= (obj-color obj) 1)) (objects g 0))
             (lambda (a b)
               (let ((sa (obj-size a))
                     (sb (obj-size b))
                     (ba (obj-bbox a))
                     (bb (obj-bbox b)))
                 (or (< sa sb)
                     (and (= sa sb)
                          (or (< (first ba) (first bb))
                              (and (= (first ba) (first bb))
                                   (< (second ba) (second bb))))))))))
         (small (first blues))
         (mid (second blues))
         (large (third blues)))
    (grid-from-fn h w
      (lambda (r c)
        (let ((v (cell-at g r c)))
          (cond
            [(any? (lambda (p) (and (= r (fst p)) (= c (snd p)))) (obj-cells small)) 2]
            [(any? (lambda (p) (and (= r (fst p)) (= c (snd p)))) (obj-cells mid)) 3]
            [(any? (lambda (p) (and (= r (fst p)) (= c (snd p)))) (obj-cells large)) 8]
            [else v]))))))

Provenance

Generator
generators/8118155d8959/generator.py
Notes and decisions
generators/8118155d8959/notes.md
Review label
reviewed_safe
Generator SHA-256
ab6964be99e6f3a6084621918dd1b5dcba7cbefbdf975043fbb1a259e7e4718f
Rule hash
ed7a95a7119d
Sources
bank:e2825ca16ace
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 8118155d8959 --count 1 --seed 20261108 --test 1