← 2f7883fbd26f · 2f91d0756f23 →

2f8ecb96521c

Exactly two separated solid color-4 rectangles of distinct area, each at least 3x3. The selected rule fills the smaller strict interior with 1 and the larger strict interior with 2 while preserving both color-4 borders.

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! (lambda (grid)
  ;; The two smallest objects each recolor their bbox-INTERIOR cells (those still holding the
  ;; object's own color) to 1 and 2 respectively. filter the interior cells, then recolor-cells.
  (let ((objs (sort-by (objects grid 0) obj-size)))
    (reduce
      (lambda (g pair)
        (let* ((obj (fst pair)) (color (snd pair))
               (r1 (obj-r1 obj)) (c1 (obj-c1 obj))
               (r2 (obj-r2 obj)) (c2 (obj-c2 obj)) (oc (obj-color obj))
               (inner (filter (lambda (p)
                        (and (> (fst p) r1) (< (fst p) r2) (> (snd p) c1) (< (snd p) c2)
                             (= (at grid (fst p) (snd p)) oc)))
                      (grid-positions grid))))
          (recolor-cells g inner color)))
      grid (zip-lists objs (list 1 2))))))

Provenance

Generator
generators/2f8ecb96521c/generator.py
Notes and decisions
generators/2f8ecb96521c/notes.md
Review label
reviewed_safe
Generator SHA-256
97c3f5b9742f87d77bfcc4de2d3bee0f84d21059c16dd1d651829026afac7a0e
Rule hash
32d5e32db8fe
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 2f8ecb96521c --count 1 --seed 20261108 --test 1