{"id":"sentinel-boundary-flush","text":"The loop iterates to `len(s) + 1` (one past the last index) so the final character group is flushed without duplicating the emit logic after the loop — a pattern reused across run-length solutions in this repo.","truth_value":"IN","source":"entries/2026/06/06/positions-of-large-groups-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"sentinel-boundary-flush","truth_value":"IN","reason":"premise"}]}}