reeval-python 0.16.1__tar.gz → 0.17.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 (79) hide show
  1. {reeval_python-0.16.1 → reeval_python-0.17.0}/PKG-INFO +1 -1
  2. {reeval_python-0.16.1 → reeval_python-0.17.0}/pyproject.toml +1 -1
  3. {reeval_python-0.16.1 → reeval_python-0.17.0}/src/reeval_python/_wire.py +32 -1
  4. reeval_python-0.17.0/src/reeval_python/binaries.json +55 -0
  5. {reeval_python-0.16.1 → reeval_python-0.17.0}/uv.lock +1 -1
  6. reeval_python-0.16.1/src/reeval_python/binaries.json +0 -55
  7. {reeval_python-0.16.1 → reeval_python-0.17.0}/.gitignore +0 -0
  8. {reeval_python-0.16.1 → reeval_python-0.17.0}/CHANGELOG.md +0 -0
  9. {reeval_python-0.16.1 → reeval_python-0.17.0}/LICENSE +0 -0
  10. {reeval_python-0.16.1 → reeval_python-0.17.0}/README.md +0 -0
  11. {reeval_python-0.16.1 → reeval_python-0.17.0}/package.json +0 -0
  12. {reeval_python-0.16.1 → reeval_python-0.17.0}/src/reeval_python/__init__.py +0 -0
  13. {reeval_python-0.16.1 → reeval_python-0.17.0}/src/reeval_python/__main__.py +0 -0
  14. {reeval_python-0.16.1 → reeval_python-0.17.0}/src/reeval_python/aio.py +0 -0
  15. {reeval_python-0.16.1 → reeval_python-0.17.0}/src/reeval_python/checks.py +0 -0
  16. {reeval_python-0.16.1 → reeval_python-0.17.0}/src/reeval_python/cli.py +0 -0
  17. {reeval_python-0.16.1 → reeval_python-0.17.0}/src/reeval_python/context.py +0 -0
  18. {reeval_python-0.16.1 → reeval_python-0.17.0}/src/reeval_python/declare.py +0 -0
  19. {reeval_python-0.16.1 → reeval_python-0.17.0}/src/reeval_python/environment.py +0 -0
  20. {reeval_python-0.16.1 → reeval_python-0.17.0}/src/reeval_python/errors.py +0 -0
  21. {reeval_python-0.16.1 → reeval_python-0.17.0}/src/reeval_python/expect.py +0 -0
  22. {reeval_python-0.16.1 → reeval_python-0.17.0}/src/reeval_python/options.py +0 -0
  23. {reeval_python-0.16.1 → reeval_python-0.17.0}/src/reeval_python/py.typed +0 -0
  24. {reeval_python-0.16.1 → reeval_python-0.17.0}/src/reeval_python/runner.py +0 -0
  25. {reeval_python-0.16.1 → reeval_python-0.17.0}/src/reeval_python/types.py +0 -0
  26. {reeval_python-0.16.1 → reeval_python-0.17.0}/src/reeval_python/wire.py +0 -0
  27. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/context/abort.eval.py +0 -0
  28. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/context/abort.sync.eval.py +0 -0
  29. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/context/exec-retries.eval.py +0 -0
  30. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/context/exec-retries.sync.eval.py +0 -0
  31. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/context/exec.eval.py +0 -0
  32. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/context/exec.sync.eval.py +0 -0
  33. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/context/expect-fail.eval.py +0 -0
  34. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/context/expect-fail.sync.eval.py +0 -0
  35. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/context/expect.eval.py +0 -0
  36. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/context/expect.sync.eval.py +0 -0
  37. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/context/files.eval.py +0 -0
  38. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/context/files.sync.eval.py +0 -0
  39. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/context/judge.eval.py +0 -0
  40. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/context/judge.sync.eval.py +0 -0
  41. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/context/record.async.eval.py +0 -0
  42. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/context/record.eval.py +0 -0
  43. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/context/send.eval.py +0 -0
  44. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/context/send.sync.eval.py +0 -0
  45. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/context/sync-async.async.eval.py +0 -0
  46. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/context/sync-async.eval.py +0 -0
  47. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/declare/best-of.eval.py +0 -0
  48. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/declare/compare-questions.eval.py +0 -0
  49. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/declare/compare-variants.eval.py +0 -0
  50. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/declare/each-families.eval.py +0 -0
  51. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/declare/egress-cascade.eval.py +0 -0
  52. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/declare/environment-extend.eval.py +0 -0
  53. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/declare/environment-plugin-marketplace.eval.py +0 -0
  54. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/declare/environment-plugins.eval.py +0 -0
  55. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/declare/groups-skip-todo.eval.py +0 -0
  56. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/declare/questions-attempts.eval.py +0 -0
  57. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/declare/questions-group.eval.py +0 -0
  58. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/declare/questions-state.eval.py +0 -0
  59. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/declare/revision.eval.py +0 -0
  60. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/declare/tags.eval.py +0 -0
  61. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/runner_process.py +0 -0
  62. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/stdio_host.py +0 -0
  63. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/test_api.py +0 -0
  64. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/test_checks.py +0 -0
  65. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/test_cli.py +0 -0
  66. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/test_conformance_context.py +0 -0
  67. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/test_conformance_declare.py +0 -0
  68. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/test_load.py +0 -0
  69. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/test_patterns.py +0 -0
  70. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/test_python_wheels.py +0 -0
  71. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/test_runner_attempts.py +0 -0
  72. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/test_runner_checks.py +0 -0
  73. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/test_runner_isolation.py +0 -0
  74. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/test_runner_json.py +0 -0
  75. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/test_runner_misuse.py +0 -0
  76. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/test_runner_sdk.py +0 -0
  77. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/test_runner_stdio.py +0 -0
  78. {reeval_python-0.16.1 → reeval_python-0.17.0}/tests/test_source.py +0 -0
  79. {reeval_python-0.16.1 → reeval_python-0.17.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.16.1
3
+ Version: 0.17.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/invertase/reeval
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "reeval-python"
3
- version = "0.16.1"
3
+ version = "0.17.0"
4
4
  description = "Python authoring SDK for reeval (*.eval.py eval files)"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -388,6 +388,20 @@ class AttemptStart(TypedDict):
388
388
  type: Literal["start"]
389
389
 
390
390
 
391
+ class CaptureConsoleItem(TypedDict):
392
+ level: Literal["error", "warning", "info", "log", "debug"]
393
+ source: str
394
+ text: str
395
+ url: NotRequired[str]
396
+
397
+
398
+ class CaptureFailedRequestsItem(TypedDict):
399
+ error: NotRequired[str]
400
+ method: str
401
+ status: NotRequired[float]
402
+ url: str
403
+
404
+
391
405
  # `artifacts/<name>.png` under the attempt directory.
392
406
  class CaptureFile(TypedDict):
393
407
  bytes: float
@@ -395,15 +409,30 @@ class CaptureFile(TypedDict):
395
409
  sha256: str
396
410
 
397
411
 
398
- # What `c.capture()` returns: the PNG is also in the attempt record under `artifacts/`.
412
+ # What `c.capture()` returns: the PNG is also in the attempt record under `artifacts/`, and the
413
+ # page facts in `artifacts/<name>.capture.json` beside it.
399
414
  class Capture(TypedDict):
415
+ # Each message the console showed, in order; at most 100 of each level.
416
+ console: list[CaptureConsoleItem]
417
+ # How many messages, errors and requests the caps left out; absent when none.
418
+ dropped: NotRequired[float]
419
+ # The page errors: each uncaught exception and unhandled promise rejection, with its stack,
420
+ # at most 100.
421
+ errors: list[str]
422
+ # Requests that failed or answered 400 or above, in order, at most 100.
423
+ failedRequests: list[CaptureFailedRequestsItem]
400
424
  # `artifacts/<name>.png` under the attempt directory.
401
425
  file: CaptureFile
426
+ # Where the page ended up, after redirects and client-side routing: a path on the app.
427
+ finalUrl: str
402
428
  name: str
403
429
  # Path on the app, as passed in.
404
430
  path: str
405
431
  # Container port that was tunneled.
406
432
  port: float
433
+ # The HTTP status of the main frame's latest document, after redirects. A full navigation
434
+ # replaces it; a client-side route change keeps it. Absent when no response came.
435
+ status: NotRequired[float]
407
436
  # What the author asked, including `'full-page'`.
408
437
  viewport: CaptureWindow | Literal["full-page"]
409
438
 
@@ -1946,6 +1975,8 @@ CAMEL_KEYS: frozenset[str] = frozenset(
1946
1975
  "durationMs",
1947
1976
  "exitCode",
1948
1977
  "failWith",
1978
+ "failedRequests",
1979
+ "finalUrl",
1949
1980
  "flakeRate",
1950
1981
  "ignoreAbort",
1951
1982
  "matchedBy",
@@ -0,0 +1,55 @@
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
+ }
@@ -87,7 +87,7 @@ wheels = [
87
87
 
88
88
  [[package]]
89
89
  name = "reeval-python"
90
- version = "0.16.1"
90
+ version = "0.17.0"
91
91
  source = { editable = "." }
92
92
 
93
93
  [package.dev-dependencies]
@@ -1,55 +0,0 @@
1
- {
2
- "version": "0.16.1",
3
- "binaries": {
4
- "linux-x64": {
5
- "name": "reeval-0.16.1-linux-x64",
6
- "sha256": "73e71fee55a0e135c151154672d164c520959b7d86592680a945330a3b3e9a87",
7
- "size": 90850784
8
- },
9
- "linux-arm64": {
10
- "name": "reeval-0.16.1-linux-arm64",
11
- "sha256": "34af71236f348b72e8d59d6f94d843a9206fc66a6efcb146790d7b8909ae4dbf",
12
- "size": 90818856
13
- },
14
- "linux-x64-musl": {
15
- "name": "reeval-0.16.1-linux-x64-musl",
16
- "sha256": "63917e66a48931c627cc276d5d21eb423791df59b34e6f8494b4d2521e14d3c8",
17
- "size": 84821552
18
- },
19
- "linux-arm64-musl": {
20
- "name": "reeval-0.16.1-linux-arm64-musl",
21
- "sha256": "dcec7b53a5b4fd469be1a8494acb7fec074e19a35c0b9a646091258623fef832",
22
- "size": 83954896
23
- },
24
- "darwin-x64": {
25
- "name": "reeval-0.16.1-darwin-x64",
26
- "sha256": "1abbb2b1622b70b9a46805875559de8a1e4419c2251a65c1c1de7814a38c0802",
27
- "size": 78868752
28
- },
29
- "darwin-arm64": {
30
- "name": "reeval-0.16.1-darwin-arm64",
31
- "sha256": "1873d2cc545002babcd9a37cc28ec260aae66a81266a83b4a2574b39a92d8f0e",
32
- "size": 71836914
33
- },
34
- "windows-x64": {
35
- "name": "reeval-0.16.1-windows-x64.exe",
36
- "sha256": "a07e766d96117d59b3f4f7eaf4c2b773bf3c522b0fc78fb324f64eb13acdde98",
37
- "size": 95625728
38
- },
39
- "linux-x64-baseline": {
40
- "name": "reeval-0.16.1-linux-x64-baseline",
41
- "sha256": "a2e1e162cff756dc7826c4502d4dc81585884647c04065fdd80b1dacbc1217ed",
42
- "size": 90850784
43
- },
44
- "linux-x64-musl-baseline": {
45
- "name": "reeval-0.16.1-linux-x64-musl-baseline",
46
- "sha256": "5e52012fc5ca36ccda88f7470bdc54cb7a83aae9034bb033e13783f180b932eb",
47
- "size": 84821552
48
- },
49
- "windows-x64-baseline": {
50
- "name": "reeval-0.16.1-windows-x64-baseline.exe",
51
- "sha256": "36c796e423e5ba2331c705cc084a25c7e5b69ed13d7dfddf4ec49ce3367589e3",
52
- "size": 95626240
53
- }
54
- }
55
- }
File without changes
File without changes