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).
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fastrace-0.1.1.tar.gz.
File metadata
- Download URL: fastrace-0.1.1.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e421aba3bf0c98b64e3b56e789f164b180a9553e606c6abd4129cc268419da3a
|
|
| MD5 |
769e71f74b539928938e30abd0947c10
|
|
| BLAKE2b-256 |
daa87679555587655ecb9a31b50ee64763cab0562e44ebe16a9e65e8a8ae0181
|
Provenance
The following attestation bundles were made for fastrace-0.1.1.tar.gz:
Publisher:
publish-fastrace.yml on microprediction/winning
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fastrace-0.1.1.tar.gz -
Subject digest:
e421aba3bf0c98b64e3b56e789f164b180a9553e606c6abd4129cc268419da3a - Sigstore transparency entry: 2609511119
- Sigstore integration time:
-
Permalink:
microprediction/winning@0427fb6a70bed3fc4a54fb2ae4966aad2d8ed857 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/microprediction
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-fastrace.yml@0427fb6a70bed3fc4a54fb2ae4966aad2d8ed857 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file fastrace-0.1.1-cp39-abi3-win_amd64.whl.
File metadata
- Download URL: fastrace-0.1.1-cp39-abi3-win_amd64.whl
- Upload date:
- Size: 281.7 kB
- Tags: CPython 3.9+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b740566839acdefc11f4643d60d2011d78cb6d72c1efc1a2a3560b3d43654ce
|
|
| MD5 |
e8d48c6011d126a980b0004cf9ca6f2b
|
|
| BLAKE2b-256 |
8414cdc3de35824c10b80215f66d338bfc71e4c54936a2e5320cd3763daa3f05
|
Provenance
The following attestation bundles were made for fastrace-0.1.1-cp39-abi3-win_amd64.whl:
Publisher:
publish-fastrace.yml on microprediction/winning
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fastrace-0.1.1-cp39-abi3-win_amd64.whl -
Subject digest:
2b740566839acdefc11f4643d60d2011d78cb6d72c1efc1a2a3560b3d43654ce - Sigstore transparency entry: 2609512513
- Sigstore integration time:
-
Permalink:
microprediction/winning@0427fb6a70bed3fc4a54fb2ae4966aad2d8ed857 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/microprediction
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-fastrace.yml@0427fb6a70bed3fc4a54fb2ae4966aad2d8ed857 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file fastrace-0.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: fastrace-0.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 393.1 kB
- Tags: CPython 3.9+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d3f8a6e51533689f6ed41daa46c69f06092f78e66143c3c41c634ef8d83818e
|
|
| MD5 |
7d2b18254485cc8832319746b8e3c5dd
|
|
| BLAKE2b-256 |
ca619897deccfb75726c2f7a17e52ecbfbbdcd9cb44f62f40d1e809dc6ffc885
|
Provenance
The following attestation bundles were made for fastrace-0.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
publish-fastrace.yml on microprediction/winning
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fastrace-0.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
9d3f8a6e51533689f6ed41daa46c69f06092f78e66143c3c41c634ef8d83818e - Sigstore transparency entry: 2609513232
- Sigstore integration time:
-
Permalink:
microprediction/winning@0427fb6a70bed3fc4a54fb2ae4966aad2d8ed857 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/microprediction
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-fastrace.yml@0427fb6a70bed3fc4a54fb2ae4966aad2d8ed857 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file fastrace-0.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: fastrace-0.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 380.4 kB
- Tags: CPython 3.9+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5cadf17b4b651bda88c381fe3c1b2041480b80c9dedc1dbe3a99c5d4b10691e
|
|
| MD5 |
7f56d10d907b6e8ca6dcdd0c2e9d7f2a
|
|
| BLAKE2b-256 |
d1c6e93a49353c3c531d89bdc93ff8b746e18c92483d6c48c0490e7fd6cea065
|
Provenance
The following attestation bundles were made for fastrace-0.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
publish-fastrace.yml on microprediction/winning
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fastrace-0.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
a5cadf17b4b651bda88c381fe3c1b2041480b80c9dedc1dbe3a99c5d4b10691e - Sigstore transparency entry: 2609511823
- Sigstore integration time:
-
Permalink:
microprediction/winning@0427fb6a70bed3fc4a54fb2ae4966aad2d8ed857 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/microprediction
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-fastrace.yml@0427fb6a70bed3fc4a54fb2ae4966aad2d8ed857 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file fastrace-0.1.1-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.
File metadata
- Download URL: fastrace-0.1.1-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
- Upload date:
- Size: 699.7 kB
- Tags: CPython 3.9+, macOS 10.12+ universal2 (ARM64, x86-64), macOS 10.12+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b91d9147577d39f782e89e30f944e29c978ff283f4ee4f744e9b44a55f374174
|
|
| MD5 |
786a58d612ecb6e2e89ce125be847e18
|
|
| BLAKE2b-256 |
d0daa4b4382f24669d5d43b90db6b441cc0d31b7ec910ccb29424fa89e909630
|
Provenance
The following attestation bundles were made for fastrace-0.1.1-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:
Publisher:
publish-fastrace.yml on microprediction/winning
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fastrace-0.1.1-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl -
Subject digest:
b91d9147577d39f782e89e30f944e29c978ff283f4ee4f744e9b44a55f374174 - Sigstore transparency entry: 2609513864
- Sigstore integration time:
-
Permalink:
microprediction/winning@0427fb6a70bed3fc4a54fb2ae4966aad2d8ed857 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/microprediction
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-fastrace.yml@0427fb6a70bed3fc4a54fb2ae4966aad2d8ed857 -
Trigger Event:
workflow_dispatch
-
Statement type: