← 65d8d5108df1 · 66387591ebe6 →
661dffbdf39a
Clean majority-gray rows and columns and mark all intersections with the noise color.
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! (lambda (g)
(let* ((h (rows g))
(w (cols g)))
(let* ((marker (fst (filter (lambda (v) (and (!= v 0) (!= v 5)))
(grid-colors g))))
(rline? (lambda (r)
(> (count-if (lambda (c) (= (at g r c) 5)) (range 0 w))
(quotient w 2))))
(cline? (lambda (c)
(> (count-if (lambda (r) (= (at g r c) 5)) (range 0 h))
(quotient h 2))))
(rset (filter rline? (range 0 h)))
(cset (filter cline? (range 0 w))))
(cellmap g
(r c v)
(cond
((and (member? r rset) (member? c cset)) marker)
((or (member? r rset) (member? c cset)) 5)
(else 0)))))))Provenance
- Generator
- generators/661dffbdf39a/generator.py
- Notes and decisions
- generators/661dffbdf39a/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- b69551503d76981fef814186d22a507c5dea6541e0ce96f666ca67a9683d7d15
- Rule hash
- d006d6b4ed8b
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 661dffbdf39a --count 1 --seed 20261108 --test 1