Inane Observations $ sudo fix_it
  • Model rules for a computerised STV election using the weighted inclusive Gregory method

    24 July 2021 (updated 24 November 2024) | elections voting systems proportional representation single transferable vote opentally | Comment

    OpenTally is open-source software for counting single transferable vote (STV) elections. The default preset in OpenTally is ‘OpenTally WIGM’, a recommended set of simple STV rules designed for computer counting, using the weighted inclusive Gregory method, exact quotas and rational arithmetic.

    The weighted inclusive Gregory… »

  • Compiling I D Hill's New Zealand Meek STV implementation: OpenTally dev log

    08 July 2021 (updated 22 July 2022) | elections voting systems proportional representation single transferable vote opentally | Comment

    In [1], I D Hill describes an implementation of Meek STV written in Pascal, which had been privately circulated since as early as 1999 [2]. The implementation is similar to the earlier ‘Algorithm 123’ Pascal implementation of Meek STV by Hill, Wichmann and… »

  • Multiple constraints in STV elections: OpenTally dev log

    01 July 2021 (updated 18 June 2022) | elections voting systems proportional representation single transferable vote opentally | Comment

    OpenTally is open source software currently under development for the counting of elections using STV and related systems. Part of its feature set is the implementation of constraints on elections: for example, where a certain minimum or maximum number of candidates must be elected from… »

  • Porting Python to Rust/WebAssembly: OpenTally dev log

    05 June 2021 (updated 16 July 2021) | elections voting systems proportional representation single transferable vote rust webassembly opentally | Comment

    Background and motivation

    pyRCV2 is software for open-source election counting. It is intended to be usable across multiple platforms – as a web application, for the convenience of users less technologically inclined, and as a standalone CLI desktop application, for better performance. To this end,… »

  • pyRCV2: Open-source online counting for STV and other preferential voting systems

    24 December 2020 (updated 25 May 2021) | elections voting systems proportional representation single transferable vote | Comment

    Screenshot

    pyRCV2 is an application for counting various preferential voting elections.

    pyRCV2 may be used in a number of different ways:

    • as an online web application, no installation or special software required, at https://yingtongli.me/rcv/
    • as a standalone Python command line application
    • as a library within another
    … »
  • Single Transferable Vote counting sheets and worksheets (Creative Commons)

    21 August 2019 (updated 23 August 2021) | elections voting systems proportional representation | Comment

    STV count sheet

    STV count sheet:

    • Narrow cells
    • Wide cells

    Exclusion worksheet

    • STV exclusion worksheet

    Surplus worksheet

    • STV surplus worksheet
  • Why are the D'Hondt (quotient) and Jefferson (quota) methods equivalent?

    17 August 2018 | elections voting systems proportional representation | Comment

    The D'Hondt method/Jefferson method is a highest averages voting system (or apportionment method). While D'Hondt is usually described using successive division to calculate various quotients, Jefferson is usually described using a quota. It is known that the two systems produce the same results, but why?… »

  • Home
  • Git (Archives: GitLab, GitHub)
  • Research
  • Music
  • Posts
    • May 2025 (3)
    • December 2024 (2)
    • November 2024 (2)
    • September 2024 (2)
    • August 2024 (1)
    • More…
  • Tags
    • medicine (25)
    • copyright (20)
    • opentally (20)
    • drm (19)
    • encryption (12)
    • monash (12)
    • mathematics (11)
    • statistics (10)
    • proportional representation (8)
    • python (8)
    • victoria (8)
    • law (7)
    • meeting procedure (7)
    • ptv (7)
    • public transport (7)
    • rust (7)
    • defective by design (6)
    • digital rights management (6)
    • creative commons (4)
    • webassembly (4)
    • metro trains (3)
    • paediatrics (3)
    • politics (3)
    • 2fa (2)
    • c (2)
    • graphics (2)
    • mfa (2)
    • pdf (2)
    • victorian electoral commission (2)
    • android (5)
    • security (18)
    • cryptography (12)
    • programming (12)
    • voting systems (8)
    • med in review (11)
    • music (10)
    • parliamentary procedure (7)
    • totp (2)
    • reverse engineering (20)
    • obfuscation (12)
    • single transferable vote (19)
    • ebook (16)
    • elections (12)
    • java (6)
    • linux (33)
  • Lee Yingtong Li
  • blog@yingtongli.me
  • My CV · CV of Failures
@RunasSudo

Most material on this website is available under an open licence. See https://yingtongli.me/blog/copyright.html for details.