reeval-python 0.23.0__py3-none-any.whl → 0.24.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
@@ -600,6 +600,24 @@ class ClaudeCodeHarnessDescriptor(TypedDict):
600
600
  startTimeout: NotRequired[Duration]
601
601
 
602
602
 
603
+ # A VM per attempt from reeval's own VM service, made by `cloud()` from `reeval/internal/vm`.
604
+ class CloudSandboxDescriptor(TypedDict):
605
+ # The attempts one machine runs at once, each as a user of its own, as `boat({
606
+ # attemptsPerMachine })` does. Default 1.
607
+ attemptsPerMachine: NotRequired[int]
608
+ # Cell id; defaults to `cloud`, or `cloud:<size>` with a `size`.
609
+ id: NotRequired[str]
610
+ kind: Literal["cloud"]
611
+ # The most attempts on cloud VMs at once, across the run: machines times
612
+ # `attemptsPerMachine`.
613
+ maxConcurrent: NotRequired[float]
614
+ # A machine takes another of the run's attempts once one ends, instead of being deleted, as
615
+ # `boat({ reuse })` does. Default false, one attempt per slot.
616
+ reuse: NotRequired[bool]
617
+ # The machine size. Default `small`.
618
+ size: NotRequired[Literal["small", "medium", "large", "xlarge"]]
619
+
620
+
603
621
  # OpenAI's Codex CLI through `@reeval/harness-codex` (`codex exec --json`), made by `codex()`.
604
622
  # It runs OpenAI models on an OpenAI API key and reports each turn's tokens, reasoning included.
605
623
  class CodexHarnessDescriptor(TypedDict):
@@ -960,7 +978,7 @@ class EvalOptionsDataCompare(TypedDict):
960
978
  runs: NotRequired[float | EvalOptionsDataCompareRunsBestOf]
961
979
  # The default machine when the resolved environment omits `sandbox`. Cascades like
962
980
  # `harnesses`. Not an environment: it does not invent skills, files or a name.
963
- sandbox: NotRequired[BoatSandboxDescriptor | DaytonaSandboxDescriptor | DockerSandboxDescriptor | FakeSandboxDescriptor | HostedSandboxDescriptor | TartSandboxDescriptor]
981
+ sandbox: NotRequired[BoatSandboxDescriptor | CloudSandboxDescriptor | DaytonaSandboxDescriptor | DockerSandboxDescriptor | FakeSandboxDescriptor | TartSandboxDescriptor]
964
982
  # When each attempt's workspace is copied into its directory in `.reeval/runs`: `true` after
965
983
  # the checks, `'turns'` after each `c.send` too, `false` never. Default `true`.
966
984
  snapshot: NotRequired[SnapshotOptions | Literal["turns"] | bool]
@@ -1036,7 +1054,7 @@ class EvalOptionsData2(TypedDict):
1036
1054
  runs: NotRequired[float | EvalOptionsData2RunsBestOf]
1037
1055
  # The default machine when the resolved environment omits `sandbox`. Cascades like
1038
1056
  # `harnesses`. Not an environment: it does not invent skills, files or a name.
1039
- sandbox: NotRequired[BoatSandboxDescriptor | DaytonaSandboxDescriptor | DockerSandboxDescriptor | FakeSandboxDescriptor | HostedSandboxDescriptor | TartSandboxDescriptor]
1057
+ sandbox: NotRequired[BoatSandboxDescriptor | CloudSandboxDescriptor | DaytonaSandboxDescriptor | DockerSandboxDescriptor | FakeSandboxDescriptor | TartSandboxDescriptor]
1040
1058
  # When each attempt's workspace is copied into its directory in `.reeval/runs`: `true` after
1041
1059
  # the checks, `'turns'` after each `c.send` too, `false` never. Default `true`.
1042
1060
  snapshot: NotRequired[SnapshotOptions | Literal["turns"] | bool]
@@ -1341,24 +1359,6 @@ class HostFile(TypedDict):
1341
1359
  path: str
