reeval-python 0.23.0__tar.gz → 0.25.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.23.0 → reeval_python-0.25.0}/PKG-INFO +5 -5
- {reeval_python-0.23.0 → reeval_python-0.25.0}/README.md +1 -1
- {reeval_python-0.23.0 → reeval_python-0.25.0}/pyproject.toml +4 -4
- {reeval_python-0.23.0 → reeval_python-0.25.0}/src/reeval_python/_wire.py +52 -25
- reeval_python-0.25.0/src/reeval_python/binaries.json +55 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/src/reeval_python/cli.py +1 -1
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/test_cli.py +1 -1
- {reeval_python-0.23.0 → reeval_python-0.25.0}/uv.lock +1 -1
- reeval_python-0.23.0/src/reeval_python/binaries.json +0 -55
- {reeval_python-0.23.0 → reeval_python-0.25.0}/.gitignore +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/CHANGELOG.md +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/LICENSE +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/package.json +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/src/reeval_python/__init__.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/src/reeval_python/__main__.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/src/reeval_python/aio.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/src/reeval_python/checks.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/src/reeval_python/context.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/src/reeval_python/declare.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/src/reeval_python/environment.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/src/reeval_python/errors.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/src/reeval_python/expect.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/src/reeval_python/options.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/src/reeval_python/py.typed +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/src/reeval_python/runner.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/src/reeval_python/types.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/src/reeval_python/wire.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/abort.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/abort.sync.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/exec-env.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/exec-env.sync.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/exec-retries.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/exec-retries.sync.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/exec.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/exec.sync.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/expect-fail.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/expect-fail.sync.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/expect.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/expect.sync.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/files.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/files.sync.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/judge.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/judge.sync.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/observe.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/observe.sync.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/record.async.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/record.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/send.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/send.sync.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/stay-within.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/sync-async.async.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/context/sync-async.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/declare/best-of.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/declare/cases.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/declare/compare-questions.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/declare/compare-variants.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/declare/egress-cascade.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/declare/environment-extend.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/declare/environment-plugin-marketplace.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/declare/environment-plugins.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/declare/environment-traits.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/declare/groups-skip-todo.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/declare/observe.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/declare/questions-attempts.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/declare/questions-group.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/declare/questions-state.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/declare/revision.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/declare/tags.eval.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/runner_process.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/stdio_host.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/test_api.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/test_checks.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/test_conformance_context.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/test_conformance_declare.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/test_load.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/test_patterns.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/test_python_wheels.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/test_runner_attempts.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/test_runner_checks.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/test_runner_isolation.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/test_runner_json.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/test_runner_misuse.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/test_runner_sdk.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/test_runner_stdio.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/test_source.py +0 -0
- {reeval_python-0.23.0 → reeval_python-0.25.0}/tests/test_types.py +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: reeval-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.25.0
|
|
4
4
|
Summary: Python authoring SDK for reeval (*.eval.py eval files)
|
|
5
5
|
Project-URL: Homepage, https://reeval.ai
|
|
6
|
-
Project-URL: Repository, https://github.com/
|
|
7
|
-
Project-URL: Documentation, https://github.com/
|
|
8
|
-
Project-URL: Issues, https://github.com/
|
|
6
|
+
Project-URL: Repository, https://github.com/reeval-ai/reeval
|
|
7
|
+
Project-URL: Documentation, https://github.com/reeval-ai/reeval/tree/main/packages/reeval-python#readme
|
|
8
|
+
Project-URL: Issues, https://github.com/reeval-ai/reeval/issues
|
|
9
9
|
Author-email: Invertase <oss@invertase.io>
|
|
10
10
|
License-Expression: Apache-2.0
|
|
11
11
|
License-File: LICENSE
|
|
@@ -24,7 +24,7 @@ Description-Content-Type: text/markdown
|
|
|
24
24
|
|
|
25
25
|
# reeval-python
|
|
26
26
|
|
|
27
|
-
Python authoring SDK for [reeval](https://github.com/
|
|
27
|
+
Python authoring SDK for [reeval](https://github.com/reeval-ai/reeval). Write `*.eval.py` files,
|
|
28
28
|
declare evals with the same options as TypeScript, and run them through reeval's language runner
|
|
29
29
|
(over its stdin and stdout, runner protocol 3). Use the reeval-python version that matches your
|
|
30
30
|
reeval: each says which runner protocol it speaks, and refuses another.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# reeval-python
|
|
2
2
|
|
|
3
|
-
Python authoring SDK for [reeval](https://github.com/
|
|
3
|
+
Python authoring SDK for [reeval](https://github.com/reeval-ai/reeval). Write `*.eval.py` files,
|
|
4
4
|
declare evals with the same options as TypeScript, and run them through reeval's language runner
|
|
5
5
|
(over its stdin and stdout, runner protocol 3). Use the reeval-python version that matches your
|
|
6
6
|
reeval: each says which runner protocol it speaks, and refuses another.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "reeval-python"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.25.0"
|
|
4
4
|
description = "Python authoring SDK for reeval (*.eval.py eval files)"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.11"
|
|
@@ -26,9 +26,9 @@ reeval = "reeval_python.cli:main"
|
|
|
26
26
|
|
|
27
27
|
[project.urls]
|
|
28
28
|
Homepage = "https://reeval.ai"
|
|
29
|
-
Repository = "https://github.com/
|
|
30
|
-
Documentation = "https://github.com/
|
|
31
|
-
Issues = "https://github.com/
|
|
29
|
+
Repository = "https://github.com/reeval-ai/reeval"
|
|
30
|
+
Documentation = "https://github.com/reeval-ai/reeval/tree/main/packages/reeval-python#readme"
|
|
31
|
+
Issues = "https://github.com/reeval-ai/reeval/issues"
|
|
32
32
|
|
|
33
33
|
[dependency-groups]
|
|
34
34
|
dev = [
|
|
@@ -64,14 +64,25 @@ class AssertionRecord(TypedDict):
|
|
|
64
64
|
labelled: bool
|
|
65
65
|
# `toHaveFile`, `not.toBe`, `resolves.toBe`, `poll.toBe`.
|
|
66
66
|
matcher: str
|
|
67
|
-
# Why it failed or couldn't answer, cut at 1
|
|
67
|
+
# Why it failed or couldn't answer, or why `expect.skip` marked it not applicable, cut at 1
|
|
68
|
+
# KB.
|
|
68
69
|
message: NotRequired[str]
|
|
70
|
+
# A passing `toHaveFile` / `not.toHaveFile` the agent didn't satisfy (path already matched,
|
|
71
|
+
# or was absent before and after). Optional on older records.
|
|
72
|
+
preSatisfied: NotRequired[bool]
|
|
73
|
+
# Why the check does not apply (`expect.skip`'s second argument).
|
|
74
|
+
reason: NotRequired[str]
|
|
69
75
|
# A failure didn't end the eval's body: an `expect`. False for `expect.require` and for a
|
|
70
|
-
# check that threw, such as Python's `assert`, which end the body when they fail.
|
|
76
|
+
# check that threw, such as Python's `assert`, which end the body when they fail. True for
|
|
77
|
+
# `expect.skip`.
|
|
71
78
|
soft: bool
|
|
72
79
|
# `error`: the matcher couldn't answer (a subject it can't read, an event the harness
|
|
73
|
-
# doesn't report).
|
|
74
|
-
|
|
80
|
+
# doesn't report). `not_applicable`: `expect.skip` (or a language runner's equivalent);
|
|
81
|
+
# never fails the attempt and leaves the check's pass/fail denominator.
|
|
82
|
+
status: Literal["pass", "fail", "error", "not_applicable"]
|
|
83
|
+
# File matcher target: `toHaveFile`'s path, or `path <pattern>` when a pattern was given.
|
|
84
|
+
# Optional on older records and non-file matchers.
|
|
85
|
+
target: NotRequired[str]
|
|
75
86
|
|
|
76
87
|
|
|
77
88
|
# reeval to the runner: the attempt was aborted, as `c.signal` aborts. Calls in flight reply
|
|
@@ -250,6 +261,8 @@ AttemptCall: TypeAlias = "AttemptCallSend | AttemptCallExec | AttemptCallServe |
|
|
|
250
261
|
class AttemptDone(TypedDict):
|
|
251
262
|
# What the body threw, if it threw. A failed `expect.require` is one.
|
|
252
263
|
error: NotRequired[AttemptError]
|
|
264
|
+
# True when the body read turn.status. False when a turn errored and status was never read.
|
|
265
|
+
turnStatusRead: NotRequired[bool]
|
|
253
266
|
type: Literal["done"]
|
|
254
267
|
|
|
255
268
|
|
|
@@ -600,6 +613,24 @@ class ClaudeCodeHarnessDescriptor(TypedDict):
|
|
|
600
613
|
startTimeout: NotRequired[Duration]
|
|
601
614
|
|
|
602
615
|
|
|
616
|
+
# A VM per attempt from reeval's own VM service, made by `cloud()` from `reeval/internal/vm`.
|
|
617
|
+
class CloudSandboxDescriptor(TypedDict):
|
|
618
|
+
# The attempts one machine runs at once, each as a user of its own, as `boat({
|
|
619
|
+
# attemptsPerMachine })` does. Default 1.
|
|
620
|
+
attemptsPerMachine: NotRequired[int]
|
|
621
|
+
# Cell id; defaults to `cloud`, or `cloud:<size>` with a `size`.
|
|
622
|
+
id: NotRequired[str]
|
|
623
|
+
kind: Literal["cloud"]
|
|
624
|
+
# The most attempts on cloud VMs at once, across the run: machines times
|
|
625
|
+
# `attemptsPerMachine`.
|
|
626
|
+
maxConcurrent: NotRequired[float]
|
|
627
|
+
# A machine takes another of the run's attempts once one ends, instead of being deleted, as
|
|
628
|
+
# `boat({ reuse })` does. Default false, one attempt per slot.
|
|
629
|
+
reuse: NotRequired[bool]
|
|
630
|
+
# The machine size. Default `small`.
|
|
631
|
+
size: NotRequired[Literal["small", "medium", "large", "xlarge"]]
|
|
632
|
+
|
|
633
|
+
|
|
603
634
|
# OpenAI's Codex CLI through `@reeval/harness-codex` (`codex exec --json`), made by `codex()`.
|
|
604
635
|
# It runs OpenAI models on an OpenAI API key and reports each turn's tokens, reasoning included.
|
|
605
636
|
class CodexHarnessDescriptor(TypedDict):
|
|
@@ -628,6 +659,9 @@ class ConfigJudgeOptions(TypedDict):
|
|
|
628
659
|
# The gateway the judge's calls go through, by name or by its helper. It skips the config's
|
|
629
660
|
# `gateway` fallback: the plan refuses a gateway that isn't listed or can't serve the model.
|
|
630
661
|
gateway: NotRequired[DirectGatewayDescriptor | OpenRouterGatewayDescriptor | VercelGatewayDescriptor | VertexGatewayDescriptor | Literal["direct", "openrouter", "vercel", "vertex"]]
|
|
662
|
+
# Stable label for this judge call in the record and report. When unset, the report derives
|
|
663
|
+
# one from the `toPass` assertion label or the question text.
|
|
664
|
+
label: NotRequired[str]
|
|
631
665
|
# The most judge calls to this model's provider at once, across the run.
|
|
632
666
|
maxConcurrent: NotRequired[float]
|
|
633
667
|
# `'provider/model'`, or a fake judge.
|
|
@@ -854,6 +888,9 @@ class EnvironmentLayer(TypedDict):
|
|
|
854
888
|
|
|
855
889
|
# What an eval runs in: the declarative, phased spec of one environment.
|
|
856
890
|
class EnvironmentSpec(TypedDict):
|
|
891
|
+
# Short description shown beside the environment in reports; a child's replaces its
|
|
892
|
+
# parent's.
|
|
893
|
+
description: NotRequired[str]
|
|
857
894
|
# Replaces the inherited policy, per phase: a plain policy sets both, `{ setup, agent }` the
|
|
858
895
|
# phases it names. An `extend` child's replaces its parent's the same way.
|
|
859
896
|
egress: NotRequired[Egress]
|
|
@@ -861,6 +898,9 @@ class EnvironmentSpec(TypedDict):
|
|
|
861
898
|
env: NotRequired[EnvVars]
|
|
862
899
|
# Workspace-relative, or `~/` for home.
|
|
863
900
|
files: NotRequired[dict[str, str | HostFile]]
|
|
901
|
+
# Human-readable label for reports; when unset the environment `name` is used. A child's
|
|
902
|
+
# replaces its parent's.
|
|
903
|
+
label: NotRequired[str]
|
|
864
904
|
# MCP servers the agent gets, by name.
|
|
865
905
|
mcp: NotRequired[dict[str, McpServer]]
|
|
866
906
|
# Plugins in Claude Code's layout, made by the `plugin` helper; a child's replaces its
|
|
@@ -960,7 +1000,7 @@ class EvalOptionsDataCompare(TypedDict):
|
|
|
960
1000
|
runs: NotRequired[float | EvalOptionsDataCompareRunsBestOf]
|
|
961
1001
|
# The default machine when the resolved environment omits `sandbox`. Cascades like
|
|
962
1002
|
# `harnesses`. Not an environment: it does not invent skills, files or a name.
|
|
963
|
-
sandbox: NotRequired[BoatSandboxDescriptor | DaytonaSandboxDescriptor | DockerSandboxDescriptor | FakeSandboxDescriptor |
|
|
1003
|
+
sandbox: NotRequired[BoatSandboxDescriptor | CloudSandboxDescriptor | DaytonaSandboxDescriptor | DockerSandboxDescriptor | FakeSandboxDescriptor | TartSandboxDescriptor]
|
|
964
1004
|
# When each attempt's workspace is copied into its directory in `.reeval/runs`: `true` after
|
|
965
1005
|
# the checks, `'turns'` after each `c.send` too, `false` never. Default `true`.
|
|
966
1006
|
snapshot: NotRequired[SnapshotOptions | Literal["turns"] | bool]
|
|
@@ -1036,7 +1076,7 @@ class EvalOptionsData2(TypedDict):
|
|
|
1036
1076
|
runs: NotRequired[float | EvalOptionsData2RunsBestOf]
|
|
1037
1077
|
# The default machine when the resolved environment omits `sandbox`. Cascades like
|
|
1038
1078
|
# `harnesses`. Not an environment: it does not invent skills, files or a name.
|
|
1039
|
-
sandbox: NotRequired[BoatSandboxDescriptor | DaytonaSandboxDescriptor | DockerSandboxDescriptor | FakeSandboxDescriptor |
|
|
1079
|
+
sandbox: NotRequired[BoatSandboxDescriptor | CloudSandboxDescriptor | DaytonaSandboxDescriptor | DockerSandboxDescriptor | FakeSandboxDescriptor | TartSandboxDescriptor]
|
|
1040
1080
|
# When each attempt's workspace is copied into its directory in `.reeval/runs`: `true` after
|
|
1041
1081
|
# the checks, `'turns'` after each `c.send` too, `false` never. Default `true`.
|
|
1042
1082
|
snapshot: NotRequired[SnapshotOptions | Literal["turns"] | bool]
|
|
@@ -1341,24 +1381,6 @@ class HostFile(TypedDict):
|
|
|
1341
1381
|
path: str
|
|
1342
1382
|
|
|
1343
1383
|
|
|
1344
|
-
# A VM per attempt from reeval's own VM service, made by `hosted()` from `reeval/internal/vm`.
|
|
1345
|
-
class HostedSandboxDescriptor(TypedDict):
|
|
1346
|
-
# The attempts one machine runs at once, each as a user of its own, as `boat({
|
|
1347
|
-
# attemptsPerMachine })` does. Default 1.
|
|
1348
|
-
attemptsPerMachine: NotRequired[int]
|
|
1349
|
-
# Cell id; defaults to `hosted`, or `hosted:<size>` with a `size`.
|
|
1350
|
-
id: NotRequired[str]
|
|
1351
|
-
kind: Literal["hosted"]
|
|
1352
|
-
# The most attempts on hosted VMs at once, across the run: machines times
|
|
1353
|
-
# `attemptsPerMachine`.
|
|
1354
|
-
maxConcurrent: NotRequired[float]
|
|
1355
|
-
# A machine takes another of the run's attempts once one ends, instead of being deleted, as
|
|
1356
|
-
# `boat({ reuse })` does. Default false, one attempt per slot.
|
|
1357
|
-
reuse: NotRequired[bool]
|
|
1358
|
-
# The machine size. Default `small`.
|
|
1359
|
-
size: NotRequired[Literal["small", "medium", "large", "xlarge"]]
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
1384
|
class InstallStepRun(TypedDict):
|
|
1363
1385
|
# The shell command.
|
|
1364
1386
|
run: str
|
|
@@ -1446,6 +1468,9 @@ class JudgeCallData(TypedDict):
|
|
|
1446
1468
|
# The gateway the judge's calls go through, by name or by its helper. It skips the config's
|
|
1447
1469
|
# `gateway` fallback: the plan refuses a gateway that isn't listed or can't serve the model.
|
|
1448
1470
|
gateway: NotRequired[Literal["direct", "vercel", "openrouter", "vertex"] | JudgeCallDataGatewayDirect | JudgeCallDataGatewayVercel | JudgeCallDataGatewayOpenrouter | JudgeCallDataGatewayVertex]
|
|
1471
|
+
# Stable label for this judge call in the record and report. When unset, the report derives
|
|
1472
|
+
# one from the `toPass` assertion label or the question text.
|
|
1473
|
+
label: NotRequired[str]
|
|
1449
1474
|
# The most judge calls to this model's provider at once, across the run.
|
|
1450
1475
|
maxConcurrent: NotRequired[int]
|
|
1451
1476
|
# `'provider/model'`, or a fake judge with a numeric score.
|
|
@@ -1783,7 +1808,7 @@ class QuestionOptions(TypedDict):
|
|
|
1783
1808
|
model: NotRequired[str]
|
|
1784
1809
|
|
|
1785
1810
|
|
|
1786
|
-
SandboxDescriptor: TypeAlias = "FakeSandboxDescriptor | DockerSandboxDescriptor | TartSandboxDescriptor | BoatSandboxDescriptor | DaytonaSandboxDescriptor |
|
|
1811
|
+
SandboxDescriptor: TypeAlias = "FakeSandboxDescriptor | DockerSandboxDescriptor | TartSandboxDescriptor | BoatSandboxDescriptor | DaytonaSandboxDescriptor | CloudSandboxDescriptor"
|
|
1787
1812
|
|
|
1788
1813
|
|
|
1789
1814
|
# A host environment variable, redacted everywhere reeval writes and recorded by name only. Made
|
|
@@ -2249,6 +2274,7 @@ CAMEL_KEYS: frozenset[str] = frozenset(
|
|
|
2249
2274
|
"outputTruncated",
|
|
2250
2275
|
"outputView",
|
|
2251
2276
|
"passRate",
|
|
2277
|
+
"preSatisfied",
|
|
2252
2278
|
"providerOptions",
|
|
2253
2279
|
"readFile",
|
|
2254
2280
|
"refuseKey",
|
|
@@ -2259,6 +2285,7 @@ CAMEL_KEYS: frozenset[str] = frozenset(
|
|
|
2259
2285
|
"startedAt",
|
|
2260
2286
|
"toolCallId",
|
|
2261
2287
|
"turnMs",
|
|
2288
|
+
"turnStatusRead",
|
|
2262
2289
|
"withSkill",
|
|
2263
2290
|
}
|
|
2264
2291
|
)
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.25.0",
|
|
3
|
+
"binaries": {
|
|
4
|
+
"linux-x64": {
|
|
5
|
+
"name": "reeval-0.25.0-linux-x64",
|
|
6
|
+
"sha256": "2cd3073f0c4cc57cb10dfc2b83564a19946c6a06a9779e33afc7d1ed58aba674",
|
|
7
|
+
"size": 88274400
|
|
8
|
+
},
|
|
9
|
+
"linux-arm64": {
|
|
10
|
+
"name": "reeval-0.25.0-linux-arm64",
|
|
11
|
+
"sha256": "631e5237e251edc54be8b35b4e131268cdc23e9492168dba2e7d8fb99c4bde98",
|
|
12
|
+
"size": 88262952
|
|
13
|
+
},
|
|
14
|
+
"linux-x64-musl": {
|
|
15
|
+
"name": "reeval-0.25.0-linux-x64-musl",
|
|
16
|
+
"sha256": "b9497d70d4e8d63cb4f7627aab549b2a1aefe6e79ba4f3aacb5ba392a56739f7",
|
|
17
|
+
"size": 82245168
|
|
18
|
+
},
|
|
19
|
+
"linux-arm64-musl": {
|
|
20
|
+
"name": "reeval-0.25.0-linux-arm64-musl",
|
|
21
|
+
"sha256": "5472ed76c3636e65ce6749b7373d5d898b89733a1efcee564b9a71e5b5c22bed",
|
|
22
|
+
"size": 81398992
|
|
23
|
+
},
|
|
24
|
+
"darwin-x64": {
|
|
25
|
+
"name": "reeval-0.25.0-darwin-x64",
|
|
26
|
+
"sha256": "8842d631a2d47b70f282bc0cdc046a51a1d5a89e693be67ad90d2c1386925ccf",
|
|
27
|
+
"size": 76280080
|
|
28
|
+
},
|
|
29
|
+
"darwin-arm64": {
|
|
30
|
+
"name": "reeval-0.25.0-darwin-arm64",
|
|
31
|
+
"sha256": "b98b0372c6b886b473f99f0cc62ba2381b280ce6352d15f75bb4be2c66195858",
|
|
32
|
+
"size": 69228018
|
|
33
|
+
},
|
|
34
|
+
"windows-x64": {
|
|
35
|
+
"name": "reeval-0.25.0-windows-x64.exe",
|
|
36
|
+
"sha256": "62d78a877a3ea509f836e4143f4a92e22c399b43efc3f5a5a949bd29024d2837",
|
|
37
|
+
"size": 93049856
|
|
38
|
+
},
|
|
39
|
+
"linux-x64-baseline": {
|
|
40
|
+
"name": "reeval-0.25.0-linux-x64-baseline",
|
|
41
|
+
"sha256": "54536411b251a0c80436bc775291933c91289be31db57d7ec2a68b7062065ad7",
|
|
42
|
+
"size": 88274400
|
|
43
|
+
},
|
|
44
|
+
"linux-x64-musl-baseline": {
|
|
45
|
+
"name": "reeval-0.25.0-linux-x64-musl-baseline",
|
|
46
|
+
"sha256": "d1ab5e20811e46c684fa0321da7536abed54e8c78cf6c1496de3e0023145b492",
|
|
47
|
+
"size": 82245168
|
|
48
|
+
},
|
|
49
|
+
"windows-x64-baseline": {
|
|
50
|
+
"name": "reeval-0.25.0-windows-x64-baseline.exe",
|
|
51
|
+
"sha256": "384baa3822cf2d7e1a301d39901a89899787e0f509cc6f49a2038e47814d3a8d",
|
|
52
|
+
"size": 93049856
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -307,7 +307,7 @@ def test_an_http_mirror_works_with_a_warning(
|
|
|
307
307
|
|
|
308
308
|
def test_a_redirect_from_https_to_http_is_refused(server: str) -> None:
|
|
309
309
|
class Request:
|
|
310
|
-
full_url = "https://github.com/
|
|
310
|
+
full_url = "https://github.com/reeval-ai/reeval/releases/download/v1/SHA256SUMS"
|
|
311
311
|
|
|
312
312
|
handler = cli._NoDowngrade()
|
|
313
313
|
with pytest.raises(cli.urllib.error.URLError, match="isn't https"):
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "0.23.0",
|
|
3
|
-
"binaries": {
|
|
4
|
-
"linux-x64": {
|
|
5
|
-
"name": "reeval-0.23.0-linux-x64",
|
|
6
|
-
"sha256": "ea0bd2f65eb58794c1a1a52108c5df5a8114c4232498a6ba8642a25c17a37be2",
|
|
7
|
-
"size": 88802784
|
|
8
|
-
},
|
|
9
|
-
"linux-arm64": {
|
|
10
|
-
"name": "reeval-0.23.0-linux-arm64",
|
|
11
|
-
"sha256": "c23b303de87680c8ea7b9c687346d13b1c78a9d4f08826bb515edf843216b47e",
|
|
12
|
-
"size": 88787240
|
|
13
|
-
},
|
|
14
|
-
"linux-x64-musl": {
|
|
15
|
-
"name": "reeval-0.23.0-linux-x64-musl",
|
|
16
|
-
"sha256": "b00067429192058b9da928c60e03342dba40bb7523446f02947f3dc466c00073",
|
|
17
|
-
"size": 82773552
|
|
18
|
-
},
|
|
19
|
-
"linux-arm64-musl": {
|
|
20
|
-
"name": "reeval-0.23.0-linux-arm64-musl",
|
|
21
|
-
"sha256": "63e6404e6e20384e2b0e3d73270dc2bf522721a27d40a0b508437488ea8cb49d",
|
|
22
|
-
"size": 81923280
|
|
23
|
-
},
|
|
24
|
-
"darwin-x64": {
|
|
25
|
-
"name": "reeval-0.23.0-darwin-x64",
|
|
26
|
-
"sha256": "6db8cfd4bed92d89e2eb76ec774667514637ea60a2ef62f9bd99588b5c9b7adc",
|
|
27
|
-
"size": 76820752
|
|
28
|
-
},
|
|
29
|
-
"darwin-arm64": {
|
|
30
|
-
"name": "reeval-0.23.0-darwin-arm64",
|
|
31
|
-
"sha256": "f69ea10d84fea5927d56596392e4b12d05ee815b83d3c7668aa7ab94cbad4385",
|
|
32
|
-
"size": 69772914
|
|
33
|
-
},
|
|
34
|
-
"windows-x64": {
|
|
35
|
-
"name": "reeval-0.23.0-windows-x64.exe",
|
|
36
|
-
"sha256": "750bcb242b03954f1afdf7d4ec2bca609f5104e944ecc68a809abebb4667313c",
|
|
37
|
-
"size": 93579264
|
|
38
|
-
},
|
|
39
|
-
"linux-x64-baseline": {
|
|
40
|
-
"name": "reeval-0.23.0-linux-x64-baseline",
|
|
41
|
-
"sha256": "f403aa2fa19dd93d24bd42c988773a92b251cf19c800565c8b9f3293a2809a5b",
|
|
42
|
-
"size": 88802784
|
|
43
|
-
},
|
|
44
|
-
"linux-x64-musl-baseline": {
|
|
45
|
-
"name": "reeval-0.23.0-linux-x64-musl-baseline",
|
|
46
|
-
"sha256": "f3fce6a3050619f9afcf077d434a296c627d4fea754d2a15d52547aefcfcb552",
|
|
47
|
-
"size": 82773552
|
|
48
|
-
},
|
|
49
|
-
"windows-x64-baseline": {
|
|
50
|
-
"name": "reeval-0.23.0-windows-x64-baseline.exe",
|
|
51
|
-
"sha256": "aa687432276e0eee41d516524b2c201d076076dc95d98641b3e22cde7c13656f",
|
|
52
|
-
"size": 93579264
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{reeval_python-0.23.0 → reeval_python-0.25.0}/tests/declare/environment-plugin-marketplace.eval.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|