← ac4b61e7b230 · ad4e2cd6e3bc →
acb1cae24892
One to three colors each appear exactly twice. Their two endpoints define a row segment, column segment, or rectangle outline.
parametric familycorner inferenceoutline construction
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-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 ((pts (find-color g color))) (if (= (length pts) 2) (let ((bb (bbox-of-cells pts))) (paint-cells out (f14-border-cells (first bb) (second bb) (third bb) (fourth bb)) color)) out)))))
Provenance
- Generator
- generators/acb1cae24892/generator.py
- Notes and decisions
- generators/acb1cae24892/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- c474dcc8b0b68fe77b4590471fd57e67d0b4934896bc03a9f6b477e601ff43c0
- Rule hash
- 89b3f3e5cc80
- Sources
- bank:eb9f9fbbbec1
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate acb1cae24892 --count 1 --seed 20261108 --test 1