1342
1360
 
1343
1361
 
1344
- # A VM per attempt from reeval's own VM service, made by `hosted()` from `reeval/internal/vm`.
1345
- class HostedSandboxDescriptor(TypedDict):
1346
- # The attempts one machine runs at once, each as a user of its own, as `boat({
1347
- # attemptsPerMachine })` does. Default 1.
1348
- attemptsPerMachine: NotRequired[int]
1349
- # Cell id; defaults to `hosted`, or `hosted:<size>` with a `size`.
1350
- id: NotRequired[str]
1351
- kind: Literal["hosted"]
1352
- # The most attempts on hosted VMs at once, across the run: machines times
1353
- # `attemptsPerMachine`.
1354
- maxConcurrent: NotRequired[float]
1355
- # A machine takes another of the run's attempts once one ends, instead of being deleted, as
1356
- # `boat({ reuse })` does. Default false, one attempt per slot.
1357
- reuse: NotRequired[bool]
1358
- # The machine size. Default `small`.
1359
- size: NotRequired[Literal["small", "medium", "large", "xlarge"]]
1360
-
1361
-
1362
1362
  class InstallStepRun(TypedDict):
1363
1363
  # The shell command.
1364
1364
  run: str
@@ -1783,7 +1783,7 @@ class QuestionOptions(TypedDict):
1783
1783
  model: NotRequired[str]
1784
1784
 
1785
1785
 
1786
- SandboxDescriptor: TypeAlias = "FakeSandboxDescriptor | DockerSandboxDescriptor | TartSandboxDescriptor | BoatSandboxDescriptor | DaytonaSandboxDescriptor | HostedSandboxDescriptor"
1786
+ SandboxDescriptor: TypeAlias = "FakeSandboxDescriptor | DockerSandboxDescriptor | TartSandboxDescriptor | BoatSandboxDescriptor | DaytonaSandboxDescriptor | CloudSandboxDescriptor"
1787
1787
 
1788
1788
 
1789
1789
  # A host environment variable, redacted everywhere reeval writes and recorded by name only. Made
