maia-calibrate
Maia-3 takes a rating as input, but the strength it plays at can be 200 Elo or more away from it. This package ships the dial and sampling temperature I measured for each target rating from 600 to 2600, so you can look up the setting that actually plays at the rating you want. It is a lookup table with a small API around it. It has no dependencies and doesn't load the model.
pip install maia-calibrate
from maia_calibrate import maia3_79m
s = maia3_79m().lookup(1500).setting
print(s.dial, s.temp) # 1520 1.0
Pass s.dial to Maia-3 as the rating for both players and sample moves at s.temp.
lookup returns the measured setting when the target is one of the 21 that were measured (every 100 from 600 to 2600). For anything in between it returns the nearest measured setting with validated=False, and it doesn't interpolate.
r = maia3_79m().lookup(1950)
print(r.setting.dial, r.validated, r.nearest) # 2010 False True
Each entry also carries the rating it was measured at and the interval, so you can see how close it lands. The targets from 2400 up fall short, because the model tops out at about 2440.
If you measure your own settings, CalibrationMap.from_rows, save_map and load_map read and write the same JSON format.
The measurements and the method are in the LevelRL repo. Ratings are estimated Lichess blitz ratings for Maia3-79M. AGPL-3.0, and not affiliated with the CSSLab.
Metadata
Release files for maia-calibrate 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| maia_calibrate-0.1.0.tar.gz | 20.5 kB | Without provenance | Details for maia_calibrate-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| maia_calibrate-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for maia_calibrate-0.1.0-py3-none-any.whl |
Total release size: 41.0 kB
Release files / maia_calibrate-0.1.0.tar.gz
| Download URL | maia_calibrate-0.1.0.tar.gz |
|---|---|
| Size | 20.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f28ac7b808cbe8083c3407267eb8462739989a3458368efb207ab7f95a3dfaa
|
|
BLAKE2b-256 checksum How to use checksums |
16b073dae01e8bc9c2916e60d5e2d134d1e02599ca1ed3409124aac19b60e0ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.11
|
Release files / maia_calibrate-0.1.0-py3-none-any.whl
| Download URL | maia_calibrate-0.1.0-py3-none-any.whl |
|---|---|
| Size | 20.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c59350cf52be0d88f6e2328c017a56cb23db8b57c8ec4abbb404d16a6faf4bd4
|
|
BLAKE2b-256 checksum How to use checksums |
81b31fd0c670aa3f629b8a614fe33aa62f71e4f7e61a2954f85c7ed879ded19d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.11
|
Security for maia-calibrate 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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.