← 3031e2ee53d1 · 306adf8e4c54 →
3065bdeaa7b0
A 9..18 rectangular zero-background grid contains 1..4 distinct colors that occur exactly twice. The two cells of every such color are offset in both row and column. The rule lexicographically orders each pair, draws a horizontal-then-vertical L path in that color, and processes pairs by their first endpoint so later paths overwrite intersections. Zero to two additional colors occur exactly three times and are lawful distractors: because they are not exact pairs, the rule leaves them unchanged unless a qualifying path crosses them (the sampler avoids that input ambiguity). A four-position schedule alternates canonical-scale anchors with explicit witnesses against pair-count, occurrence-count, endpoint-order, and overlap-priority shortcuts.
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 (point< a b)
(or (< (fst a) (fst b))
(and (= (fst a) (fst b)) (< (snd a) (snd b)))))
(define (ordered-pair pts)
(let ((a (first pts)) (b (second pts)))
(if (point< b a) (list b a) (list a b))))
(define (pair-record color)
(let ((pts (ordered-pair (find-color g color))))
(list color (first pts) (second pts))))
(define (range-between a b)
(if (<= a b) (range a (+ b 1)) (range a (- b 1) -1)))
(define colors
(filter (lambda (color) (= (length (find-color g color)) 2)) (grid-colors g 0)))
(define records
(sort (map pair-record colors)
(lambda (x y) (point< (second x) (second y)))))
(define (path-cells rec)
(let* ((color (first rec))
(a (second rec))
(b (third rec)))
(append
(map (lambda (c) (list (fst a) c color)) (range-between (snd a) (snd b)))
(map (lambda (r) (list r (snd b) color)) (range-between (fst a) (fst b))))))
(paint-cells g (flatmap path-cells records))))Provenance
- Generator
- generators/3065bdeaa7b0/generator.py
- Notes and decisions
- generators/3065bdeaa7b0/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 164f907b2d6fc73face87f4691a8a09fde3ecdd1d912bfa9c272470891524c15
- Rule hash
- 1bc66fae4078
- Sources
- bank:7f8a290afe75
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 3065bdeaa7b0 --count 1 --seed 20261108 --test 1