@@ -1,55 +1,55 @@
1
1
  {
2
- "version": "0.23.0",
2
+ "version": "0.24.0",
3
3
  "binaries": {
4
4
  "linux-x64": {
5
- "name": "reeval-0.23.0-linux-x64",
6
- "sha256": "ea0bd2f65eb58794c1a1a52108c5df5a8114c4232498a6ba8642a25c17a37be2",
7
- "size": 88802784
5
+ "name": "reeval-0.24.0-linux-x64",
6
+ "sha256": "83fa67a385c855ab2fbeb90d01f31d07c137b9fdc616f131e1334b61b1ad9007",
7
+ "size": 88909280
8
8
  },
9
9
  "linux-arm64": {
10
- "name": "reeval-0.23.0-linux-arm64",
11
- "sha256": "c23b303de87680c8ea7b9c687346d13b1c78a9d4f08826bb515edf843216b47e",
12
- "size": 88787240
10
+ "name": "reeval-0.24.0-linux-arm64",
11
+ "sha256": "f1d943ab9417003262f57b21e4e10c478e480f71019d2ddcd74e0a7e2db4ee7d",
12
+ "size": 88852776
13
13
  },
14
14
  "linux-x64-musl": {
15
- "name": "reeval-0.23.0-linux-x64-musl",
16
- "sha256": "b00067429192058b9da928c60e03342dba40bb7523446f02947f3dc466c00073",
17
- "size": 82773552
15
+ "name": "reeval-0.24.0-linux-x64-musl",
16
+ "sha256": "67efe501210472b8e48991af7d10d4d1a33c54e5a2d2f51841aaeeefc10119b6",
17
+ "size": 82880048
18
18
  },
19
19
  "linux-arm64-musl": {
20
- "name": "reeval-0.23.0-linux-arm64-musl",
21
- "sha256": "63e6404e6e20384e2b0e3d73270dc2bf522721a27d40a0b508437488ea8cb49d",
22
- "size": 81923280
20
+ "name": "reeval-0.24.0-linux-arm64-musl",
21
+ "sha256": "a9449b7993b3bbfb0758ff7a0cdfde0ef1df7182c5cc7ebdea29bef78d539c92",
22
+ "size": 81988816
23
23
  },
24
24
  "darwin-x64": {
25
- "name": "reeval-0.23.0-darwin-x64",
26
- "sha256": "6db8cfd4bed92d89e2eb76ec774667514637ea60a2ef62f9bd99588b5c9b7adc",
27
- "size": 76820752
25
+ "name": "reeval-0.24.0-darwin-x64",
26
+ "sha256": "f1a42cd45b3377e7643b137c7e57b8b54aa0668bc04024f10e47034e532de0b2",
27
+ "size": 76919056
28
28
  },
29
29
  "darwin-arm64": {
30
- "name": "reeval-0.23.0-darwin-arm64",
31
- "sha256": "f69ea10d84fea5927d56596392e4b12d05ee815b83d3c7668aa7ab94cbad4385",
32
- "size": 69772914
30
+ "name": "reeval-0.24.0-darwin-arm64",
31
+ "sha256": "4d053a382cbe199d40eabbda995ce599f3b5a38060b2f94897b3a6634470a8a6",
32
+ "size": 69871986
33
33
  },
34
34
  "windows-x64": {
35
- "name": "reeval-0.23.0-windows-x64.exe",
36
- "sha256": "750bcb242b03954f1afdf7d4ec2bca609f5104e944ecc68a809abebb4667313c",
37
- "size": 93579264
35
+ "name": "reeval-0.24.0-windows-x64.exe",
36
+ "sha256": "e6e4f8e5bcf97c927dd683833fdf67576e827a89854effd38c7caaf5a4b654d2",
37
+ "size": 93683712
38
38
  },
39
39
  "linux-x64-baseline": {
40
- "name": "reeval-0.23.0-linux-x64-baseline",
41
- "sha256": "f403aa2fa19dd93d24bd42c988773a92b251cf19c800565c8b9f3293a2809a5b",
42
- "size": 88802784
40
+ "name": "reeval-0.24.0-linux-x64-baseline",
41
+ "sha256": "6e081c107ca261e5cc7d49fa0bf3bd4aeb7f966dafb743bcad776da1a20981a7",
42
+ "size": 88909280
43
43
  },
44
44
  "linux-x64-musl-baseline": {
45
- "name": "reeval-0.23.0-linux-x64-musl-baseline",
46
- "sha256": "f3fce6a3050619f9afcf077d434a296c627d4fea754d2a15d52547aefcfcb552",
47
- "size": 82773552
45
+ "name": "reeval-0.24.0-linux-x64-musl-baseline",
46
+ "sha256": "7ae0106246ed979df6cabf32615bad8f9786a2dcf993514392ffb6d1e783c57a",
47
+ "size": 82880048
48
48
  },
49
49
  "windows-x64-baseline": {
50
- "name": "reeval-0.23.0-windows-x64-baseline.exe",
51
- "sha256": "aa687432276e0eee41d516524b2c201d076076dc95d98641b3e22cde7c13656f",
52
- "size": 93579264
50
+ "name": "reeval-0.24.0-windows-x64-baseline.exe",
51
+ "sha256": "00f2d75f89d6fbb4164c8cf2b8c27e41c5a24420c95e37e5fc59ac43d3e51e94",
52
+ "size": 93683712
53
53
  }
54
54
  }
55
55
  }
reeval_python/cli.py CHANGED
@@ -29,7 +29,7 @@ from importlib.metadata import version as dist_version
29
29
  from pathlib import Path
30
30
  from typing import Any
31
31
 
32
- REPO = "invertase/reeval"
32
+ REPO = "reeval-ai/reeval"
33
33
  TIMEOUT = 60
34
34
  WINDOWS = sys.platform == "win32"
