Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,12 @@ All notable changes to SkillEvaluator are documented in this file.

### Changed

- Upgrade the Tier 3 backend to Harbor 0.25.0. Align supported sandbox
constructor options with the release while reserving automatic mounts and
host Compose environment forwarding for evaluator policy. Preserve local
agent, verifier, and artifact evidence under Harbor's new mount checks, and
retain explicit Codex gateway URLs, credential aliases, and full model identifiers.

- Name Skill Lift as the headline comparison and label pass@k differences as
supporting reliability across reports and terminal output.

Expand Down
66 changes: 38 additions & 28 deletions docs/agents-and-sandboxes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -253,37 +253,37 @@ Anthropic evaluator with `opencode` also does not support local mode.

SkillEvaluator exposes 27 environment modes: 26 Harbor-native backends,
including Docker, plus SkillEvaluator's own `local` host-execution mode.
Docker is the default. The `tier3` extra installs base `harbor==0.24.0`; install
Docker is the default. The `tier3` extra installs base `harbor==0.25.0`; install
the environment extra shown below when a managed backend needs one.

| Mode | Type | Harbor extra or system prerequisite |
| --- | --- | --- |
| `docker` | Harbor-native | No additional Python extra. Requires Docker Engine and Docker Compose v2 — see [Docker mode](#docker-mode). |
| `kata` | Harbor-native | No additional Python extra. Requires a Linux host with `/dev/kvm` and a Kata Containers runtime registered with Docker — see [Kata mode](#kata-mode). |
| `daytona` | Harbor-native | `harbor[daytona]==0.24.0` |
| `e2b` | Harbor-native | `harbor[e2b]==0.24.0` |
| `modal` | Harbor-native | `harbor[modal]==0.24.0` |
| `runloop` | Harbor-native | `harbor[runloop]==0.24.0` |
| `langsmith` | Harbor-native | `harbor[langsmith]==0.24.0` |
| `ec2` | Harbor-native | `harbor[ec2]==0.24.0` |
| `gke` | Harbor-native | `harbor[gke]==0.24.0` |
| `ack` | Harbor-native | `harbor[gke]==0.24.0` |
| `daytona` | Harbor-native | `harbor[daytona]==0.25.0` |
| `e2b` | Harbor-native | `harbor[e2b]==0.25.0` |
| `modal` | Harbor-native | `harbor[modal]==0.25.0` |
| `runloop` | Harbor-native | `harbor[runloop]==0.25.0` |
| `langsmith` | Harbor-native | `harbor[langsmith]==0.25.0` |
| `ec2` | Harbor-native | `harbor[ec2]==0.25.0` |
| `gke` | Harbor-native | `harbor[gke]==0.25.0` |
| `ack` | Harbor-native | `harbor[gke]==0.25.0` |
| `openshift` | Harbor-native | No Harbor Python extra; install and authenticate the OpenShift `oc` CLI. |
| `novita` | Harbor-native | `harbor[novita]==0.24.0` |
| `novita` | Harbor-native | `harbor[novita]==0.25.0` |
| `apple-container` | Harbor-native | No Harbor Python extra; install the Apple `container` CLI. |
| `singularity` | Harbor-native | No Harbor Python extra; install the `singularity` CLI Harbor invokes. |
| `islo` | Harbor-native | `harbor[islo]==0.24.0` |
| `tensorlake` | Harbor-native | `harbor[tensorlake]==0.24.0` |
| `cwsandbox` | Harbor-native | `harbor[cwsandbox]==0.24.0` |
| `wandb` | Harbor-native | `harbor[cwsandbox]==0.24.0` |
| `use-computer` | Harbor-native | `harbor[use-computer]==0.24.0` |
| `blaxel` | Harbor-native | `harbor[blaxel]==0.24.0` |
| `beam` | Harbor-native | `harbor[beam]==0.24.0` |
| `skypilot` | Harbor-native | `harbor[skypilot]==0.24.0` |
| `hyperbrowser` | Harbor-native | `harbor[hyperbrowser]==0.24.0` |
| `vercel` | Harbor-native | `harbor[vercel]==0.24.0` |
| `runta` | Harbor-native | `harbor[runta]==0.24.0` |
| `mosaic` | Harbor-native | `harbor[mosaic]==0.24.0` |
| `islo` | Harbor-native | `harbor[islo]==0.25.0` |
| `tensorlake` | Harbor-native | `harbor[tensorlake]==0.25.0` |
| `cwsandbox` | Harbor-native | `harbor[cwsandbox]==0.25.0` |
| `wandb` | Harbor-native | `harbor[cwsandbox]==0.25.0` |
| `use-computer` | Harbor-native | `harbor[use-computer]==0.25.0` |
| `blaxel` | Harbor-native | `harbor[blaxel]==0.25.0` |
| `beam` | Harbor-native | `harbor[beam]==0.25.0` |
| `skypilot` | Harbor-native | `harbor[skypilot]==0.25.0` |
| `hyperbrowser` | Harbor-native | `harbor[hyperbrowser]==0.25.0` |
| `vercel` | Harbor-native | `harbor[vercel]==0.25.0` |
| `runta` | Harbor-native | `harbor[runta]==0.25.0` |
| `mosaic` | Harbor-native | `harbor[mosaic]==0.25.0` |
| `local` | SkillEvaluator | Your machine, under an OS sandbox policy — see [Local mode](#local-mode). |

Installed packages can add more modes, for example an organization's internal
Expand All @@ -302,9 +302,9 @@ authentication (`auth=wandb`), using `WANDB_API_KEY` or the netrc file that
`wandb login` writes. Because SkillEvaluator sets `auth` itself, `--ek auth=...`
is rejected for both `cwsandbox` and `wandb`.

Harbor 0.24 also defines `cua-cloud`, `opensandbox`, `hf-sandbox`, `podman`,
`prime`, and `smol`, but those backends are not exposed until SkillEvaluator
can project the complete task bundle — skill, verifier, dependencies, and
Harbor 0.25 also defines `cua-cloud`, `opensandbox`, `hf-sandbox`, `podman`,
`prime`, `smol`, `sbx`, `sail`, and `kernel`, but those backends are not exposed
until SkillEvaluator can project the complete task bundle — skill, verifier, dependencies, and
inputs — through a trusted image or backend-native provisioning path, with
credentials and constructor options reviewed per backend. Selecting one of those
names is rejected before a run starts. Prime cannot build a Dockerfile-only
Expand Down Expand Up @@ -385,7 +385,7 @@ in-cluster service account and performs a bounded, namespaced pod-list probe
before launching trials. `KUBERNETES_SERVICE_HOST` and
`KUBERNETES_SERVICE_PORT` are forwarded only for this ACK client path.

Harbor 0.24 Modal preflight requires `~/.modal.toml` or `MODAL_TOKEN_ID` plus
Harbor 0.25 Modal preflight requires `~/.modal.toml` or `MODAL_TOKEN_ID` plus
`MODAL_TOKEN_SECRET`. SkillEvaluator validates and forwards an explicitly set
`MODAL_CONFIG_PATH`, but Harbor's child-process preflight does not recognize a
custom config path by itself; configure one of Harbor's supported credential
Expand Down Expand Up @@ -422,8 +422,14 @@ never deletes snapshots. Run evaluations in a Mosaic account that only trusted
operators can write to, and delete old `harbor-*` snapshots when you no longer
need the staged skills and inputs they contain.

Harbor's `auto_mounts` and `auto_mounting` output controls are reserved for
SkillEvaluator's runtime policy. The `cwsandbox` and `wandb` modes also reserve
`forward_compose_env`, which could copy operator environment values into the
task's Compose configuration. Credentials continue to use the evaluator's
controlled handoff.

Other eligible, backend-specific constructor options are forwarded after
validation. A key that the selected backend's Harbor 0.24.0 constructor does not
validation. A key that the selected backend's Harbor 0.25.0 constructor does not
accept is rejected before the run starts; for example, Harbor 0.24 removed
Modal's `modal_sandbox_v2` option, so drop it from existing `--ek` flags. ACK
scheduling options such as `node_selector` and `tolerations` are accepted, and
Expand All @@ -433,6 +439,10 @@ object—not credential contents. Credential-bearing options such as LangSmith's
`--environment-kwarg` values and eligible non-Docker mode with `doctor` or
`health-check` to preflight the configuration you intend to evaluate.

Harbor 0.25 adds eligible `dockerd_wait_sec` for Daytona,
`sandbox_timeout_secs` for E2B, `connection_pool_maxsize` for Runta, and
`dind_image` for `cwsandbox` and `wandb`.

A few Harbor options contain provider-managed secret **references**, not secret
values. These narrow shapes are allowed; every other credential-shaped kwarg,
embedded credential URI, or raw secret value is rejected:
Expand Down Expand Up @@ -482,7 +492,7 @@ directory, verifier, and trial paths as a Harbor-native backend.

### What a backend must provide

- Support the Harbor release SkillEvaluator pins (`harbor==0.24.0`), including
- Support the Harbor release SkillEvaluator pins (`harbor==0.25.0`), including
its environment constructor options.
- Run the evaluator-staged image: build each task's `environment/Dockerfile` as
written, or an equivalent image with the same layers. Do not substitute a
Expand Down
4 changes: 2 additions & 2 deletions docs/cli-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -553,8 +553,8 @@ Use `skillevaluator tier3 PATH` for the complete workflow with automatic missing
| Flag | Default | Effect |
| --- | --- | --- |
| `-a, --agents TEXT` | provider-native | Comma-separated Harbor agents. Defaults: NVIDIA Build=`opencode`, OpenAI=`codex`, Anthropic=`claude-code`. Supported: `claude-code`, `codex`, `opencode`; Experimental: `hermes` (Docker with NVIDIA Build only; see [Experimental Hermes](agents-and-sandboxes.mdx#experimental-hermes)). The alias `claude` is accepted for `claude-code`. See [Agents & Sandboxes](agents-and-sandboxes.mdx). |
| `--env-mode` | `docker` | Where trials run. SkillEvaluator exposes 27 environment modes: 26 Harbor-native modes — `docker`, `daytona`, `e2b`, `modal`, `runloop`, `langsmith`, `ec2`, `gke`, `ack`, `openshift`, `novita`, `apple-container`, `singularity`, `islo`, `tensorlake`, `cwsandbox`, `wandb`, `use-computer`, `blaxel`, `beam`, `skypilot`, `hyperbrowser`, `vercel`, `kata`, `runta`, `mosaic` — plus SkillEvaluator `local` mode. `wandb` runs Harbor's `cwsandbox` backend with W&B authentication, so it needs the `harbor[cwsandbox]==0.24.0` extra; Harbor 0.24 has no `wandb` extra. Harbor's `cua-cloud`, `opensandbox`, `hf-sandbox`, `podman`, `prime`, and `smol` backends are not selectable. See the complete extras and prerequisites matrix in [Agents & Sandboxes](agents-and-sandboxes.mdx#where-trials-run). Installed packages can add more modes; see [Custom execution backends](agents-and-sandboxes.mdx#custom-execution-backends). |
| `--environment-kwarg`, `--ek` | none | Operator-only `KEY=VALUE` constructor option for Harbor-native non-Docker backends (repeatable). Values accept JSON-compatible types; skill-owned `evals/config.yml` cannot set them. Never pass secrets. Docker and local reject all kwargs, Kata accepts only `kata_runtime` and `kata_dns`, and Harbor runtime-policy fields for overrides, mounts, networks, extra Compose, lifecycle, and pod security are reserved, as are `stream`, `enable_environment_dir_upload`, and `auth` for `cwsandbox`/`wandb`. Names the selected backend does not accept in Harbor 0.24.0 are rejected. See [Native backend constructor options](agents-and-sandboxes.mdx#native-backend-constructor-options). |
| `--env-mode` | `docker` | Where trials run. SkillEvaluator exposes 27 environment modes: 26 Harbor-native modes — `docker`, `daytona`, `e2b`, `modal`, `runloop`, `langsmith`, `ec2`, `gke`, `ack`, `openshift`, `novita`, `apple-container`, `singularity`, `islo`, `tensorlake`, `cwsandbox`, `wandb`, `use-computer`, `blaxel`, `beam`, `skypilot`, `hyperbrowser`, `vercel`, `kata`, `runta`, `mosaic` — plus SkillEvaluator `local` mode. `wandb` runs Harbor's `cwsandbox` backend with W&B authentication, so it needs the `harbor[cwsandbox]==0.25.0` extra; Harbor 0.25 has no `wandb` extra. Harbor's `cua-cloud`, `opensandbox`, `hf-sandbox`, `podman`, `prime`, `smol`, `sbx`, `sail`, and `kernel` backends are not selectable. See the complete extras and prerequisites matrix in [Agents & Sandboxes](agents-and-sandboxes.mdx#where-trials-run). Installed packages can add more modes; see [Custom execution backends](agents-and-sandboxes.mdx#custom-execution-backends). |
| `--environment-kwarg`, `--ek` | none | Operator-only `KEY=VALUE` constructor option for Harbor-native non-Docker backends (repeatable). Values accept JSON-compatible types; skill-owned `evals/config.yml` cannot set them. Never pass secrets. Docker and local reject all kwargs, Kata accepts only `kata_runtime` and `kata_dns`, and Harbor runtime-policy fields for overrides, mounts, networks, extra Compose, lifecycle, and pod security are reserved, as are `stream`, `enable_environment_dir_upload`, `auto_mounts`, `auto_mounting`, and `auth`/`forward_compose_env` for `cwsandbox`/`wandb`. Names the selected backend does not accept in Harbor 0.25.0 are rejected. See [Native backend constructor options](agents-and-sandboxes.mdx#native-backend-constructor-options). |
| `--autopilot` | off | Create one eval case when no dataset/task source exists, then evaluate. The case is LLM-generated with the configured provider, with a deterministic keyless template fallback; an existing source is never overwritten. |
| `--skip-baseline` | off | Skip the without-skill baseline (no lift analysis, faster). |
| `--skip-with-skill` | off | Run only the without-skill baseline, for example to calibrate a task set or measure a model change before running the skill. The report is marked baseline-only: the overall score is the baseline score, with-skill and lift are unavailable (shown as `skipped` or N/A, never 0.0), and no skill verdict is given. Mutually exclusive with `--skip-baseline`. Not available on `validate`. |
Expand Down
2 changes: 1 addition & 1 deletion docs/custom-graders.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ contract as BYOG applies.

A `custom_only` task that keeps its own Harbor test script instead of
`tests/grader.py` runs that script unchanged, so the script must follow
Harbor's reward contract. Harbor 0.24 requires every top-level value in its
Harbor's reward contract. Harbor 0.25 requires every top-level value in its
`reward.json` to be a number, for example
`{"overall": 1.0, "native_quality": 1.0}`; SkillEvaluator reports each numeric
key other than `overall` as a custom metric. Nested objects such as
Expand Down
4 changes: 2 additions & 2 deletions docs/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,14 @@ and environment backends.
| --- | --- |
| `llm` | Shared LLM and embedding clients used by LLM-backed checks, Tier 2, and Tier 3 |
| `tier2` | Intra-skill deduplication and local-catalog inter-skill similarity; includes `llm` |
| `tier3` | Docker, local, and cloud live-agent evaluation through Harbor (pins `harbor==0.24.0` and requires `python-dotenv>=1.2.0`); includes `llm` |
| `tier3` | Docker, local, and cloud live-agent evaluation through Harbor (pins `harbor==0.25.0` and requires `python-dotenv>=1.2.0`); includes `llm` |
| `security` | Bandit and pip-audit |
| `all` | `tier2`, `tier3`, and `security` in one bundle |
| `dashboard` | Local Streamlit tables for comparing saved reports and retained runs (`skillevaluator dashboard`); not included in `all` |
| `dev` | Build, test, coverage, and formatting tools for contributors |

<Tip>
`[all]` installs the evaluator extras (`tier2`, `tier3`, `security`); add `dashboard` with `[all,dashboard]`. External scanner tools, Docker, agent CLIs, and the Harbor extras for managed sandbox backends (such as `harbor[modal]==0.24.0`) stay separate no matter which extra you pick — see [Agents & Sandboxes](agents-and-sandboxes.mdx#where-trials-run).
`[all]` installs the evaluator extras (`tier2`, `tier3`, `security`); add `dashboard` with `[all,dashboard]`. External scanner tools, Docker, agent CLIs, and the Harbor extras for managed sandbox backends (such as `harbor[modal]==0.25.0`) stay separate no matter which extra you pick — see [Agents & Sandboxes](agents-and-sandboxes.mdx#where-trials-run).
</Tip>

## System tools
Expand Down
Loading
Loading