← 964b23808a3c · 9686a12edc93 →
9679db24667b
Sparse 0-background row scenes. A qualifying row contains one distinct non-{0,9} color plus one or more 9s; every 9 in that row adopts the companion color. Canonical-profile inputs mirror the published examples. Alternating teaching-profile inputs add a 9-only row, a two-color row, multiple 9s, and repeated companion cells; those distractors stay unchanged and make the exact predicate and all-occurrences replacement identifiable from each consecutive lesson.
marker replacementrow aggregationsingle-color rows
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!
(for/fold ([out g]) ([r (in-range (rows g))])
(let ((colors (remove-duplicates (filter (lambda (v) (not (member v (list 0 9)))) (row g r)))))
(if (and (= (length colors) 1) (member 9 (row g r)))
(for/fold ([acc out]) ([c (in-range (cols g))])
(if (= (at g r c) 9) (set-cell acc r c (first colors)) acc))
out))))Provenance
- Generator
- generators/9679db24667b/generator.py
- Notes and decisions
- generators/9679db24667b/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 037922ecf07311fbc0fc8776bf352c26d0d20e890e6c758074498a82779f94c0
- Rule hash
- 7ebc4d35864a
- Sources
- bank:f234ef852d75
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 9679db24667b --count 1 --seed 20261108 --test 1