← 167a1374f6c3 · 1713e09a3132 →
16d18a416d57
A canonical-sized zero-background grid contains 2-4 separated blue 4-connected components. Component sizes follow an observable profile and have one unique maximum. Recolor exactly that largest component to 7.
parametric familycomponent size rankingobject recolor
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).
Reference rule (Racket)
(rule! (let ((dummy 0)) (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))))) (let ((largest (first (sort (filter (lambda (obj) (= (obj-color obj) 1)) (objects g 0)) (lambda (a b) (or (> (obj-size a) (obj-size b)) (and (= (obj-size a) (obj-size b)) (e8b-list< (obj-bbox a) (obj-bbox b))))))))) (paint-cells g (obj-cells largest) 7))))
Provenance
- Generator
- generators/16d18a416d57/generator.py
- Notes and decisions
- generators/16d18a416d57/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 06cacd590950edb5f84ab7e8d917aaca93bc915e1fea9ec99d94b56f06ca6bdf
- Rule hash
- 54df007aec53
- Sources
- bank:eb9f9fbbbec1
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 16d18a416d57 --count 1 --seed 20261108 --test 1