Skip to main content

xrtm-eval v0.3.2

PyPI

License Python

The Judge for XRTM.

xrtm-eval is the scoring engine for probabilistic forecasts. It measures calibration, accuracy, and resolution using strict scoring rules.

Installation

pip install xrtm-eval

Scoring Metrics

Metric Class Description
Brier Score BrierScoreEvaluator Mean squared error (p - o)^2. Murphy decomposition into reliability/resolution/uncertainty.
ECE ExpectedCalibrationErrorEvaluator Expected Calibration Error via reliability binning.
Log Score LogScoreEvaluator Negative log-likelihood with epsilon clamping.
Dashboard summarize_binary_forecasts() Aggregate Brier, ECE, LogScore + calibration curve in one call.

Usage

from xrtm.eval import BrierScoreEvaluator, summarize_binary_forecasts

# Single forecast


evaluator = BrierScoreEvaluator()
score = evaluator.score(probability=0.7, ground_truth="yes")

# Batch evaluation
predictions = [(0.7, "yes"), (0.3, "no"), (0.9, "yes")]
summary = summarize_binary_forecasts(predictions)
print(f"Brier: {summary['brier_score']:.4f}")
print(f"ECE:   {summary['ece']:.4f}")

License

Apache 2.0

Metadata

Release files for xrtm-eval 0.3.4

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

Source distribution (sdist)

Source distribution for xrtm-eval 0.3.4
File Size Uploaded Provenance
xrtm_eval-0.3.4.tar.gz 18.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for xrtm-eval 0.3.4
File Interpreter ABI Platform
xrtm_eval-0.3.4-py3-none-any.whl Python 3 none any Details

Total release size: 41.3 kB

Release files / xrtm_eval-0.3.4.tar.gz

Download URL xrtm_eval-0.3.4.tar.gz
Size 18.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f20d25fe1e4ef57acaa2b155fe28d612cc7296a54d749b9f16d4d4e25e4e83f6
BLAKE2b-256 checksum
How to use checksums
0e8027c81f5da3bce25f509c193294c53b7ddf8fd3a331964a02ecd08df02b66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Release files / xrtm_eval-0.3.4-py3-none-any.whl

Download URL xrtm_eval-0.3.4-py3-none-any.whl
Size 22.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
925ebb657acce2a020f27738ce8c888877092b0663968e5638506bc51d7b906a
BLAKE2b-256 checksum
How to use checksums
6625ee68661613100e846a703595560a06224e1dbaeb6f2510c05f35bba38995
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Security for xrtm-eval 0.3.4

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for xrtm_eval-0.3.4.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 Oct 16, 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.

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