← 61090a45e458 · 613be474907a →
611cc0f4e0fe
Matching-colored endpoints are joined only when their row and column offsets have equal nonzero magnitude. Four scheduled scene profiles cover the canonical one-pair-per-slope pattern, two pairs with the same slope, a repeated-color non-45-degree decoy, and three valid pairs.
color groupingdiagonal reasoningline filling
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))))) (for/fold ((out g)) ((color (in-list (e8b-colors-reading g)))) (let ((cells (find-color g color))) (if (< (length cells) 2) out (let* ((a (first cells)) (b (last cells)) (dr (- (first b) (first a))) (dc (- (second b) (second a)))) (if (or (= dr 0) (not (= (abs dr) (abs dc)))) out (let ((sr (if (> dr 0) 1 -1)) (sc (if (> dc 0) 1 -1))) (for/fold ((acc out)) ((k (in-range (+ 1 (abs dr))))) (set-cell acc (+ (first a) (* sr k)) (+ (second a) (* sc k)) color))))))))))
Provenance
- Generator
- generators/611cc0f4e0fe/generator.py
- Notes and decisions
- generators/611cc0f4e0fe/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- d4ec1012858b37a8c0c2de83844cb4731062f979246cdb53b379fbdf8c099af1
- Rule hash
- 51d7c63afd4f
- Sources
- bank:9397d19eada0
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 611cc0f4e0fe --count 1 --seed 20261108 --test 1