Weblate staging website: improve algorithm that chooses among available suggestions
Originally created by @intrigeri on #16932 (Redmine)
According to drebs’ research on #11763 (comment 56240),
files/weblate/scripts/save-suggestions.py
(in the puppet-tails.git
repo) currently picks the oldest suggestion. Instead we would like to:
- Pick the suggestion with most number of votes.
- If there are several suggestions with the largest number of votes, then pick the newest one.
Feature Branch: salsa.debian.org:/hefee/puppet-tails.git:hefee/16932-most-voted-suggestion
Parent Task: #10034 (closed)
Related issues
- Related to sysadmin#16989 (closed)
Edited by intrigeri