verifiers 0.4.2.dev81__py3-none-any.whl → 0.4.2.dev82__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.
- verifiers/v1/cli/validate.py +1 -8
- verifiers/v1/envs/best_of_n_judge/env.py +1 -5
- {verifiers-0.4.2.dev81.dist-info → verifiers-0.4.2.dev82.dist-info}/METADATA +1 -1
- {verifiers-0.4.2.dev81.dist-info → verifiers-0.4.2.dev82.dist-info}/RECORD +7 -7
- {verifiers-0.4.2.dev81.dist-info → verifiers-0.4.2.dev82.dist-info}/WHEEL +0 -0
- {verifiers-0.4.2.dev81.dist-info → verifiers-0.4.2.dev82.dist-info}/entry_points.txt +0 -0
- {verifiers-0.4.2.dev81.dist-info → verifiers-0.4.2.dev82.dist-info}/licenses/LICENSE +0 -0
verifiers/v1/cli/validate.py
CHANGED
|
@@ -18,7 +18,7 @@ from pydantic_config import cli
|
|
|
18
18
|
from pydantic_core import from_json
|
|
19
19
|
|
|
20
20
|
import verifiers.v1 as vf
|
|
21
|
-
from verifiers.v1.cli.output import write_config
|
|
21
|
+
from verifiers.v1.cli.output import output_path, write_config
|
|
22
22
|
from verifiers.v1.cli.resolve import (
|
|
23
23
|
extract_id,
|
|
24
24
|
narrow_taskset_config,
|
|
@@ -86,13 +86,6 @@ def validation_mode(config: ValidateConfig) -> str:
|
|
|
86
86
|
return "all"
|
|
87
87
|
|
|
88
88
|
|
|
89
|
-
def output_path(config: ValidateConfig) -> Path:
|
|
90
|
-
"""Where this run writes: `output_dir / run.dir` — the same grouping convention as
|
|
91
|
-
eval and training."""
|
|
92
|
-
assert config.run.dir is not None
|
|
93
|
-
return config.output_dir / config.run.dir
|
|
94
|
-
|
|
95
|
-
|
|
96
89
|
def _write_rows(path: Path, rows: Sequence[ResultRow]) -> None:
|
|
97
90
|
tmp = path.with_suffix(f"{path.suffix}.tmp")
|
|
98
91
|
with tmp.open("w", encoding="utf-8") as f:
|
|
@@ -19,6 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field
|
|
|
19
19
|
import verifiers.v1 as vf
|
|
20
20
|
from verifiers.v1.envs.agentic_judge.env import (
|
|
21
21
|
HIDDEN_REASONING,
|
|
22
|
+
HINT_SECTION,
|
|
22
23
|
VERDICT_FILE,
|
|
23
24
|
JudgeTaskConfig,
|
|
24
25
|
ScoreConfig,
|
|
@@ -42,11 +43,6 @@ never take a trace's word for an outcome you can check.
|
|
|
42
43
|
|
|
43
44
|
{prompt}"""
|
|
44
45
|
|
|
45
|
-
HINT_SECTION = """\
|
|
46
|
-
## Hints
|
|
47
|
-
|
|
48
|
-
{hint}"""
|
|
49
|
-
|
|
50
46
|
WORKSPACE_NOTE = f"""\
|
|
51
47
|
## Your workspace
|
|
52
48
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: verifiers
|
|
3
|
-
Version: 0.4.2.
|
|
3
|
+
Version: 0.4.2.dev82
|
|
4
4
|
Summary: Verifiers: Environments for LLM Reinforcement Learning
|
|
5
5
|
Project-URL: Homepage, https://github.com/primeintellect-ai/verifiers
|
|
6
6
|
Project-URL: Documentation, https://github.com/primeintellect-ai/verifiers
|
|
@@ -26,7 +26,7 @@ verifiers/v1/cli/output.py,sha256=vCscZ-g-sa-SLWDDQNoXBWelC_Je8lBdodvZGOe__eo,32
|
|
|
26
26
|
verifiers/v1/cli/resolve.py,sha256=Q1EHM7wWQo0YkwJA898qtZbYLaIkjIVq3Q7kUp2YIxs,4346
|
|
27
27
|
verifiers/v1/cli/resume.py,sha256=hqV5AxxqeIInJeEZQerQznuijhMNijFEFcHZIltfLdE,470
|
|
28
28
|
verifiers/v1/cli/run.py,sha256=fB3OyDGjj5leA0kCIuKiiMxJfhv_4afIUwT9_KDXXuE,4988
|
|
29
|
-
verifiers/v1/cli/validate.py,sha256=
|
|
29
|
+
verifiers/v1/cli/validate.py,sha256=8jBVzR2oeTt1CykjSDdDLz2O4sxEl7MOlsGgBTDb8xg,20801
|
|
30
30
|
verifiers/v1/clients/__init__.py,sha256=3rXv205sRheGvG8yNDmFwpq8qK9dlt7S_ia1zGWhNk0,598
|
|
31
31
|
verifiers/v1/clients/base.py,sha256=C0G5lRm3nxt1xmPoA2cweBgCnN2KcLepmCYq1vdDrnU,1691
|
|
32
32
|
verifiers/v1/clients/client.py,sha256=STtNVV8h-ZOtBtr1JH-NxXfuiY7Fehiw-l8hFmUTnq4,7880
|
|
@@ -64,7 +64,7 @@ verifiers/v1/envs/agentic_judge/env.py,sha256=AkANEM5mSiGJ-udJWvHKeNMVq4wRcWpXX0
|
|
|
64
64
|
verifiers/v1/envs/best_of_n/__init__.py,sha256=mubASiwXMNIhnQFDccNAc7yZ0OFsOVK8hH8WIx9b2A4,119
|
|
65
65
|
verifiers/v1/envs/best_of_n/env.py,sha256=KEUJBCVqblnXP_lEwm3mjGdaikBMkecz8UjOFPBhxc0,1987
|
|
66
66
|
verifiers/v1/envs/best_of_n_judge/__init__.py,sha256=xEe_uG3CHVa4psZOkbrQV8u9u63HK1iR-jvtuknUZOw,222
|
|
67
|
-
verifiers/v1/envs/best_of_n_judge/env.py,sha256=
|
|
67
|
+
verifiers/v1/envs/best_of_n_judge/env.py,sha256=z5Z3vg3ZItbfwwe8rp9FhoG1Ck9F1mvvpm-Af145jYo,14677
|
|
68
68
|
verifiers/v1/envs/single_agent/__init__.py,sha256=r0edAc_6gtHBhPzeBGVcdHZZqSdCPZnLMje6eVgyz5U,138
|
|
69
69
|
verifiers/v1/envs/single_agent/env.py,sha256=iH-AnS5-5rDZM3MaYFxzaHSVqJAaw9mQJaaJvsDMMX4,854
|
|
70
70
|
verifiers/v1/envs/user_sim/__init__.py,sha256=nnT695HdqjAEouYL5wtVu6MhIp2wf5yuK-EYgxOVx0s,118
|
|
@@ -188,8 +188,8 @@ verifiers/v1/utils/scope.py,sha256=zbs4pj6AVk4jywlAJ3AX0Q0_kzB9dBB02nY-9H4ELdQ,8
|
|
|
188
188
|
verifiers/v1/utils/score.py,sha256=493yJVMw8teCu9JxapxMFPFzI0hNUqdo0Y2nGW4kckk,6200
|
|
189
189
|
verifiers/v1/utils/trace_store.py,sha256=Qo9qvsJAl8PoRUavjQAfUB2VNxmUtYQtU2ejLKPzY9c,3382
|
|
190
190
|
verifiers/v1/utils/version.py,sha256=-obEo_-l9-D8FLef4hYxncOe-uJpxrM1g2Hig_37Sgs,1607
|
|
191
|
-
verifiers-0.4.2.
|
|
192
|
-
verifiers-0.4.2.
|
|
193
|
-
verifiers-0.4.2.
|
|
194
|
-
verifiers-0.4.2.
|
|
195
|
-
verifiers-0.4.2.
|
|
191
|
+
verifiers-0.4.2.dev82.dist-info/METADATA,sha256=W02wskRhknMB3PwW3eJ_VWrIyDceEMZU_87rxMPWw3w,5116
|
|
192
|
+
verifiers-0.4.2.dev82.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
193
|
+
verifiers-0.4.2.dev82.dist-info/entry_points.txt,sha256=qdMg7ajiFpDsHf7tuPMRclJXizu1J6LTWawS5YS0B0I,137
|
|
194
|
+
verifiers-0.4.2.dev82.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
|
|
195
|
+
verifiers-0.4.2.dev82.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|