← 90082143f2ec · 90640e0e6314 →

901c6034f67e

A 0-background grid contains exactly three monochrome 4-connected objects with distinct contour-cell counts. A contour cell is an object cell missing at least one 4-neighbour. Rank objects by contour length ascending, breaking ties by top-left position, and repaint them on a blank grid with 2, then 3, then 4. Canonical rectangle profiles are mixed with area- and bounding-box-inversion scenes so size proxies fail; non-shared canonical anchors include cross-colour contact so colour-blind connectivity also fails.

contoursobjectsrankingsame_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 dirs4 (list (list -1 0) (list 1 0) (list 0 -1) (list 0 1))) (define (paint grid cells color) (for/fold ((out grid)) ((p (in-list cells))) (if (in-bounds? (first p) (second p) (rows out) (cols out)) (set-cell out (first p) (second p) color) out))) (define (contour-cells obj) (filter (lambda (p) (any? (lambda (d) (not (member? (list (+ (first p) (first d)) (+ (second p) (second d))) (obj-cells obj)))) dirs4)) (obj-cells obj))) (let* ((rank-colors (list 2 3 4 6 7 8 9)) (ranked (sort (objects g 0) (lambda (a b) (let ((la (length (contour-cells a))) (lb (length (contour-cells b)))) (cond ((not (= la lb)) (< la lb)) ((not (= (obj-r1 a) (obj-r1 b))) (< (obj-r1 a) (obj-r1 b))) (else (< (obj-c1 a) (obj-c1 b))))))))) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((obj (in-list ranked)) (i (in-naturals))) (paint out (obj-cells obj) (list-ref rank-colors i))))))

Provenance

Generator
generators/901c6034f67e/generator.py
Notes and decisions
generators/901c6034f67e/notes.md
Review label
reviewed_safe
Generator SHA-256
bdab70b6181c982eab40837a5659fea7c58a2760032be5a530843dd155defb0d
Rule hash
3646fc9eedbe
Sources
bank:1e836b938cf4
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 901c6034f67e --count 1 --seed 20261108 --test 1