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.3

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.3
File Size Uploaded Provenance
xrtm_eval-0.3.3.tar.gz 18.2 kB With provenance Details

Built distribution (wheel)

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

Total release size: 40.7 kB

Release files / xrtm_eval-0.3.3.tar.gz

Download URL xrtm_eval-0.3.3.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b273ff78db56006f042d688666ab76897ce116136637c1ca921c92db416eee1f
BLAKE2b-256 checksum
How to use checksums
bc700a32dbc019b1244b54ab56b56bd136577912188699eae7bebd2a659f556d
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 8, 2026.

Transparency log

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

Download URL xrtm_eval-0.3.3-py3-none-any.whl
Size 22.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34d86646666efcc28306da553042e4b9fb45c0ff8bb0e34f15e15fcb731a89a8
BLAKE2b-256 checksum
How to use checksums
6b450aff41dd43ead004a18cc5636b0bd14f45a70a326000777f0149789b9452
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 8, 2026.

Transparency log

Security for xrtm-eval 0.3.3

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.3.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 8, 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