← 87754dbb8687 · 8801696784e1 →

87aae821984d

Place one cyan motif with a 2x2, 2x3, 3x2, or 3x3 tight bounding box and one to five isolated yellow counter cells. Count the yellow cells; right/bottom-align all cyan cells in a 3x3 tile, padding smaller cyan bounding boxes on the top and/or left, then repeat that tile horizontally once per yellow cell. Connectivity of the cyan motif is irrelevant.

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* ((n (for/sum ((r (range 0 h))) (for/sum ((c (range 0 w))) (if (= (at g r c) 4) 1 0)))) (eights (find-color g 8)) (r1 (min-of fst eights)) (c1 (min-of snd eights)) (r2 (max-of fst eights)) (c2 (max-of snd eights)) (sh (+ 1 (- r2 r1))) (sw (+ 1 (- c2 c1))) (pad-r (- 3 sh)) (pad-c (- 3 sw))) (build-grid 3 (* 3 n) (r c) (let ((sr (+ (- r1 pad-r) r)) (sc (+ (- c1 pad-c) (mod c 3)))) (if (and (>= sr 0) (< sr h) (>= sc 0) (< sc w)) (if (= (at g sr sc) 8) 8 0) 0)))))))

Provenance

Generator
generators/87aae821984d/generator.py
Notes and decisions
generators/87aae821984d/notes.md
Review label
reviewed_safe
Generator SHA-256
15a3c012540738dee4d3d31f9ffe68b8eebfcdfda23836b0cc4c3be0fd9b99b8
Rule hash
6f52927247b0
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 87aae821984d --count 1 --seed 20261108 --test 1