← ad9405621c3d · ada76e18c19c →
ada3abda1b1d
On a zero-background grid, count all occurrences of each nonzero color. Keep every cell whose color occurs exactly twice and erase every color occurring once, three times, four times, or five times. Ordinary non-anchor samples contain count-1, count-4, and count-5 witnesses, while exact canonical anchors retain the public count profiles.
color_filterglobal_counting
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!
;; Keep only the colors that appear EXACTLY TWICE; everything else clears.
(grid-from-fn h w (lambda (r c)
(let ((v (at g r c)))
(if (and (!= v 0) (= (length (find-color g v)) 2)) v 0)))))Provenance
- Generator
- generators/ada3abda1b1d/generator.py
- Notes and decisions
- generators/ada3abda1b1d/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 304c75512a5bc7d350ac380481caca58ae2f62eb6a15ad3e767cc38658f0424a
- Rule hash
- 761b29fec54a
- Sources
- bank:e07509d599a1
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate ada3abda1b1d --count 1 --seed 20261108 --test 1