reeval-python 0.24.0__tar.gz → 0.26.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.
Files changed (86) hide show
  1. {reeval_python-0.24.0 → reeval_python-0.26.0}/PKG-INFO +1 -1
  2. {reeval_python-0.24.0 → reeval_python-0.26.0}/pyproject.toml +1 -1
  3. {reeval_python-0.24.0 → reeval_python-0.26.0}/src/reeval_python/_wire.py +31 -4
  4. reeval_python-0.26.0/src/reeval_python/binaries.json +55 -0
  5. {reeval_python-0.24.0 → reeval_python-0.26.0}/uv.lock +1 -1
  6. reeval_python-0.24.0/src/reeval_python/binaries.json +0 -55
  7. {reeval_python-0.24.0 → reeval_python-0.26.0}/.gitignore +0 -0
  8. {reeval_python-0.24.0 → reeval_python-0.26.0}/CHANGELOG.md +0 -0
  9. {reeval_python-0.24.0 → reeval_python-0.26.0}/LICENSE +0 -0
  10. {reeval_python-0.24.0 → reeval_python-0.26.0}/README.md +0 -0
  11. {reeval_python-0.24.0 → reeval_python-0.26.0}/package.json +0 -0
  12. {reeval_python-0.24.0 → reeval_python-0.26.0}/src/reeval_python/__init__.py +0 -0
  13. {reeval_python-0.24.0 → reeval_python-0.26.0}/src/reeval_python/__main__.py +0 -0
  14. {reeval_python-0.24.0 → reeval_python-0.26.0}/src/reeval_python/aio.py +0 -0
  15. {reeval_python-0.24.0 → reeval_python-0.26.0}/src/reeval_python/checks.py +0 -0
  16. {reeval_python-0.24.0 → reeval_python-0.26.0}/src/reeval_python/cli.py +0 -0
  17. {reeval_python-0.24.0 → reeval_python-0.26.0}/src/reeval_python/context.py +0 -0
  18. {reeval_python-0.24.0 → reeval_python-0.26.0}/src/reeval_python/declare.py +0 -0
  19. {reeval_python-0.24.0 → reeval_python-0.26.0}/src/reeval_python/environment.py +0 -0
  20. {reeval_python-0.24.0 → reeval_python-0.26.0}/src/reeval_python/errors.py +0 -0
  21. {reeval_python-0.24.0 → reeval_python-0.26.0}/src/reeval_python/expect.py +0 -0
  22. {reeval_python-0.24.0 → reeval_python-0.26.0}/src/reeval_python/options.py +0 -0
  23. {reeval_python-0.24.0 → reeval_python-0.26.0}/src/reeval_python/py.typed +0 -0
  24. {reeval_python-0.24.0 → reeval_python-0.26.0}/src/reeval_python/runner.py +0 -0
  25. {reeval_python-0.24.0 → reeval_python-0.26.0}/src/reeval_python/types.py +0 -0
  26. {reeval_python-0.24.0 → reeval_python-0.26.0}/src/reeval_python/wire.py +0 -0
  27. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/abort.eval.py +0 -0
  28. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/abort.sync.eval.py +0 -0
  29. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/exec-env.eval.py +0 -0
  30. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/exec-env.sync.eval.py +0 -0
  31. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/exec-retries.eval.py +0 -0
  32. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/exec-retries.sync.eval.py +0 -0
  33. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/exec.eval.py +0 -0
  34. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/exec.sync.eval.py +0 -0
  35. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/expect-fail.eval.py +0 -0
  36. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/expect-fail.sync.eval.py +0 -0
  37. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/expect.eval.py +0 -0
  38. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/expect.sync.eval.py +0 -0
  39. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/files.eval.py +0 -0
  40. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/files.sync.eval.py +0 -0
  41. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/judge.eval.py +0 -0
  42. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/judge.sync.eval.py +0 -0
  43. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/observe.eval.py +0 -0
  44. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/observe.sync.eval.py +0 -0
  45. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/record.async.eval.py +0 -0
  46. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/record.eval.py +0 -0
  47. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/send.eval.py +0 -0
  48. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/send.sync.eval.py +0 -0
  49. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/stay-within.eval.py +0 -0
  50. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/sync-async.async.eval.py +0 -0
  51. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/context/sync-async.eval.py +0 -0
  52. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/declare/best-of.eval.py +0 -0
  53. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/declare/cases.eval.py +0 -0
  54. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/declare/compare-questions.eval.py +0 -0
  55. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/declare/compare-variants.eval.py +0 -0
  56. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/declare/egress-cascade.eval.py +0 -0
  57. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/declare/environment-extend.eval.py +0 -0
  58. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/declare/environment-plugin-marketplace.eval.py +0 -0
  59. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/declare/environment-plugins.eval.py +0 -0
  60. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/declare/environment-traits.eval.py +0 -0
  61. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/declare/groups-skip-todo.eval.py +0 -0
  62. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/declare/observe.eval.py +0 -0
  63. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/declare/questions-attempts.eval.py +0 -0
  64. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/declare/questions-group.eval.py +0 -0
  65. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/declare/questions-state.eval.py +0 -0
  66. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/declare/revision.eval.py +0 -0
  67. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/declare/tags.eval.py +0 -0
  68. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/runner_process.py +0 -0
  69. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/stdio_host.py +0 -0
  70. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/test_api.py +0 -0
  71. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/test_checks.py +0 -0
  72. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/test_cli.py +0 -0
  73. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/test_conformance_context.py +0 -0
  74. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/test_conformance_declare.py +0 -0
  75. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/test_load.py +0 -0
  76. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/test_patterns.py +0 -0
  77. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/test_python_wheels.py +0 -0
  78. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/test_runner_attempts.py +0 -0
  79. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/test_runner_checks.py +0 -0
  80. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/test_runner_isolation.py +0 -0
  81. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/test_runner_json.py +0 -0
  82. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/test_runner_misuse.py +0 -0
  83. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/test_runner_sdk.py +0 -0
  84. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/test_runner_stdio.py +0 -0
  85. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/test_source.py +0 -0
  86. {reeval_python-0.24.0 → reeval_python-0.26.0}/tests/test_types.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: reeval-python
