def get_all_committers(commits_data):
    committers = defaultdict(int)
    for commit in commits_data:
        committers[commit['name']] += 1
    committers_items = sorted(list(committers.items()), key=(lambda item: ((- item[1]), item[0])))
    committers_values = [c_i[1] for c_i in committers_items]
    if (len(committers) > PUSH_COMMITTERS_LIMIT_INFO):
        others_number_of_commits = sum(committers_values[PUSH_COMMITTERS_LIMIT_INFO:])
        committers_items = committers_items[:PUSH_COMMITTERS_LIMIT_INFO]
        committers_items.append(('others', others_number_of_commits))
    return committers_items
def get_all_committers(commits_data):
    committers = defaultdict(int)
    for commit in commits_data:
        committers[commit['name']] += 1
    committers_items = sorted(list(committers.items()), key=(lambda item: ((- item[1]), item[0])))
    committers_values = [c_i[1] for c_i in committers_items]
    if (len(committers) > PUSH_COMMITTERS_LIMIT_INFO):
        others_number_of_commits = sum(committers_values[PUSH_COMMITTERS_LIMIT_INFO:])
        committers_items = committers_items[:PUSH_COMMITTERS_LIMIT_INFO]
        committers_items.append(('others', others_number_of_commits))
    return committers_items