Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions visualizer/descriptors/roundDescriber.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,14 +207,8 @@ def describe_initial_summary(self, isForVideo):
numRounds = len(summary.rounds)

if self.config.excludeFinalWinnerAndEliminatedCandidate:
if numRounds > 1:
# Preliminary results + 1 round
return "This ranked-choice voting election does not have any winners "\
"because the results are still incomplete. Votes are still being counted."

# Preliminary results, first-round-only
return "The results of this ranked-choice voting election are still preliminary. "\
"Only voters' first choices have been counted."
return "This ranked-choice voting election does not have any winners "\
"because the results are still incomplete. Votes are still being counted."
if len(winners) == 0:
return "This election does not have any winners, "\
"perhaps because the results are still preliminary. "
Expand Down
Loading