3
- Version: 0.24.0
3
+ Version: 0.26.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/reeval-ai/reeval
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "reeval-python"
3
- version = "0.24.0"
3
+ version = "0.26.0"
4
4
  description = "Python authoring SDK for reeval (*.eval.py eval files)"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -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 KB.
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
- status: Literal["pass", "fail", "error"]
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
 
@@ -646,6 +659,9 @@ class ConfigJudgeOptions(TypedDict):
646
659
  # The gateway the judge's calls go through, by name or by its helper. It skips the config's
647
660
  # `gateway` fallback: the plan refuses a gateway that isn't listed or can't serve the model.
648
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]
649
665
  # The most judge calls to this model's provider at once, across the run.
650
666
  maxConcurrent: NotRequired[float]
651
667
  # `'provider/model'`, or a fake judge.
@@ -872,6 +888,9 @@ class EnvironmentLayer(TypedDict):
872
888
 
873
889
  # What an eval runs in: the declarative, phased spec of one environment.
874
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]
875
894
  # Replaces the inherited policy, per phase: a plain policy sets both, `{ setup, agent }` the
876
895
  # phases it names. An `extend` child's replaces its parent's the same way.
877
896
  egress: NotRequired[Egress]
@@ -879,6 +898,9 @@ class EnvironmentSpec(TypedDict):
879
898
  env: NotRequired[EnvVars]
880
899
  # Workspace-relative, or `~/` for home.
881
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]
882
904
  # MCP servers the agent gets, by name.
883
905
  mcp: NotRequired[dict[str, McpServer]]
884
906
  # Plugins in Claude Code's layout, made by the `plugin` helper; a child's replaces its
