← 16d18a416d57 · 17a429a40b62 →

1713e09a3132

One to four colors each mark two diagonal corners of a rectangle. Draw every bounding-box border in first-reading-order color order; later borders overwrite earlier ones at overlaps. Native profiles include both diagonal orientations, overlapping boxes, and spans of eight or more.

parametric familygeometrymultiple objectspair grouping

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 (e8b-colors-reading grid) (remove-duplicates (filter (lambda (v) (not (= v 0))) (map (lambda (p) (at grid (first p) (second p))) (grid-positions grid))))) (define (f14-border-cells r0 c0 r1 c1) (for*/list ((r (in-range r0 (+ r1 1))) (c (in-range c0 (+ c1 1))) #:when (or (= r r0) (= r r1) (= c c0) (= c c1))) (list r c))) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((color (in-list (e8b-colors-reading g)))) (let ((cells (find-color g color))) (if (= (length cells) 2) (let* ((r0 (min (first (first cells)) (first (second cells)))) (r1 (max (first (first cells)) (first (second cells)))) (c0 (min (second (first cells)) (second (second cells)))) (c1 (max (second (first cells)) (second (second cells))))) (paint-cells out (f14-border-cells r0 c0 r1 c1) color)) out)))))

Provenance

Generator
generators/1713e09a3132/generator.py
Notes and decisions
generators/1713e09a3132/notes.md
Review label
reviewed_safe
Generator SHA-256
f5f4ab6ec2906015dfc44bb973c80f18f6c5397a3ff574b9322a55f566090642
Rule hash
38058dc2e574
Sources
bank:50e2f7e22580
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 1713e09a3132 --count 1 --seed 20261108 --test 1