← 563e1df172df · 5666b68dd4b9 →

564cab531f76

Four distinct singleton colors mark the four grid corners. Each other monochromatic 4-connected object is recolored by the marker nearest its tight bounding-box center, measured with doubled Manhattan coordinates. Exact ties choose top, then left. Every five-draw schedule includes two canonical-scale examples and three asymmetric center-line witnesses that separate this rule from anchor, centroid, nearest-pixel, and opposite-tie shortcuts.

assignmentobjectspositionsame_size

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 (corner-distance2 obj corner) (+ (abs (- (+ (obj-r1 obj) (obj-r2 obj)) (* 2 (first corner)))) (abs (- (+ (obj-c1 obj) (obj-c2 obj)) (* 2 (second corner)))))) (define (corner-index corner h w) (cond ((equal? corner (list 0 0)) 0) ((equal? corner (list 0 (- w 1))) 1) ((equal? corner (list (- h 1) 0)) 2) (else 3))) (let* ((corners (list (list 0 0) (list 0 (- (cols g) 1)) (list (- (rows g) 1) 0) (list (- (rows g) 1) (- (cols g) 1)))) (base (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((p (in-list corners))) (set-cell out (first p) (second p) (at g (first p) (second p))))) (corner-objects (filter (lambda (obj) (and (= (obj-size obj) 1) (member? (first (obj-cells obj)) corners))) (objects g 0))) (objs (filter (lambda (obj) (not (member? obj corner-objects))) (objects g 0)))) (for/fold ((out base)) ((obj (in-list objs))) (let* ((best (first (sort corners (lambda (a b) (let ((da (corner-distance2 obj a)) (db (corner-distance2 obj b))) (if (= da db) (< (corner-index a (rows g) (cols g)) (corner-index b (rows g) (cols g))) (< da db))))))) (color (at g (first best) (second best)))) (paint-cells out (obj-cells obj) color))))))

Provenance

Generator
generators/564cab531f76/generator.py
Notes and decisions
generators/564cab531f76/notes.md
Review label
reviewed_safe
Generator SHA-256
ff3ea182557c3b416c53fc656934f1f38b6c1af7cc5b6cc49da09474948ca9d1
Rule hash
ef9264e6f3e7
Sources
bank:fc0f4ba66a95
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 564cab531f76 --count 1 --seed 20261108 --test 1