← 8f10b83435aa · 8f6a6ec3ae21 →
8f221c2b552e
Scan rows independently. Each active row has two separated endpoints of one color; fill the inclusive segment between them. Singleton distractors stay unchanged, and the same pair color may be reused in several rows.
per-color reasoningrow scansegment 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)) (for/fold ((out g)) ((r (in-range (rows g)))) (let ((colors (remove-duplicates (filter (lambda (v) (not (= v 0))) (row g r))))) (for/fold ((acc out)) ((color (in-list colors))) (let ((cols (filter (lambda (c) (= (at g r c) color)) (range (cols g))))) (if (>= (length cols) 2) (paint-cells acc (map (lambda (c) (list r c)) (range (apply min cols) (+ (apply max cols) 1))) color) acc)))))))
Provenance
- Generator
- generators/8f221c2b552e/generator.py
- Notes and decisions
- generators/8f221c2b552e/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 68a263400a0e5e0ce0fd8925e2e43ad8be003f488d15df34c47dcde1eb9ef130
- Rule hash
- df008460a237
- Sources
- bank:50e2f7e22580
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 8f221c2b552e --count 1 --seed 20261108 --test 1