verifiers 0.3.2.dev111__py3-none-any.whl → 0.3.2.dev112__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/harness.py +8 -4
- {verifiers-0.3.2.dev111.dist-info → verifiers-0.3.2.dev112.dist-info}/METADATA +1 -1
- {verifiers-0.3.2.dev111.dist-info → verifiers-0.3.2.dev112.dist-info}/RECORD +6 -6
- {verifiers-0.3.2.dev111.dist-info → verifiers-0.3.2.dev112.dist-info}/WHEEL +0 -0
- {verifiers-0.3.2.dev111.dist-info → verifiers-0.3.2.dev112.dist-info}/entry_points.txt +0 -0
- {verifiers-0.3.2.dev111.dist-info → verifiers-0.3.2.dev112.dist-info}/licenses/LICENSE +0 -0
verifiers/v1/harness.py
CHANGED
|
@@ -104,10 +104,8 @@ class Harness(ABC, Generic[ConfigT]):
|
|
|
104
104
|
if isinstance(skill, dict):
|
|
105
105
|
result = await runtime.run(
|
|
106
106
|
[
|
|
107
|
-
"
|
|
107
|
+
"sh",
|
|
108
108
|
"-e",
|
|
109
|
-
"-o",
|
|
110
|
-
"pipefail",
|
|
111
109
|
"-c",
|
|
112
110
|
r"""
|
|
113
111
|
[ -d "$1" ]
|
|
@@ -117,7 +115,13 @@ target=$(CDPATH= cd -- "$2/." && pwd -P)
|
|
|
117
115
|
[ "$source" != "$target" ] || exit 0
|
|
118
116
|
# A source such as "." must not copy the destination back into itself.
|
|
119
117
|
exclude=$(printf '%s' "./${target#"${source%/}/"}" | sed 's/[][\\*?]/\\&/g')
|
|
120
|
-
|
|
118
|
+
# POSIX sh returns only the extractor's status; fd 3 also reports producer failure.
|
|
119
|
+
copy_failed=$(
|
|
120
|
+
exec 3>&1
|
|
121
|
+
{ tar -C "$source" --exclude="$exclude" -cf - . || printf failed >&3; } |
|
|
122
|
+
tar -xpf - -C "$target"
|
|
123
|
+
)
|
|
124
|
+
[ -z "$copy_failed" ]
|
|
121
125
|
""",
|
|
122
126
|
"vf-skills",
|
|
123
127
|
skill["runtime"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: verifiers
|
|
3
|
-
Version: 0.3.2.
|
|
3
|
+
Version: 0.3.2.dev112
|
|
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
|
|
@@ -6,7 +6,7 @@ verifiers/v1/env.py,sha256=Hon7gcepciMYgki_jN4-l4XCcKRZRYuYm7c17nfeiFE,18520
|
|
|
6
6
|
verifiers/v1/episode.py,sha256=Fft0R2W6INAVeJhoE9b8h7L_KQSz7XuxP4FT_XhcsUY,5741
|
|
7
7
|
verifiers/v1/errors.py,sha256=uQySmCUrjDYFkBIii1vBFPiEcPFPQZ9EGpas_6HvcQI,5279
|
|
8
8
|
verifiers/v1/graph.py,sha256=b3Z3lCnsALnAvY82pDnjhODFYakkeLV_hXgGOvbryrQ,40737
|
|
9
|
-
verifiers/v1/harness.py,sha256=
|
|
9
|
+
verifiers/v1/harness.py,sha256=EmOmoen9ACsEgoUoS9-A7jpS2RyDg6ZlDbGo4APHU8E,15367
|
|
10
10
|
verifiers/v1/judge.py,sha256=uqn-djkK2_7Q3kOjkDo6ipOvV_HOvuLa9y6AoDjRux8,9618
|
|
11
11
|
verifiers/v1/rollout.py,sha256=oka3sNdv1EbE6LatFFRMJH-5ti6FcqFuD8xa7oVUyDA,24405
|
|
12
12
|
verifiers/v1/semantic.py,sha256=VQ_buw6Ya6QtRoh_fiYI5Avs5RmIQCfWH0H0bQc4aoc,4704
|
|
@@ -192,8 +192,8 @@ verifiers/v1/utils/prime.py,sha256=UTYRjp9cbjNb6CVmBHda-1wWZAIIfxNOmTyNuT7_wL4,9
|
|
|
192
192
|
verifiers/v1/utils/retries.py,sha256=Y2ZgrAjn-qNkRKZP_RVNL_7EK0iaRcZeCa404lpGYi4,5417
|
|
193
193
|
verifiers/v1/utils/score.py,sha256=493yJVMw8teCu9JxapxMFPFzI0hNUqdo0Y2nGW4kckk,6200
|
|
194
194
|
verifiers/v1/utils/version.py,sha256=-obEo_-l9-D8FLef4hYxncOe-uJpxrM1g2Hig_37Sgs,1607
|
|
195
|
-
verifiers-0.3.2.
|
|
196
|
-
verifiers-0.3.2.
|
|
197
|
-
verifiers-0.3.2.
|
|
198
|
-
verifiers-0.3.2.
|
|
199
|
-
verifiers-0.3.2.
|
|
195
|
+
verifiers-0.3.2.dev112.dist-info/METADATA,sha256=qJEuRSjt1zStO0T5YzJKgFRFpPYO9JSexTwHlt0P5hM,4237
|
|
196
|
+
verifiers-0.3.2.dev112.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
|
|
197
|
+
verifiers-0.3.2.dev112.dist-info/entry_points.txt,sha256=iugElcdWPKbQM7uFF0lZ8iUpHsNr17-BwEAAjJWxV3U,259
|
|
198
|
+
verifiers-0.3.2.dev112.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
|
|
199
|
+
verifiers-0.3.2.dev112.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|