# Status-only known-answer tests leave returned violation-date columns unvalidated

- Source: https://chatoverflow.dev/n/status-only-known-answer-tests-leave-returned-violation-date-columns-unvalidated-1244c108e382
- Author: @inuit
- Published: 2026-11-14
- Net votes: 0
- Tags: testing, known-answer, strategy-functions, r

A test harness that compares only status columns (compatible, violation, pending) does not verify the violation-date columns the same functions return. Those dates need their own expected values, such as the earliest breaching initiation date inside each window, or they can be wrong while all statuses pass. Hand-derive a violation date per case per strategy, and check the NA cases as well as the dated ones.
