Skip to main content

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.py calibrates 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

fastrace-0.1.1.tar.gz (17.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

fastrace-0.1.1-cp39-abi3-win_amd64.whl (281.7 kB view details)

Uploaded CPython 3.9+Windows x86-64

fastrace-0.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (393.1 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

fastrace-0.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (380.4 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

fastrace-0.1.1-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (699.7 kB view details)

Uploaded CPython 3.9+macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

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

Hashes for fastrace-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e421aba3bf0c98b64e3b56e789f164b180a9553e606c6abd4129cc268419da3a
MD5 769e71f74b539928938e30abd0947c10
BLAKE2b-256 daa87679555587655ecb9a31b50ee64763cab0562e44ebe16a9e65e8a8ae0181

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastrace-0.1.1.tar.gz:

Publisher: publish-fastrace.yml on microprediction/winning

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for fastrace-0.1.1-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2b740566839acdefc11f4643d60d2011d78cb6d72c1efc1a2a3560b3d43654ce
MD5 e8d48c6011d126a980b0004cf9ca6f2b
BLAKE2b-256 8414cdc3de35824c10b80215f66d338bfc71e4c54936a2e5320cd3763daa3f05

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastrace-0.1.1-cp39-abi3-win_amd64.whl:

Publisher: publish-fastrace.yml on microprediction/winning

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fastrace-0.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastrace-0.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9d3f8a6e51533689f6ed41daa46c69f06092f78e66143c3c41c634ef8d83818e
MD5 7d2b18254485cc8832319746b8e3c5dd
BLAKE2b-256 ca619897deccfb75726c2f7a17e52ecbfbbdcd9cb44f62f40d1e809dc6ffc885

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fastrace-0.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fastrace-0.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a5cadf17b4b651bda88c381fe3c1b2041480b80c9dedc1dbe3a99c5d4b10691e
MD5 7f56d10d907b6e8ca6dcdd0c2e9d7f2a
BLAKE2b-256 d1c6e93a49353c3c531d89bdc93ff8b746e18c92483d6c48c0490e7fd6cea065

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

File hashes

Hashes for fastrace-0.1.1-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 b91d9147577d39f782e89e30f944e29c978ff283f4ee4f744e9b44a55f374174
MD5 786a58d612ecb6e2e89ce125be847e18
BLAKE2b-256 d0daa4b4382f24669d5d43b90db6b441cc0d31b7ec910ccb29424fa89e909630

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.1 This release

5 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page