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.2.0.tar.gz (28.6 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.2.0-cp39-abi3-win_amd64.whl (414.7 kB view details)

Uploaded CPython 3.9+Windows x86-64

fastrace-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (514.3 kB view details)

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

fastrace-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (483.6 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

fastrace-0.2.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (921.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.2.0.tar.gz.

File metadata

  • Download URL: fastrace-0.2.0.tar.gz
  • Upload date:
  • Size: 28.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for fastrace-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e8840d1799b8c73097ddfaf934116f488260e4f4ada262233bea1be503324afe
MD5 7b650a01361d67de2c3efa38b4f8221c
BLAKE2b-256 ae6b6fcd3577b9b36fffa91ac34b2eab7058e2802f51db76f1abf44148a6faec

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fastrace-0.2.0-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 414.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.2.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6bb267e1efeb1f983bb41f0c2bd132805b3a761886a2240c512aa7ab2ed7e2f7
MD5 b1323672b734fe82b9debfb1723cbf4b
BLAKE2b-256 abb73bbcf8aad50cbbe8f0055a641f32645f0b6dd6af4ea02a5de949c201481a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fastrace-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4721061a9c5780f66d573223b48a446e3270613b8b9a3cfb304c00d5928ce776
MD5 1a43d19d23658cbb40f139d77422298b
BLAKE2b-256 88258e0af5e45ba9615d7cd034bd23df85ec1e4d8d8dd05fb4232d93a637ba24

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fastrace-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 67b4cef29771e0185d1b10a832352a294454e2dd1931a2a3b3fc92db122ff0e9
MD5 1e575b122e01f7b86bc43b69cf13cce1
BLAKE2b-256 e7e8160ba455466769be7f02d598f706f770bf9738e8baacacccf9f257a344b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastrace-0.2.0-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.2.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for fastrace-0.2.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 b1bdf7d5adf31b8878aac1ac2a1795dc9766d4f31c06cff1ba6b884d56f2d0af
MD5 24c01f092d6164cdd34ce2708ac5e993
BLAKE2b-256 7a5522a35620c27651c0debb063b96580305c1d57deb4a9958ba3d05ca0016f9

See more details on using hashes here.

Provenance

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

5 files

0.1.2

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