← 6af5c333e5c1 · 6b4b56166bfd →

6afe10b621e4

Select the unique largest red(2) and green(3) 4-connected components independently, recolor them to 4 and 1, and erase all decoys.

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)
  (define all-objects (objects grid 0))
  (define (largest-of color)
    (first
      (sort
        (filter (lambda (obj) (= (obj-color obj) color)) all-objects)
        (lambda (a b) (> (obj-size a) (obj-size b))))))
  (let* ((largest-red (largest-of 2))
         (largest-green (largest-of 3))
         (blank (empty-grid (rows grid) (cols grid) 0)))
    (recolor-cells
      (recolor-cells blank (obj-cells largest-red) 4)
      (obj-cells largest-green) 1))))

Provenance

Generator
generators/6afe10b621e4/generator.py
Notes and decisions
generators/6afe10b621e4/notes.md
Review label
reviewed_safe
Generator SHA-256
75e2b8614deb0668917dd94e989eec76d14fb8baf51967087000fee36c0e63b1
Rule hash
44f12ccc51c2
Sources
custom
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 6afe10b621e4 --count 1 --seed 20261108 --test 1