{"id":"parity-slot-preservation-invariant","text":"In `largest-number-after-digit-swaps-by-parity/solution.py`, the output digit at every position has the same odd/even parity as the input digit at that position — enforced by dual-pointer reconstruction from separate sorted pools","truth_value":"IN","source":"entries/2026/06/06/largest-number-after-digit-swaps-by-parity-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"parity-slot-preservation-invariant","truth_value":"IN","reason":"premise"}]}}