reeval-python 0.24.0__py3-none-any.whl → 0.26.0__py3-none-any.whl

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/_wire.py CHANGED
@@ -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
  )
@@ -1,55 +1,55 @@
1
1
  {
2
- "version": "0.24.0",
2
+ "version": "0.26.0",
3
3
  "binaries": {
4
4
  "linux-x64": {
5
- "name": "reeval-0.24.0-linux-x64",
6
- "sha256": "83fa67a385c855ab2fbeb90d01f31d07c137b9fdc616f131e1334b61b1ad9007",
7
- "size": 88909280
5
+ "name": "reeval-0.26.0-linux-x64",
6
+ "sha256": "b5b1e2467db3bb1d724830fe1c1ec7c20b8f04b2d9d4350557e9d571c0d17be9",
7
+ "size": 88425952
8
8
  },
9
9
  "linux-arm64": {
10
- "name": "reeval-0.24.0-linux-arm64",
11
- "sha256": "f1d943ab9417003262f57b21e4e10c478e480f71019d2ddcd74e0a7e2db4ee7d",
12
- "size": 88852776
10
+ "name": "reeval-0.26.0-linux-arm64",
11
+ "sha256": "fe2590339b60e10a22e6cf1e4a8390a937a253c30778a71d75cc4fa751adb7eb",
12
+ "size": 88394024
13
13
  },
14
14
  "linux-x64-musl": {
15
- "name": "reeval-0.24.0-linux-x64-musl",
16
- "sha256": "67efe501210472b8e48991af7d10d4d1a33c54e5a2d2f51841aaeeefc10119b6",
17
- "size": 82880048
15
+ "name": "reeval-0.26.0-linux-x64-musl",
16
+ "sha256": "b39916e8c615f1217297e0892e5d030a74b7614ca67a89b198d25f96482c6440",
17
+ "size": 82396720
18
18
  },
19
19
  "linux-arm64-musl": {
20
- "name": "reeval-0.24.0-linux-arm64-musl",
21
- "sha256": "a9449b7993b3bbfb0758ff7a0cdfde0ef1df7182c5cc7ebdea29bef78d539c92",
22
- "size": 81988816
20
+ "name": "reeval-0.26.0-linux-arm64-musl",
21
+ "sha256": "8b4fa04692e8d773e6f683b2cfc21777541390d11c963bab80d8ee1b3190a961",
22
+ "size": 81530064
23
23
  },
24
24
  "darwin-x64": {
25
- "name": "reeval-0.24.0-darwin-x64",
26
- "sha256": "f1a42cd45b3377e7643b137c7e57b8b54aa0668bc04024f10e47034e532de0b2",
27
- "size": 76919056
25
+ "name": "reeval-0.26.0-darwin-x64",
26
+ "sha256": "b096f5b1003036fef0a3b75699d2e22d699538a29adf1b1907338f3f6a9f7462",
27
+ "size": 76443920
28
28
  },
29
29
  "darwin-arm64": {
30
- "name": "reeval-0.24.0-darwin-arm64",
31
- "sha256": "4d053a382cbe199d40eabbda995ce599f3b5a38060b2f94897b3a6634470a8a6",
32
- "size": 69871986
30
+ "name": "reeval-0.26.0-darwin-arm64",
31
+ "sha256": "a7001fc2290ed9c254baff5fa2f95711fa0c76a2ccd5531a316f324620b13e39",
32
+ "size": 69393138
33
33
  },
34
34
  "windows-x64": {
35
- "name": "reeval-0.24.0-windows-x64.exe",
36
- "sha256": "e6e4f8e5bcf97c927dd683833fdf67576e827a89854effd38c7caaf5a4b654d2",
37
- "size": 93683712
35
+ "name": "reeval-0.26.0-windows-x64.exe",
36
+ "sha256": "ae4a39b69b9956e67e55cae0416382cca8e1e20c1502059838353b1e198417a0",
37
+ "size": 93202432
38
38
  },
39
39
  "linux-x64-baseline": {
40
- "name": "reeval-0.24.0-linux-x64-baseline",
41
- "sha256": "6e081c107ca261e5cc7d49fa0bf3bd4aeb7f966dafb743bcad776da1a20981a7",
42
- "size": 88909280
40
+ "name": "reeval-0.26.0-linux-x64-baseline",
41
+ "sha256": "d8a57295b688fa8f7070a3ba99f904d7232bb8cf938c067b7ad79445d2c244b6",
42
+ "size": 88425952
43
43
  },
44
44
  "linux-x64-musl-baseline": {
45
- "name": "reeval-0.24.0-linux-x64-musl-baseline",
46
- "sha256": "7ae0106246ed979df6cabf32615bad8f9786a2dcf993514392ffb6d1e783c57a",
47
- "size": 82880048
45
+ "name": "reeval-0.26.0-linux-x64-musl-baseline",
46
+ "sha256": "309e92e964cf12313975b455313d89a4db2b0dfe86a4c3ec075c95510132a2e7",
47
+ "size": 82396720
48
48
  },
49
49
  "windows-x64-baseline": {
50
- "name": "reeval-0.24.0-windows-x64-baseline.exe",
51
- "sha256": "00f2d75f89d6fbb4164c8cf2b8c27e41c5a24420c95e37e5fc59ac43d3e51e94",
52
- "size": 93683712
50
+ "name": "reeval-0.26.0-windows-x64-baseline.exe",
51
+ "sha256": "c0fc57f2f7c6af8c4730ba73635a743452f1912a4cd3936da429a0b3f3b93e4c",
52
+ "size": 93202432
53
53
  }
54
54
  }
55
55
  }
