← fae242ae157d · fb7f02aa9ab0 →

fb7c915894d6

0-bg grid (size varies) with: (a) K (2-5) COPIES of a FREQUENT random polyomino SHAPE (4-7 cells); (b) 1-4 DISTRACTOR shapes, each a random polyomino with a DIFFERENT normalized shape (and distinct from each other), each appearing exactly ONCE. Every blob is painted a DISTINCT non-0 color drawn without replacement from {1..9} (the rule is COLOR-BLIND). Blobs are placed with 4-adjacent buffer separation. Rule (FIND THE MOST-FREQUENT NORMALIZED SHAPE, COUNT ITS FREQUENCY K, OUTPUT THAT SHAPE SCALED K× IN COLOR 8): GROUP all blobs by NORMALIZED SHAPE (color-blind, exact orientation). FIND the most-frequent class (tie-break top-most, left-most). Let K = its frequency. UPSCALE that shape by K (each cell -> K×K block) and PAINT every block color 8 on a bg-0 canvas of size (sh*K, sw*K). Input colors are DROPPED. Net: the dominant shape's mass × frequency yields a cyan-8 scaled output. (Was a fixed 9-shape bank; now shapes are generated randomly.)

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! (let ((dummy 0)) (define (same-pos? a b) (and (= (fst a) (fst b)) (= (snd a) (snd b)))) (define (shape-of obj) (sort (normalize-cells (obj-cells obj)) (lambda (a b) (if (= (fst a) (fst b)) (< (snd a) (snd b)) (< (fst a) (fst b)))))) (define objs (objects g 0)) (define (same-count obj) (count-where (lambda (other) (same-shape? obj other)) objs)) (define ranked (sort objs (lambda (a b) (let ((ca (same-count a)) (cb (same-count b))) (cond ((> ca cb) #t) ((< ca cb) #f) ((< (obj-r1 a) (obj-r1 b)) #t) ((> (obj-r1 a) (obj-r1 b)) #f) (else (< (obj-c1 a) (obj-c1 b)))))))) (define target (first ranked)) (define k (same-count target)) (define shape (shape-of target)) (define scaled (flatmap (lambda (p) (for*/list ((dr (range 0 k)) (dc (range 0 k))) (list (+ (* (fst p) k) dr) (+ (* (snd p) k) dc)))) shape)) (let* ((bb (bbox-of-cells scaled)) (out-h (+ 1 (third bb))) (out-w (+ 1 (fourth bb)))) (grid-from-fn out-h out-w (lambda (r c) (if (any? (lambda (p) (same-pos? p (list r c))) scaled) 8 0))))))

Provenance

Generator
generators/fb7c915894d6/generator.py
Notes and decisions
generators/fb7c915894d6/notes.md
Review label
reviewed_safe
Generator SHA-256
b10333c70b33b51dbd447bec0566313b5849433b5ac065e03136ed96852688df
Rule hash
47acdaf6890e
Sources
bank:f6c2fd26c5e5
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate fb7c915894d6 --count 1 --seed 20261108 --test 1