{"id":"shuffle-string-assumes-valid-permutation","text":"`shuffle-string/solution.py` assumes `indices` is a valid permutation of `[0, len(s))` — duplicate indices silently overwrite, out-of-range indices raise `IndexError`, and no validation is performed.","truth_value":"IN","source":"entries/2026/06/06/shuffle-string-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"shuffle-string-assumes-valid-permutation","truth_value":"IN","reason":"premise"}]}}