Skip to main content

Model Arena

Explicit forecasting competition and observable learning histories.

Version 0.1.1. Install the complete SDK with python -m pip install "model-arena-sdk==0.1.1". Source: https://github.com/JacoboGGLeon/model_arena · PyPI: https://pypi.org/project/model-arena-sdk/.

The import remains model_arena. Default dependencies cover training, AWS publication and Observatory; no extras are required for the ADA workflow. This release includes a generic forecasting core and a MAC migration adapter. The storage profile was exercised end-to-end in ADA, including S3/Athena publication; automated tests use synthetic data.

from model_arena import ModelArena

arena = ModelArena.from_config('arena.yaml')
study = arena.tune(df=history, static_df=metadata)
selection = arena.select(study)
arena.fit(df=history, static_df=metadata, selection=selection, epochs=75)
forecasts = arena.predict(futr_df=known_future)
release = arena.postprocess(forecasts)
publication = arena.publish(release, destination='publications')

fit does not launch HPO or publish. predict never trains. Temporal selection folds are not an independent test. A global configuration can serve multiple entities; zero-shot entities are excluded from parameter fitting. Every target retains its own output head and learning history.

ADA accounting workflow

notebooks/10_ADA_Slow_System_End_to_End.ipynb uses model_arena.profiles.mac.MacProject to preserve the established accounting engines and Athena dashboard during migration. 00_ADA_Fast_System_Observatory.ipynb opens that monitor without training. Deployment configurations and the calendar are supplied separately, outside the public repository. See the implementation status for the explicit migration boundary.

Installation

The default installation includes the complete forecasting and monitoring runtime. In ADA, retain the corporate pip/Artifactory configuration. Do not print pip config list or embed tokens in notebooks.

python -m pip install "model-arena-sdk==0.1.1"

In ADA, keep the existing Artifactory indexes and approved CUDA-compatible PyTorch installation. No package index or CUDA build is forced by the SDK. Default installation includes PyTorch and the dashboard dependencies; imports remain lazy and reading results does not initialize CUDA. Existing extras remain available for compatibility.

Development

python -m pip install -e '.[dev]'
python -m pytest
python -m ruff check src/model_arena tests scripts --exclude _mac_runtime
python -m build
python -m twine check dist/*

See docs/INSTALL_ADA.md, docs/RELEASE.md and docs/IMPLEMENTATION_STATUS.md. Notebooks contain no credentials, internal endpoints or datasets. Corporate configuration is provided as a local file excluded from git.

Storage and local loss monitor (0.1.1)

Loss details and summaries use atomic Zstandard Parquet with Float64 precision. A configurable disk reserve and project writer lock protect sequential runs. Trials stopped by the disk guard are retried with their original parameters and candidate identity. Completed checkpoints are reused; incomplete fits restart from scratch.

from model_arena.profiles.loss_monitor import launch
monitor = launch("runs/my_project")

This read-only monitor filters fixed training/validation curves by input, fold, budget and account, and offers chart/table views and Parquet downloads. It does not require publication or GPU.

An explicit upgrade of an unpublished SDK 0.1 run is available through model_arena.profiles.storage_upgrade.upgrade(path). It verifies the old runtime, backs up identity metadata and runtime, validates CSV-to-Parquet conversion before removing CSVs, and retains models/trials. Existing published releases do not need conversion. For a tested ADA bundle project, MacProject(path) can reuse its runtime snapshot unchanged.

The disk reserve is a point-in-time guard, not a guarantee of capacity for an entire run. The model mathematics, target scaling and accounting rules are unchanged.

Metadata

Release files for model-arena-sdk 0.1.1

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

Source distribution (sdist)

Source distribution for model-arena-sdk 0.1.1
File Size Uploaded Provenance Actions
model_arena_sdk-0.1.1.tar.gz 260.7 kB With provenance Details for model_arena_sdk-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for model-arena-sdk 0.1.1
File Interpreter ABI Platform Actions
model_arena_sdk-0.1.1-py3-none-any.whl Python 3 none any Details for model_arena_sdk-0.1.1-py3-none-any.whl

Total release size: 433.8 kB

Release files / model_arena_sdk-0.1.1.tar.gz

Download URL model_arena_sdk-0.1.1.tar.gz
Size 260.7 kB
Tags Source
SHA-256 checksum
How to use checksums
30c7969340659ee6fb46da5063de3bfbf4936671a0e165fad97f7185044bcfde
BLAKE2b-256 checksum
How to use checksums
c402e9b5f55628912628f7668b3fe4e8ba8d853751b12eb7a980bb3723935009
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 24, 2026.

Transparency log

Release files / model_arena_sdk-0.1.1-py3-none-any.whl

Download URL model_arena_sdk-0.1.1-py3-none-any.whl
Size 173.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2d94156ee38cef31d28cd956ff52b28cde1861bfc3dbce8d05e0a3886b999eb
BLAKE2b-256 checksum
How to use checksums
bbc91f58bd54ef03df12638d6b6622066a0a36f898aa2faa850ca762686a1ee7
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 24, 2026.

Transparency log

Security for model-arena-sdk 0.1.1

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 model_arena_sdk-0.1.1.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 24, 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.

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