Turning a regulation into testable code

How to take a dense statute from primary source to an audit-ready detector — separating literal text from enforcement practice, and deriving tests from the regulation itself.