@evolvingmachines/evolve 0.0.65 → 0.0.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-DK2MGUPB.js → chunk-RFLMRPGK.js} +5 -5
- package/dist/cli/index.cjs +39 -39
- package/dist/cli/index.d.cts +3 -3
- package/dist/cli/index.d.ts +3 -3
- package/dist/cli/index.js +30 -30
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/{types-B_qmzlMk.d.cts → types-84M4J_Vm.d.cts} +11 -44
- package/dist/{types-B_qmzlMk.d.ts → types-84M4J_Vm.d.ts} +11 -44
- package/package.json +4 -4
- package/skills/create-adapter/SKILL.md +71 -26
- package/skills/create-task/SKILL.md +124 -66
- package/skills/evolve/SKILL.md +37 -20
- package/skills/evolve-evals/SKILL.md +142 -69
- package/skills/evolve-evals/references/cli-reference/agent.md +76 -0
- package/skills/evolve-evals/references/cli-reference/analysis.md +78 -0
- package/skills/evolve-evals/references/cli-reference/analyze.md +95 -0
- package/skills/evolve-evals/references/cli-reference/auth.md +96 -0
- package/skills/evolve-evals/references/cli-reference/check.md +156 -0
- package/skills/evolve-evals/references/cli-reference/dataset.md +154 -0
- package/skills/evolve-evals/references/cli-reference/filesystem.md +168 -0
- package/skills/evolve-evals/references/cli-reference/index.md +149 -0
- package/skills/evolve-evals/references/cli-reference/job.md +198 -0
- package/skills/evolve-evals/references/cli-reference/run.md +187 -0
- package/skills/evolve-evals/references/cli-reference/secrets.md +77 -0
- package/skills/evolve-evals/references/cli-reference/session.md +56 -0
- package/skills/evolve-evals/references/cli-reference/skill.md +52 -0
- package/skills/evolve-evals/references/cli-reference/skills.md +85 -0
- package/skills/evolve-evals/references/cli-reference/trial.md +115 -0
- package/skills/evolve-evals/references/cli-reference/upload.md +72 -0
- package/skills/evolve-evals/references/core-concepts/agents.md +96 -0
- package/skills/evolve-evals/references/core-concepts/analyze.md +143 -0
- package/skills/evolve-evals/references/core-concepts/check.md +116 -0
- package/skills/evolve-evals/references/core-concepts/compatibility.md +39 -0
- package/skills/evolve-evals/references/core-concepts/compose.md +103 -0
- package/skills/evolve-evals/references/core-concepts/datasets.md +234 -0
- package/skills/evolve-evals/references/core-concepts/index.md +52 -0
- package/skills/evolve-evals/references/core-concepts/jobs.md +223 -0
- package/skills/evolve-evals/references/core-concepts/models.md +73 -0
- package/skills/evolve-evals/references/core-concepts/multi-step.md +93 -0
- package/skills/evolve-evals/references/core-concepts/rewardkit.md +341 -0
- package/skills/evolve-evals/references/core-concepts/sandboxes.md +73 -0
- package/skills/evolve-evals/references/core-concepts/secrets.md +86 -0
- package/skills/evolve-evals/references/core-concepts/sharing.md +81 -0
- package/skills/evolve-evals/references/core-concepts/skills.md +100 -0
- package/skills/evolve-evals/references/core-concepts/task-config.md +169 -0
- package/skills/evolve-evals/references/core-concepts/task-environment.md +127 -0
- package/skills/evolve-evals/references/core-concepts/task-reference.md +191 -0
- package/skills/evolve-evals/references/core-concepts/task-verifiers.md +209 -0
- package/skills/evolve-evals/references/core-concepts/tasks.md +90 -0
- package/skills/evolve-evals/references/core-concepts/teams.md +128 -0
- package/skills/evolve-evals/references/core-concepts/trial-outputs.md +225 -0
- package/skills/evolve-evals/references/core-concepts/trials.md +129 -0
- package/skills/evolve-evals/references/core-concepts/upload-sdk-session.md +240 -0
- package/skills/evolve-evals/references/core-concepts/upload.md +166 -0
- package/skills/evolve-evals/references/dashboard/checks.md +54 -0
- package/skills/evolve-evals/references/dashboard/datasets.md +65 -0
- package/skills/evolve-evals/references/dashboard/jobs.md +106 -0
- package/skills/evolve-evals/references/dashboard/traces.md +54 -0
- package/skills/evolve-evals/references/dashboard/trial-viewer.md +77 -0
- package/skills/evolve-evals/references/getting-started/first-task.md +228 -0
- package/skills/evolve-evals/references/getting-started/installation.md +79 -0
- package/skills/evolve-evals/references/getting-started/quick-start.md +100 -0
- package/skills/evolve-evals/references/index.md +58 -0
- package/skills/evolve-evals/references/sdk/http.md +110 -0
- package/skills/evolve-evals/references/sdk/python.md +108 -0
- package/skills/evolve-evals/references/sdk/typescript.md +104 -0
- package/skills/evolve-evals/references/sdk-reference/agents.md +75 -0
- package/skills/evolve-evals/references/sdk-reference/analyses.md +124 -0
- package/skills/evolve-evals/references/sdk-reference/auth.md +171 -0
- package/skills/evolve-evals/references/sdk-reference/checks.md +145 -0
- package/skills/evolve-evals/references/sdk-reference/datasets.md +170 -0
- package/skills/evolve-evals/references/sdk-reference/error-codes.md +231 -0
- package/skills/evolve-evals/references/sdk-reference/errors.md +98 -0
- package/skills/evolve-evals/references/sdk-reference/filesystem.md +166 -0
- package/skills/evolve-evals/references/sdk-reference/index.md +161 -0
- package/skills/evolve-evals/references/sdk-reference/jobs.md +250 -0
- package/skills/evolve-evals/references/sdk-reference/meta.md +54 -0
- package/skills/evolve-evals/references/sdk-reference/methods/agents.md +154 -0
- package/skills/evolve-evals/references/sdk-reference/methods/analyses.md +211 -0
- package/skills/evolve-evals/references/sdk-reference/methods/auth.md +257 -0
- package/skills/evolve-evals/references/sdk-reference/methods/checks.md +460 -0
- package/skills/evolve-evals/references/sdk-reference/methods/datasets.md +687 -0
- package/skills/evolve-evals/references/sdk-reference/methods/filesystem.md +527 -0
- package/skills/evolve-evals/references/sdk-reference/methods/jobs.md +1021 -0
- package/skills/evolve-evals/references/sdk-reference/methods/meta.md +209 -0
- package/skills/evolve-evals/references/sdk-reference/methods/secrets.md +157 -0
- package/skills/evolve-evals/references/sdk-reference/methods/skills.md +125 -0
- package/skills/evolve-evals/references/sdk-reference/methods/trials.md +371 -0
- package/skills/evolve-evals/references/sdk-reference/secrets.md +104 -0
- package/skills/evolve-evals/references/sdk-reference/skills.md +66 -0
- package/skills/evolve-evals/references/sdk-reference/trials.md +164 -0
- package/skills/evolve-evals/references/sdk-reference/types.md +1249 -0
- package/skills/publish/SKILL.md +103 -79
- package/skills/rewardkit/SKILL.md +78 -23
- package/spec/openapi.yaml +19 -74
- package/skills/evolve-evals/references/cli-reference/agent.mdx +0 -79
- package/skills/evolve-evals/references/cli-reference/analysis.mdx +0 -160
- package/skills/evolve-evals/references/cli-reference/analyze.mdx +0 -84
- package/skills/evolve-evals/references/cli-reference/auth.mdx +0 -133
- package/skills/evolve-evals/references/cli-reference/check.mdx +0 -263
- package/skills/evolve-evals/references/cli-reference/dataset.mdx +0 -151
- package/skills/evolve-evals/references/cli-reference/index.mdx +0 -108
- package/skills/evolve-evals/references/cli-reference/job.mdx +0 -278
- package/skills/evolve-evals/references/cli-reference/run.mdx +0 -204
- package/skills/evolve-evals/references/cli-reference/secrets.mdx +0 -95
- package/skills/evolve-evals/references/cli-reference/skill.mdx +0 -61
- package/skills/evolve-evals/references/cli-reference/skills.mdx +0 -81
- package/skills/evolve-evals/references/cli-reference/trial.mdx +0 -181
- package/skills/evolve-evals/references/cli-reference/upload.mdx +0 -36
- package/skills/evolve-evals/references/core-concepts/agents.mdx +0 -106
- package/skills/evolve-evals/references/core-concepts/analyze.mdx +0 -86
- package/skills/evolve-evals/references/core-concepts/check.mdx +0 -64
- package/skills/evolve-evals/references/core-concepts/datasets.mdx +0 -138
- package/skills/evolve-evals/references/core-concepts/index.mdx +0 -42
- package/skills/evolve-evals/references/core-concepts/jobs.mdx +0 -151
- package/skills/evolve-evals/references/core-concepts/models.mdx +0 -68
- package/skills/evolve-evals/references/core-concepts/sandboxes.mdx +0 -52
- package/skills/evolve-evals/references/core-concepts/secrets.mdx +0 -41
- package/skills/evolve-evals/references/core-concepts/sharing.mdx +0 -35
- package/skills/evolve-evals/references/core-concepts/skills.mdx +0 -42
- package/skills/evolve-evals/references/core-concepts/tasks.mdx +0 -216
- package/skills/evolve-evals/references/core-concepts/teams.mdx +0 -36
- package/skills/evolve-evals/references/core-concepts/trial-outputs.mdx +0 -117
- package/skills/evolve-evals/references/core-concepts/trials.mdx +0 -103
- package/skills/evolve-evals/references/core-concepts/upload.mdx +0 -93
- package/skills/evolve-evals/references/dashboard/checks.mdx +0 -21
- package/skills/evolve-evals/references/dashboard/datasets.mdx +0 -24
- package/skills/evolve-evals/references/dashboard/jobs.mdx +0 -65
- package/skills/evolve-evals/references/dashboard/traces.mdx +0 -17
- package/skills/evolve-evals/references/dashboard/trial-viewer.mdx +0 -30
- package/skills/evolve-evals/references/getting-started/installation.mdx +0 -56
- package/skills/evolve-evals/references/getting-started/quick-start.mdx +0 -94
- package/skills/evolve-evals/references/index.mdx +0 -48
- package/skills/evolve-evals/references/sdk/python.mdx +0 -161
- package/skills/evolve-evals/references/sdk/typescript.mdx +0 -163
- package/skills/evolve-evals/references/sdk-reference/agents.mdx +0 -108
- package/skills/evolve-evals/references/sdk-reference/analyses.mdx +0 -222
- package/skills/evolve-evals/references/sdk-reference/auth.mdx +0 -116
- package/skills/evolve-evals/references/sdk-reference/checks.mdx +0 -300
- package/skills/evolve-evals/references/sdk-reference/datasets.mdx +0 -346
- package/skills/evolve-evals/references/sdk-reference/errors.mdx +0 -210
- package/skills/evolve-evals/references/sdk-reference/index.mdx +0 -60
- package/skills/evolve-evals/references/sdk-reference/jobs.mdx +0 -822
- package/skills/evolve-evals/references/sdk-reference/meta.mdx +0 -52
- package/skills/evolve-evals/references/sdk-reference/skills.mdx +0 -69
- package/skills/evolve-evals/references/sdk-reference/trials.mdx +0 -302
- package/skills/evolve-evals/references/sdk-reference/types.mdx +0 -274
- package/skills/evolve-evals/references/snippets/global-options.mdx +0 -13
- package/skills/evolve-evals/references/snippets/list-flags.mdx +0 -23
|
@@ -1,274 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: "Types"
|
|
3
|
-
description: "Every field of the objects the clients return: name, type, meaning, and when it is null."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
Field names are the wire's, `snake_case`, identical in TypeScript and Python. Four keys are the exception: TypeScript exposes `nextCursor`, `hasMore`, `byStatus` and `taskMatrix` as the wire spells them; Python maps them to `next_cursor`, `has_more`, `by_status` and `task_matrix`. Python results are dataclasses and their closed vocabularies are `Literal` types.
|
|
7
|
-
|
|
8
|
-
Eleven closed vocabularies are exported as runtime lists in TypeScript: `TRIAL_STATUSES`, `ANALYSIS_STATUSES`, `CHECK_STATUSES`, `EVAL_SANDBOX_PROVIDERS`, `JOB_LIST_SCOPES`, `TRIAL_ARTIFACT_STREAMS`, `ANALYSIS_ARTIFACT_STREAMS`, `AGENT_EFFORT_SUPPORT_VALUES`, `TASK_LINKED_BY`, `TASK_LINK_REASONS` and `HOSTED_ERROR_CODES`. Python exports `HOSTED_ERROR_CODES`.
|
|
9
|
-
|
|
10
|
-
## Page
|
|
11
|
-
|
|
12
|
-
Every list answers `Page<T>`: `items`, `nextCursor` (pass it back as `cursor`; `null` means no next page) and `hasMore`. A list handle is awaited for one page or iterated for every page.
|
|
13
|
-
|
|
14
|
-
## Job
|
|
15
|
-
|
|
16
|
-
One shape from `start`, `get`, `list`, `cancel`, `resume`, `retry` and `regrade`.
|
|
17
|
-
|
|
18
|
-
| Field | Type | Meaning |
|
|
19
|
-
| --- | --- | --- |
|
|
20
|
-
| `id` | string | UUID; treat every id as opaque. |
|
|
21
|
-
| `job_name` | string | The label; server-generated when the create omitted one. Not unique. |
|
|
22
|
-
| `status` | `QUEUED` `RUNNING` `CANCELLING` `COMPLETED` `CANCELLED` `FAILED` | See [jobs](/core-concepts/jobs#statuses). |
|
|
23
|
-
| `datasets` | `{ name, version }[]` | The resolved versions the job ran. |
|
|
24
|
-
| `agents` | `AgentArm[]` | Below. |
|
|
25
|
-
| `n_attempts`, `n_concurrent_trials` | number | As resolved. |
|
|
26
|
-
| `max_trial_spend_usd` | number | The resolved per-trial cap. |
|
|
27
|
-
| `worst_case_spend_usd` | number | Cap × trials × (`retry.max_retries` + 1). |
|
|
28
|
-
| `retry` | `RetryConfig` | The resolved policy, every field present. |
|
|
29
|
-
| `analyze` | `AnalyzeConfig \| null` | The resolved embedded-analysis policy; null when the create named none, and always null on a regrade job. A later manual `analyze()` does not rewrite it. |
|
|
30
|
-
| `timeout_multiplier` | number | The global multiplier, 1.0 when none was named. |
|
|
31
|
-
| `agent_timeout_multiplier`, `verifier_timeout_multiplier`, `agent_setup_timeout_multiplier`, `environment_build_timeout_multiplier` | number \| null | Null means the global applies. |
|
|
32
|
-
| `sandbox_provider` | `e2b` `daytona` `modal` \| null | Null exactly on an uploaded job. |
|
|
33
|
-
| `org` | string \| null | Slug of the organization the job belongs to: the one named at create, else the creator's personal one. Null only on a regrade whose source job was deleted. |
|
|
34
|
-
| `counts` | `{ agents, tasks }` | Entity counts. |
|
|
35
|
-
| `build_exclusions` | `JobBuildExclusion[]` | One entry per dataset whose selection lost tasks that failed to build; empty otherwise, and always empty on a derived job. See [datasets](/core-concepts/datasets#partially-built-versions). |
|
|
36
|
-
| `n_total_trials` | number | |
|
|
37
|
-
| `trials` | `{ total, byStatus }` | `byStatus` names every trial status, zeros included. |
|
|
38
|
-
| `stats` | `JobStats` | Below. |
|
|
39
|
-
| `failure` | `{ code, message } \| null` | Why the job FAILED. Null on every job today; `FAILED` is reserved. |
|
|
40
|
-
| `source_jobs` | `{ action, type, job_id }[]` | `action` is `regrade`, `resume` or `retry`; `type` is always `hub`. Empty on an original job. |
|
|
41
|
-
| `is_regrade` | boolean | Any `source_jobs` entry with `action: "regrade"`. |
|
|
42
|
-
| `viewer` | `creator` `member` `shared` `link` \| null | How you can read this job: you made it, you belong to its organization, it was shared with your address, or you hold its link. Null on the body an acting call returns (create, analyze, cancel, resume, retry, regrade) and on list rows; `get` tells you. Analyze, cancel, resume, retry and regrade are open to `creator` and `member` only. |
|
|
43
|
-
| `upload` | `UploadProvenance \| null` | Null on every job this platform ran. See [upload](/core-concepts/upload). |
|
|
44
|
-
| `idempotent_replay` | boolean | True only on a response that replayed an existing job for an idempotency key. |
|
|
45
|
-
| `started_at`, `updated_at` | string | |
|
|
46
|
-
| `finished_at` | string \| null | Null while the job is live. |
|
|
47
|
-
|
|
48
|
-
### AgentArm
|
|
49
|
-
|
|
50
|
-
| Field | Type | Meaning |
|
|
51
|
-
| --- | --- | --- |
|
|
52
|
-
| `name`, `model_name` | string | |
|
|
53
|
-
| `version` | string \| null | The pin as resolved at create; the version that ran is `Trial.agent_info.version`. |
|
|
54
|
-
| `reasoning_effort` | string \| null | The stamped effort. |
|
|
55
|
-
| `kwargs` | object \| null | The accepted agent kwargs; null when none. |
|
|
56
|
-
| `preset` | string \| null | |
|
|
57
|
-
| `skills` | string[] | The pinned references; empty when none. |
|
|
58
|
-
| `skill_locks` | `SkillLock[] \| null` | What mounted: `name`, `source` (the pinned reference), `digest` (`sha256:<hex>`), `git_url` and `git_commit_id` (null unless git-backed). Null until the arm's first trial resolved its skills. |
|
|
59
|
-
|
|
60
|
-
### RetryConfig
|
|
61
|
-
|
|
62
|
-
`max_retries`, `include_exceptions` (string[] or null, null meaning no filter), `exclude_exceptions` (string[]), `wait_multiplier`, `min_wait_sec`, `max_wait_sec`. Backoff between attempts is min(`min_wait_sec` × `wait_multiplier`^attempt, `max_wait_sec`). The input shape accepts every field as optional; an explicit `exclude_exceptions: null` turns exclusions off, while omitting it keeps the default non-retryable set. `include_exceptions` null, omitted or `[]` all mean no filter.
|
|
63
|
-
|
|
64
|
-
### AnalyzeConfig
|
|
65
|
-
|
|
66
|
-
`model_name`, `rubric` (`{ criteria: [{ name, description, guidance }] }`), `prompt` (string or null for the default body), `reasoning_effort`, `sandbox_provider`, `n_concurrent` (number or null for the organization's ceiling alone), `passing`, `failing` (both false means every analyzable trial), `n_trials` (number or null for no cap), `trial_ids` (always null on the job body today: the stored policy is the create-time one, which refuses the field; the trials a manual wave names are the analyses it enqueues). The input shape takes every field as optional.
|
|
67
|
-
|
|
68
|
-
### JobStats
|
|
69
|
-
|
|
70
|
-
Counters are cumulative: errored trials are a subset of completed, cancelled a subset of errored. The disjoint breakdown is `Job.trials.byStatus`.
|
|
71
|
-
|
|
72
|
-
| Field | Type | Meaning |
|
|
73
|
-
| --- | --- | --- |
|
|
74
|
-
| `n_completed_trials`, `n_errored_trials`, `n_running_trials`, `n_pending_trials`, `n_cancelled_trials`, `n_retries` | number | |
|
|
75
|
-
| `evals` | `Record<string, AgentDatasetStats>` | Keyed `agent__model__effort__dataset`; the dataset is always the last `__` segment. |
|
|
76
|
-
| `n_input_tokens`, `n_cache_tokens`, `n_output_tokens` | number \| null | Input includes cache tokens. Null until recorded. |
|
|
77
|
-
| `cost_usd` | number \| null | Measured spend across settled trials, agent and judge together. Null before any settled. |
|
|
78
|
-
| `judge_cost_usd` | number \| null | The judge share of `cost_usd`. 0 with no judge tasks; null like `cost_usd`. |
|
|
79
|
-
| `gpu_cost_usd` | number \| null | Sum of the trials' GPU estimates; never part of `cost_usd`. Null when no trial carries one. |
|
|
80
|
-
| `n_unmeasured_trials`, `n_unmeasured_judge_trials` | number | Settled trials whose spend nobody measured, so `cost_usd` is a floor. Never null. |
|
|
81
|
-
| `analysis` | `JobAnalysisStats \| null` | Null when no trial was ever analyzed. |
|
|
82
|
-
|
|
83
|
-
`AgentDatasetStats`: `n_trials` (trials that produced a rewards map), `n_errors` (trials carrying `exception_info`), `metrics` (a mean per arm, unrewarded trials counting 0), `pass_at_k` (a map of k as string to a value in [0, 1]; `{}` when the group cannot answer), `reward_stats` (reward key → value → trial ids), `exception_stats` (exception type → trial ids).
|
|
84
|
-
|
|
85
|
-
`JobAnalysisStats`: `n_completed`, `n_failed`, `n_pending` (trials by their latest analysis), `cost_usd` (the latest analyses' measured spend summed; null when none was measured), `checks` (per criterion, `{ n_pass, n_fail, n_not_applicable, n_unknown }`).
|
|
86
|
-
|
|
87
|
-
### JobBuildExclusion
|
|
88
|
-
|
|
89
|
-
`dataset` (`{ name, version }`), `n_tasks_ran`, `n_tasks_selected` (what the filters matched before any `n_tasks` cap), `n_tasks_failed_to_build`, `failed_task_names` (sorted), `note` (the sentence to show).
|
|
90
|
-
|
|
91
|
-
### UploadProvenance
|
|
92
|
-
|
|
93
|
-
`original_job_id` and `original_job_name` (what the archive's own files said; null when they said nothing), `datasets` (`UploadDataset[]`: the `name` and `version` its config.json declared, or null), `uploaded_at`, `reported_totals` (`cost_usd`, `n_input_tokens`, `n_cache_tokens`, `n_output_tokens`, each null when no trial reported it, plus `n_trials_reporting`; null on jobs ingested before the field existed), `task_links` (`JobTaskLink[]`; null on jobs ingested before task linking existed).
|
|
94
|
-
|
|
95
|
-
`JobTaskLink`: `task_name`, `n_trials`, `n_linked`, `n_unlinked`, `linked_by` (`dataset_flag`, `job_dataset_record`, `task_hash` or `none`), `datasets` (the `name@version` refs linked to), `link_reasons` (a count per reason: `hash_mismatch`, `task_not_in_dataset`, `no_dataset_named`, `dataset_ambiguous`, `no_hash_match`, `no_task_digest`), `candidates` (the refs an ambiguous hash matched).
|
|
96
|
-
|
|
97
|
-
## Trial
|
|
98
|
-
|
|
99
|
-
One shape on list rows and on `trials().get()`; the detail route alone serves `exception_info.exception_message` untruncated. Execution facts (`sandbox_provider`, `verifier_environment_mode`, `agent_result.cost_usd`, `spend_source`) are null until the trial has executed: null means "did not run", never zero.
|
|
100
|
-
|
|
101
|
-
| Field | Type | Meaning |
|
|
102
|
-
| --- | --- | --- |
|
|
103
|
-
| `id`, `job_id` | string | A trial id is global; `job_id` points back. |
|
|
104
|
-
| `task_name` | string | |
|
|
105
|
-
| `source` | string | The dataset the task came from. |
|
|
106
|
-
| `agent_info` | `{ name, version, model_info: { name, provider }, reasoning_effort }` | `version` is the version that ran, null until resolved. |
|
|
107
|
-
| `attempt` | number | 1 to `n_attempts`. |
|
|
108
|
-
| `status` | `QUEUED` `RUNNING` `SCORING` `SCORED` `SCORING_ERROR` `INFRASTRUCTURE_ERROR` `BUDGET` `INDETERMINATE` `CANCELLED` | See [trials](/core-concepts/trials#statuses). |
|
|
109
|
-
| `reward` | number \| null | The primary reward: the value under `reward` in the rewards map, else the single value when the map has one key, else null. Zero is a reward. |
|
|
110
|
-
| `verifier_result` | `{ rewards } \| null` | The named rewards map. |
|
|
111
|
-
| `exception_info` | `ExceptionInfo \| null` | `exception_type` (`ScoringError`, `InfrastructureError`, `ApiUsageLimitError`, `CancelledError`, `IncompleteTrialError`), `exception_message` (cut to 2000 characters on list rows), `exception_traceback` (empty when none was recorded), `occurred_at`. |
|
|
112
|
-
| `agent_result` | `AgentResult \| null` | `n_input_tokens` (cache included), `n_cache_tokens`, `n_output_tokens`, `cost_usd` (null until the trial executed), `rollout_details` (reserved, null), `metadata` (the harness bundle, the network mode the trial ran under and where that decision came from). |
|
|
113
|
-
| `judge_result` | `{ n_input_tokens, n_cache_tokens, n_output_tokens, cost_usd } \| null` | The judge's own spend. Null when no judge ever ran. |
|
|
114
|
-
| `analysis` | `TrialAnalysis \| null` | The latest analysis; null when never analyzed. |
|
|
115
|
-
| `environment_setup`, `agent_setup`, `agent_execution`, `verifier` | `{ started_at, finished_at } \| null` | Phase clocks; either bound null while unreached. `verifier` is the graded command alone. |
|
|
116
|
-
| `queue_wait` | `TimingInfo \| null` | From claimable to begun. |
|
|
117
|
-
| `harness_bundle`, `image_prepare` | `TimingInfo \| null` | Nested inside `environment_setup`. `image_prepare` is near zero on modal by design. |
|
|
118
|
-
| `shared_verify_setup` | `TimingInfo \| null` | What a shared-mode verify did before its command; ends where `verifier` begins. Null on separate-mode and multi-step trials. |
|
|
119
|
-
| `harness_bundle_cache_hit` | boolean \| null | Null is unrecorded, never a miss. |
|
|
120
|
-
| `step_results` | `StepResult[] \| null` | Null on a single-step trial. One entry per step that ran, in order: `step_name`, `agent_result`, `verifier_result`, `exception_info`, `agent_execution`, `verifier`. |
|
|
121
|
-
| `spend_source` | `measured` `measured_provisional` `assumed_cap` \| null | Only `measured` is final; `assumed_cap` carries a 0 nobody measured. |
|
|
122
|
-
| `judge_spend_source` | same \| null | Null exactly when `judge_result` is null. |
|
|
123
|
-
| `live_spent_usd`, `live_spend_at` | number \| null, string \| null | A mid-run lower bound and its timestamp; cleared at settle. |
|
|
124
|
-
| `usage` | `UsageReading \| null` | Below. Null when the meter never answered. |
|
|
125
|
-
| `max_trial_spend_usd` | number \| null | The cap this trial ran under. |
|
|
126
|
-
| `sandbox_provider` | provider \| null | Where it ran. |
|
|
127
|
-
| `sandbox_provider_degrade` | `{ from, to, reason } \| null` | Set when a GPU task moved to modal. |
|
|
128
|
-
| `gpu_cost` | `TrialGpuCost \| null` | Settled GPU trials only. `estimate_usd` and `unpriced_reason` are exclusive; `provider`, `gpu_type`, `declared_gpu_types`, `resolved_gpu_types`, `attached_gpu_type`, `gpu_count`, `duration_sec`, `rate_usd_per_gpu_sec`, `rate_card` (`{ version, source, source_date }`), `measured_from`, `measured_to`. |
|
|
129
|
-
| `sandbox_id`, `verifier_sandbox_id` | string \| null | The verifier box exists in separate mode only. |
|
|
130
|
-
| `verifier_environment_mode` | `shared` `separate` \| null | Decides regrade eligibility. |
|
|
131
|
-
| `attempt_phase` | `prepare` `build` `boot` `install` `agent` `verify` `persist` \| null | Which step a RUNNING trial is in. |
|
|
132
|
-
| `n_retries` | number | Automatic retries consumed. |
|
|
133
|
-
| `retries` | `TrialRetry[]` | Retired attempts, oldest first: `attempt_number`, `exception_info`, `cost_usd` (real spend the job total includes), `started_at`, `settled_at`. The trial body is the final attempt. |
|
|
134
|
-
| `session_ref` | string \| null | |
|
|
135
|
-
| `upload` | `TrialUploadProvenance \| null` | `original_trial_id`, `original_trial_name`, `original_task_name` (verbatim, possibly `org/name`), `reported_agent_result` (the archive's own tokens and cost, or null), `link` (`linked_by`, `link_reason`, `dataset`, `version`, `task_digest`, `candidates`). Null on every trial this platform ran. |
|
|
136
|
-
| `started_at`, `finished_at` | string \| null | |
|
|
137
|
-
|
|
138
|
-
### UsageReading
|
|
139
|
-
|
|
140
|
-
The same object, same keys, on trials, analyses and managed-agent sessions.
|
|
141
|
-
|
|
142
|
-
| Field | Type | Meaning |
|
|
143
|
-
| --- | --- | --- |
|
|
144
|
-
| `provisional` | boolean | True while every number can still grow. |
|
|
145
|
-
| `spent_usd` | number \| null | Null means never measured. |
|
|
146
|
-
| `input_tokens` | number \| null | Includes the cached and the cache-written shares. |
|
|
147
|
-
| `cached_input_tokens` | number \| null | Read from the provider's prompt cache. |
|
|
148
|
-
| `cache_write_tokens` | number \| null | Written to the cache; priced apart by Anthropic. 0 for providers without a cache-write price. |
|
|
149
|
-
| `output_tokens` | number \| null | |
|
|
150
|
-
| `as_of` | string \| null | When the reading was taken. |
|
|
151
|
-
|
|
152
|
-
## TrialAnalysis
|
|
153
|
-
|
|
154
|
-
| Field | Type | Meaning |
|
|
155
|
-
| --- | --- | --- |
|
|
156
|
-
| `id`, `trial_id`, `job_id`, `task_name` | string | |
|
|
157
|
-
| `status` | `queued` `running` `completed` `failed` | `failed` also covers a run the platform lost. |
|
|
158
|
-
| `model_name` | string | |
|
|
159
|
-
| `reasoning_effort` | string \| null | Null only on analyses recorded before it was stamped. |
|
|
160
|
-
| `rubric` | `Rubric` | Frozen at enqueue. |
|
|
161
|
-
| `prompt` | string \| null | Null means the default body. |
|
|
162
|
-
| `summary` | string \| null | Null until completed. |
|
|
163
|
-
| `checks` | `Record<string, AnalysisCheck> \| null` | One entry per criterion: `outcome` (`pass`, `fail`, `not_applicable`, `unknown`), `explanation`, `evidence` (`{ where, quote }[]`; at least one behind a pass or a fail). Null until completed. |
|
|
164
|
-
| `label` | `flagged` `env_fault` `unclear` `clean` \| null | Null until completed and under a custom rubric. |
|
|
165
|
-
| `estimated_cost_usd` | number \| null | The analyzer's own metered spend, covering both attempts when a re-run fired. |
|
|
166
|
-
| `usage` | `UsageReading \| null` | |
|
|
167
|
-
| `attempts` | number | 1, or 2 when the one automatic re-run fired. |
|
|
168
|
-
| `failure` | `{ phase, message } \| null` | Non-null exactly when `failed`. `phase` is `invalid_result`, `inputs`, `timeout`, or an infrastructure stage (`mint_key`, `boot`, `harness_install`, `agent`, `artifact_read`, `lease_expired`). |
|
|
169
|
-
| `created_at`, `finished_at` | string, string \| null | |
|
|
170
|
-
|
|
171
|
-
## Check and TaskCheck
|
|
172
|
-
|
|
173
|
-
`Check`: `id`, `status` (`queued`, `running`, `completed`; a check never fails as a whole), `source` (`{ type, sha256, bytes, dataset }`: `type` is `archive` with `bytes` set and `dataset` null, or `dataset` with the resolved `name@version` and `bytes` null), `model_name`, `reasoning_effort`, `rubric`, `prompt` (null for the default), `sandbox_provider`, `n_concurrent` (null for the ceiling alone), `include_task_names`, `exclude_task_names`, `n_tasks` (null for no cap), `results` (`TaskCheck[]`, sorted by task name), `cost_usd` (the sum of measured task costs; null when none), `created_at`, `finished_at` (null until every task settled).
|
|
174
|
-
|
|
175
|
-
`TaskCheck`: `id`, `check_id`, `task_name`, `status` (`queued`, `running`, `completed`, `failed`), `checks` (as on an analysis; no summary), `label` (`has_a_problem`, `unclear`, `no_problem_found`; null until completed and under a custom rubric), `executed` (true when none of the five run-based criteria is unknown; null exactly when `label` is null), `cost_usd`, `attempts`, `failure`, `created_at`, `finished_at`.
|
|
176
|
-
|
|
177
|
-
## Dataset
|
|
178
|
-
|
|
179
|
-
`list()` returns the summary fields; `get()` adds `versions`, `selected_version`, `tasks`, `failed_tasks`, `created_at` and `updated_at`.
|
|
180
|
-
|
|
181
|
-
| Field | Type | Meaning |
|
|
182
|
-
| --- | --- | --- |
|
|
183
|
-
| `name`, `title`, `description` | string, string \| null, string \| null | |
|
|
184
|
-
| `active_version` | `DatasetVersion \| null` | Null when nothing is active; a bare name then refuses. |
|
|
185
|
-
| `latest_version` | `DatasetVersion \| null` | The newest version row, active or not; where a publish is observable before it lands. |
|
|
186
|
-
| `versions` | `DatasetVersion[]` | Newest first. |
|
|
187
|
-
| `selected_version` | `DatasetVersion \| null` | The version whose tasks are listed. |
|
|
188
|
-
| `tasks` | `Page<Task>` | One page; pass `{ limit, cursor }` to `get()`. |
|
|
189
|
-
| `failed_tasks` | `{ task_name, failure }[]` | The selected version's failed tasks, capped at the page limit; `n_failed_tasks` on the version is the exact count. |
|
|
190
|
-
| `upstream` | `UpstreamStatus \| null` | Null when the active version did not come from git. |
|
|
191
|
-
|
|
192
|
-
### DatasetVersion
|
|
193
|
-
|
|
194
|
-
| Field | Type | Meaning |
|
|
195
|
-
| --- | --- | --- |
|
|
196
|
-
| `version` | string | |
|
|
197
|
-
| `state` | `DRAFT` `RECEIVING` `IMPORTING` `BUILDING` `READY` `FAILED` `ARCHIVED` | See [datasets](/core-concepts/datasets#version-states). |
|
|
198
|
-
| `created_at` | string | |
|
|
199
|
-
| `task_count` | number | The READY tasks. |
|
|
200
|
-
| `n_failed_tasks` | number | Tasks that failed their build. |
|
|
201
|
-
| `manifest` | `{ name, version, description, authors, keywords, task_count } \| null` | The `dataset.toml` identity; null without a manifest. |
|
|
202
|
-
| `source` | `DatasetVersionSource \| null` | `{ kind: "git", git_url, ref, commit, path }`, `{ kind: "archive", digest }`, `{ kind: "archive_url", archive_url, digest }` or `{ kind: "hub_package", hub_package, digest }`. Every digest is `sha256:<hex>`; `commit` is a bare sha. Null when nothing readable was recorded. |
|
|
203
|
-
|
|
204
|
-
### Task
|
|
205
|
-
|
|
206
|
-
Public fields only; instructions, environments and tests never leave the server.
|
|
207
|
-
|
|
208
|
-
`task_name`, `agent_timeout_sec`, `verifier_timeout_sec`, `gpus` (0 for a CPU task), `gpu_types` (null means any type), `providers` (per provider `{ ok: true }`, `{ ok: true, degrades_to: "modal", reason }` or `{ ok: false, reason }`), `notes` (`{ code: "tests_dockerfile_not_built", message }[]`; empty when there is nothing to say).
|
|
209
|
-
|
|
210
|
-
`TaskBuild`, from `getTaskBuild()`: `task_name`, `state` (`READY` or `FAILED`), `failure` (`{ code, step, message, excerpt }`; `step` is `parse`, `image-build`, `image-config`, `skills-verify`, `compose-resolve`, `image-mirror` or `store`; null on READY), `build_log_ref` (null on READY and on parse refusals).
|
|
211
|
-
|
|
212
|
-
### UpstreamStatus
|
|
213
|
-
|
|
214
|
-
`git_url` (userinfo stripped), `ref`, `current_commit`, `path` (null for the repository root), `latest_commit` (null when the last check failed), `acked_commit` (the newest commit a local version exists for), `moved` (branch on this), `behind_by` (reserved, null), `checked_at`, `error` (why the last check failed; show "could not check", never "up to date"), `auto_import`. A version pinned to a sha serves the watch at rest: `latest_commit`, `checked_at` and `error` null, `moved` false.
|
|
215
|
-
|
|
216
|
-
## DatasetImport
|
|
217
|
-
|
|
218
|
-
| Field | Type | Meaning |
|
|
219
|
-
| --- | --- | --- |
|
|
220
|
-
| `id` | string | Not a UUID. |
|
|
221
|
-
| `status` | `QUEUED` `RUNNING` `COMPLETED` `FAILED` | `COMPLETED` means the version is READY. |
|
|
222
|
-
| `receiving` | boolean | True while a large corpus is still uploading through its resumable session. |
|
|
223
|
-
| `name`, `version` | string | |
|
|
224
|
-
| `failure` | `{ code, message, failures: [{ task_name, error }] } \| null` | The key is `failure`, never `error`. |
|
|
225
|
-
| `warnings` | `{ code, message }[]` | `solutions_archiving_disabled`, `no_solutions_archived`, `partial_solutions_archived`, `tasks_failed_to_build`, `tests_dockerfile_not_built`. |
|
|
226
|
-
| `progress` | `DatasetImportProgress \| null` | `phase` (`extracting`, `parsing`, `building`, `copying`, `verifying`), `started_at`, `phases` (`{ name, started_at, completed_at, done, total, banked }[]`; `completed_at` stays absent on the phase a FAILED import died in), `images` and `codebuild`, counters for the build step. Null until the import's first report. |
|
|
227
|
-
| `task_count` | number | Once counted. |
|
|
228
|
-
|
|
229
|
-
## JobImport
|
|
230
|
-
|
|
231
|
-
| Field | Type | Meaning |
|
|
232
|
-
| --- | --- | --- |
|
|
233
|
-
| `id`, `status`, `receiving` | as on `DatasetImport` | |
|
|
234
|
-
| `source` | `{ type: "archive", sha256 }` \| `{ type: "archive_url", url }` \| null | Null while a session is still receiving. `hub` is reserved. |
|
|
235
|
-
| `dataset` | string \| null | The hint as given. |
|
|
236
|
-
| `job_id` | string \| null | The ingested job, from COMPLETED on; null again if that job was deleted. |
|
|
237
|
-
| `n_trials_uploaded`, `n_trials_skipped` | number \| null | Null until COMPLETED. |
|
|
238
|
-
| `skipped_trials` | `{ trial, code: "trial_too_large", message, details: { file, bytes, max_bytes } }[] \| null` | Null until COMPLETED. |
|
|
239
|
-
| `task_links` | `JobTaskLink[] \| null` | The same rows the job serves as `upload.task_links`. |
|
|
240
|
-
| `failure` | `{ code, message, details } \| null` | |
|
|
241
|
-
| `progress` | `{ phase, started_at, phases } \| null` | Phases `fetching`, `extracting`, `validating`, `ingesting`. |
|
|
242
|
-
|
|
243
|
-
## Events
|
|
244
|
-
|
|
245
|
-
`jobs().watch()` yields `JobEvent`: `seq` (the resume position) plus `type` and `data`. Switching on `type` narrows `data`.
|
|
246
|
-
|
|
247
|
-
| Type | Data |
|
|
248
|
-
| --- | --- |
|
|
249
|
-
| `job.created` | `datasets`, `task_count`, `agents`, `n_attempts`, `n_concurrent_trials`, `max_trial_spend_usd`, `sandbox_provider`, `trial_count`, `retry`, the five multipliers. |
|
|
250
|
-
| `job.running`, `job.completed` | `{ job_id }`. |
|
|
251
|
-
| `job.cancelling` | `job_id`, `cancelled_trials` (queued trials cancelled outright), `active_trials` (still winding down). |
|
|
252
|
-
| `job.cancelled` | `job_id`, `cancelled_trials`. |
|
|
253
|
-
| `job.failed` | `{ job_id }`. Reserved: no server path emits it. |
|
|
254
|
-
| `trial.running` | `trial_id`, `task_name`. |
|
|
255
|
-
| `trial.scoring` | `trial_id`, `captured_bytes`. |
|
|
256
|
-
| `trial.spend` | `trial_id`, `task_name`, `live_spent_usd`, and `n_input_tokens`, `n_cache_tokens`, `n_output_tokens` when the sample carried them. Emitted only when a reading landed on a live trial. |
|
|
257
|
-
| `trial.settled` | `trial_id`, `task_name`, `status`, `reward` (scored path only), `exception_type` and `exception_message` (failures; a cancel carries the type alone), `attempt_phase` (when the settle happened mid-phase). Not final while a `trial.retrying` can follow. |
|
|
258
|
-
| `trial.retrying` | `trial_id`, `task_name`, `retry` (1-based), `max_retries`, `delay_sec`, `exception_type`. Follows the `trial.settled` it retries. |
|
|
259
|
-
| `trial.retry_circuit_broken` | `trial_id`, `task_name`, `signature` (`sandbox_death`, `provider_create_failure`, `stream_disconnect`, `exec_chdir_failure`), `consecutive`, `failure_phase`, `max_retries`, `retries_unused`, `exception_message`. The trial stays terminal. |
|
|
260
|
-
|
|
261
|
-
## Smaller shapes
|
|
262
|
-
|
|
263
|
-
- `JobTaskRollup`, from `jobs().tasks()`: `task_name`, `source`, `trials` (`{ total, byStatus }`), `mean_reward` (over SCORED trials; null when none), `cost_usd`, `check` (the task's latest `TaskCheck` on a version this job spans; null when never checked).
|
|
264
|
-
- `CompareResponse`, from `jobs().compare()`: `jobs` (per job: `id`, `datasets`, `status`, `mean_reward` over SCORED trials, `coverage` `{ scored, total }`, `cost_usd`, `agents`, `started_at`) and `taskMatrix` (per task: `task_name`, `disagreement`, `cells` in the caller's id order, each `{ job_id, status, mean_reward, coverage }` where `status` is a trial status when every trial in the cell shares it, `MIXED` when they differ, `MISSING` when the job has no trial for the task). Disagreement rows come first.
|
|
265
|
-
- `StopResponse`, from `trials().stop()`: `stopped` (`Trial[]`), `stopped_analyses` (`TrialAnalysis[]`, each `failed` with phase `stopped`), `already_terminal` (ids), `not_found` (ids that do not exist or are not yours; never told apart). Every requested id appears in exactly one list.
|
|
266
|
-
- `JobGrepGroup`, from `jobs().grep()`: `trial_id`, `task_name` (string or null), `match_count` (exact), `events` (the first five matches).
|
|
267
|
-
- `TrialFile`, from `trials().files()`: `path`, `size_bytes`.
|
|
268
|
-
- `TraceEvent`: `seq`, `type`, `data`. A `usage` event whose `data.update.source` is `gateway` is the platform's meter and the only usage line that carries tokens and money; `gatewayUsageOf(event)` reads it. On a terminal trial these follow the last harness event with `seq` from 1000000000 (`GATEWAY_TRACE_SEQ_BASE`).
|
|
269
|
-
- `SkillUpload`: `id`, `name`, `digest`, `size_bytes`, `description`, `ref` (the `upload:<id>` string), `created_at`.
|
|
270
|
-
- `Agent`: `name`, `source` (`install_script` or `tarball`), `run_command`, `env`, `created_at`, `updated_at`.
|
|
271
|
-
- `AuthStatus`: `user_id`, `email`, `key` (`{ id, label, created_at, last_used_at }`; `last_used_at` is always null today).
|
|
272
|
-
- `Organization`: `org_id`, `slug`, `display_name`, `personal`, `role` (`owner` or `member`), `created_at`. `OrganizationDetail` adds `member_count`, `quota` and `usage`; see [auth and orgs](/sdk-reference/auth#quota-and-usage).
|
|
273
|
-
- `JobDeleteResult`: `job_id`, `trials_deleted`, `analyses_deleted`.
|
|
274
|
-
- `DatasetPreflight`, from `datasets().preflight()`: `importer_version`, `checks` (the guards that ran), `deferred` (`{ name, reads }[]`, the guards a `task.toml` alone cannot decide), `manifest` (`{ ok, name, short_name, version, task_count, reason } \| null`), `tasks` (per task `name`, `ok`, `task_key`, `schema_version`, `providers`, `notes`, `reason`), `tasks_total`, `tasks_ok`, `tasks_refused`.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
## Global options
|
|
2
|
-
|
|
3
|
-
<ParamField path="--json">
|
|
4
|
-
Machine-readable JSON output.
|
|
5
|
-
</ParamField>
|
|
6
|
-
|
|
7
|
-
<ParamField path="--api-key" type="key">
|
|
8
|
-
API key. Defaults to `$EVOLVE_API_KEY`.
|
|
9
|
-
</ParamField>
|
|
10
|
-
|
|
11
|
-
<ParamField path="--base-url" type="url">
|
|
12
|
-
API base URL. Defaults to the Evolve dashboard API.
|
|
13
|
-
</ParamField>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<ParamField path="-l, --limit" type="n">
|
|
2
|
-
Page size.
|
|
3
|
-
</ParamField>
|
|
4
|
-
|
|
5
|
-
<ParamField path="--cursor" type="c">
|
|
6
|
-
Resume from a page cursor.
|
|
7
|
-
</ParamField>
|
|
8
|
-
|
|
9
|
-
<ParamField path="--columns" type="keys | all | help">
|
|
10
|
-
Choose and order columns, comma-separated. `help` lists the keys.
|
|
11
|
-
</ParamField>
|
|
12
|
-
|
|
13
|
-
<ParamField path="-q, --quiet">
|
|
14
|
-
Print only ids, one per line, for piping.
|
|
15
|
-
</ParamField>
|
|
16
|
-
|
|
17
|
-
<ParamField path="--no-trunc">
|
|
18
|
-
Full cell content instead of one-line truncation.
|
|
19
|
-
</ParamField>
|
|
20
|
-
|
|
21
|
-
<ParamField path="--no-headers">
|
|
22
|
-
Omit the header row in piped (TSV) output.
|
|
23
|
-
</ParamField>
|