reeval-python 0.17.0__tar.gz → 0.17.2__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 (79) hide show
  1. {reeval_python-0.17.0 → reeval_python-0.17.2}/PKG-INFO +1 -1
  2. {reeval_python-0.17.0 → reeval_python-0.17.2}/pyproject.toml +1 -1
  3. {reeval_python-0.17.0 → reeval_python-0.17.2}/src/reeval_python/_wire.py +39 -8
  4. reeval_python-0.17.2/src/reeval_python/binaries.json +55 -0
  5. {reeval_python-0.17.0 → reeval_python-0.17.2}/uv.lock +1 -1
  6. reeval_python-0.17.0/src/reeval_python/binaries.json +0 -55
  7. {reeval_python-0.17.0 → reeval_python-0.17.2}/.gitignore +0 -0
  8. {reeval_python-0.17.0 → reeval_python-0.17.2}/CHANGELOG.md +0 -0
  9. {reeval_python-0.17.0 → reeval_python-0.17.2}/LICENSE +0 -0
  10. {reeval_python-0.17.0 → reeval_python-0.17.2}/README.md +0 -0
  11. {reeval_python-0.17.0 → reeval_python-0.17.2}/package.json +0 -0
  12. {reeval_python-0.17.0 → reeval_python-0.17.2}/src/reeval_python/__init__.py +0 -0
  13. {reeval_python-0.17.0 → reeval_python-0.17.2}/src/reeval_python/__main__.py +0 -0
  14. {reeval_python-0.17.0 → reeval_python-0.17.2}/src/reeval_python/aio.py +0 -0
  15. {reeval_python-0.17.0 → reeval_python-0.17.2}/src/reeval_python/checks.py +0 -0
  16. {reeval_python-0.17.0 → reeval_python-0.17.2}/src/reeval_python/cli.py +0 -0
  17. {reeval_python-0.17.0 → reeval_python-0.17.2}/src/reeval_python/context.py +0 -0
  18. {reeval_python-0.17.0 → reeval_python-0.17.2}/src/reeval_python/declare.py +0 -0
  19. {reeval_python-0.17.0 → reeval_python-0.17.2}/src/reeval_python/environment.py +0 -0
  20. {reeval_python-0.17.0 → reeval_python-0.17.2}/src/reeval_python/errors.py +0 -0
  21. {reeval_python-0.17.0 → reeval_python-0.17.2}/src/reeval_python/expect.py +0 -0
  22. {reeval_python-0.17.0 → reeval_python-0.17.2}/src/reeval_python/options.py +0 -0
  23. {reeval_python-0.17.0 → reeval_python-0.17.2}/src/reeval_python/py.typed +0 -0
  24. {reeval_python-0.17.0 → reeval_python-0.17.2}/src/reeval_python/runner.py +0 -0
  25. {reeval_python-0.17.0 → reeval_python-0.17.2}/src/reeval_python/types.py +0 -0
  26. {reeval_python-0.17.0 → reeval_python-0.17.2}/src/reeval_python/wire.py +0 -0
  27. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/context/abort.eval.py +0 -0
  28. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/context/abort.sync.eval.py +0 -0
  29. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/context/exec-retries.eval.py +0 -0
  30. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/context/exec-retries.sync.eval.py +0 -0
  31. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/context/exec.eval.py +0 -0
  32. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/context/exec.sync.eval.py +0 -0
  33. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/context/expect-fail.eval.py +0 -0
  34. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/context/expect-fail.sync.eval.py +0 -0
  35. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/context/expect.eval.py +0 -0
  36. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/context/expect.sync.eval.py +0 -0
  37. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/context/files.eval.py +0 -0
  38. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/context/files.sync.eval.py +0 -0
  39. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/context/judge.eval.py +0 -0
  40. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/context/judge.sync.eval.py +0 -0
  41. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/context/record.async.eval.py +0 -0
  42. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/context/record.eval.py +0 -0
  43. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/context/send.eval.py +0 -0
  44. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/context/send.sync.eval.py +0 -0
  45. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/context/sync-async.async.eval.py +0 -0
  46. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/context/sync-async.eval.py +0 -0
  47. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/declare/best-of.eval.py +0 -0
  48. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/declare/compare-questions.eval.py +0 -0
  49. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/declare/compare-variants.eval.py +0 -0
  50. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/declare/each-families.eval.py +0 -0
  51. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/declare/egress-cascade.eval.py +0 -0
  52. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/declare/environment-extend.eval.py +0 -0
  53. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/declare/environment-plugin-marketplace.eval.py +0 -0
  54. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/declare/environment-plugins.eval.py +0 -0
  55. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/declare/groups-skip-todo.eval.py +0 -0
  56. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/declare/questions-attempts.eval.py +0 -0
  57. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/declare/questions-group.eval.py +0 -0
  58. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/declare/questions-state.eval.py +0 -0
  59. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/declare/revision.eval.py +0 -0
  60. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/declare/tags.eval.py +0 -0
  61. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/runner_process.py +0 -0
  62. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/stdio_host.py +0 -0
  63. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/test_api.py +0 -0
  64. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/test_checks.py +0 -0
  65. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/test_cli.py +0 -0
  66. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/test_conformance_context.py +0 -0
  67. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/test_conformance_declare.py +0 -0
  68. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/test_load.py +0 -0
  69. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/test_patterns.py +0 -0
  70. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/test_python_wheels.py +0 -0
  71. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/test_runner_attempts.py +0 -0
  72. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/test_runner_checks.py +0 -0
  73. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/test_runner_isolation.py +0 -0
  74. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/test_runner_json.py +0 -0
  75. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/test_runner_misuse.py +0 -0
  76. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/test_runner_sdk.py +0 -0
  77. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/test_runner_stdio.py +0 -0
  78. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/test_source.py +0 -0
  79. {reeval_python-0.17.0 → reeval_python-0.17.2}/tests/test_types.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: reeval-python
