fastrace: Rust kernel for the factor-probit share transform
Fused, rayon-parallel implementation of the min-wins factor race
(the thurstone/raceutil shared-survival-field pass). Log-domain
throughout (log_ndtr via libm::erfc with asymptotic tail), x-tiled for
cache, parallel over factor nodes.
Measured (Apple M4, vs single-threaded NumPy reference, GH order 15, k=2, L=1501; agreement 8e-17):
| N | NumPy | Rust | speedup |
|---|---|---|---|
| 1000 | 4.24 s | 0.71 s | 6.0x |
| 5000 | 21.6 s | 3.9 s | 5.5x |
Build: pip install maturin && maturin develop --release (needs Rust
toolchain). Exposes fastrace.win_probabilities_factor(mu, V, D, F, W, points=1501) -> (p, total).
Also implemented and measured (quiet machine, medians of 3):
- forward_and_slopes: the calibration pass; drop-in solver
rustcal.pycalibrates N=1000 in 8s, N=5000 in 45s (identical iterations/residuals). - jacobian_vector_product (ibp + grid forms): parity 2e-14, 5.5x.
- win_probabilities_factor_separated (Chebyshev low-rank pass):
| N | exact numpy | rust exact | rust separated r=384 | err |
|---|---|---|---|---|
| 1000 | 4.12 s | 703 ms (6x) | 34 ms (121x) | 2.7e-5 |
| 5000 | 21.3 s | 3.78 s (6x) | 83 ms (255x) | 6.1e-5 |
Not yet ported: deletion ensemble; separated-pass slopes (would take calibration to ~1s at N=5000); SIMD transcendentals (~4x further).
Release files for fastrace 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fastrace-0.2.0.tar.gz | 28.6 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| fastrace-0.2.0-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details |
| fastrace-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| fastrace-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ ARM64 | Details |
| fastrace-0.2.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl | CPython 3.9 | abi3 | macOS 10.12+ universal2 (ARM64, x86-64), macOS 11.0+ ARM64, macOS 10.12+ x86-64 | Details |
Total release size: 2.4 MB
Release files / fastrace-0.2.0.tar.gz
| Download URL | fastrace-0.2.0.tar.gz |
|---|---|
| Size | 28.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8840d1799b8c73097ddfaf934116f488260e4f4ada262233bea1be503324afe
|
|
BLAKE2b-256 checksum How to use checksums |
ae6b6fcd3577b9b36fffa91ac34b2eab7058e2802f51db76f1abf44148a6faec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency logRelease files / fastrace-0.2.0-cp39-abi3-win_amd64.whl
| Download URL | fastrace-0.2.0-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 414.7 kB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
6bb267e1efeb1f983bb41f0c2bd132805b3a761886a2240c512aa7ab2ed7e2f7
|
|
BLAKE2b-256 checksum How to use checksums |
abb73bbcf8aad50cbbe8f0055a641f32645f0b6dd6af4ea02a5de949c201481a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency logRelease files / fastrace-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | fastrace-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 514.3 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
4721061a9c5780f66d573223b48a446e3270613b8b9a3cfb304c00d5928ce776
|
|
BLAKE2b-256 checksum How to use checksums |
88258e0af5e45ba9615d7cd034bd23df85ec1e4d8d8dd05fb4232d93a637ba24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency logRelease files / fastrace-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | fastrace-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 483.6 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
67b4cef29771e0185d1b10a832352a294454e2dd1931a2a3b3fc92db122ff0e9
|
|
BLAKE2b-256 checksum How to use checksums |
e7e8160ba455466769be7f02d598f706f770bf9738e8baacacccf9f257a344b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency logRelease files / fastrace-0.2.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | fastrace-0.2.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 921.5 kB |
| Tags | CPython 3.9 abi3 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
b1bdf7d5adf31b8878aac1ac2a1795dc9766d4f31c06cff1ba6b884d56f2d0af
|
|
BLAKE2b-256 checksum How to use checksums |
7a5522a35620c27651c0debb063b96580305c1d57deb4a9958ba3d05ca0016f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency log