← cf09cffb4663 · cf5ccd73cfe5 →

cf4fdf474ad5

Three or four separated solid rectangular patches use cyan 8 with green 3 overlays. Ignore patches taller than eight rows; among the remaining patches crop the one with the most green cells, breaking ties by smaller bounding-box area and then top-left position. Default scenes include a taller higher-green decoy, larger-area and denser valid decoys, and alternating equal-count area-tie witnesses.

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 (g)
         (let* ((h (rows g))
                (w (cols g)))
           (let* ((objs (objects-multicolor g 0))
                  (items (filter (lambda (x) x)
                                 (map (lambda (obj)
                                        (with-bbox obj
                                                   (r1 c1 r2 c2)
                                                   (let* ((hh (+ 1 (- r2 r1)))
                                                          (ww (+ 1 (- c2 c1)))
                                                          (area (* hh ww))
                                                          (n3 (count-if (lambda (p)
                                                                          (= (at g
                                                                                 (first p)
                                                                                 (second p))
                                                                             3))
                                                                        (obj-cells obj))))
                                                     (and
                                                       (<= hh 8)
                                                       (list (+ (* (- n3) 1000000)
                                                                (* area 1000)
                                                                (* r1 30)
                                                                c1)
                                                             obj)))))
                                      objs)))
                  (chosen (second (first (sort-by items first))))
                  (bb (obj-bbox chosen)))
             (crop g (first bb) (second bb) (third bb) (fourth bb))))))

Provenance

Generator
generators/cf4fdf474ad5/generator.py
Notes and decisions
generators/cf4fdf474ad5/notes.md
Review label
reviewed_safe
Generator SHA-256
f577c3f69219ac465b9cb03c36352de625653e76d71f3ebff9df78d87093c286
Rule hash
9316ff1c04fa
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate cf4fdf474ad5 --count 1 --seed 20261108 --test 1