Skip to content

Commit

Permalink
Minor log wording tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
ArendPeter committed Dec 16, 2024
1 parent c0c0259 commit 56ebc81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/Tabulators/AllocatedScore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export function AllocatedScore(candidates: string[], votes: ballot[], nWinners =
summaryData.spentAboves.push(spent_above.valueOf());

if (spent_above.valueOf() > 0) {
results.logs.push(`The ${rounded(spent_above)} voters who gave ${summaryData.candidates[w].name} more than ${rounded(split_point.mul(maxScore))} stars are fully represented and will be weighted to 0 for future rounds.`)
results.logs.push(`The ${rounded(spent_above)} voters who gave ${summaryData.candidates[w].name} more than ${rounded(split_point.mul(maxScore))} stars are fully represented and will be removed from future rounds.`)
cand_df.forEach((c, i) => {
if (c.weighted_score.compare(split_point) > 0) {
cand_df[i].ballot_weight = new Fraction(0);
Expand Down

0 comments on commit 56ebc81

Please sign in to comment.