3
- Version: 0.17.0
3
+ Version: 0.17.2
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "reeval-python"
3
- version = "0.17.0"
3
+ version = "0.17.2"
4
4
  description = "Python authoring SDK for reeval (*.eval.py eval files)"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -1021,7 +1021,7 @@ class ExecResult(TypedDict):
1021
1021
 
1022
1022
  class FakeHarnessDescriptorToolsItem(TypedDict):
1023
1023
  input: Any
1024
- ok: NotRequired[bool]
1024
+ ok: NotRequired[bool | None]
1025
1025
  output: Any
1026
1026
  tool: str
1027
1027
 
@@ -1034,6 +1034,12 @@ class FakeHarnessDescriptorWithSkill(TypedDict):
1034
1034
 
1035
1035
  # A canned agent for tests and dry runs, made by `fakeHarness()` in `reeval/harness`.
1036
1036
  class FakeHarnessDescriptor(TypedDict):
1037
+ # In Docker, broker the key of the agent `layout` names (`OPENAI_API_KEY` for `codex`,
1038
+ # Cursor's when unset) on that agent's endpoints, as its adapter does: the key stays on the
1039
+ # host, and `exec` steps get a placeholder in its variable, which the egress gateway swaps
1040
+ # in on those endpoints when sent as `Authorization: Bearer <placeholder>`, and refuses on
1041
+ # any other request.
1042
+ brokers: NotRequired[Literal[True]]
1037
1043
  # Simulated turn length, honors the abort signal.
1038
1044
  delayMs: NotRequired[float]
1039
1045
  # Requested reasoning effort, recorded as `effort` on the cell. Use `servedModel` for what
@@ -1079,7 +1085,8 @@ class FakeHarnessDescriptor(TypedDict):
1079
1085
  startTimeout: NotRequired[Duration]
1080
1086
  # The fake agent's final message on every turn; default `Done.`.
1081
1087
  text: NotRequired[str]
1082
- # Tool calls the fake agent reports on every turn, before writing files.
1088
+ # Tool calls the fake agent reports on every turn, before writing files. `ok` defaults to
1089
+ # true; null reports a call whose result never came.
1083
1090
  tools: NotRequired[list[FakeHarnessDescriptorToolsItem]]
1084
1091
  # Files and message used instead when the environment gives the agent a skill.
