reeval-python 0.17.0__tar.gz → 0.17.1__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.1}/PKG-INFO +1 -1
  2. {reeval_python-0.17.0 → reeval_python-0.17.1}/pyproject.toml +1 -1
  3. {reeval_python-0.17.0 → reeval_python-0.17.1}/src/reeval_python/_wire.py +27 -8
  4. reeval_python-0.17.1/src/reeval_python/binaries.json +55 -0
  5. {reeval_python-0.17.0 → reeval_python-0.17.1}/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.1}/.gitignore +0 -0
  8. {reeval_python-0.17.0 → reeval_python-0.17.1}/CHANGELOG.md +0 -0
  9. {reeval_python-0.17.0 → reeval_python-0.17.1}/LICENSE +0 -0
  10. {reeval_python-0.17.0 → reeval_python-0.17.1}/README.md +0 -0
  11. {reeval_python-0.17.0 → reeval_python-0.17.1}/package.json +0 -0
  12. {reeval_python-0.17.0 → reeval_python-0.17.1}/src/reeval_python/__init__.py +0 -0
  13. {reeval_python-0.17.0 → reeval_python-0.17.1}/src/reeval_python/__main__.py +0 -0
  14. {reeval_python-0.17.0 → reeval_python-0.17.1}/src/reeval_python/aio.py +0 -0
  15. {reeval_python-0.17.0 → reeval_python-0.17.1}/src/reeval_python/checks.py +0 -0
  16. {reeval_python-0.17.0 → reeval_python-0.17.1}/src/reeval_python/cli.py +0 -0
  17. {reeval_python-0.17.0 → reeval_python-0.17.1}/src/reeval_python/context.py +0 -0
  18. {reeval_python-0.17.0 → reeval_python-0.17.1}/src/reeval_python/declare.py +0 -0
  19. {reeval_python-0.17.0 → reeval_python-0.17.1}/src/reeval_python/environment.py +0 -0
  20. {reeval_python-0.17.0 → reeval_python-0.17.1}/src/reeval_python/errors.py +0 -0
  21. {reeval_python-0.17.0 → reeval_python-0.17.1}/src/reeval_python/expect.py +0 -0
  22. {reeval_python-0.17.0 → reeval_python-0.17.1}/src/reeval_python/options.py +0 -0
  23. {reeval_python-0.17.0 → reeval_python-0.17.1}/src/reeval_python/py.typed +0 -0
  24. {reeval_python-0.17.0 → reeval_python-0.17.1}/src/reeval_python/runner.py +0 -0
  25. {reeval_python-0.17.0 → reeval_python-0.17.1}/src/reeval_python/types.py +0 -0
  26. {reeval_python-0.17.0 → reeval_python-0.17.1}/src/reeval_python/wire.py +0 -0
  27. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/context/abort.eval.py +0 -0
  28. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/context/abort.sync.eval.py +0 -0
  29. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/context/exec-retries.eval.py +0 -0
  30. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/context/exec-retries.sync.eval.py +0 -0
  31. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/context/exec.eval.py +0 -0
  32. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/context/exec.sync.eval.py +0 -0
  33. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/context/expect-fail.eval.py +0 -0
  34. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/context/expect-fail.sync.eval.py +0 -0
  35. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/context/expect.eval.py +0 -0
  36. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/context/expect.sync.eval.py +0 -0
  37. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/context/files.eval.py +0 -0
  38. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/context/files.sync.eval.py +0 -0
  39. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/context/judge.eval.py +0 -0
  40. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/context/judge.sync.eval.py +0 -0
  41. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/context/record.async.eval.py +0 -0
  42. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/context/record.eval.py +0 -0
  43. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/context/send.eval.py +0 -0
  44. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/context/send.sync.eval.py +0 -0
  45. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/context/sync-async.async.eval.py +0 -0
  46. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/context/sync-async.eval.py +0 -0
  47. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/declare/best-of.eval.py +0 -0
  48. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/declare/compare-questions.eval.py +0 -0
  49. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/declare/compare-variants.eval.py +0 -0
  50. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/declare/each-families.eval.py +0 -0
  51. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/declare/egress-cascade.eval.py +0 -0
  52. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/declare/environment-extend.eval.py +0 -0
  53. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/declare/environment-plugin-marketplace.eval.py +0 -0
  54. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/declare/environment-plugins.eval.py +0 -0
  55. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/declare/groups-skip-todo.eval.py +0 -0
  56. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/declare/questions-attempts.eval.py +0 -0
  57. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/declare/questions-group.eval.py +0 -0
  58. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/declare/questions-state.eval.py +0 -0
  59. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/declare/revision.eval.py +0 -0
  60. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/declare/tags.eval.py +0 -0
  61. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/runner_process.py +0 -0
  62. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/stdio_host.py +0 -0
  63. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/test_api.py +0 -0
  64. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/test_checks.py +0 -0
  65. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/test_cli.py +0 -0
  66. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/test_conformance_context.py +0 -0
  67. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/test_conformance_declare.py +0 -0
  68. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/test_load.py +0 -0
  69. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/test_patterns.py +0 -0
  70. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/test_python_wheels.py +0 -0
  71. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/test_runner_attempts.py +0 -0
  72. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/test_runner_checks.py +0 -0
  73. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/test_runner_isolation.py +0 -0
  74. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/test_runner_json.py +0 -0
  75. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/test_runner_misuse.py +0 -0
  76. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/test_runner_sdk.py +0 -0
  77. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/test_runner_stdio.py +0 -0
  78. {reeval_python-0.17.0 → reeval_python-0.17.1}/tests/test_source.py +0 -0
  79. {reeval_python-0.17.0 → reeval_python-0.17.1}/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.1
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.1"
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):
@@ -1826,8 +1839,9 @@ class TranscriptEventFileEdit(TypedDict):
1826
1839
  class TranscriptEventWebSearch(TypedDict):
