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

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 (must contain task.toml, instruction.md,
# environment/Dockerfile, solution/solve.sh, tests/test.sh)
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 eval default/<task-name>     # default: oracle-nop -> RUN_ID + report
cf eval batch1 --check "format,ngrams" --detach

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

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.

Development

conda activate harbor
pip install -e .
pytest

Metadata

Release files for cosmosforge 0.4.0

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

Built distribution (wheel)

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

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

Download URL cosmosforge-0.4.0-py3-none-any.whl
Size 20.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c87aeba1789ab7b6709b65ec937168ad94b212eaddb223828793f63c6f1dd836
BLAKE2b-256 checksum
How to use checksums
c5f7d78da7010c9a24bd25d8a17273c99de257ce6c7e3f1a837cbe0bef131a07
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.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.

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.0 This release

1 release file 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