1085
1092
  withSkill: NotRequired[FakeHarnessDescriptorWithSkill]
@@ -1131,12 +1138,18 @@ class FakeScriptStepError(TypedDict):
1131
1138
  error: str
1132
1139
 
1133
1140
 
1141
+ class FakeScriptStepRefuseKey(TypedDict):
1142
+ refuseKey: str
1143
+
1144
+
1134
1145
  # One action of a scripted fake agent. `exec` is reported as a `shell` tool call whose output is
1135
1146
  # the command's stdout, `write` as file edits, and `reply` is the turn's final message. `mcp`
1136
1147
  # (`'<server>/<tool>'`) starts the environment's stdio MCP server in the sandbox, as an agent
1137
1148
  # would, and calls the tool with no arguments; it's reported as `mcp__<server>__<tool>`. `error`
1138
1149
  # ends the turn there with status `error` and that message, as a provider error would.
1139
- FakeScriptStep: TypeAlias = "FakeScriptStepExec | FakeScriptStepWrite | FakeScriptStepReply | FakeScriptStepMcp | FakeScriptStepError"
1150
+ # `refuseKey` ends it as the model API rejecting the key in that variable would, which makes the
1151
+ # attempt an infra error.
1152
+ FakeScriptStep: TypeAlias = "FakeScriptStepExec | FakeScriptStepWrite | FakeScriptStepReply | FakeScriptStepMcp | FakeScriptStepError | FakeScriptStepRefuseKey"
1140
1153
 
1141
1154
 
1142
1155
  class FileChange(TypedDict):
@@ -1818,6 +1831,9 @@ class TranscriptEventFileEdit(TypedDict):
1818
1831
  removed: float | None
1819
1832
  # True when a shell-like tool or edit ran at least two minutes.
1820
1833
  stalled: NotRequired[bool]
1834
+ # The `toolCallId` of the subagent call whose agent made this call; absent for the agent's
1835
+ # own.
1836
+ subagent: NotRequired[str]
1821
1837
  toolCallId: str
1822
1838
  ts: str
1823
1839
  type: Literal["file-edit"]
@@ -1826,13 +1842,17 @@ class TranscriptEventFileEdit(TypedDict):
1826
1842
  class TranscriptEventWebSearch(TypedDict):
1827
1843
  atMs: float
1828
1844
  durationMs: float | None
1829
- # Whether the search succeeded. Absent means it did.
1830
- ok: NotRequired[bool]
1845
+ # Whether the search succeeded. Absent means it did; null means the harness never reported
1846
+ # its result.
1847
+ ok: NotRequired[bool | None]
1831
1848
  query: str
1832
1849
  # How many sources the harness says it used; Cursor sends no URLs or titles.
1833
1850
  references: float | None
1834
1851
  # True when a shell-like tool or edit ran at least two minutes.
1835
1852
  stalled: NotRequired[bool]
1853
+ # The `toolCallId` of the subagent call whose agent made this call; absent for the agent's
1854
+ # own.
1855
+ subagent: NotRequired[str]
1836
1856
  toolCallId: str
1837
1857
  ts: str
1838
1858
  type: Literal["web-search"]
@@ -1841,9 +1861,13 @@ class TranscriptEventWebSearch(TypedDict):
1841
1861
  class TranscriptEventWebFetch(TypedDict):
1842
1862
  atMs: float
1843
1863
  durationMs: float | None
1844
- ok: bool
1864
+ # Whether the fetch succeeded; null when the harness never reported its result.
1865
+ ok: bool | None
1845
1866
  # True when a shell-like tool or edit ran at least two minutes.
1846
1867
  stalled: NotRequired[bool]
1868
+ # The `toolCallId` of the subagent call whose agent made this call; absent for the agent's
1869
+ # own.
1870
+ subagent: NotRequired[str]
1847
1871
  toolCallId: str
1848
1872
  ts: str
1849
1873
  type: Literal["web-fetch"]
@@ -1854,10 +1878,14 @@ class TranscriptEventTool(TypedDict):
1854
1878
  atMs: float
1855
1879
  durationMs: float | None
