# \[VOTE\] Changing PEP 13 to clarify tiebreaking for SC elections

**URL:** <https://discuss.python.org/t/vote-changing-pep-13-to-clarify-tiebreaking-for-sc-elections/104607>\
**Category:** Committers\
**Tags:** governance, voting\
**Created:** [October 28, 2025, 7:49pm UTC](https://discuss.python.org/t/vote-changing-pep-13-to-clarify-tiebreaking-for-sc-elections/104607 "2025-10-28T19:49:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tim.one](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/tim.one/32/282_2.png) [@tim.one](https://discuss.python.org/u/tim.one)\
**Post date:** [October 28, 2025, 7:49pm UTC](https://discuss.python.org/t/vote-changing-pep-13-to-clarify-tiebreaking-for-sc-elections/104607/1 "2025-10-28T19:49:50Z")

</div>

The text about tiebreaking, in SC elections, was created when Block Approval was in use. When we voted to adopt Bloc STAR instead, Guido left that text alone, thinking it was “clear enough” as is. But people have disputed what it means, and explicit is better than implicit.

So @zware opened a pull request to clarify the text:

> <https://github.com/python/peps/pull/4672>
>
> This change requires a vote among the core team before it can be merged. Once t…he poll is opened, the history of amendments note will be amended to include the correct date of the poll closure and a link to the poll.
> 
> 
> 
> \----
> 📚 Documentation preview 📚: https://pep-previews--4672.org.readthedocs.build/

```none
 * Phase 2: Each core team member can assign zero to five stars to each
   candidate. Voting is performed anonymously. The outcome of the vote
   is determined using the `STAR voting system ...
- modified to use the `Multi-winner Bloc STAR ...
- approach. If a tie occurs, it may
+ modified to use the `Multi-winner Bloc STAR ... approach. If a tie that is not
+ automatically resolved by the election software occurs, it may
   be resolved by mutual agreement among the candidates, or else the
   winner will be chosen at random.

```

The thrust is that a voting service may fully automate tiebreaking, and allow no possibility for candidates to negotiate among themselves. This wasn’t a problem under Block Approval, because it only had one step. But under Bloc STAR, a K-winner election may tie internally as often as 2\*K times, and voting services generally don’t allow for pausing the scoring process waiting for manual instructions on how each tie is to be resolved.

Time to put it to a vote:

From [PEP 13](https://peps.python.org/pep-0013/):

> Changes to this document require at least a two-thirds majority of votes cast in a core team vote which should be open for two weeks.

Since the next SC election is coming up ooon, time is of the essence. Here’s the poll:

_Poll ([view on site](https://discuss.python.org/t/vote-changing-pep-13-to-clarify-tiebreaking-for-sc-elections/104607/1))_

@gpshead, could you please work your bcc email magic to alert voters about this poll?

EDIT: the poll is configured to close at 2025-11-12T06:00:00.000Z. Why? “About two weeks” from its posting date. If people want to dispute that, please supply the precise string you’d like to see instead. Note that results won’t be visible (not even to me) until the poll closes.

EDIT: this is an anonymous poll, although voting is restricted to committers. Nobody will see how you voted, or even _that_ you voted. Although my understanding is that Discourse admins (not “just” moderators) can access that data, if they want to.

---

<div class="post-metadata">

**Author:** ![zware](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/zware/32/58_2.png) [@zware](https://discuss.python.org/u/zware)\
**Post date:** [October 28, 2025, 8:02pm UTC](https://discuss.python.org/t/vote-changing-pep-13-to-clarify-tiebreaking-for-sc-elections/104607/2 "2025-10-28T20:02:08Z")

</div>

For those who haven’t been following along closely, related discussion can be found in the [Finding a Bloc STAR provider](https://discuss.python.org/t/finding-a-bloc-star-provider/73918/87) thread around and beyond message #87, which includes some links to other relevant messages on the PR that created PEP-8107 for this years SC election.

---

<div class="post-metadata">

**Author:** ![pganssle](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/pganssle/32/245_2.png) [@pganssle](https://discuss.python.org/u/pganssle)\
**Post date:** [November 2, 2025, 11:15pm UTC](https://discuss.python.org/t/vote-changing-pep-13-to-clarify-tiebreaking-for-sc-elections/104607/3 "2025-11-02T23:15:12Z")

</div>

> [@tim.one](#):
>
> The thrust is that a voting service may fully automate tiebreaking, and allow no possibility for candidates to negotiate among themselves

Is the tiebreaking protocol that the software uses delegated to the implementation, or is it specified in advance? According to [this page](https://docs.bettervoting.com/help/ties.html) (linked in the other thread), it seems like BetterVoting has a tiebreaking protocol that falls back to random choice. It is not clear if that counts as the software automatically resolving the tie or if the fallback clause in the PEP itself (where the candidates are given an opportunity to negociate a solution) kicks in before the software’s random selection algorithm comes into play.

---

<div class="post-metadata">

**Author:** ![tim.one](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/tim.one/32/282_2.png) [@tim.one](https://discuss.python.org/u/tim.one)\
**Post date:** [November 3, 2025, 12:50am UTC](https://discuss.python.org/t/vote-changing-pep-13-to-clarify-tiebreaking-for-sc-elections/104607/4 "2025-11-03T00:50:59Z")

</div>

> [@pganssle](#):
>
> Is the tiebreaking protocol that the software uses delegated to the implementation, or is it specified in advance?

The PEP specifies the voting method to be used (Bloc STAR), but that’s all. It so happens that the service we’ll be using for the upcoming SC election does resolve ties all on its own, so the “not automatically” part of the new wording doesn’t apply at all in this case . Under a different service, or it we scored ballots ourselves, then it _may_ apply. The PEP intentionally doesn’t commit to any specific way of how scoring will be done.

I suggested more words for this at the start, but was persuaded it was “too much information” to bother people with 😄.

STAR’s tiebreaking protocols are almost\[1\] wholly specified. “At random” is its last resort among 4 tiebreaking criteria, but the PEP makes no distinctions among what the criteria a service may use are.

The time to worry about such “quality of implementation” issues is when picking a service to begin with, and the PEP doesn’t intend to address that.

* * *

1. it doesn’t specify the precise mechanics of how randomness is approximated

---

<div class="post-metadata">

**Author:** ![tim.one](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/tim.one/32/282_2.png) [@tim.one](https://discuss.python.org/u/tim.one)\
**Post date:** [November 10, 2025, 8:03pm UTC](https://discuss.python.org/t/vote-changing-pep-13-to-clarify-tiebreaking-for-sc-elections/104607/5 "2025-11-10T20:03:42Z")

</div>

A quick bump to remind committers that this vote closes in less than 2 days. Thanks to all who already voted - and nags to those haven’t yet 😉.

---

<div class="post-metadata">

**Author:** ![hugovk](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/hugovk/32/14505_2.png) [@hugovk](https://discuss.python.org/u/hugovk)\
**Post date:** [November 12, 2025, 11:53am UTC](https://discuss.python.org/t/vote-changing-pep-13-to-clarify-tiebreaking-for-sc-elections/104607/6 "2025-11-12T11:53:03Z")

</div>

The vote has passed with 97% of 38 voting to adopt the change.

Edit: PEP PR merged: [Poll required: PEP 13: Clarify tie resolution by zware · Pull Request #4672 · python/peps · GitHub](https://github.com/python/peps/pull/4672)

---

<div class="post-metadata">

**Author:** ![tim.one](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/tim.one/32/282_2.png) [@tim.one](https://discuss.python.org/u/tim.one)\
**Post date:** [November 12, 2025, 5:54pm UTC](https://discuss.python.org/t/vote-changing-pep-13-to-clarify-tiebreaking-for-sc-elections/104607/7 "2025-11-12T17:54:09Z")

</div>

> [@hugovk](#):
>
> The vote has passed with 97% of 38 voting to adopt the change.

Or, for those who don’t trust floating point calculations 😉,

```python
>>> from fractions import Fraction as F
>>> F(37, 38) >= F(2, 3)
True

```

Thanks to all for getting this done!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/python1/original/1X/3aff56846ebe57781a163dfc748fd1417119d8ab.png) [@system](https://discuss.python.org/u/system)\
**Post date:** [October 28, 2026, 7:50pm UTC](https://discuss.python.org/t/vote-changing-pep-13-to-clarify-tiebreaking-for-sc-elections/104607/8 "2026-10-28T19:50:44Z")

</div>

Closed on October 28, 2026, 7:50pm UTC

This topic was automatically closed after 365 days. New replies are no longer allowed.