1827
1840
  atMs: float
1828
1841
  durationMs: float | None
1829
- # Whether the search succeeded. Absent means it did.
1830
- ok: NotRequired[bool]
1842
+ # Whether the search succeeded. Absent means it did; null means the harness never reported
1843
+ # its result.
1844
+ ok: NotRequired[bool | None]
1831
1845
  query: str
1832
1846
  # How many sources the harness says it used; Cursor sends no URLs or titles.
1833
1847
  references: float | None
@@ -1841,7 +1855,8 @@ class TranscriptEventWebSearch(TypedDict):
1841
1855
  class TranscriptEventWebFetch(TypedDict):
1842
1856
  atMs: float
1843
1857
  durationMs: float | None
1844
- ok: bool
1858
+ # Whether the fetch succeeded; null when the harness never reported its result.
1859
+ ok: bool | None
1845
1860
  # True when a shell-like tool or edit ran at least two minutes.
1846
1861
  stalled: NotRequired[bool]
1847
1862
  toolCallId: str
@@ -1854,7 +1869,8 @@ class TranscriptEventTool(TypedDict):
1854
1869
  atMs: float
1855
1870
  durationMs: float | None
1856
1871
  input: Any
1857
- ok: bool
1872
+ # Whether the call succeeded; null when the harness never reported its result.
1873
+ ok: bool | None
1858
1874
  output: Any
1859
1875
  # True when a shell-like tool or edit ran at least two minutes.
1860
1876
  stalled: NotRequired[bool]
@@ -1880,7 +1896,9 @@ class TranscriptEventRetry(TypedDict):
1880
1896
 
1881
1897
  # Normalized agent events. Each tool call is one event, merged with its result; `durationMs` is
1882
1898
  # 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`.
1899
+ # the harness never reported the end. Long shell or edit calls set `stalled: true`. A call the
1900
+ # harness never reported a result for (the turn ended or was cut short first) has `ok: null`: it
1901
+ # isn't known to have failed, and no failure count includes it.
1884
1902
  TranscriptEvent: TypeAlias = "TranscriptEvent1 | TranscriptEventFileEdit | TranscriptEventWebSearch | TranscriptEventWebFetch | TranscriptEventTool | TranscriptEventError | TranscriptEventRetry"
1885
1903
 
1886
1904
 
@@ -1986,6 +2004,7 @@ CAMEL_KEYS: frozenset[str] = frozenset(
1986
2004
  "passRate",
1987
2005
  "providerOptions",
1988
2006
  "readFile",
2007
+ "refuseKey",
1989
2008
  "resolvedModel",
1990
2009
  "servedModel",
1991
2010
  "startHangs",
@@ -0,0 +1,55 @@
1
+ {
2
+ "version": "0.17.1",
3
+ "binaries": {
4
+ "linux-x64": {
5
+ "name": "reeval-0.17.1-linux-x64",
6
+ "sha256": "117ca88bf1afadd9c484ce6888cff731a7014bbd981393fdcbe8c627e7d530e1",
7
+ "size": 90912224
8
+ },
9
+ "linux-arm64": {
10
+ "name": "reeval-0.17.1-linux-arm64",
11
+ "sha256": "117cacddc1f233464752b0001b56db464a1c4841f1bf2fc64b0c5be276a26001",
12
+ "size": 90884392
13
+ },
14
+ "linux-x64-musl": {
15
+ "name": "reeval-0.17.1-linux-x64-musl",
16
+ "sha256": "1ce08e726ed59ceb1f970ec45c407d102890bbd54f336e91631302daf688c020",
17
+ "size": 84882992
18
+ },
19
+ "linux-arm64-musl": {
20
+ "name": "reeval-0.17.1-linux-arm64-musl",
21
+ "sha256": "bf615988c7914ba4466f80dfa9d72f3f8e459da19630fb38d08fffd847582ebf",
22
+ "size": 84020432
23
+ },
24
+ "darwin-x64": {
25
+ "name": "reeval-0.17.1-darwin-x64",
26
+ "sha256": "ea99782b84cdd25df376bbec937aafc24f02f7e39815ca67f83c3e5a6b910bc1",
27
+ "size": 78917904
28
+ },
29
+ "darwin-arm64": {
30
+ "name": "reeval-0.17.1-darwin-arm64",
31
+ "sha256": "f9c004659a72c16b4fd22aaaaf09c87409eba67a2868ac764bf9aa7bc7dfb4d6",
32
+ "size": 71886450
33
+ },
34
+ "windows-x64": {
35
+ "name": "reeval-0.17.1-windows-x64.exe",
36
+ "sha256": "e71a2a2eb070c1dcc2bded80c3f9cb30c30d436e8962fa8ae9914de981dc6876",
37
+ "size": 95691264
38
+ },
39
+ "linux-x64-baseline": {
40
+ "name": "reeval-0.17.1-linux-x64-baseline",
41
+ "sha256": "57abe0e1184727d760facbe902b3e9e3bf934f41772b41e5740447bda5262177",
42
+ "size": 90912224
43
+ },
44
+ "linux-x64-musl-baseline": {
45
+ "name": "reeval-0.17.1-linux-x64-musl-baseline",
46
+ "sha256": "53b1ed4d3a95950e7c043074b5b11c155e61e3da7d9e9e2afdb17c485bf933a6",
47
+ "size": 84882992
48
+ },
49
+ "windows-x64-baseline": {
50
+ "name": "reeval-0.17.1-windows-x64-baseline.exe",
51
+ "sha256": "dae2119cac415f6e4ed29e9218d1408d058d85420ea11fe17efd323d1323aa56",
52
+ "size": 95691264
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.1"
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