Skip to main content

CosmosForge

Evaluation and rollout service for Harbor-format terminal tasks.

A resident service runs on the eval server (FastAPI + harbor); the cf CLI submits tasks and fetches results over HTTP with token auth. All traffic is tunneled through SSH, so only port 22 needs to be reachable — the HTTP port never has to be exposed to the internet. cf init also uses SSH once, to provision your token.

Install

pip install cosmosforge
cf --version

Quick start

# set up SSH key authentication first for password-free commands
cf init --host <server-host> --user <your-ssh-user>

# upload a Harbor task directory
cf submit path/to/task          # -> default/<task-name>
cf submit-folder path/to/tasks --name batch1

# run oracle/nop validation; oracle must score 1.0, nop must score 0.0
cf review default/<task-name>   # default: oracle-nop -> RUN_ID + report
cf review batch1 --check "format,ngrams" --detach
cf rollout default/<task-name> -n 2

# list tasks / runs / fetch a past report
cf tasks
cf folders
cf folder batch1
cf runs
cf results <RUN_ID>

cf eval remains available as an alias for cf review.

Architecture

See docs/design/architecture.md for the full design: storage layout (users/<user>/tasks/, runs/<run_id>/), the harbor job structure, and the deployment notes. See docs/storage.md for the current on-disk run and artifact layout. See docs/postgres-queue.md for multi-instance queue setup. See docs/rollout.md for trial metrics and trace retrieval.

Development

conda activate harbor
python -m pip install -r requirements.txt
python -m pip install -e '.[server]'
pytest

See Development Quick Start for environment details, linting, and running the local service.

Metadata

Release files for cosmosforge 0.4.30

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

Source distribution (sdist)

Source distribution for cosmosforge 0.4.30
File Size Uploaded Provenance Actions
cosmosforge-0.4.30.tar.gz 113.0 kB Without provenance Details for cosmosforge-0.4.30.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cosmosforge 0.4.30
File Interpreter ABI Platform Actions
cosmosforge-0.4.30-py3-none-any.whl Python 3 none any Details for cosmosforge-0.4.30-py3-none-any.whl

Total release size: 209.1 kB

Release files / cosmosforge-0.4.30.tar.gz

Download URL cosmosforge-0.4.30.tar.gz
Size 113.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d988a1af10ea87aca4ae83187d116024a99350915d294bea2eaf84d01585d1ee
BLAKE2b-256 checksum
How to use checksums
e4720f0c47d9be600865df5009b772e3e4e85f24d8a9f354aaad7bc203f48b85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / cosmosforge-0.4.30-py3-none-any.whl

Download URL cosmosforge-0.4.30-py3-none-any.whl
Size 96.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79d4a4a5afe0727b1473635a743c36e4cdec1e8037ca8a068f6696c5e9014b47
BLAKE2b-256 checksum
How to use checksums
9c27ee8ee60fcabcf4726b3d4ff28b98afab3d7c954aa3038a4d6549d9b0dd29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Security for cosmosforge 0.4.30

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.

Release history Release notifications | RSS feed

This release

0.4.30 This release

2 release files No provenance

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