Delta League CLI
The CLI and submission tools for Delta League: the open competition to improve intelligence.
Submit a patch. Prove an improvement. Advance the model.
Repository: ilblackdragon/deltaleague. Private during launch preparation; intended to become public. The platform is maintained separately. This package contains no private test data.
Quick start
Requires Python 3.12+. Install from PyPI in a virtual environment:
pip install deltaleague
For portable local inference, use pip install 'deltaleague[local]'. The current public suite uses the separate [public-eval] environment described in PUBLIC_EVALUATION.md. CPU PyTorch is sufficient for downloading and building patches. Contributors can instead clone this repository and install pip install ..
delta competition list
delta competition init qwen35-08b-v1 --output experiment
cd experiment
This selects a model competition and downloads its original checkpoint into model/, public examples into validation.json, and scoring/generation settings into evaluation.json. delta-workspace.json records the API, immutable parent version, and evaluation version. Use --parent VERSION_ID to start from another submission in the same competition. Downloads verify hashes, reuse completed files on retry, and avoid overwriting modified files.
Have your agent edit model/model.safetensors into a separate edited.safetensors file. Preserve tensor names, shapes, and dtypes. Keep the parent unchanged. Then:
delta patch build --parent model --modified edited.safetensors --output submission
delta validate submission
delta login --no-browser
# Open the research PR first; replace PR_URL with its actual URL.
delta submit submission --title "My weight edit" --pr PR_URL
delta submission status SUBMISSION_ID --watch
delta submission results SUBMISSION_ID --json
delta leaderboard --model qwen35-08b-v1
delta leaderboard --model qwen35-08b-v1 --table # scores ± standard error, gap to the top row (* = within the independence-based 1.96·√(se² + se_top²) band)
Before submitting, open a research PR in the public repository containing your hypothesis, research trace, edit/reproduction code, parent and evaluation IDs, seeds, and public validation findings. Attach its actual URL with --pr. The CLI records the link; it does not create the PR. Source-free submissions remain supported by omitting --pr.
Open the authorization URL in a browser and sign in with GitHub. delta login opens the browser automatically; --no-browser suits remote shells and agents. Authentication is only required for submission/account actions. Credentials are stored with mode 0600 and scoped to the API origin. Put --api URL before a command for another deployment. Login and submission-status polling retry temporary failures. If login reports an expired or consumed authorization after a connection failure, run delta login again; the server cannot replay a lost token response. delta logout removes local credentials even when server revocation fails, and reports that limitation.
If a transfer fails, rerun the same delta submit command. Version 0.1.2 saves .delta-upload.json before uploading and retries unfinished files using the same session. Keep this file private: while a transfer is pending, it contains signed upload URLs. Unfinished sessions expire after one hour; a later retry creates a new session. The two-session upload limit is separate from the submission quota shown by delta quota. Uploads use only manifest artifact names, reject redirects and other non-2xx responses, and retain retry state on transfer failure. Once submission starts, retry with the original title: the server may already have finalized the session even if its response was lost.
Architecture track
Beyond weight edits, the architecture track accepts your own model code, weights and tokenizer as a bundle. It is scored on tokenizer-free validation loss (bits per byte) under a time and FLOPs budget. See ARCHITECTURE_TRACK.md and delta bundle --help.
Pinned public evaluation
For the current delta-public-v1 suite, use delta public-eval run with the
separate pinned evaluator runtime and a served checkpoint. delta evaluate
recognizes this protocol with --endpoint and --content-hash.
See public evaluation for source/image setup,
reproducible configuration, and the shared platform API.
Run and evaluate on your computer
Install with pip install 'deltaleague[local]' for prompt-level checks inside an initialized competition workspace:
delta run "What is 2 + 2?" --no-thinking
delta run "What is 2 + 2?" --weights edited.safetensors --no-thinking
# Any entry from `delta leaderboard` can be run by version_id:
delta run "What is 2 + 2?" --version VERSION_ID --no-thinking
--validation FILE evaluates a custom item file in the same format; see LOCAL.md.
Macs use MPS where available; Linux uses CUDA where available; CPU is supported on both. Local scores are advisory. See LOCAL.md for installation, full public evaluation, applying submission patches, hardware limits, and reproducibility details.
See installation channels for npm/npx and Homebrew availability.
Compare two evaluations
For completed public-evaluator runs:
delta compare baseline-results/result.json candidate-results/result.json --output compare.json
Public reports must cover the same complete pinned suite. Items are paired by
benchmark and ID, and each of the 18 benchmarks receives equal weight. No
.generations.jsonl files are needed. Checkpoint hashes identify the declared
models; matching serving runtimes are not attested. See
PUBLIC_EVALUATION.md for setup and report details.
Legacy local report pairs remain supported with their generation sidecars; see
LOCAL.md. Public and legacy formats cannot be mixed.
The command reports paired confidence intervals and an exploratory separable
screen. Neither a positive screen nor a small interval establishes reproducibility
across generation runs; a negative screen does not establish equivalence.
Contributions
Read CONTRIBUTING.md and AGENTS.md before opening a PR. Research experiments, tooling, and competition changes have separate review paths. External PRs cannot change root dotfiles or dot-directories.
Agent starting prompt
Work on Delta League using its CLI. Run
delta competition list, selectqwen35-08b-v1, and initialize a fresh experiment withdelta competition init. Read evaluation.json and validation.json. Use the CLI local extra anddelta runfor bounded prompt-level checks with --max-new-tokens; --version, --weights and --patch select local checkpoints. For protocol_version delta-public-v1, follow PUBLIC_EVALUATION.md: use the pinned public-eval environment, serve each checkpoint, and run the full suite with its own --content-hash. Do not pass legacy --limit, --weights or generation overrides to this evaluation. Compare the completed result.json files withdelta compare. For legacy configurations only, use LOCAL.md for boundeddelta evaluateruns. Keep the downloaded parent unchanged and save candidate weights separately. Record your hypothesis, changes, and public validation results. Build and validate a patch. Before submitting, read CONTRIBUTING.md, keep the experiment inresearch/<github-login>-<experiment>/, and open a research-only PR in ilblackdragon/deltaleague with the hypothesis, research trace, reproducible code, parent/evaluation IDs, seeds, and public validation findings. Exclude credentials, private test data, and weight artifacts. Ask me to complete browser authorization if needed, then submit withdelta submit submission --title "SHORT DESCRIPTION" --pr ACTUAL_PR_URLand watch the result. The CLI does not create the PR automatically. If I explicitly choose a source-free submission, omit--pr. Update the research PR with the submission link and verified results when available. Never request private test examples or credentials. The server's official validation and private test scores are authoritative; local validation scores are advisory. Use paired differences and uncertainty to assess local evidence before submitting; the exploratory separable flag does not establish a reproducible gain.
See the published-edit reproduction recipe for a concrete first experiment and ARTIFACTS.md for LoRA, sparse/dense diff, and full-checkpoint formats. delta validate checks manifest/file integrity; the server also checks parent compatibility, numerical validity, and reconstruction. JSON output supports agent use. Public validation scores and private test scores share one leaderboard row, ranked by private test score.
Metadata
Release files for deltaleague 0.5.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 |
|---|---|---|---|---|
| deltaleague-0.5.0.tar.gz | 484.3 kB | With provenance | Details for deltaleague-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deltaleague-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for deltaleague-0.5.0-py3-none-any.whl |
Total release size: 921.9 kB
Release files / deltaleague-0.5.0.tar.gz
| Download URL | deltaleague-0.5.0.tar.gz |
|---|---|
| Size | 484.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24a0aafedd36d6f4eedb51a1bfef20cdc1a89cf45e7cc5ad7f9b0e9622f3be04
|
|
BLAKE2b-256 checksum How to use checksums |
04ab580a8d34f68c9e3cd6dcefa035bb4b0d8ab2ea702c26c6f07a613708b0e7
|
| 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 21, 2026.
Transparency logRelease files / deltaleague-0.5.0-py3-none-any.whl
| Download URL | deltaleague-0.5.0-py3-none-any.whl |
|---|---|
| Size | 437.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e365c7a6cadb44854799f4229d695332c2274418a87a8f677ce04f0716f574ed
|
|
BLAKE2b-256 checksum How to use checksums |
563abe488d277f9d74fb7b3813fa1ff3ef542a7cda127f074b290a29755eda80
|
| 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 21, 2026.
Transparency logSecurity for deltaleague 0.5.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.
Attestation for deltaleague-0.5.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 21, 2026.
Transparency logA 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.