35
35
 
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: reeval-python
3
- Version: 0.23.0
3
+ Version: 0.24.0
4
4
  Summary: Python authoring SDK for reeval (*.eval.py eval files)
5
5
  Project-URL: Homepage, https://reeval.ai
6
- Project-URL: Repository, https://github.com/invertase/reeval
7
- Project-URL: Documentation, https://github.com/invertase/reeval/tree/main/packages/reeval-python#readme
8
- Project-URL: Issues, https://github.com/invertase/reeval/issues
6
+ Project-URL: Repository, https://github.com/reeval-ai/reeval
7
+ Project-URL: Documentation, https://github.com/reeval-ai/reeval/tree/main/packages/reeval-python#readme
8
+ Project-URL: Issues, https://github.com/reeval-ai/reeval/issues
9
9
  Author-email: Invertase <oss@invertase.io>
10
10
  License-Expression: Apache-2.0
11
11
  License-File: LICENSE
@@ -24,7 +24,7 @@ Description-Content-Type: text/markdown
24
24
 
25
25
  # reeval-python
26
26
 
27
- Python authoring SDK for [reeval](https://github.com/invertase/reeval). Write `*.eval.py` files,
27
+ Python authoring SDK for [reeval](https://github.com/reeval-ai/reeval). Write `*.eval.py` files,
28
28
  declare evals with the same options as TypeScript, and run them through reeval's language runner
29
29
  (over its stdin and stdout, runner protocol 3). Use the reeval-python version that matches your
30
30
  reeval: each says which runner protocol it speaks, and refuses another.
@@ -1,10 +1,10 @@
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=bhfxt4LtNapplGh4LfJqK8N_hPT8SPEz9Ej70KCDYG8,96069
3
+ reeval_python/_wire.py,sha256=c_7fOcqi5XA_opMyrFaTYjyT4eCoj7zLVFQT1l-28w8,96060
4
4
  reeval_python/aio.py,sha256=yyi09fi_Bt7N704HRcRJLTGmNHcxyD3bFwevPcMa_Z4,421
5
- reeval_python/binaries.json,sha256=ZK0dcek1b-AwY7WK_RQlylO9XGWLMrWoh6i3chBpl6E,1902
5
+ reeval_python/binaries.json,sha256=_BnncXawo-vwheaXiqTezvK5hDFaD86KnEVLHaLqctE,1902
6
6
  reeval_python/checks.py,sha256=gYSpLMzMMvZ_neV5siB9cLpUfOwSbax6tj-N8N57NNE,11078
7
- reeval_python/cli.py,sha256=qyXObxNbWoisgQCo0tEhqDh0oM141dQ77Jqung60Vv0,18953
7
+ reeval_python/cli.py,sha256=J7s5eYCH61laBMzzGIUpIaXpsJ1tKNNcXhc_zQEL10M,18953
8
8
  reeval_python/context.py,sha256=YpZXdBRFCzfOAHIE_B9u7pOEffzWReqUpSRxdo5TMGI,19687
9
9
  reeval_python/declare.py,sha256=fib97hfQHPbVdjDukcbkcpboozSuhLmCkWe6oc9jSA0,23048
10
10
  reeval_python/environment.py,sha256=2TA8z_NvvXwid9OIHIKknglasN5-tHunsDLHLM02eGg,6713
@@ -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.23.0.dist-info/METADATA,sha256=CEYON_8IoVBzYQ2jbTltSavh2ekWXSAA6s0Gmaba6do,10587
19
- reeval_python-0.23.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
20
- reeval_python-0.23.0.dist-info/entry_points.txt,sha256=174mqsaUhMzSZlbOUgyM8P_YN-VXmrGcU8F3H-6Eu7g,50
21
- reeval_python-0.23.0.dist-info/licenses/LICENSE,sha256=ksfhGdGZnBIw2o77d0o71LHzgK-bRGUx1qS6nzYMjK4,11348
22
- reeval_python-0.23.0.dist-info/RECORD,,
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,,