reeval-python 0.18.0__tar.gz → 0.19.0__tar.gz
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.
- {reeval_python-0.18.0 → reeval_python-0.19.0}/PKG-INFO +7 -7
- {reeval_python-0.18.0 → reeval_python-0.19.0}/README.md +6 -6
- {reeval_python-0.18.0 → reeval_python-0.19.0}/pyproject.toml +1 -1
- {reeval_python-0.18.0 → reeval_python-0.19.0}/src/reeval_python/__init__.py +13 -3
- {reeval_python-0.18.0 → reeval_python-0.19.0}/src/reeval_python/_wire.py +140 -120
- reeval_python-0.19.0/src/reeval_python/binaries.json +55 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/src/reeval_python/declare.py +175 -113
- {reeval_python-0.18.0 → reeval_python-0.19.0}/src/reeval_python/environment.py +11 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/src/reeval_python/expect.py +23 -1
- {reeval_python-0.18.0 → reeval_python-0.19.0}/src/reeval_python/options.py +34 -11
- reeval_python-0.19.0/tests/context/stay-within.eval.py +9 -0
- reeval_python-0.19.0/tests/declare/cases.eval.py +29 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/declare/compare-questions.eval.py +3 -3
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/declare/compare-variants.eval.py +2 -2
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/declare/egress-cascade.eval.py +7 -7
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/declare/environment-extend.eval.py +3 -3
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/declare/environment-plugin-marketplace.eval.py +1 -1
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/declare/environment-plugins.eval.py +2 -2
- reeval_python-0.19.0/tests/declare/environment-traits.eval.py +9 -0
- reeval_python-0.19.0/tests/declare/observe.eval.py +26 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/declare/questions-attempts.eval.py +1 -1
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/declare/questions-group.eval.py +3 -3
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/declare/questions-state.eval.py +3 -3
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/declare/revision.eval.py +2 -2
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/declare/tags.eval.py +2 -2
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/test_api.py +109 -49
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/test_load.py +4 -4
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/test_source.py +9 -8
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/test_types.py +3 -3
- {reeval_python-0.18.0 → reeval_python-0.19.0}/uv.lock +1 -1
- reeval_python-0.18.0/src/reeval_python/binaries.json +0 -55
- reeval_python-0.18.0/tests/declare/each-families.eval.py +0 -25
- {reeval_python-0.18.0 → reeval_python-0.19.0}/.gitignore +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/CHANGELOG.md +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/LICENSE +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/package.json +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/src/reeval_python/__main__.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/src/reeval_python/aio.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/src/reeval_python/checks.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/src/reeval_python/cli.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/src/reeval_python/context.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/src/reeval_python/errors.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/src/reeval_python/py.typed +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/src/reeval_python/runner.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/src/reeval_python/types.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/src/reeval_python/wire.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/abort.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/abort.sync.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/exec-retries.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/exec-retries.sync.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/exec.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/exec.sync.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/expect-fail.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/expect-fail.sync.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/expect.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/expect.sync.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/files.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/files.sync.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/judge.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/judge.sync.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/observe.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/observe.sync.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/record.async.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/record.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/send.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/send.sync.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/sync-async.async.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/context/sync-async.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/declare/best-of.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/declare/groups-skip-todo.eval.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/runner_process.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/stdio_host.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/test_checks.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/test_cli.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/test_conformance_context.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/test_conformance_declare.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/test_patterns.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/test_python_wheels.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/test_runner_attempts.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/test_runner_checks.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/test_runner_isolation.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/test_runner_json.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/test_runner_misuse.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/test_runner_sdk.py +0 -0
- {reeval_python-0.18.0 → reeval_python-0.19.0}/tests/test_runner_stdio.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: reeval-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.19.0
|
|
4
4
|
Summary: Python authoring SDK for reeval (*.eval.py eval files)
|
|
5
5
|
Project-URL: Homepage, https://reeval.ai
|
|
6
6
|
Project-URL: Repository, https://github.com/invertase/reeval
|
|
@@ -195,15 +195,15 @@ expect.poll(lambda: c.read_file("ready.txt"), timeout=10).to_be("ready\n")
|
|
|
195
195
|
expect.poll(c, "the server wrote its log").to_have_file("server.log")
|
|
196
196
|
```
|
|
197
197
|
|
|
198
|
-
###
|
|
198
|
+
### Cases
|
|
199
199
|
|
|
200
|
-
`
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
200
|
+
`"cases"` runs one eval over a list, and the body takes the attempt and its case. Each case has a
|
|
201
|
+
key: a string or a number is its own, a dict or an object its `id` or `name`, and `"case_key"`
|
|
202
|
+
gives any other. A key is 1–80 characters with no `#`, `/`, `›` or control characters, and unique
|
|
203
|
+
within the eval; the run reports each case as `<eval> [<key>]`.
|
|
204
204
|
|
|
205
205
|
```python
|
|
206
|
-
@
|
|
206
|
+
@evaluate("greets", {"cases": [{"lang": "en"}, {"lang": "fr"}], "case_key": lambda c: c["lang"]})
|
|
207
207
|
def greets(c: SyncAttemptContext, case: dict[str, str]) -> None: ...
|
|
208
208
|
```
|
|
209
209
|
|
|
@@ -171,15 +171,15 @@ expect.poll(lambda: c.read_file("ready.txt"), timeout=10).to_be("ready\n")
|
|
|
171
171
|
expect.poll(c, "the server wrote its log").to_have_file("server.log")
|
|
172
172
|
```
|
|
173
173
|
|
|
174
|
-
###
|
|
174
|
+
### Cases
|
|
175
175
|
|
|
176
|
-
`
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
176
|
+
`"cases"` runs one eval over a list, and the body takes the attempt and its case. Each case has a
|
|
177
|
+
key: a string or a number is its own, a dict or an object its `id` or `name`, and `"case_key"`
|
|
178
|
+
gives any other. A key is 1–80 characters with no `#`, `/`, `›` or control characters, and unique
|
|
179
|
+
within the eval; the run reports each case as `<eval> [<key>]`.
|
|
180
180
|
|
|
181
181
|
```python
|
|
182
|
-
@
|
|
182
|
+
@evaluate("greets", {"cases": [{"lang": "en"}, {"lang": "fr"}], "case_key": lambda c: c["lang"]})
|
|
183
183
|
def greets(c: SyncAttemptContext, case: dict[str, str]) -> None: ...
|
|
184
184
|
```
|
|
185
185
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""Python eval authoring API for reeval (*.eval.py)."""
|
|
2
2
|
|
|
3
3
|
from reeval_python.context import AttemptContext, SyncAttemptContext
|
|
4
|
-
from reeval_python.declare import evaluate,
|
|
4
|
+
from reeval_python.declare import evaluate, group, todo
|
|
5
5
|
from reeval_python.environment import (
|
|
6
6
|
DEFAULT_EGRESS_ALLOW,
|
|
7
7
|
DockerSandbox,
|
|
@@ -10,15 +10,23 @@ from reeval_python.environment import (
|
|
|
10
10
|
FakeJudge,
|
|
11
11
|
Plugin,
|
|
12
12
|
PluginBuild,
|
|
13
|
+
TartSandbox,
|
|
13
14
|
define_environment,
|
|
14
15
|
docker,
|
|
15
16
|
fake_harness,
|
|
16
17
|
fake_judge,
|
|
17
18
|
plugin,
|
|
19
|
+
tart,
|
|
18
20
|
)
|
|
19
21
|
from reeval_python.errors import ReevalAssertionError, ReevalCallError
|
|
20
22
|
from reeval_python.expect import Expectation, expect
|
|
21
|
-
from reeval_python.options import
|
|
23
|
+
from reeval_python.options import (
|
|
24
|
+
BestOf,
|
|
25
|
+
CaseOptions,
|
|
26
|
+
EvalOptions,
|
|
27
|
+
JudgeDefaults,
|
|
28
|
+
JudgeOptions,
|
|
29
|
+
)
|
|
22
30
|
from reeval_python.types import BackgroundHandle, Diff, ExecResult, FileChange, Turn, Verdict
|
|
23
31
|
|
|
24
32
|
__all__ = [
|
|
@@ -29,6 +37,7 @@ __all__ = [
|
|
|
29
37
|
"Diff",
|
|
30
38
|
"DockerSandbox",
|
|
31
39
|
"Environment",
|
|
40
|
+
"CaseOptions",
|
|
32
41
|
"EvalOptions",
|
|
33
42
|
"ExecResult",
|
|
34
43
|
"Expectation",
|
|
@@ -42,16 +51,17 @@ __all__ = [
|
|
|
42
51
|
"ReevalAssertionError",
|
|
43
52
|
"ReevalCallError",
|
|
44
53
|
"SyncAttemptContext",
|
|
54
|
+
"TartSandbox",
|
|
45
55
|
"Turn",
|
|
46
56
|
"Verdict",
|
|
47
57
|
"define_environment",
|
|
48
58
|
"docker",
|
|
49
59
|
"evaluate",
|
|
50
|
-
"evaluate_each",
|
|
51
60
|
"expect",
|
|
52
61
|
"fake_harness",
|
|
53
62
|
"fake_judge",
|
|
54
63
|
"group",
|
|
55
64
|
"plugin",
|
|
65
|
+
"tart",
|
|
56
66
|
"todo",
|
|
57
67
|
]
|
|
@@ -405,6 +405,42 @@ class AttemptStart(TypedDict):
|
|
|
405
405
|
type: Literal["start"]
|
|
406
406
|
|
|
407
407
|
|
|
408
|
+
# The host variable holding a Boat API key, made by `secret.fromEnv`.
|
|
409
|
+
BoatApiKey = TypedDict(
|
|
410
|
+
"BoatApiKey",
|
|
411
|
+
{
|
|
412
|
+
"from": "str",
|
|
413
|
+
"kind": "Literal[\"secret\"]",
|
|
414
|
+
},
|
|
415
|
+
)
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
# The host variable with the Boat API key, read on the host only.
|
|
419
|
+
BoatSandboxDescriptorApiKey = TypedDict(
|
|
420
|
+
"BoatSandboxDescriptorApiKey",
|
|
421
|
+
{
|
|
422
|
+
"from": "str",
|
|
423
|
+
"kind": "Literal[\"secret\"]",
|
|
424
|
+
},
|
|
425
|
+
)
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
# A boat.dev VM per attempt, made by `boat()` from `reeval/sandbox/boat`.
|
|
429
|
+
class BoatSandboxDescriptor(TypedDict):
|
|
430
|
+
# The host variable with the Boat API key, read on the host only.
|
|
431
|
+
apiKey: BoatSandboxDescriptorApiKey
|
|
432
|
+
# Cell id; defaults to `boat`, or `boat:<type>` with a `type`.
|
|
433
|
+
id: NotRequired[str]
|
|
434
|
+
kind: Literal["boat"]
|
|
435
|
+
# The most Boat sandboxes at once, across the run.
|
|
436
|
+
maxConcurrent: NotRequired[float]
|
|
437
|
+
# The start of every sandbox name reeval gives Boat, so a run's cleanup finds only its own:
|
|
438
|
+
# lowercase letters, digits and dashes.
|
|
439
|
+
prefix: str
|
|
440
|
+
# The machine size. Default `small`.
|
|
441
|
+
type: NotRequired[Literal["small", "default", "large", "xlarge"]]
|
|
442
|
+
|
|
443
|
+
|
|
408
444
|
class CaptureConsoleItem(TypedDict):
|
|
409
445
|
level: Literal["error", "warning", "info", "log", "debug"]
|
|
410
446
|
source: str
|
|
@@ -508,9 +544,8 @@ class CaptureWindow(TypedDict):
|
|
|
508
544
|
|
|
509
545
|
|
|
510
546
|
# A cell of an evaluation combines a harness, an environment (`-` when none is set), and that
|
|
511
|
-
# environment's sandbox id. With `compare`, the control is `
|
|
512
|
-
#
|
|
513
|
-
# including its sandbox.
|
|
547
|
+
# environment's sandbox id. With `compare`, the control is `compare.control` and each variant is
|
|
548
|
+
# that environment on its own, including its sandbox.
|
|
514
549
|
class Cell(TypedDict):
|
|
515
550
|
# The environment's own name, also on a variant cell (`with-skill`, with no prefix).
|
|
516
551
|
environment: str
|
|
@@ -519,6 +554,9 @@ class Cell(TypedDict):
|
|
|
519
554
|
harness: str
|
|
520
555
|
# The harness id, the environment name, and the sandbox id, joined with `/`.
|
|
521
556
|
key: str
|
|
557
|
+
# `variant` on a compare's variant cell, else `control`: the compare's control, or any cell
|
|
558
|
+
# of an eval without `compare`, each environment of an `environments` grid included. A
|
|
559
|
+
# variant's lift is against the `control` cell on its harness and sandbox.
|
|
522
560
|
role: CellRole
|
|
523
561
|
# The sandbox id is `id` when set, or `fake` for the fake sandbox. A Docker sandbox starts
|
|
524
562
|
# with the engine (`docker` by default). It adds `:` and the sanitized final component of
|
|
@@ -526,6 +564,8 @@ class Cell(TypedDict):
|
|
|
526
564
|
# when that filename is `Dockerfile` and a parent is present). Non-empty `install` steps
|
|
527
565
|
# append `+` and an eight-character hash.
|
|
528
566
|
sandbox: str
|
|
567
|
+
# The environment's merged traits; unset when it has none. Not part of the key.
|
|
568
|
+
traits: NotRequired[dict[str, str | list[str]]]
|
|
529
569
|
# The variant's name, for variant cells.
|
|
530
570
|
variant: NotRequired[str]
|
|
531
571
|
|
|
@@ -629,10 +669,10 @@ class DeclarationTree(TypedDict):
|
|
|
629
669
|
class DeclaredEval(TypedDict):
|
|
630
670
|
# Names the eval's body to whoever runs it.
|
|
631
671
|
body: str
|
|
632
|
-
# Set on each case of
|
|
672
|
+
# Set on each case of an eval with `cases`: its template, index and the list's length.
|
|
633
673
|
family: NotRequired[DeclaredFamily]
|
|
634
674
|
mode: DeclaredMode
|
|
635
|
-
# The eval's name, as passed to `evaluate` (a case's, for `
|
|
675
|
+
# The eval's name, as passed to `evaluate` (a case's, for an eval with `cases`).
|
|
636
676
|
name: str
|
|
637
677
|
# The eval's own options, before the cascade.
|
|
638
678
|
options: EvalOptionsData
|
|
@@ -640,13 +680,13 @@ class DeclaredEval(TypedDict):
|
|
|
640
680
|
type: Literal["eval"]
|
|
641
681
|
|
|
642
682
|
|
|
643
|
-
# Where a case of
|
|
683
|
+
# Where a case of an eval with `cases` sits in its list.
|
|
644
684
|
class DeclaredFamily(TypedDict):
|
|
645
685
|
# The case's index, from 0.
|
|
646
686
|
case: int
|
|
647
687
|
# How many cases the list has.
|
|
648
688
|
cases: int
|
|
649
|
-
# The name
|
|
689
|
+
# The eval's own name, which each case's name extends.
|
|
650
690
|
name: str
|
|
651
691
|
|
|
652
692
|
|
|
@@ -670,12 +710,12 @@ DeclaredNode: TypeAlias = "DeclaredEval | DeclaredGroup | DeclaredTodo"
|
|
|
670
710
|
|
|
671
711
|
|
|
672
712
|
# An eval's own source as the SDK that declared it reads it: sha256 (hex) of its body's source
|
|
673
|
-
# text, and
|
|
674
|
-
#
|
|
713
|
+
# text, and a case's data as canonical JSON (object keys sorted, no whitespace, non-ASCII
|
|
714
|
+
# characters as themselves). reeval hashes the case itself, with its secrets masked.
|
|
675
715
|
class DeclaredSource(TypedDict):
|
|
676
716
|
# sha256 of the body function's source text.
|
|
677
717
|
body: str
|
|
678
|
-
# The case's data as canonical JSON text; set on each case of an `
|
|
718
|
+
# The case's data as canonical JSON text; set on each case of an eval with `cases`.
|
|
679
719
|
caseJson: NotRequired[str]
|
|
680
720
|
|
|
681
721
|
|
|
@@ -788,17 +828,25 @@ class EnvironmentSpec(TypedDict):
|
|
|
788
828
|
setup: NotRequired[list[SetupStep]]
|
|
789
829
|
# Skills placed for the agent.
|
|
790
830
|
skills: NotRequired[list[SkillSource]]
|
|
831
|
+
# Filter facts for `where`, such as `{ stack: 'next' }`: a key to a string or a list of
|
|
832
|
+
# strings. A child's key replaces its parent's value whole; keys it doesn't set are
|
|
833
|
+
# inherited. Recorded on the cell, and never written to the sandbox, the prompt or the
|
|
834
|
+
# judge.
|
|
835
|
+
traits: NotRequired[dict[str, str | list[str]]]
|
|
791
836
|
# The code the workspace starts as, before `files`, `rules` and `setup`; a child's replaces
|
|
792
837
|
# its parent's.
|
|
793
838
|
workspace: NotRequired[GitWorkspace]
|
|
794
839
|
|
|
795
840
|
|
|
796
|
-
# Environments to run side by side
|
|
841
|
+
# Environments to run side by side; `control` is what each variant is measured against.
|
|
797
842
|
class EvalOptionsDataCompareCompare(TypedDict):
|
|
798
|
-
#
|
|
799
|
-
|
|
843
|
+
# The environment each variant is measured against. Not layered under the variants, and it
|
|
844
|
+
# replaces any `environments` the eval inherits.
|
|
845
|
+
control: EnvironmentData
|
|
846
|
+
# Which cells decide pass/fail: `variants` (default), `all`, or `observe` (none of them).
|
|
847
|
+
gate: NotRequired[Literal["all", "observe", "variants"]]
|
|
800
848
|
# Harnesses (ids or descriptors) to compare on; the others run the control only.
|
|
801
|
-
|
|
849
|
+
harnesses: NotRequired[list[AntigravityHarnessDescriptor | ClaudeCodeHarnessDescriptor | CodexHarnessDescriptor | CursorHarnessDescriptor | FakeHarnessDescriptor | FxHarnessDescriptor | GooseHarnessDescriptor | GrokBuildHarnessDescriptor | OpenCodeHarnessDescriptor | PiHarnessDescriptor | str]]
|
|
802
850
|
# Lift in points from -1 to 1; a variant cell below it fails.
|
|
803
851
|
minLift: NotRequired[float]
|
|
804
852
|
# Other environments, each planned and run as itself.
|
|
@@ -813,11 +861,11 @@ class EvalOptionsDataCompareGatePassRate(TypedDict):
|
|
|
813
861
|
passRate: float
|
|
814
862
|
|
|
815
863
|
|
|
816
|
-
class
|
|
864
|
+
class EvalOptionsDataCompareHarnessesAdd(TypedDict):
|
|
817
865
|
add: AntigravityHarnessDescriptor | ClaudeCodeHarnessDescriptor | CodexHarnessDescriptor | CursorHarnessDescriptor | FakeHarnessDescriptor | FxHarnessDescriptor | GooseHarnessDescriptor | GrokBuildHarnessDescriptor | OpenCodeHarnessDescriptor | PiHarnessDescriptor | list[HarnessDescriptor]
|
|
818
866
|
|
|
819
867
|
|
|
820
|
-
class
|
|
868
|
+
class EvalOptionsDataCompareHarnessesOnly(TypedDict):
|
|
821
869
|
only: list[str] | str
|
|
822
870
|
|
|
823
871
|
|
|
@@ -829,19 +877,17 @@ class EvalOptionsDataCompare(TypedDict):
|
|
|
829
877
|
# Screenshot defaults for `c.capture()`. Shallow-merged; `viewport` and `model` replace the
|
|
830
878
|
# value.
|
|
831
879
|
capture: NotRequired[CaptureOptions]
|
|
832
|
-
# Environments to run side by side
|
|
880
|
+
# Environments to run side by side; `control` is what each variant is measured against.
|
|
833
881
|
compare: EvalOptionsDataCompareCompare
|
|
834
882
|
# Where the sandbox may connect. Replaces the inherited policy: config, profile defaults,
|
|
835
883
|
# the environment, then groups and the eval.
|
|
836
884
|
egress: NotRequired[Literal["allow-all", "deny-all", "proxy"] | EvalOptionsDataCompareEgressAllow]
|
|
837
885
|
# Variables and secrets for the sandbox, merged by name down the cascade.
|
|
838
886
|
env: NotRequired[EnvVars]
|
|
839
|
-
# The control: the compare has no `baseline`.
|
|
840
|
-
environment: NotRequired[EnvironmentData]
|
|
841
887
|
# How each cell's attempts decide its outcome; default `'all'`.
|
|
842
|
-
gate: NotRequired[Literal["all"] | EvalOptionsDataCompareGatePassRate]
|
|
888
|
+
gate: NotRequired[Literal["all", "observe"] | EvalOptionsDataCompareGatePassRate]
|
|
843
889
|
# Which agents run the eval; each harness is its own cell.
|
|
844
|
-
|
|
890
|
+
harnesses: NotRequired[AntigravityHarnessDescriptor | ClaudeCodeHarnessDescriptor | CodexHarnessDescriptor | CursorHarnessDescriptor | FakeHarnessDescriptor | FxHarnessDescriptor | GooseHarnessDescriptor | GrokBuildHarnessDescriptor | OpenCodeHarnessDescriptor | PiHarnessDescriptor | list[HarnessDescriptor] | EvalOptionsDataCompareHarnessesAdd | EvalOptionsDataCompareHarnessesOnly]
|
|
845
891
|
# Defaults for `c.judge()`, merged field by field down the cascade.
|
|
846
892
|
judge: NotRequired[ConfigJudgeOptions]
|
|
847
893
|
# Keys a profile's `limit` may not narrow for this group or eval.
|
|
@@ -860,11 +906,11 @@ class EvalOptionsDataCompare(TypedDict):
|
|
|
860
906
|
# Attempts per cell: a number, or `{ bestOf: n }` (odd, 3 or more), which stops each cell
|
|
861
907
|
# once a majority of its `n` attempts agree and gates it on that majority; not on a compared
|
|
862
908
|
# eval. Unset at every level, a compare with variants runs 4 a side, the fewest whose lift
|
|
863
|
-
# can reach a verdict, and anything else runs once, a
|
|
909
|
+
# can reach a verdict, and anything else runs once, a case of an eval with `cases` included.
|
|
864
910
|
runs: NotRequired[float | EvalOptionsDataCompareRunsBestOf]
|
|
865
911
|
# The default machine when the resolved environment omits `sandbox`. Cascades like
|
|
866
|
-
# `
|
|
867
|
-
sandbox: NotRequired[DockerSandboxDescriptor | FakeSandboxDescriptor]
|
|
912
|
+
# `harnesses`. Not an environment: it does not invent skills, files or a name.
|
|
913
|
+
sandbox: NotRequired[BoatSandboxDescriptor | DockerSandboxDescriptor | FakeSandboxDescriptor | TartSandboxDescriptor]
|
|
868
914
|
# When each attempt's workspace is copied into its directory in `.reeval/runs`: `true` after
|
|
869
915
|
# the checks, `'turns'` after each `c.send` too, `false` never. Default `true`.
|
|
870
916
|
snapshot: NotRequired[SnapshotOptions | Literal["turns"] | bool]
|
|
@@ -874,124 +920,50 @@ class EvalOptionsDataCompare(TypedDict):
|
|
|
874
920
|
timeout: NotRequired[float | str]
|
|
875
921
|
|
|
876
922
|
|
|
877
|
-
|
|
878
|
-
class EvalOptionsDataCompare2Compare(TypedDict):
|
|
879
|
-
# The control. Not layered under the variants. Without it, the control is the environment
|
|
880
|
-
# the eval would otherwise run in (the cascaded `environment`), else an empty one named
|
|
881
|
-
# `baseline`.
|
|
882
|
-
baseline: EnvironmentData
|
|
883
|
-
# Which cells decide pass/fail: `variants` (default), `all`, or `none` (report only).
|
|
884
|
-
gate: NotRequired[Literal["all", "none", "variants"]]
|
|
885
|
-
# Harnesses (ids or descriptors) to compare on; the others run the control only.
|
|
886
|
-
harness: NotRequired[list[AntigravityHarnessDescriptor | ClaudeCodeHarnessDescriptor | CodexHarnessDescriptor | CursorHarnessDescriptor | FakeHarnessDescriptor | FxHarnessDescriptor | GooseHarnessDescriptor | GrokBuildHarnessDescriptor | OpenCodeHarnessDescriptor | PiHarnessDescriptor | str]]
|
|
887
|
-
# Lift in points from -1 to 1; a variant cell below it fails.
|
|
888
|
-
minLift: NotRequired[float]
|
|
889
|
-
# Other environments, each planned and run as itself.
|
|
890
|
-
variants: list[EnvironmentData]
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
class EvalOptionsDataCompare2EgressAllow(TypedDict):
|
|
923
|
+
class EvalOptionsData2EgressAllow(TypedDict):
|
|
894
924
|
allow: list[str]
|
|
895
925
|
|
|
896
926
|
|
|
897
|
-
class
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
class EvalOptionsDataCompare2HarnessAdd(TypedDict):
|
|
902
|
-
add: AntigravityHarnessDescriptor | ClaudeCodeHarnessDescriptor | CodexHarnessDescriptor | CursorHarnessDescriptor | FakeHarnessDescriptor | FxHarnessDescriptor | GooseHarnessDescriptor | GrokBuildHarnessDescriptor | OpenCodeHarnessDescriptor | PiHarnessDescriptor | list[HarnessDescriptor]
|
|
927
|
+
class EvalOptionsData2EnvironmentsAdd(TypedDict):
|
|
928
|
+
add: EnvironmentData | list[EnvironmentData]
|
|
903
929
|
|
|
904
930
|
|
|
905
|
-
class
|
|
931
|
+
class EvalOptionsData2EnvironmentsOnly(TypedDict):
|
|
906
932
|
only: list[str] | str
|
|
907
933
|
|
|
908
934
|
|
|
909
|
-
class
|
|
910
|
-
bestOf: float
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
class EvalOptionsDataCompare2(TypedDict):
|
|
914
|
-
# Screenshot defaults for `c.capture()`. Shallow-merged; `viewport` and `model` replace the
|
|
915
|
-
# value.
|
|
916
|
-
capture: NotRequired[CaptureOptions]
|
|
917
|
-
# Environments to run side by side; `baseline` is the control.
|
|
918
|
-
compare: EvalOptionsDataCompare2Compare
|
|
919
|
-
# Where the sandbox may connect. Replaces the inherited policy: config, profile defaults,
|
|
920
|
-
# the environment, then groups and the eval.
|
|
921
|
-
egress: NotRequired[Literal["allow-all", "deny-all", "proxy"] | EvalOptionsDataCompare2EgressAllow]
|
|
922
|
-
# Variables and secrets for the sandbox, merged by name down the cascade.
|
|
923
|
-
env: NotRequired[EnvVars]
|
|
924
|
-
# How each cell's attempts decide its outcome; default `'all'`.
|
|
925
|
-
gate: NotRequired[Literal["all"] | EvalOptionsDataCompare2GatePassRate]
|
|
926
|
-
# Which agents run the eval; each harness is its own cell.
|
|
927
|
-
harness: NotRequired[AntigravityHarnessDescriptor | ClaudeCodeHarnessDescriptor | CodexHarnessDescriptor | CursorHarnessDescriptor | FakeHarnessDescriptor | FxHarnessDescriptor | GooseHarnessDescriptor | GrokBuildHarnessDescriptor | OpenCodeHarnessDescriptor | PiHarnessDescriptor | list[HarnessDescriptor] | EvalOptionsDataCompare2HarnessAdd | EvalOptionsDataCompare2HarnessOnly]
|
|
928
|
-
# Defaults for `c.judge()`, merged field by field down the cascade.
|
|
929
|
-
judge: NotRequired[ConfigJudgeOptions]
|
|
930
|
-
# Keys a profile's `limit` may not narrow for this group or eval.
|
|
931
|
-
pin: NotRequired[list[PinnableKey]]
|
|
932
|
-
# The model every question that names none of its own is answered by, down the cascade.
|
|
933
|
-
question: NotRequired[QuestionOptions]
|
|
934
|
-
# What a language model is asked about the attempts, always a list; they never change pass,
|
|
935
|
-
# fail or the exit code. A question with `across` picks between pairs of attempts once they
|
|
936
|
-
# all end; one without is asked of each attempt as it ends. Replaces the inherited list, so
|
|
937
|
-
# `[]` asks none.
|
|
938
|
-
questions: NotRequired[list[Question]]
|
|
939
|
-
# The eval's version, part of its fingerprint: bump it when a change the eval file doesn't
|
|
940
|
-
# show (a helper, a fixture, data it reads) changes what it measures. A group's applies to
|
|
941
|
-
# the evals inside it that set none.
|
|
942
|
-
revision: NotRequired[float | str]
|
|
943
|
-
# Attempts per cell: a number, or `{ bestOf: n }` (odd, 3 or more), which stops each cell
|
|
944
|
-
# once a majority of its `n` attempts agree and gates it on that majority; not on a compared
|
|
945
|
-
# eval. Unset at every level, a compare with variants runs 4 a side, the fewest whose lift
|
|
946
|
-
# can reach a verdict, and anything else runs once, a pooled `evaluate.each` case included.
|
|
947
|
-
runs: NotRequired[float | EvalOptionsDataCompare2RunsBestOf]
|
|
948
|
-
# The default machine when the resolved environment omits `sandbox`. Cascades like
|
|
949
|
-
# `harness`. Not an environment: it does not invent skills, files or a name.
|
|
950
|
-
sandbox: NotRequired[DockerSandboxDescriptor | FakeSandboxDescriptor]
|
|
951
|
-
# When each attempt's workspace is copied into its directory in `.reeval/runs`: `true` after
|
|
952
|
-
# the checks, `'turns'` after each `c.send` too, `false` never. Default `true`.
|
|
953
|
-
snapshot: NotRequired[SnapshotOptions | Literal["turns"] | bool]
|
|
954
|
-
# Labels for `--tag` and profiles to select by; a group's are added to its evals'.
|
|
955
|
-
tags: NotRequired[list[str]]
|
|
956
|
-
# Per attempt.
|
|
957
|
-
timeout: NotRequired[float | str]
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
class EvalOptionsData3EgressAllow(TypedDict):
|
|
961
|
-
allow: list[str]
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
class EvalOptionsData3GatePassRate(TypedDict):
|
|
935
|
+
class EvalOptionsData2GatePassRate(TypedDict):
|
|
965
936
|
passRate: float
|
|
966
937
|
|
|
967
938
|
|
|
968
|
-
class
|
|
939
|
+
class EvalOptionsData2HarnessesAdd(TypedDict):
|
|
969
940
|
add: AntigravityHarnessDescriptor | ClaudeCodeHarnessDescriptor | CodexHarnessDescriptor | CursorHarnessDescriptor | FakeHarnessDescriptor | FxHarnessDescriptor | GooseHarnessDescriptor | GrokBuildHarnessDescriptor | OpenCodeHarnessDescriptor | PiHarnessDescriptor | list[HarnessDescriptor]
|
|
970
941
|
|
|
971
942
|
|
|
972
|
-
class
|
|
943
|
+
class EvalOptionsData2HarnessesOnly(TypedDict):
|
|
973
944
|
only: list[str] | str
|
|
974
945
|
|
|
975
946
|
|
|
976
|
-
class
|
|
947
|
+
class EvalOptionsData2RunsBestOf(TypedDict):
|
|
977
948
|
bestOf: float
|
|
978
949
|
|
|
979
950
|
|
|
980
|
-
class
|
|
951
|
+
class EvalOptionsData2(TypedDict):
|
|
981
952
|
# Screenshot defaults for `c.capture()`. Shallow-merged; `viewport` and `model` replace the
|
|
982
953
|
# value.
|
|
983
954
|
capture: NotRequired[CaptureOptions]
|
|
984
955
|
# Where the sandbox may connect. Replaces the inherited policy: config, profile defaults,
|
|
985
956
|
# the environment, then groups and the eval.
|
|
986
|
-
egress: NotRequired[Literal["allow-all", "deny-all", "proxy"] |
|
|
957
|
+
egress: NotRequired[Literal["allow-all", "deny-all", "proxy"] | EvalOptionsData2EgressAllow]
|
|
987
958
|
# Variables and secrets for the sandbox, merged by name down the cascade.
|
|
988
959
|
env: NotRequired[EnvVars]
|
|
989
|
-
# What this group or eval runs in,
|
|
990
|
-
|
|
960
|
+
# What this group or eval runs in: one environment, or a list, each its own cell beside each
|
|
961
|
+
# harness. `{ add }` and `{ only }` edit the inherited list.
|
|
962
|
+
environments: NotRequired[EnvironmentData | list[EnvironmentData] | EvalOptionsData2EnvironmentsAdd | EvalOptionsData2EnvironmentsOnly]
|
|
991
963
|
# How each cell's attempts decide its outcome; default `'all'`.
|
|
992
|
-
gate: NotRequired[Literal["all"] |
|
|
964
|
+
gate: NotRequired[Literal["all", "observe"] | EvalOptionsData2GatePassRate]
|
|
993
965
|
# Which agents run the eval; each harness is its own cell.
|
|
994
|
-
|
|
966
|
+
harnesses: NotRequired[AntigravityHarnessDescriptor | ClaudeCodeHarnessDescriptor | CodexHarnessDescriptor | CursorHarnessDescriptor | FakeHarnessDescriptor | FxHarnessDescriptor | GooseHarnessDescriptor | GrokBuildHarnessDescriptor | OpenCodeHarnessDescriptor | PiHarnessDescriptor | list[HarnessDescriptor] | EvalOptionsData2HarnessesAdd | EvalOptionsData2HarnessesOnly]
|
|
995
967
|
# Defaults for `c.judge()`, merged field by field down the cascade.
|
|
996
968
|
judge: NotRequired[ConfigJudgeOptions]
|
|
997
969
|
# Keys a profile's `limit` may not narrow for this group or eval.
|
|
@@ -1010,11 +982,11 @@ class EvalOptionsData3(TypedDict):
|
|
|
1010
982
|
# Attempts per cell: a number, or `{ bestOf: n }` (odd, 3 or more), which stops each cell
|
|
1011
983
|
# once a majority of its `n` attempts agree and gates it on that majority; not on a compared
|
|
1012
984
|
# eval. Unset at every level, a compare with variants runs 4 a side, the fewest whose lift
|
|
1013
|
-
# can reach a verdict, and anything else runs once, a
|
|
1014
|
-
runs: NotRequired[float |
|
|
985
|
+
# can reach a verdict, and anything else runs once, a case of an eval with `cases` included.
|
|
986
|
+
runs: NotRequired[float | EvalOptionsData2RunsBestOf]
|
|
1015
987
|
# The default machine when the resolved environment omits `sandbox`. Cascades like
|
|
1016
|
-
# `
|
|
1017
|
-
sandbox: NotRequired[DockerSandboxDescriptor | FakeSandboxDescriptor]
|
|
988
|
+
# `harnesses`. Not an environment: it does not invent skills, files or a name.
|
|
989
|
+
sandbox: NotRequired[BoatSandboxDescriptor | DockerSandboxDescriptor | FakeSandboxDescriptor | TartSandboxDescriptor]
|
|
1018
990
|
# When each attempt's workspace is copied into its directory in `.reeval/runs`: `true` after
|
|
1019
991
|
# the checks, `'turns'` after each `c.send` too, `false` never. Default `true`.
|
|
1020
992
|
snapshot: NotRequired[SnapshotOptions | Literal["turns"] | bool]
|
|
@@ -1027,7 +999,7 @@ class EvalOptionsData3(TypedDict):
|
|
|
1027
999
|
# `EvalOptions` in their data forms, as JSON carries them: the harness as data, the judge's
|
|
1028
1000
|
# model by name or a fake judge, and environments without `extend`. The same `environment` /
|
|
1029
1001
|
# compare object split as `EvalOptions`.
|
|
1030
|
-
EvalOptionsData: TypeAlias = "EvalOptionsDataCompare |
|
|
1002
|
+
EvalOptionsData: TypeAlias = "EvalOptionsDataCompare | EvalOptionsData2"
|
|
1031
1003
|
|
|
1032
1004
|
|
|
1033
1005
|
class ExecResult(TypedDict):
|
|
@@ -1043,6 +1015,15 @@ class FakeHarnessDescriptorToolsItem(TypedDict):
|
|
|
1043
1015
|
tool: str
|
|
1044
1016
|
|
|
1045
1017
|
|
|
1018
|
+
# Tokens the fake agent reports for every turn, as `turn.usage`; without it, null.
|
|
1019
|
+
class FakeHarnessDescriptorUsage(TypedDict):
|
|
1020
|
+
cacheRead: float
|
|
1021
|
+
cacheWrite: float
|
|
1022
|
+
input: float
|
|
1023
|
+
output: float
|
|
1024
|
+
reasoning: float | None
|
|
1025
|
+
|
|
1026
|
+
|
|
1046
1027
|
# Files and message used instead when the environment gives the agent a skill.
|
|
1047
1028
|
class FakeHarnessDescriptorWithSkill(TypedDict):
|
|
1048
1029
|
files: NotRequired[dict[str, str]]
|
|
@@ -1105,6 +1086,11 @@ class FakeHarnessDescriptor(TypedDict):
|
|
|
1105
1086
|
# Tool calls the fake agent reports on every turn, before writing files. `ok` defaults to
|
|
1106
1087
|
# true; null reports a call whose result never came.
|
|
1107
1088
|
tools: NotRequired[list[FakeHarnessDescriptorToolsItem]]
|
|
1089
|
+
# Each turn's recorded agent time, exactly, whatever the wall clock says: a test can compare
|
|
1090
|
+
# agent time without scheduling jitter, which four runs a side can tell apart.
|
|
1091
|
+
turnMs: NotRequired[float]
|
|
1092
|
+
# Tokens the fake agent reports for every turn, as `turn.usage`; without it, null.
|
|
1093
|
+
usage: NotRequired[FakeHarnessDescriptorUsage]
|
|
1108
1094
|
# Files and message used instead when the environment gives the agent a skill.
|
|
1109
1095
|
withSkill: NotRequired[FakeHarnessDescriptorWithSkill]
|
|
1110
1096
|
|
|
@@ -1536,7 +1522,7 @@ class PiHarnessDescriptor(TypedDict):
|
|
|
1536
1522
|
|
|
1537
1523
|
|
|
1538
1524
|
# An option a profile's `limit` can narrow, and `pin` can protect.
|
|
1539
|
-
PinnableKey: TypeAlias = "Literal[\"compare\", \"
|
|
1525
|
+
PinnableKey: TypeAlias = "Literal[\"compare\", \"harnesses\", \"runs\"]"
|
|
1540
1526
|
|
|
1541
1527
|
|
|
1542
1528
|
class PluginMarketplace1(TypedDict):
|
|
@@ -1695,7 +1681,7 @@ class QuestionOptions(TypedDict):
|
|
|
1695
1681
|
model: NotRequired[str]
|
|
1696
1682
|
|
|
1697
1683
|
|
|
1698
|
-
SandboxDescriptor: TypeAlias = "FakeSandboxDescriptor | DockerSandboxDescriptor"
|
|
1684
|
+
SandboxDescriptor: TypeAlias = "FakeSandboxDescriptor | DockerSandboxDescriptor | TartSandboxDescriptor | BoatSandboxDescriptor"
|
|
1699
1685
|
|
|
1700
1686
|
|
|
1701
1687
|
# A host environment variable, redacted everywhere reeval writes and recorded by name only. Made
|
|
@@ -1821,6 +1807,37 @@ class SnapshotOptions(TypedDict):
|
|
|
1821
1807
|
SubstituteIn: TypeAlias = "Literal[\"header\", \"query\", \"body\"]"
|
|
1822
1808
|
|
|
1823
1809
|
|
|
1810
|
+
# Reach the VM over SSH when its Tart Guest Agent doesn't answer `tart exec`: as `user` (`admin`
|
|
1811
|
+
# when unset), with `key`, a private key the image trusts, absolute or relative to the file it's
|
|
1812
|
+
# written in.
|
|
1813
|
+
class TartSandboxDescriptorSsh(TypedDict):
|
|
1814
|
+
key: str
|
|
1815
|
+
user: NotRequired[str]
|
|
1816
|
+
|
|
1817
|
+
|
|
1818
|
+
# A macOS VM on this Mac, cloned from `image` for each attempt by Tart, made by `tart()`.
|
|
1819
|
+
class TartSandboxDescriptor(TypedDict):
|
|
1820
|
+
# CPUs each clone gets; the image's when unset.
|
|
1821
|
+
cpus: NotRequired[int]
|
|
1822
|
+
# Cell id; defaults to `tart:<image>`, the image's last path segment.
|
|
1823
|
+
id: NotRequired[str]
|
|
1824
|
+
# The VM each attempt clones: an OCI image such as
|
|
1825
|
+
# `ghcr.io/cirruslabs/macos-sequoia-base:latest`, or a local VM's name. Tart must have it
|
|
1826
|
+
# before the run: `reeval image build` (or `tart pull`) pulls it, and `reeval run` refuses
|
|
1827
|
+
# one `tart list` doesn't show.
|
|
1828
|
+
image: str
|
|
1829
|
+
kind: Literal["tart"]
|
|
1830
|
+
# The most Tart VMs at once, across the run: 1 or 2, and 2 when unset, since macOS runs at
|
|
1831
|
+
# most two macOS VMs at a time.
|
|
1832
|
+
maxConcurrent: NotRequired[float]
|
|
1833
|
+
# Memory each clone gets: `'8g'`, `'4096m'`, or bytes; the image's when unset.
|
|
1834
|
+
memory: NotRequired[str | int]
|
|
1835
|
+
# Reach the VM over SSH when its Tart Guest Agent doesn't answer `tart exec`: as `user`
|
|
1836
|
+
# (`admin` when unset), with `key`, a private key the image trusts, absolute or relative to
|
|
1837
|
+
# the file it's written in.
|
|
1838
|
+
ssh: NotRequired[TartSandboxDescriptorSsh]
|
|
1839
|
+
|
|
1840
|
+
|
|
1824
1841
|
# The tokens one turn used, as its harness reported them. `input` excludes cache reads and
|
|
1825
1842
|
# writes (so the prompt was `input + cacheRead + cacheWrite`); `reasoning` is part of `output`.
|
|
1826
1843
|
class TokenUsage(TypedDict):
|
|
@@ -2016,6 +2033,7 @@ WebEventType: TypeAlias = "Literal[\"web-search\", \"web-fetch\"]"
|
|
|
2016
2033
|
# reeval's camelCase keys: the SDK takes each in snake_case too.
|
|
2017
2034
|
CAMEL_KEYS: frozenset[str] = frozenset(
|
|
2018
2035
|
{
|
|
2036
|
+
"apiKey",
|
|
2019
2037
|
"atMs",
|
|
2020
2038
|
"bestOf",
|
|
2021
2039
|
"cacheRead",
|
|
@@ -2044,6 +2062,7 @@ CAMEL_KEYS: frozenset[str] = frozenset(
|
|
|
2044
2062
|
"startTimeout",
|
|
2045
2063
|
"startedAt",
|
|
2046
2064
|
"toolCallId",
|
|
2065
|
+
"turnMs",
|
|
2047
2066
|
"withSkill",
|
|
2048
2067
|
}
|
|
2049
2068
|
)
|
|
@@ -2061,6 +2080,7 @@ RECORD_FIELDS: frozenset[str] = frozenset(
|
|
|
2061
2080
|
"providerOptions",
|
|
2062
2081
|
"regions",
|
|
2063
2082
|
"score",
|
|
2083
|
+
"traits",
|
|
2064
2084
|
"untested",
|
|
2065
2085
|
"value",
|
|
2066
2086
|
"write",
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.19.0",
|
|
3
|
+
"binaries": {
|
|
4
|
+
"linux-x64": {
|
|
5
|
+
"name": "reeval-0.19.0-linux-x64",
|
|
6
|
+
"sha256": "e846cb60a998ecdbdb0fe6ae6b753eb65ba1478b6919db26b88685ea28700463",
|
|
7
|
+
"size": 88290784
|
|
8
|
+
},
|
|
9
|
+
"linux-arm64": {
|
|
10
|
+
"name": "reeval-0.19.0-linux-arm64",
|
|
11
|
+
"sha256": "56ed37c4a2869df2ef1fbbacea4b2727294beb5436434d2e593021de7fe07604",
|
|
12
|
+
"size": 88262952
|
|
13
|
+
},
|
|
14
|
+
"linux-x64-musl": {
|
|
15
|
+
"name": "reeval-0.19.0-linux-x64-musl",
|
|
16
|
+
"sha256": "b9169da64f0610fe2d8c2d3d3c624753cb6efc17f796bd00f42496ed31afe690",
|
|
17
|
+
"size": 82261552
|
|
18
|
+
},
|
|
19
|
+
"linux-arm64-musl": {
|
|
20
|
+
"name": "reeval-0.19.0-linux-arm64-musl",
|
|
21
|
+
"sha256": "e8e6237a004da7f40e426aef248e367623f6e4ac1de6a5a8df4a2ba5ed2cb549",
|
|
22
|
+
"size": 81398992
|
|
23
|
+
},
|
|
24
|
+
"darwin-x64": {
|
|
25
|
+
"name": "reeval-0.19.0-darwin-x64",
|
|
26
|
+
"sha256": "a5351d0272495e3d48d1f5938f790b15c828231ac1dcb4574df5a169f030e7ba",
|
|
27
|
+
"size": 76296464
|
|
28
|
+
},
|
|
29
|
+
"darwin-arm64": {
|
|
30
|
+
"name": "reeval-0.19.0-darwin-arm64",
|
|
31
|
+
"sha256": "266efdc0631f8d45c34a46ffd64be103150d9404ae8668eae7e456768b5907d1",
|
|
32
|
+
"size": 69244530
|
|
33
|
+
},
|
|
34
|
+
"windows-x64": {
|
|
35
|
+
"name": "reeval-0.19.0-windows-x64.exe",
|
|
36
|
+
"sha256": "7f7d6f48f01734ea1e3155c06d2ad5f32a501b2fb2cf7b7bbb754a3564228cca",
|
|
37
|
+
"size": 93066752
|
|
38
|
+
},
|
|
39
|
+
"linux-x64-baseline": {
|
|
40
|
+
"name": "reeval-0.19.0-linux-x64-baseline",
|
|
41
|
+
"sha256": "dc02245a06b18965165cfe2ab6cfc1b98e5055733ed94e04c8d90e367fb586a4",
|
|
42
|
+
"size": 88290784
|
|
43
|
+
},
|
|
44
|
+
"linux-x64-musl-baseline": {
|
|
45
|
+
"name": "reeval-0.19.0-linux-x64-musl-baseline",
|
|
46
|
+
"sha256": "3e26eeb95cea7fbd4407033abf3c3f9e16054b7b3baa87e79691de8edca2a01c",
|
|
47
|
+
"size": 82261552
|
|
48
|
+
},
|
|
49
|
+
"windows-x64-baseline": {
|
|
50
|
+
"name": "reeval-0.19.0-windows-x64-baseline.exe",
|
|
51
|
+
"sha256": "b129c95c1ffa718e01b39e289d8c291aa22e9aa3509893aeb20a318c6d59e8d4",
|
|
52
|
+
"size": 93066752
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|