1856
1880
  input: Any
1857
- ok: bool
1881
+ # Whether the call succeeded; null when the harness never reported its result.
1882
+ ok: bool | None
1858
1883
  output: Any
1859
1884
  # True when a shell-like tool or edit ran at least two minutes.
1860
1885
  stalled: NotRequired[bool]
1886
+ # The `toolCallId` of the subagent call whose agent made this call; absent for the agent's
1887
+ # own.
1888
+ subagent: NotRequired[str]
1861
1889
  tool: str
1862
1890
  toolCallId: str
1863
1891
  ts: str
@@ -1880,7 +1908,9 @@ class TranscriptEventRetry(TypedDict):
1880
1908
 
1881
1909
  # Normalized agent events. Each tool call is one event, merged with its result; `durationMs` is
1882
1910
  # wall time until the result arrived (Cursor's own `completed_at_ms` can be earlier). Null when
1883
- # the harness never reported the end. Long shell or edit calls set `stalled: true`.
1911
+ # the harness never reported the end. Long shell or edit calls set `stalled: true`. A call the
1912
+ # harness never reported a result for (the turn ended or was cut short first) has `ok: null`: it
1913
+ # isn't known to have failed, and no failure count includes it.
1884
1914
  TranscriptEvent: TypeAlias = "TranscriptEvent1 | TranscriptEventFileEdit | TranscriptEventWebSearch | TranscriptEventWebFetch | TranscriptEventTool | TranscriptEventError | TranscriptEventRetry"
1885
1915
 
1886
1916
 