@@ -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.
@@ -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.26.0",
3
+ "binaries": {
4
+ "linux-x64": {
5
+ "name": "reeval-0.26.0-linux-x64",
6
+ "sha256": "b5b1e2467db3bb1d724830fe1c1ec7c20b8f04b2d9d4350557e9d571c0d17be9",
7
+ "size": 88425952
8
+ },
9
+ "linux-arm64": {
10
+ "name": "reeval-0.26.0-linux-arm64",
11
+ "sha256": "fe2590339b60e10a22e6cf1e4a8390a937a253c30778a71d75cc4fa751adb7eb",
12
+ "size": 88394024
13
+ },
14
+ "linux-x64-musl": {
15
+ "name": "reeval-0.26.0-linux-x64-musl",
16
+ "sha256": "b39916e8c615f1217297e0892e5d030a74b7614ca67a89b198d25f96482c6440",
17
+ "size": 82396720
18
+ },
19
+ "linux-arm64-musl": {
20
+ "name": "reeval-0.26.0-linux-arm64-musl",
21
+ "sha256": "8b4fa04692e8d773e6f683b2cfc21777541390d11c963bab80d8ee1b3190a961",
22
+ "size": 81530064
23
+ },
24
+ "darwin-x64": {
25
+ "name": "reeval-0.26.0-darwin-x64",
26
+ "sha256": "b096f5b1003036fef0a3b75699d2e22d699538a29adf1b1907338f3f6a9f7462",
27
+ "size": 76443920
28
+ },
29
+ "darwin-arm64": {
30
+ "name": "reeval-0.26.0-darwin-arm64",
31
+ "sha256": "a7001fc2290ed9c254baff5fa2f95711fa0c76a2ccd5531a316f324620b13e39",
32
+ "size": 69393138
33
+ },
34
+ "windows-x64": {
35
+ "name": "reeval-0.26.0-windows-x64.exe",
36
+ "sha256": "ae4a39b69b9956e67e55cae0416382cca8e1e20c1502059838353b1e198417a0",
37
+ "size": 93202432
38
+ },
39
+ "linux-x64-baseline": {
40
+ "name": "reeval-0.26.0-linux-x64-baseline",
41
+ "sha256": "d8a57295b688fa8f7070a3ba99f904d7232bb8cf938c067b7ad79445d2c244b6",
42
+ "size": 88425952
43
+ },
44
+ "linux-x64-musl-baseline": {
45
+ "name": "reeval-0.26.0-linux-x64-musl-baseline",
46
+ "sha256": "309e92e964cf12313975b455313d89a4db2b0dfe86a4c3ec075c95510132a2e7",
47
+ "size": 82396720
48
+ },
49
+ "windows-x64-baseline": {
50
+ "name": "reeval-0.26.0-windows-x64-baseline.exe",
51
+ "sha256": "c0fc57f2f7c6af8c4730ba73635a743452f1912a4cd3936da429a0b3f3b93e4c",
52
+ "size": 93202432
53
+ }
54
+ }
55
+ }
@@ -87,7 +87,7 @@ wheels = [
87
87
 
88
88
  [[package]]
89
89
  name = "reeval-python"
90
- version = "0.24.0"
90
+ version = "0.26.0"
91
91
  source = { editable = "." }
92
92
 
93
93
  [package.dev-dependencies]
@@ -1,55 +0,0 @@
1
- {
2
- "version": "0.24.0",
3
- "binaries": {
4
- "linux-x64": {
5
- "name": "reeval-0.24.0-linux-x64",
6
- "sha256": "83fa67a385c855ab2fbeb90d01f31d07c137b9fdc616f131e1334b61b1ad9007",
7
- "size": 88909280
8
- },
9
- "linux-arm64": {
10
- "name": "reeval-0.24.0-linux-arm64",
11
- "sha256": "f1d943ab9417003262f57b21e4e10c478e480f71019d2ddcd74e0a7e2db4ee7d",
12
- "size": 88852776
13
- },
14
- "linux-x64-musl": {
15
- "name": "reeval-0.24.0-linux-x64-musl",
16
- "sha256": "67efe501210472b8e48991af7d10d4d1a33c54e5a2d2f51841aaeeefc10119b6",
17
- "size": 82880048
18
- },
19
- "linux-arm64-musl": {
20
- "name": "reeval-0.24.0-linux-arm64-musl",
21
- "sha256": "a9449b7993b3bbfb0758ff7a0cdfde0ef1df7182c5cc7ebdea29bef78d539c92",
22
- "size": 81988816
23
- },
24
- "darwin-x64": {
25
- "name": "reeval-0.24.0-darwin-x64",
26
- "sha256": "f1a42cd45b3377e7643b137c7e57b8b54aa0668bc04024f10e47034e532de0b2",
27
- "size": 76919056
28
- },
29
- "darwin-arm64": {
30
- "name": "reeval-0.24.0-darwin-arm64",
31
- "sha256": "4d053a382cbe199d40eabbda995ce599f3b5a38060b2f94897b3a6634470a8a6",
32
- "size": 69871986
33
- },
34
- "windows-x64": {
35
- "name": "reeval-0.24.0-windows-x64.exe",
36
- "sha256": "e6e4f8e5bcf97c927dd683833fdf67576e827a89854effd38c7caaf5a4b654d2",
37
- "size": 93683712
38
- },
39
- "linux-x64-baseline": {
40
- "name": "reeval-0.24.0-linux-x64-baseline",
41
- "sha256": "6e081c107ca261e5cc7d49fa0bf3bd4aeb7f966dafb743bcad776da1a20981a7",
42
- "size": 88909280
43
- },
44
- "linux-x64-musl-baseline": {
45
- "name": "reeval-0.24.0-linux-x64-musl-baseline",
46
- "sha256": "7ae0106246ed979df6cabf32615bad8f9786a2dcf993514392ffb6d1e783c57a",
47
- "size": 82880048
48
- },
49
- "windows-x64-baseline": {
50
- "name": "reeval-0.24.0-windows-x64-baseline.exe",
51
- "sha256": "00f2d75f89d6fbb4164c8cf2b8c27e41c5a24420c95e37e5fc59ac43d3e51e94",
52
- "size": 93683712
53
- }
54
- }
55
- }
File without changes
File without changes