← 2006f915df8b · 204213f10aff →
2038a3a66886
In each row independently, every nonzero color appearing at least twice fills its inclusive leftmost-to-rightmost span. Singleton colors stay unchanged. Generated repeated-color spans are disjoint and include a gap.
row spanssame-color endpointssame-size transform
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)))) (for/fold ((acc out)) ((color (in-list (remove-duplicates (filter (lambda (v) (not (= v 0))) (row g r)))))) (let ((cs (filter (lambda (c) (= (at g r c) color)) (range (cols g))))) (if (>= (length cs) 2) (paint-cells acc (map (lambda (c) (list r c)) (range (apply min cs) (+ (apply max cs) 1))) color) acc))))))
Provenance
- Generator
- generators/2038a3a66886/generator.py
- Notes and decisions
- generators/2038a3a66886/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 5879bc93f3a5aac870bc2b4f50c919d7376ad66660374079d30a694dc1b3998a
- Rule hash
- aefdabd461d1
- Sources
- bank:ad4abc25f505
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 2038a3a66886 --count 1 --seed 20261108 --test 1