@mcc My understanding was always that it was basic Condorcet (which by itself can be confusing), except in the extremely unlikely case of a tie. But I've never been interested enough to look at the devotee source code (https://salsa.debian.org/debian/devotee).
[You like 20+ year old perl, right? Right?? 🫠]