{"id":"collocated-tests-pattern","text":"Some solution files contain both the implementation and a `unittest.TestCase` subclass with a `__main__` guard, in addition to the separate `test_solution.py` files used by the repo's test harness","truth_value":"IN","source":"entries/2026/06/06/count-the-digits-that-divide-a-number-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"collocated-tests-pattern","truth_value":"IN","reason":"premise"}]}}