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.2.tar.gz (18.2 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.2-cp39-abi3-win_amd64.whl (281.9 kB view details)

Uploaded CPython 3.9+Windows x86-64

fastrace-0.1.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (390.7 kB view details)

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

fastrace-0.1.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (377.7 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

fastrace-0.1.2-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (694.5 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.2.tar.gz.

File metadata

  • Download URL: fastrace-0.1.2.tar.gz
  • Upload date:
  • Size: 18.2 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.2.tar.gz
Algorithm Hash digest
SHA256 3c4ae8e8f0333b983c147fbe9ebbef7d18a22fc955c71a2190dead73fe301d9d
MD5 1dc8fd77a0500df06a75a1cfdb276daa
BLAKE2b-256 f1b6776b0452671fdb1db0984a5635d638c3f018ca5d3d631cac6568e2ce62cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastrace-0.1.2.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.2-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: fastrace-0.1.2-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 281.9 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.2-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6b499564518bf895c192b5e59bfa077d83c606a361493ed07efa75643bf17231
MD5 2be358913aa2b14de4b701bae0112e1c
BLAKE2b-256 a1abb5706e25562eee1d376047fec9a2e43d0bb20588f8e17fa6e53d9709dc98

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastrace-0.1.2-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.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastrace-0.1.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9b3460f2f48f54492c3392b15d6b64ddc6a525fef743e50193de25fd55d06027
MD5 f7c94be5494be1907992ce48a4247c13
BLAKE2b-256 ddc9ad777b83162b6edcde08dceb2c26294cabb5a6321d7c23f53aab125b60e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastrace-0.1.2-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.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fastrace-0.1.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9fa0eb31d532bb0195625d4bb9a62938dfce5268659fa5e322eab3813455df8f
MD5 f74face6a916bb9bc789c7ecd545e4ab
BLAKE2b-256 a096c42cc1a5324c060488981ad2b48a31f62202936ffff160a093449ba35f5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastrace-0.1.2-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.2-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.2-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 2f5adb1478777b6f5913ce760104d85f76e15ae94d2a4820ff16357d90fca0b3
MD5 027b833b5e967d05df837e114d41084e
BLAKE2b-256 b7b27d6e963df3d9f3022568c9d3f38584a1e159c7b2aba451ecf6a20a3dd22c

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastrace-0.1.2-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.2 This release

5 files

0.1.1

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