{"id":"property-based-tests-for-multi-answer-problems","text":"When a problem has multiple valid outputs, tests assert structural invariants (e.g., no consecutive repeats, preserved non-placeholder characters) rather than pinning to a specific expected string.","truth_value":"IN","source":"entries/2026/06/06/replace-all-s-to-avoid-consecutive-repeating-characters-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"property-based-tests-for-multi-answer-problems","truth_value":"IN","reason":"premise"}]}}