← d2f8cb1c91b2 · d336f5fb2da4 →
d306f84259e3
Independently recolor the 2nd, 4th, ... nonzero cell on every constant-(row-column) diagonal to yellow.
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)))
(grid-from-fn h
w
(lambda (r c)
(let ((v (at g r c)))
(if (zero? v)
0
(let* ((diag (- r c))
(pos-in-diag (length (filter (lambda (rr)
(and
(>= (- rr diag)
0)
(< (- rr diag)
w)
(!= 0
(at g
rr
(- rr
diag)))
(< rr r)))
(range 0 h)))))
(if (zero? (mod pos-in-diag 2)) v 4)))))))))Provenance
- Generator
- generators/d306f84259e3/generator.py
- Notes and decisions
- generators/d306f84259e3/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 21e9b3ab2d1652bbdde8e00b235583f80fdac92993612b011b352a60a8888e9b
- Rule hash
- 5a776ae92dfc
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate d306f84259e3 --count 1 --seed 20261108 --test 1