{"id":"min-on-empty-is-unguarded","text":"`max_distance` crashes with `ValueError` from `min()` on an empty generator if `k > len(nums)`; no explicit validation exists.","truth_value":"IN","source":"entries/2026/06/06/minimum-difference-between-highest-and-lowest-of-k-scores-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":["boundary-handling-complete-unless-degenerate-input-escapes","stdlib-construction-composable-correctness","stdlib-delegation-safe-under-input-contracts"],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"min-on-empty-is-unguarded","truth_value":"IN","reason":"premise"}]}}