@@ -1986,6 +2016,7 @@ CAMEL_KEYS: frozenset[str] = frozenset(
1986
2016
  "passRate",
1987
2017
  "providerOptions",
1988
2018
  "readFile",
2019
+ "refuseKey",
1989
2020
  "resolvedModel",
1990
2021
  "servedModel",
1991
2022
  "startHangs",
@@ -0,0 +1,55 @@
1
+ {
2
+ "version": "0.17.2",
3
+ "binaries": {
4
+ "linux-x64": {
5
+ "name": "reeval-0.17.2-linux-x64",
6
+ "sha256": "9249d77d0aa824335e262a3011527444eb0041d7079bf5ec5c6913bd3d013147",
7
+ "size": 90965472
8
+ },
9
+ "linux-arm64": {
10
+ "name": "reeval-0.17.2-linux-arm64",
11
+ "sha256": "e84cd5ef62b180370349633c32b98db6d2bb7f63c6cdd4aa7da1ebbc1ae35eb3",
12
+ "size": 90949928
13
+ },
14
+ "linux-x64-musl": {
15
+ "name": "reeval-0.17.2-linux-x64-musl",
16
+ "sha256": "22437bcc8b2d19244d8bd0fc160837f4597cda09803ccdabfb36152bae0eb623",
17
+ "size": 84936240
18
+ },
19
+ "linux-arm64-musl": {
20
+ "name": "reeval-0.17.2-linux-arm64-musl",
21
+ "sha256": "c98b8072a59d85c342d1e9dec06ad2d46b0831779a51951ad433a1866fa442f2",
22
+ "size": 84085968
23
+ },
24
+ "darwin-x64": {
25
+ "name": "reeval-0.17.2-darwin-x64",
26
+ "sha256": "f7e2812061c8ac4e575abd2f817341e81212269fb3d9bbee400c8a71b7989d41",
27
+ "size": 78983440
28
+ },
29
+ "darwin-arm64": {
30
+ "name": "reeval-0.17.2-darwin-arm64",
31
+ "sha256": "e93c4dc57ea7aadfd730d69b497d51f3504ac15aa4d0e112d4cd2308171d14f6",
32
+ "size": 71952498
33
+ },
34
+ "windows-x64": {
35
+ "name": "reeval-0.17.2-windows-x64.exe",
36
+ "sha256": "9bebb0761af4ac30c9dd0fc4c5fbfb5849add5a6709cd63d1bf7d329f05b7154",
37
+ "size": 95740928
38
+ },
39
+ "linux-x64-baseline": {
40
+ "name": "reeval-0.17.2-linux-x64-baseline",
41
+ "sha256": "9f7f3c85bf49c29f73baf1a5ca39cccbd26ac17a5ec63011e77ebe0dc597b32c",
42
+ "size": 90965472
43
+ },
44
+ "linux-x64-musl-baseline": {
45
+ "name": "reeval-0.17.2-linux-x64-musl-baseline",
46
+ "sha256": "9a7c65ede8bf0c3694e3761cb1663a74c8c622b57ce9bab1584382ee660db178",
47
+ "size": 84936240
48
+ },
49
+ "windows-x64-baseline": {
50
+ "name": "reeval-0.17.2-windows-x64-baseline.exe",
51
+ "sha256": "7d2149b0bbc6ff54bcbb28254fea9b3bd5e86c2da7a81e1ada87d7fd037b882f",
52
+ "size": 95740928
53
+ }
54
+ }
55
+ }
@@ -87,7 +87,7 @@ wheels = [
87
87
 
88
88
  [[package]]
89
89
  name = "reeval-python"
90
- version = "0.17.0"
90
+ version = "0.17.2"
91
91
  source = { editable = "." }
92
92
 
93
93
  [package.dev-dependencies]
@@ -1,55 +0,0 @@
1
- {
2
- "version": "0.17.0",
3
- "binaries": {
4
- "linux-x64": {
5
- "name": "reeval-0.17.0-linux-x64",
6
- "sha256": "167a2c024339b814ae96a06c896a6b63ec5e55859306720180a0ea3f36497374",
7
- "size": 90895840
8
- },
9
- "linux-arm64": {
10
- "name": "reeval-0.17.0-linux-arm64",
11
- "sha256": "875f0a0651e69d4f4a730da2bd474d510f0480759c0afddf9288c26c4777a459",
12
- "size": 90884392
13
- },
14
- "linux-x64-musl": {
15
- "name": "reeval-0.17.0-linux-x64-musl",
16
- "sha256": "4db54f5801de5b74b18b9d640c05640501027f078421543aac6f810e2ee64afe",
17
- "size": 84866608
18
- },
19
- "linux-arm64-musl": {
20
- "name": "reeval-0.17.0-linux-arm64-musl",
21
- "sha256": "20dbf7bba2f40b5b33665248ccca542af47d63453017ca14692026a570af4da3",
22
- "size": 84020432
23
- },
24
- "darwin-x64": {
25
- "name": "reeval-0.17.0-darwin-x64",
26
- "sha256": "26bb34c7a17dde11b3253dac53c2b5e6e9e2d4c31a3b0998c116bfca6c363dbc",
27
- "size": 78901520
28
- },
29
- "darwin-arm64": {
30
- "name": "reeval-0.17.0-darwin-arm64",
31
- "sha256": "050c1d1e62c4bb3d077d70b8900677ab477c7232d2ac139d3dffb03635516e93",
32
- "size": 71869938
33
- },
34
- "windows-x64": {
35
- "name": "reeval-0.17.0-windows-x64.exe",
36
- "sha256": "f355207f49881d77083a8a9986584ded82834750a331b0b4a8155bc78ca2bd0c",
37
- "size": 95670784
38
- },
39
- "linux-x64-baseline": {
40
- "name": "reeval-0.17.0-linux-x64-baseline",
41
- "sha256": "1e83472d1ad452f0efa3bc48105363fccb1eb2003fc4b8a6d8e8cbe32715a1d1",
42
- "size": 90895840
43
- },
44
- "linux-x64-musl-baseline": {
45
- "name": "reeval-0.17.0-linux-x64-musl-baseline",
46
- "sha256": "32b889572e318e866f270e019eb8d4693ff5a0a1a16d4921eb143790edc59d13",
47
- "size": 84866608
48
- },
49
- "windows-x64-baseline": {
50
- "name": "reeval-0.17.0-windows-x64-baseline.exe",
51
- "sha256": "c7e705a97681edd99e46f9bd5bdaec9b83cdec96c4e0182c749066d5afc0288e",
52
- "size": 95670784
53
- }
54
- }
55
- }
File without changes
File without changes