@@ -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,8 +1,8 @@
1
1
  reeval_python/__init__.py,sha256=R7ALlyTIdakTpdIis7uLcuM2oI21H7lnGUjYB0uRsNY,1435
2
2
  reeval_python/__main__.py,sha256=opVNjZHR3dLJnP_p528E5oz8E-oow6606wwPZ0L0Mto,282
3
- reeval_python/_wire.py,sha256=c_7fOcqi5XA_opMyrFaTYjyT4eCoj7zLVFQT1l-28w8,96060
3
+ reeval_python/_wire.py,sha256=5wDY8dsKpu9eLBGUx2OOVK0hisJriehaPzSSGR58JgE,97633
4
4
  reeval_python/aio.py,sha256=yyi09fi_Bt7N704HRcRJLTGmNHcxyD3bFwevPcMa_Z4,421
5
- reeval_python/binaries.json,sha256=_BnncXawo-vwheaXiqTezvK5hDFaD86KnEVLHaLqctE,1902
5
+ reeval_python/binaries.json,sha256=mrRU2835A-OqqEB7Uy019TkMIkEeairpRD2fet05MD4,1902
6
6
  reeval_python/checks.py,sha256=gYSpLMzMMvZ_neV5siB9cLpUfOwSbax6tj-N8N57NNE,11078
7
7
  reeval_python/cli.py,sha256=J7s5eYCH61laBMzzGIUpIaXpsJ1tKNNcXhc_zQEL10M,18953
8
8
  reeval_python/context.py,sha256=YpZXdBRFCzfOAHIE_B9u7pOEffzWReqUpSRxdo5TMGI,19687
@@ -15,8 +15,8 @@ reeval_python/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  reeval_python/runner.py,sha256=bNwRfHQdeM0PC113G5d0RzFRtHcFMMLj8bE3cnoZKII,21070
16
16
  reeval_python/types.py,sha256=klDaYvx5Wbe9xvIO26xxDzevDOrYcKS48QV-t6R3A0U,3468
17
17
  reeval_python/wire.py,sha256=-l9FAC7-fo4G1U9rZw47Nw44z-spHcs4Kck5IFNQZFY,7275
18
- reeval_python-0.24.0.dist-info/METADATA,sha256=jX33Kw2Ya5CPd-fUutWXXyE3lvNUBgAsLMQ1xgHN30g,10587
19
- reeval_python-0.24.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
20
- reeval_python-0.24.0.dist-info/entry_points.txt,sha256=174mqsaUhMzSZlbOUgyM8P_YN-VXmrGcU8F3H-6Eu7g,50
21
- reeval_python-0.24.0.dist-info/licenses/LICENSE,sha256=ksfhGdGZnBIw2o77d0o71LHzgK-bRGUx1qS6nzYMjK4,11348
22
- reeval_python-0.24.0.dist-info/RECORD,,
18
+ reeval_python-0.26.0.dist-info/METADATA,sha256=bbZk-9wBZSCHpLYSgXHTFeKoox_fenEab9XiH1R34ZQ,10587
19
+ reeval_python-0.26.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
20
+ reeval_python-0.26.0.dist-info/entry_points.txt,sha256=174mqsaUhMzSZlbOUgyM8P_YN-VXmrGcU8F3H-6Eu7g,50
21
+ reeval_python-0.26.0.dist-info/licenses/LICENSE,sha256=ksfhGdGZnBIw2o77d0o71LHzgK-bRGUx1qS6nzYMjK4,11348
22
+ reeval_python-0.26.0.dist-info/RECORD,,