ashvardanian / ScalingElections
GPU-accelerated Schulze voting method in Python, Numba, CUDA, and Mojo ๐ฅ, using ideas from Algebraic Graph Theory
Over time
2024-07-09 to 2026-11-08; peak 3,781 lines
2024-07-09 to 2026-11-08; 108 commits, counted up by commit date
- Opened 6
- Closed or merged 6
2026-08-21 to 2026-11-14; 6 issues and pull requests opened (0 issues, 6 pull requests), from GitHub by mojo_issues
Dependencies
Declared in its manifests at HEAD (toolchain left out): igraph, numba, numpy, pref-voting, pytest, pytest-repeat, python, ruff.
Similar repos
| Repo | Description | Similarity |
|---|---|---|
| andresnowak/Fast_linear_algebra | Implementations of Linear algebra algorithms in CPU and GPU | 84% |
| SamuelV7/gpu_kernals | programming gpu kernals in mojo | 82% |
| grimo-ir/rune | Thin GPU execution layer for Mojo โ one import, zero inference stack | 81% |
| SergiuDeveloper/mojo-tensor | A GPU-accelerated deep learning framework written in Mojo. Provides tensors, automatic differentiation, and neural network layers with explicit GPU kernel implementations. | 81% |
| abhisheksreesaila/omxcore | Modern GPU-native dataframes. Mojo kernels, one codebase for NVIDIA, AMD and Apple Silicon. | 81% |
By the cosine of the embeddings of each repo's name, description and topics: bge-small-en-v1.5 at bbddccb7, from snapshot 3454761910736014829 of mojo.repo_embeddings, which mojo_embed writes.
Stars per month
- stars
- forks
3 stars over the months of GH Archive loaded so far (47; months in between aren't loaded yet), counted from its events.
Contributors per month
- contributors
- new
5 people authored or co-authored its commits (every commit reachable from HEAD, Co-authored-by trailers included, bots left out), counted by email.
Releases and tags
| Date | Tag | Name | From | Mojo version | Commit |
|---|---|---|---|---|---|
| 2025-10-28 | v0.2.0 | – | git tag | 0.25.6.1 | a7222a000e |
Issues and pull requests
0 open and 0 closed issues; 0 open, 5 merged and 1 closed pull requests, from GitHub by mojo_issues.
Pull requests
| # | Title | Opened | State | Comments |
|---|---|---|---|---|
| 6 | Fix: Update the optional Pillow lock | 2026-10-22 | closed | 1 |
| 5 | Improve: Group GPU Kemeny calculations and reduce Python work | 2026-10-20 | merged | 2 |
| 4 | Fix: Handle native CUDA targets | 2026-10-20 | merged | 1 |
| 3 | Improve: Visit Kemeny subset members directly | 2026-10-20 | merged | 0 |
| 2 | Fix: Compile CUDA tally and Kemeny kernels | 2026-10-20 | merged | 0 |
| 1 | New Voting Schemes & Mojo 1.0 ๐ฅ | 2026-08-21 | merged | 0 |
Migrations
| Date | What | From | To | Commit |
|---|---|---|---|---|
| 2025-10-12 | mojo_version | – | 25.6.1 | 8b40371490 |
| 2025-10-12 | tooling | none | pixi | 8b40371490 |
| 2025-10-12 | mojo_version | 25.6.1 | 0.25.6.1 | ab66b3df6f |
| 2026-08-21 | mojo_version | 0.25.6.1 | 1.0.0 | 5b93d4a3e6 |
| 2026-10-05 | mojo_version | 1.0.0 | 1.1.0 | dd64a0e965 |
Commits
Commit types: Feature 25% · Fix 14% · Mojo version 4% · Refactor 7% · Docs 13% · Tests 3% · Build and chores 14% · Merge 2% · Other 19%
| Date | Commit | Type | Subject | Lines of Mojo | Tooling | Mojo version |
|---|---|---|---|---|---|---|
| 2026-11-08 | 0c98159f8b | Build and chores | Make: Refuse a versioned CITATION.cff before it reaches a commit | 3,205 | pixi | 1.1.0 |
| 2026-11-08 | 354e0dcc22 | Docs | Docs: Shorten the citation title and keep the concept DOI alone | 3,205 | pixi | 1.1.0 |
| 2026-10-23 | 7bfe183801 | Build and chores | Improve: Visit Kemeny subset members directly | 3,205 | pixi | 1.1.0 |
| 2026-10-23 | 8fb4b496ab | Fix | Fix: Compile CUDA tally and Kemeny kernels | 3,205 | pixi | 1.1.0 |
| 2026-10-22 | 3c63f613e9 | Fix | Fix: Keep CUDA tables in device memory instead of managed pages | 3,205 | pixi | 1.1.0 |
| 2026-10-22 | 04e39d6016 | Fix | Fix: Create the Mojo GPU context once, outside the timed calls | 3,205 | pixi | 1.1.0 |
| 2026-10-06 | 6d5c5a5e2c | Refactor | Improve: Align type dispatch across C++, Mojo, and Python | 3,142 | pixi | 1.1.0 |
| 2026-10-06 | e0d954ac08 | Feature +tests | Add: Weighted ragged ballots, mixed omission policies, and explicit ties | 3,781 | pixi | 1.1.0 |
| 2026-10-05 | 0051951a75 | Feature | Add: Weighted partial ballots and saturating arithmetic | 3,232 | pixi | 1.1.0 |
| 2026-10-05 | 888fb414ff | Build and chores +docs | Chore: Enforce consistent formatting | 2,706 | pixi | 1.1.0 |
| 2026-10-05 | a938d5d15a | Feature +tests | Add: Unified dispatch for tally counter types | 2,658 | pixi | 1.1.0 |
| 2026-10-05 | 42f0f0be76 | Feature +tests | Add: Mojo GPU Kemeny solver | 2,492 | pixi | 1.1.0 |
| 2026-10-05 | dd64a0e965 | Mojo version | Improve: Mojo 1.1 and macOS support | 2,437 | pixi | 1.1.0 |
| 2026-08-24 | 7cb3c09dd0 | Feature | Break: Shaped views, parallel Kemeny, and a warp per ballot | 2,444 | pixi | 1.0.0 |
| 2026-08-24 | 35e625b19c | Other | Break: One module per method across the C2 family | 2,145 | pixi | 1.0.0 |
| 2026-08-21 | 8d17066614 | Other | Improve: Typed modes and one dispatch ladder | 2,086 | pixi | 1.0.0 |
| 2026-08-21 | 08593a1f64 | Fix | Fix: Tile tails across every backend | 2,088 | pixi | 1.0.0 |
| 2026-08-21 | f2645229ff | Fix | Fix: NEON tile kernels on ARM | 2,093 | pixi | 1.0.0 |
| 2026-08-21 | ebdf17fa07 | Fix | Fix: Transposed operands in the Hopper TMA kernel | 2,093 | pixi | 1.0.0 |
| 2026-08-21 | 5b93d4a3e6 | Mojo version | Make: Mojo 1.0 & mid-2026 dependencies | 2,093 | pixi | 1.0.0 |
| 2025-10-28 | a7222a000e | Docs | Docs: AMD MI355X results | 1,561 | pixi | 0.25.6.1 |
| 2025-10-17 | 85c7125d68 | Feature | Add: Participation Paradox example | 1,561 | pixi | 0.25.6.1 |
| 2025-10-17 | e35a57df65 | Fix | Fix: AppleClang compilation & OpenMP-free builds | 1,561 | pixi | 0.25.6.1 |
| 2025-10-17 | f4b2c3bd73 | Build and chores | Make: Explicitly mark module file | 1,561 | pixi | 0.25.6.1 |
| 2025-10-15 | b2b6a95174 | Feature | Add: ROCm compilation path | 1,561 | pixi | 0.25.6.1 |
| 2025-10-14 | 4a95245e43 | Docs | Docs: Hardware details | 1,561 | pixi | 0.25.6.1 |
| 2025-10-14 | 80a7cc6c07 | Docs | Improve: AVX-512 friendly tiles | 1,561 | pixi | 0.25.6.1 |
| 2025-10-14 | c197221e45 | Refactor | Improve: Cleanup dispatch mechanisms | 1,559 | pixi | 0.25.6.1 |
| 2025-10-14 | 48266c4425 | Refactor | Improve: Selecting `simd_width` | 1,611 | pixi | 0.25.6.1 |
| 2025-10-14 | 90b127f784 | Other | Improve: Reuse benchmark dispatch in Mojo | 1,605 | pixi | 0.25.6.1 |
| 2025-10-14 | 307538a317 | Refactor | Improve: Remove `detect_gpu()` | 1,653 | pixi | 0.25.6.1 |
| 2025-10-14 | ad65d15716 | Other | Improve: Skip serial tails in SIMD kernels, assuming divisibility | 1,663 | pixi | 0.25.6.1 |
| 2025-10-14 | db1bee8f20 | Build and chores | Make: Separate `cpu` and `gpu` deps | 1,681 | pixi | 0.25.6.1 |
| 2025-10-14 | 31b2d57d08 | Feature | Add: SIMD Mojo implementation for 4x boost | 1,681 | pixi | 0.25.6.1 |
| 2025-10-14 | 7085863756 | Other | Improve: Use `builtin.sort` for preferences | 1,336 | pixi | 0.25.6.1 |
| 2025-10-14 | 5fa5ea39f4 | Other | Improve: Group Mojo imports | 1,317 | pixi | 0.25.6.1 |
| 2025-10-14 | 0a8a087e08 | Other | Improve: Variadic tile-size parameters | 1,309 | pixi | 0.25.6.1 |
| 2025-10-14 | 1baaaadbc8 | Other | Improve: `TILE_SIZE` as a tunable parameter | 1,292 | pixi | 0.25.6.1 |
| 2025-10-13 | 5891b4791a | Merge | Merge branch 'main' of https://github.com/ashvardanian/scaling-democracy | 1,191 | pixi | 0.25.6.1 |
| 2025-10-13 | f8b073f337 | Other | Improve: Reuse heap allocations | 1,191 | pixi | 0.25.6.1 |
| 2025-10-13 | dd3d5829cb | Docs | Docs: Refresh benchmark results | 1,178 | pixi | 0.25.6.1 |
| 2025-10-13 | 7ba916b628 | Other | Make: CUDA-free builds on CPU | 1,178 | pixi | 0.25.6.1 |
| 2025-10-13 | 91b77fa671 | Refactor | Improve: Reuse warmup and benchmarking code | 1,178 | pixi | 0.25.6.1 |
| 2025-10-13 | ab5a67a0d9 | Feature | Add: `--warmup` & `--repeat` flags | 1,228 | pixi | 0.25.6.1 |
| 2025-10-13 | 76a581eb95 | Refactor | Break: Rename the project | 1,133 | pixi | 0.25.6.1 |
| 2025-10-12 | 7386043819 | Docs | Docs: Naming backends | 1,133 | pixi | 0.25.6.1 |
| 2025-10-12 | 5ff09897d2 | Other | Improve: Silence TBB warnings | 1,133 | pixi | 0.25.6.1 |
| 2025-10-12 | 591ddba967 | Refactor +docs | Improve: Uniform CLI flags for Python & Mojo | 1,133 | pixi | 0.25.6.1 |
| 2025-10-12 | 010edf336f | Other | Improve: Uniform logging across Python & Mojo | 1,177 | pixi | 0.25.6.1 |
| 2025-10-12 | 21c433a3f9 | Feature | Add: Tiled Mojo kernels on GPU | 1,198 | pixi | 0.25.6.1 |
The latest 50 of 108 commits; all of them are in the JSON.