Skip to main content

Statstimate

Tornium's stat estimation library to estimate a user's stats from their personal stats.

This library provides the models and a python reference implementation to generate stat estimates. You can re-use the models in other languges using the XGBoost library.

Installation

To support both CPU and GPU based estimation, the statstimate library is split into two groups of dependencies:

  • statstimate[cpu]: uses the xgboost-cpu library to provide CPU-only estimation
  • statstimate[gpu]: uses the xgboost library to provide mostly GPU-only estimation

These can then be installed with pip install statstimate[cpu] and pip install statstimate[gpu] respectively.

Usage

TBA

Accuracy (model 2026-11-13)

Method Typical miss Within ±25%
Estimation (personal stats only) 26% 67%
Change model (earlier label > 3 days old) 9% 93%
Show previous (earlier label ≤ 3 days old) 4% 96%

The error of the stat score grows with the age of the earlier stat score value: about 5% at 1 day, 9% at 15–60 days, 12% past 180 days.

Model files

The wheel bundles models/model-settings.json, snapshot.ubj, and change.ubj. To use other files (such as an older model), pass Estimator(model_dir=...) or set STATSTIMATE_MODEL_DIR.

Contributing

TBA

To install library with development dependencies to your virtual environment, you can run pip install -e ".[cpu]" --group dev. To only install the dev dependencies, you can run pip install --group dev to install the dev dependency group.

License

Copyright 2026 tiksan

This project is licensed under GPLv3; see LICENSE.md for more details.

Metadata

Release files for statstimate 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for statstimate 0.1.0
File Size Uploaded Provenance Actions
statstimate-0.1.0.tar.gz 13.5 MB With provenance Details for statstimate-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for statstimate 0.1.0
File Interpreter ABI Platform Actions
statstimate-0.1.0-py3-none-any.whl Python 3 none any Details for statstimate-0.1.0-py3-none-any.whl

Total release size: 27.4 MB

Release files / statstimate-0.1.0.tar.gz

Download URL statstimate-0.1.0.tar.gz
Size 13.5 MB
Tags Source
SHA-256 checksum
How to use checksums
9d9418a0861157893944df0d793b79646386d6f7303f646afad0b1694fd2b53c
BLAKE2b-256 checksum
How to use checksums
1967f85263351c49f362ee13771a6889cc11728ed7925e795b23c9d60cadaf6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 23, 2026.

Transparency log

Release files / statstimate-0.1.0-py3-none-any.whl

Download URL statstimate-0.1.0-py3-none-any.whl
Size 13.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
499cb9e4b7fe12662103d136f093c048b4d94fc012c8b50bfeb86d08107e213c
BLAKE2b-256 checksum
How to use checksums
d6a4aefb469ef2a137878b849b5942784a10b6783c58b2cbb13cfa46087041de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 23, 2026.

Transparency log

Security for statstimate 0.1.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for statstimate-0.1.0.tar.gz

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 Nov 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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