← 3c05b058b793 · 3d48e913ef07 →

3ce95b466478

A 0-background grid contains 3-5 separated red (2) polyominoes with distinct cell counts and one 1-3-cell non-red decoration. Rank the red components by cell count, choose the second-largest, crop its bounding box, and recolor its cells cyan (8). Exact controls cover dimensions and component count; decoration color/size, layouts, and shapes vary internally. Every three consecutive samples include a size-vs-perimeter counterexample.

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 ((dummy 0))
    (define (crop-cells cells color)
      (let* ((norm (normalize-cells cells))
             (bb (bbox-of-cells norm)))
        (grid-from-fn (+ 1 (third bb)) (+ 1 (fourth bb))
          (lambda (r c) (if (member? (list r c) norm) color 0)))))
    (let* ((reds (filter (lambda (o) (= (obj-color o) 2)) (objects g 0)))
           (sorted (sort reds (lambda (a b)
                                (cond [(not (= (obj-size a) (obj-size b))) (> (obj-size a) (obj-size b))]
                                      [else (< (obj-r1 a) (obj-r1 b))]))))
           (target (second sorted)))
      (crop-cells (obj-cells target) 8))))

Provenance

Generator
generators/3ce95b466478/generator.py
Notes and decisions
generators/3ce95b466478/notes.md
Review label
reviewed_safe
Generator SHA-256
529c9becc1ddb1c2b51f3cff6f07f047a63d547d1a455fb9a38a8d52c57f5659
Rule hash
e0019367e92e
Sources
bank:e00836ab832d
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 3ce95b466478 --count 1 --seed 20261108 --test 1