{"id":"counter-set-len-one-idiom","text":"`len(set(Counter(s).values())) == 1` is the canonical Python idiom for \"all character frequencies are equal\" and is used across multiple solutions in this repo for uniformity checks.","truth_value":"IN","source":"entries/2026/06/06/check-if-all-characters-have-equal-number-of-occurrences-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"counter-set-len-one-idiom","truth_value":"IN","reason":"premise"}]}}