← 22304ccc509c · 2243318b8e96 →

22398bb29643

Three to six separated monochrome polyominoes, each of size 3..5, are summarized by their colors in bounding-box top/left order. Canonical-scale profiles alternate with repeated-color witnesses in every difficulty band, so color-deduplication is not a valid lesson shortcut.

component orderingsize changesymbolic summary output

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 dirs4 (list (list -1 0) (list 1 0) (list 0 -1) (list 0 1))) (define (e8b-list< a b) (cond ((empty? a) #f) ((< (first a) (first b)) #t) ((> (first a) (first b)) #f) (else (e8b-list< (rest a) (rest b))))) (define (e5b-nz-components grid) (let loop-pos ((positions (grid-positions grid)) (seen (list)) (acc (list))) (cond ((empty? positions) (reverse acc)) ((or (member? (first positions) seen) (= (at grid (first (first positions)) (second (first positions))) 0)) (loop-pos (rest positions) seen acc)) (else (let bfs ((queue (list (first positions))) (seen2 (cons (first positions) seen)) (cells (list))) (if (empty? queue) (loop-pos (rest positions) seen2 (cons (reverse cells) acc)) (let* ((cur (first queue)) (nbrs (filter (lambda (p) (and (in-bounds? (first p) (second p) (rows grid) (cols grid)) (not (member? p seen2)) (not (= (at grid (first p) (second p)) 0)))) (map (lambda (d) (list (+ (first cur) (first d)) (+ (second cur) (second d)))) dirs4)))) (bfs (append (rest queue) nbrs) (append seen2 nbrs) (cons cur cells))))))))) (let ((comps (sort (e5b-nz-components g) (lambda (a b) (let ((ba (bbox-of-cells a)) (bb (bbox-of-cells b))) (e8b-list< (list (first ba) (second ba)) (list (first bb) (second bb)))))))) (list (map (lambda (comp) (at g (first (first comp)) (second (first comp)))) comps)))))

Provenance

Generator
generators/22398bb29643/generator.py
Notes and decisions
generators/22398bb29643/notes.md
Review label
reviewed_safe
Generator SHA-256
449fd8beeae0543c5cc3b21bebb446ce14ab10f9dd94088932bd98851c828563
Rule hash
bea915e9e998
Sources
bank:529ce7614691
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 22398bb29643 --count 1 --seed 20261108 --test 1