verifiers 0.4.2.dev110__py3-none-any.whl → 0.4.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/__init__.py +3 -1
- verifiers/v1/cli/validate.py +4 -9
- verifiers/v1/clients/client.py +1 -1
- verifiers/v1/configs/client.py +2 -1
- verifiers/v1/configs/scoring.py +34 -2
- verifiers/v1/dialects/anthropic.py +13 -9
- verifiers/v1/dialects/base.py +10 -4
- verifiers/v1/dialects/chat.py +6 -1
- verifiers/v1/dialects/responses.py +20 -7
- verifiers/v1/grading.py +108 -5
- verifiers/v1/harnesses/codex/harness.py +6 -0
- verifiers/v1/interception/__init__.py +2 -1
- verifiers/v1/interception/base.py +2 -1
- verifiers/v1/interception/pool.py +2 -3
- verifiers/v1/interception/server.py +143 -76
- verifiers/v1/rollout.py +17 -24
- verifiers/v1/runtimes/base.py +2 -0
- verifiers/v1/runtimes/runtime.py +9 -5
- verifiers/v1/session.py +6 -0
- verifiers/v1/tasksets/harbor/taskset.py +16 -2
- verifiers/v1/trace.py +6 -6
- {verifiers-0.4.2.dev110.dist-info → verifiers-0.4.2.dev112.dist-info}/METADATA +1 -1
- {verifiers-0.4.2.dev110.dist-info → verifiers-0.4.2.dev112.dist-info}/RECORD +26 -26
- {verifiers-0.4.2.dev110.dist-info → verifiers-0.4.2.dev112.dist-info}/WHEEL +0 -0
- {verifiers-0.4.2.dev110.dist-info → verifiers-0.4.2.dev112.dist-info}/entry_points.txt +0 -0
- {verifiers-0.4.2.dev110.dist-info → verifiers-0.4.2.dev112.dist-info}/licenses/LICENSE +0 -0
verifiers/v1/__init__.py
CHANGED
|
@@ -57,7 +57,7 @@ if TYPE_CHECKING:
|
|
|
57
57
|
SubprocessConfig,
|
|
58
58
|
)
|
|
59
59
|
from verifiers.v1.configs.sampling import SamplingConfig
|
|
60
|
-
from verifiers.v1.configs.scoring import ScoringConfig
|
|
60
|
+
from verifiers.v1.configs.scoring import ScoringConfig, ScoringJudgeConfig
|
|
61
61
|
from verifiers.v1.configs.select import (
|
|
62
62
|
SelectCLIConfig,
|
|
63
63
|
SelectConfig,
|
|
@@ -298,6 +298,7 @@ _NAME_TO_MODULE = {
|
|
|
298
298
|
"SamplerSupport": "verifiers.v1.types",
|
|
299
299
|
"SandboxError": "verifiers.v1.errors",
|
|
300
300
|
"ScoringConfig": "verifiers.v1.configs.scoring",
|
|
301
|
+
"ScoringJudgeConfig": "verifiers.v1.configs.scoring",
|
|
301
302
|
"ServicesSpec": "verifiers.v1.runtimes.deployment",
|
|
302
303
|
"Segment": "verifiers.v1.agent",
|
|
303
304
|
"SelectCLIConfig": "verifiers.v1.configs.select",
|
|
@@ -588,6 +589,7 @@ __all__ = [ # noqa: RUF022 - grouped by public API area
|
|
|
588
589
|
"DeploymentConfig",
|
|
589
590
|
"ServicesSpec",
|
|
590
591
|
"ScoringConfig",
|
|
592
|
+
"ScoringJudgeConfig",
|
|
591
593
|
]
|
|
592
594
|
|
|
593
595
|
|
verifiers/v1/cli/validate.py
CHANGED
|
@@ -30,9 +30,8 @@ from verifiers.v1.cli.resume import distribute
|
|
|
30
30
|
from verifiers.v1.configs.cli.validate import ValidateConfig
|
|
31
31
|
from verifiers.v1.errors import TaskError, boundary
|
|
32
32
|
from verifiers.v1.grading import (
|
|
33
|
-
bind_scoring_env,
|
|
34
33
|
grade_task,
|
|
35
|
-
|
|
34
|
+
score_shared,
|
|
36
35
|
verifier_runtime,
|
|
37
36
|
)
|
|
38
37
|
from verifiers.v1.runtimes import make_backend
|
|
@@ -283,13 +282,9 @@ async def _score_untouched(
|
|
|
283
282
|
await grade_task(grader, trace, grading_config, timeouts, policy, deployment)
|
|
284
283
|
else:
|
|
285
284
|
async with asyncio.timeout(task.data.timeout.scoring):
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
await runtime.set_network(
|
|
290
|
-
scoring_network(config.runtime, policy.network)
|
|
291
|
-
)
|
|
292
|
-
await grader.score(trace, runtime, deployment)
|
|
285
|
+
await score_shared(
|
|
286
|
+
grader, trace, runtime, config.runtime, policy, deployment
|
|
287
|
+
)
|
|
293
288
|
if not trace.rewards:
|
|
294
289
|
return None
|
|
295
290
|
return trace.reward < SOLVED
|
verifiers/v1/clients/client.py
CHANGED
verifiers/v1/configs/client.py
CHANGED
|
@@ -67,7 +67,8 @@ class BaseClientConfig(BaseConfig):
|
|
|
67
67
|
"base_url" not in self.model_fields_set
|
|
68
68
|
and self.base_url == DEFAULT_PRIME_INFERENCE_URL
|
|
69
69
|
):
|
|
70
|
-
|
|
70
|
+
# A discovered default must not become an explicit endpoint override.
|
|
71
|
+
object.__setattr__(self, "base_url", prime_base_url)
|
|
71
72
|
return self
|
|
72
73
|
|
|
73
74
|
|
verifiers/v1/configs/scoring.py
CHANGED
|
@@ -2,12 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
from typing import Literal
|
|
4
4
|
|
|
5
|
-
from pydantic import SerializationInfo, field_serializer
|
|
5
|
+
from pydantic import Field, SerializationInfo, field_serializer
|
|
6
6
|
from pydantic_config import BaseConfig
|
|
7
7
|
|
|
8
|
+
from verifiers.v1.configs.client import BaseClientConfig
|
|
8
9
|
from verifiers.v1.configs.retries import RetryConfig
|
|
9
10
|
from verifiers.v1.configs.runtime import NetworkPolicyConfig, RuntimeConfig
|
|
10
|
-
from verifiers.v1.
|
|
11
|
+
from verifiers.v1.configs.sampling import SamplingConfig
|
|
12
|
+
from verifiers.v1.utils.generic import deep_merge, merge_defaults
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class ScoringJudgeConfig(BaseClientConfig):
|
|
16
|
+
"""Host inference for a packaged grader, reached through a temporary endpoint."""
|
|
17
|
+
|
|
18
|
+
model: str | None = None
|
|
19
|
+
"""Override the grader's model; None preserves each request's model."""
|
|
20
|
+
sampling: SamplingConfig = SamplingConfig()
|
|
21
|
+
"""Explicit settings override the grader's request, including provider parameters."""
|
|
22
|
+
env: dict[str, Literal["base_url", "api_key"]] = Field(
|
|
23
|
+
default_factory=lambda: {
|
|
24
|
+
"OPENAI_BASE_URL": "base_url",
|
|
25
|
+
"OPENAI_API_BASE": "base_url",
|
|
26
|
+
"OPENAI_API_KEY": "api_key",
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
"""Grader environment names mapped to the temporary endpoint or session token."""
|
|
30
|
+
|
|
31
|
+
@field_serializer("sampling")
|
|
32
|
+
def serialize_sampling(self, sampling: SamplingConfig) -> dict:
|
|
33
|
+
# Omitted settings must stay omitted after task/config transport.
|
|
34
|
+
return sampling.model_dump(exclude_unset=True)
|
|
11
35
|
|
|
12
36
|
|
|
13
37
|
class ScoringConfig(BaseConfig):
|
|
@@ -17,6 +41,8 @@ class ScoringConfig(BaseConfig):
|
|
|
17
41
|
"""Fresh verifier provider/configuration. None uses the agent's provider policy."""
|
|
18
42
|
env: dict[str, str] | None = None
|
|
19
43
|
"""Scoring-only variables, merged over task defaults and resolved at scoring time."""
|
|
44
|
+
judge: ScoringJudgeConfig | None = None
|
|
45
|
+
"""Route a packaged grader's inference through the host; None leaves it unmanaged."""
|
|
20
46
|
retries: RetryConfig = RetryConfig(max_retries=2)
|
|
21
47
|
"""Retry rules for fresh isolated scoring attempts; shared scoring is not retried."""
|
|
22
48
|
network: NetworkPolicyConfig | None = None
|
|
@@ -63,4 +89,10 @@ def resolve_scoring(task: ScoringConfig, agent: ScoringConfig) -> ScoringConfig:
|
|
|
63
89
|
else {},
|
|
64
90
|
)
|
|
65
91
|
)
|
|
92
|
+
if task.judge is not None and agent.judge is not None:
|
|
93
|
+
updates["judge"] = ScoringJudgeConfig.model_validate(
|
|
94
|
+
deep_merge(
|
|
95
|
+
task.judge.model_dump(), agent.judge.model_dump(exclude_unset=True)
|
|
96
|
+
)
|
|
97
|
+
)
|
|
66
98
|
return task.model_copy(update=updates)
|
|
@@ -464,8 +464,8 @@ class AnthropicDialect(Dialect[AnthropicMessage]):
|
|
|
464
464
|
"output_config",
|
|
465
465
|
}
|
|
466
466
|
)
|
|
467
|
-
routes = ("/v1/messages",)
|
|
468
|
-
aux_routes = ("/v1/messages/count_tokens",)
|
|
467
|
+
routes = ("/v1/messages", "/v1/v1/messages")
|
|
468
|
+
aux_routes = ("/v1/messages/count_tokens", "/v1/v1/messages/count_tokens")
|
|
469
469
|
upstream_path = "/v1/messages"
|
|
470
470
|
response_type = ModdedAnthropicMessage
|
|
471
471
|
|
|
@@ -691,11 +691,16 @@ class AnthropicDialect(Dialect[AnthropicMessage]):
|
|
|
691
691
|
return SamplingConfig.model_validate(settings)
|
|
692
692
|
|
|
693
693
|
def apply_overrides(
|
|
694
|
-
self,
|
|
694
|
+
self,
|
|
695
|
+
body: RawRequest,
|
|
696
|
+
model: str,
|
|
697
|
+
sampling: SamplingConfig,
|
|
698
|
+
*,
|
|
699
|
+
authoritative: bool = True,
|
|
695
700
|
) -> RawRequest:
|
|
696
|
-
# Preserve native fields except
|
|
697
|
-
#
|
|
698
|
-
# the API, so the
|
|
701
|
+
# Preserve native fields except `model` + `sampling`. When `authoritative`,
|
|
702
|
+
# `temperature`/`top_p` are dropped unless set in `sampling`; `max_tokens` is
|
|
703
|
+
# required by the API, so the caller's is kept unless `sampling` sets one.
|
|
699
704
|
s = sampling.model_dump(exclude_none=True)
|
|
700
705
|
reasoning_effort = s.pop("reasoning_effort", None)
|
|
701
706
|
sampling_output_config = s.pop("output_config", None)
|
|
@@ -707,9 +712,8 @@ class AnthropicDialect(Dialect[AnthropicMessage]):
|
|
|
707
712
|
}
|
|
708
713
|
if reasoning_effort is not None:
|
|
709
714
|
overrides["output_config"]["effort"] = reasoning_effort
|
|
715
|
+
drop = ("temperature", "top_p") if authoritative else ()
|
|
710
716
|
steered = {
|
|
711
|
-
k: v
|
|
712
|
-
for k, v in body.items()
|
|
713
|
-
if k not in ("temperature", "top_p") and k not in overrides
|
|
717
|
+
k: v for k, v in body.items() if k not in drop and k not in overrides
|
|
714
718
|
}
|
|
715
719
|
return {**steered, **overrides}
|
verifiers/v1/dialects/base.py
CHANGED
|
@@ -398,8 +398,14 @@ class Dialect(ABC, Generic[RespT]):
|
|
|
398
398
|
|
|
399
399
|
@abstractmethod
|
|
400
400
|
def apply_overrides(
|
|
401
|
-
self,
|
|
401
|
+
self,
|
|
402
|
+
body: RawRequest,
|
|
403
|
+
model: str,
|
|
404
|
+
sampling: SamplingConfig,
|
|
405
|
+
*,
|
|
406
|
+
authoritative: bool = True,
|
|
402
407
|
) -> RawRequest:
|
|
403
|
-
"""Return `body` with
|
|
404
|
-
|
|
405
|
-
|
|
408
|
+
"""Return `body` with `model` + `sampling` imposed in this protocol's shape.
|
|
409
|
+
When `authoritative` is true (eval rollouts), the program's sampling keys are
|
|
410
|
+
dropped and replaced by `sampling`; when false (packaged graders), unset
|
|
411
|
+
sampling keys in `sampling` preserve the caller's request."""
|
verifiers/v1/dialects/chat.py
CHANGED
|
@@ -604,7 +604,12 @@ class ChatDialect(Dialect[ChatCompletion]):
|
|
|
604
604
|
return ChatStreamParser()
|
|
605
605
|
|
|
606
606
|
def apply_overrides(
|
|
607
|
-
self,
|
|
607
|
+
self,
|
|
608
|
+
body: RawRequest,
|
|
609
|
+
model: str,
|
|
610
|
+
sampling: SamplingConfig,
|
|
611
|
+
*,
|
|
612
|
+
authoritative: bool = True,
|
|
608
613
|
) -> RawRequest:
|
|
609
614
|
# Preserve the program's native fields, overlaying only what the eval owns: the model and
|
|
610
615
|
# the sampling knobs it set. The selected model is authoritative even if a permissive
|
|
@@ -750,17 +750,23 @@ class ResponsesDialect(Dialect[OpenAIResponse]):
|
|
|
750
750
|
return ResponsesStreamParser()
|
|
751
751
|
|
|
752
752
|
def apply_overrides(
|
|
753
|
-
self,
|
|
753
|
+
self,
|
|
754
|
+
body: RawRequest,
|
|
755
|
+
model: str,
|
|
756
|
+
sampling: SamplingConfig,
|
|
757
|
+
*,
|
|
758
|
+
authoritative: bool = True,
|
|
754
759
|
) -> RawRequest:
|
|
755
|
-
# Preserve native fields except
|
|
756
|
-
# (`max_tokens` -> `max_output_tokens`)
|
|
760
|
+
# Preserve native fields except `model` + `sampling`, mapped to the Responses shape
|
|
761
|
+
# (`max_tokens` -> `max_output_tokens`).
|
|
757
762
|
s = sampling.model_dump(exclude_none=True)
|
|
758
763
|
max_tokens = s.pop("max_tokens", None)
|
|
759
764
|
reasoning_effort = s.pop("reasoning_effort", None)
|
|
760
765
|
sampling_reasoning = s.pop("reasoning", None)
|
|
761
766
|
name = model.rsplit("/", 1)[-1]
|
|
762
767
|
reasoning_model = (
|
|
763
|
-
|
|
768
|
+
authoritative
|
|
769
|
+
and name.startswith(("gpt-5", "o1", "o3", "o4"))
|
|
764
770
|
and "-chat" not in name
|
|
765
771
|
and ("/" not in model or model.startswith("openai/"))
|
|
766
772
|
)
|
|
@@ -782,9 +788,16 @@ class ResponsesDialect(Dialect[OpenAIResponse]):
|
|
|
782
788
|
reasoning["effort"] = reasoning_effort
|
|
783
789
|
if reasoning:
|
|
784
790
|
overrides["reasoning"] = reasoning
|
|
791
|
+
drop = (
|
|
792
|
+
_SAMPLING_KEYS
|
|
793
|
+
if authoritative
|
|
794
|
+
else (
|
|
795
|
+
{"max_tokens", "max_output_tokens"}
|
|
796
|
+
if "max_output_tokens" in overrides
|
|
797
|
+
else set()
|
|
798
|
+
)
|
|
799
|
+
)
|
|
785
800
|
steered = {
|
|
786
|
-
k: v
|
|
787
|
-
for k, v in body.items()
|
|
788
|
-
if k not in _SAMPLING_KEYS and k not in overrides
|
|
801
|
+
k: v for k, v in body.items() if k not in drop and k not in overrides
|
|
789
802
|
}
|
|
790
803
|
return {**steered, **overrides}
|
verifiers/v1/grading.py
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import asyncio
|
|
4
4
|
import copy
|
|
5
5
|
import logging
|
|
6
|
-
from contextlib import AsyncExitStack, contextmanager
|
|
6
|
+
from contextlib import AsyncExitStack, asynccontextmanager, contextmanager
|
|
7
7
|
from pathlib import PurePosixPath
|
|
8
8
|
|
|
9
9
|
from verifiers.v1.configs.scoring import ScoringConfig
|
|
@@ -101,7 +101,101 @@ def scoring_network(
|
|
|
101
101
|
|
|
102
102
|
def bind_scoring_env(runtime: Runtime, policy: ScoringConfig) -> Runtime:
|
|
103
103
|
"""Bind scoring variables without changing the solver's runtime or backend."""
|
|
104
|
-
|
|
104
|
+
env = dict(policy.env or {})
|
|
105
|
+
if policy.judge is not None:
|
|
106
|
+
# Setup must not resolve provider credentials that the proxy replaces.
|
|
107
|
+
env.update(dict.fromkeys(policy.judge.env, ""))
|
|
108
|
+
return runtime.with_env({**runtime.env, **resolve_env(env)})
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
@asynccontextmanager
|
|
112
|
+
async def scoring_session(
|
|
113
|
+
trace: Trace,
|
|
114
|
+
runtime: Runtime,
|
|
115
|
+
policy: ScoringConfig,
|
|
116
|
+
*,
|
|
117
|
+
interception=None,
|
|
118
|
+
network: NetworkPolicyConfig | None = None,
|
|
119
|
+
):
|
|
120
|
+
"""Bind a revocable inference capability for this scoring attempt only."""
|
|
121
|
+
policy_network = (
|
|
122
|
+
network
|
|
123
|
+
if network is not None
|
|
124
|
+
else runtime.config
|
|
125
|
+
if isinstance(runtime.config, NetworkPolicyConfig)
|
|
126
|
+
else NetworkPolicyConfig()
|
|
127
|
+
)
|
|
128
|
+
if policy.judge is None:
|
|
129
|
+
if network is not None:
|
|
130
|
+
await runtime.set_network(network)
|
|
131
|
+
yield runtime
|
|
132
|
+
return
|
|
133
|
+
|
|
134
|
+
from verifiers.v1.clients import ModelContext, ModelRoute
|
|
135
|
+
from verifiers.v1.interception import serve_interception
|
|
136
|
+
from verifiers.v1.session import RolloutSession
|
|
137
|
+
|
|
138
|
+
judge = policy.judge
|
|
139
|
+
session = RolloutSession(
|
|
140
|
+
ModelRoute(
|
|
141
|
+
ModelContext(model=judge.model or "", client=judge, sampling=judge.sampling)
|
|
142
|
+
),
|
|
143
|
+
trace,
|
|
144
|
+
network_policy=policy_network,
|
|
145
|
+
network_policy_source=lambda: (
|
|
146
|
+
getattr(runtime.backend, "active_network", None) or policy_network
|
|
147
|
+
),
|
|
148
|
+
judge_only=True,
|
|
149
|
+
)
|
|
150
|
+
async with serve_interception(interception, runtime, session, [], {}) as (
|
|
151
|
+
base_url,
|
|
152
|
+
token,
|
|
153
|
+
_,
|
|
154
|
+
):
|
|
155
|
+
connection = {
|
|
156
|
+
"base_url": runtime.host_url(f"{base_url.rstrip('/')}/v1"),
|
|
157
|
+
"api_key": token,
|
|
158
|
+
}
|
|
159
|
+
bound = runtime.with_env(
|
|
160
|
+
{
|
|
161
|
+
**runtime.env,
|
|
162
|
+
**{key: connection[value] for key, value in judge.env.items()},
|
|
163
|
+
}
|
|
164
|
+
)
|
|
165
|
+
if network is not None or runtime.network_restricted:
|
|
166
|
+
await runtime.set_network(policy_network, routes=[connection["base_url"]])
|
|
167
|
+
yield bound
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
async def score_shared(
|
|
171
|
+
task: Task,
|
|
172
|
+
trace: Trace,
|
|
173
|
+
runtime: Runtime,
|
|
174
|
+
base_runtime: RuntimeConfig,
|
|
175
|
+
policy: ScoringConfig,
|
|
176
|
+
deployment,
|
|
177
|
+
*,
|
|
178
|
+
interception=None,
|
|
179
|
+
on_score=None,
|
|
180
|
+
) -> None:
|
|
181
|
+
"""Prepare and score a task inside an existing runtime."""
|
|
182
|
+
scoring_runtime = bind_scoring_env(runtime, policy)
|
|
183
|
+
await invoke(task.stage_verifier, {"trace": trace, "runtime": scoring_runtime})
|
|
184
|
+
network = (
|
|
185
|
+
scoring_network(base_runtime, policy.network)
|
|
186
|
+
if policy.network is not None
|
|
187
|
+
else None
|
|
188
|
+
)
|
|
189
|
+
async with scoring_session(
|
|
190
|
+
trace,
|
|
191
|
+
scoring_runtime,
|
|
192
|
+
policy,
|
|
193
|
+
interception=interception,
|
|
194
|
+
network=network,
|
|
195
|
+
) as scoring_runtime:
|
|
196
|
+
await task.score(trace, scoring_runtime, deployment)
|
|
197
|
+
if on_score is not None:
|
|
198
|
+
await on_score(trace, scoring_runtime)
|
|
105
199
|
|
|
106
200
|
|
|
107
201
|
async def stage_verifier(task: Task, trace: Trace, runtime: Runtime) -> None:
|
|
@@ -123,6 +217,7 @@ async def grade_task(
|
|
|
123
217
|
*,
|
|
124
218
|
scoring_elapsed: float = 0.0,
|
|
125
219
|
on_score=None,
|
|
220
|
+
interception=None,
|
|
126
221
|
) -> None:
|
|
127
222
|
await deployment.prepare_verifier()
|
|
128
223
|
# Provisioning, scoring, and retry backoff share the remaining scoring budget.
|
|
@@ -156,15 +251,23 @@ async def grade_task(
|
|
|
156
251
|
runtime = bind_scoring_env(runtime, policy)
|
|
157
252
|
await runtime.backend.prepare_setup()
|
|
158
253
|
await stage_verifier(grader, result, runtime)
|
|
159
|
-
await runtime.backend.prepare_execution([])
|
|
160
254
|
try:
|
|
161
255
|
async with (
|
|
162
256
|
asyncio.timeout_at(deadline),
|
|
163
257
|
boundary(TaskError, "verifier scoring"),
|
|
258
|
+
scoring_session(
|
|
259
|
+
result,
|
|
260
|
+
runtime,
|
|
261
|
+
policy,
|
|
262
|
+
interception=interception,
|
|
263
|
+
network=config
|
|
264
|
+
if isinstance(config, NetworkPolicyConfig)
|
|
265
|
+
else None,
|
|
266
|
+
) as scoring_runtime,
|
|
164
267
|
):
|
|
165
|
-
await grader.score(result,
|
|
268
|
+
await grader.score(result, scoring_runtime, deployment)
|
|
166
269
|
if on_score is not None:
|
|
167
|
-
await on_score(result,
|
|
270
|
+
await on_score(result, scoring_runtime)
|
|
168
271
|
finally:
|
|
169
272
|
# Preserve failed attempts' evidence and accounting without
|
|
170
273
|
# committing partial rewards/state.
|
|
@@ -61,6 +61,11 @@ class CodexHarnessConfig(HarnessConfig):
|
|
|
61
61
|
"""Enable Code Mode when the model's metadata does not select its tool mode."""
|
|
62
62
|
multi_agent: bool = False
|
|
63
63
|
"""Enable Codex's native multi-agent v2 tools."""
|
|
64
|
+
web_search: Literal["disabled", "cached", "live"] = "disabled"
|
|
65
|
+
"""Codex's native web search tool (Codex's own `web_search` setting). Off by
|
|
66
|
+
default: it needs a provider that serves the Responses `web_search` tool, which
|
|
67
|
+
self-hosted models (vLLM, Dynamo) do not, and Dynamo refuses a request that
|
|
68
|
+
carries it."""
|
|
64
69
|
|
|
65
70
|
|
|
66
71
|
class CodexHarness(ACPHarness[CodexHarnessConfig]):
|
|
@@ -210,6 +215,7 @@ class CodexHarness(ACPHarness[CodexHarnessConfig]):
|
|
|
210
215
|
}
|
|
211
216
|
},
|
|
212
217
|
"features": {"mcp_2026_07_28": True},
|
|
218
|
+
"web_search": self.config.web_search,
|
|
213
219
|
"mcp_servers": {
|
|
214
220
|
name: {
|
|
215
221
|
"url": url,
|
|
@@ -77,7 +77,8 @@ async def serve_interception(
|
|
|
77
77
|
"""A slot on the shared interception when one was injected (its owner keeps the
|
|
78
78
|
lifecycle), else on a per-rollout `InterceptionServer` owned — brought up and torn
|
|
79
79
|
down — by the caller's context."""
|
|
80
|
-
|
|
80
|
+
# A remote runtime cannot reach a loopback-only shared interception.
|
|
81
|
+
if interception is not None and (runtime.is_local or interception.requires_tunnel):
|
|
81
82
|
async with interception.acquire(session) as slot:
|
|
82
83
|
yield slot
|
|
83
84
|
return
|
|
@@ -30,8 +30,9 @@ class Interception(ABC):
|
|
|
30
30
|
even if one teardown fails; `async with` wraps the two. Each rollout `acquire`s a slot
|
|
31
31
|
and frees it on exit."""
|
|
32
32
|
|
|
33
|
-
def __init__(self) -> None:
|
|
33
|
+
def __init__(self, *, requires_tunnel: bool = False) -> None:
|
|
34
34
|
self.stack = AsyncExitStack()
|
|
35
|
+
self.requires_tunnel = requires_tunnel
|
|
35
36
|
|
|
36
37
|
@abstractmethod
|
|
37
38
|
async def start(self) -> None:
|
|
@@ -44,7 +44,7 @@ class StaticInterceptionPool(Interception):
|
|
|
44
44
|
requires_tunnel: bool = False,
|
|
45
45
|
state_service_secrets: tuple[str, ...] = (),
|
|
46
46
|
) -> None:
|
|
47
|
-
super().__init__()
|
|
47
|
+
super().__init__(requires_tunnel=requires_tunnel)
|
|
48
48
|
self.config = config
|
|
49
49
|
self.servers = [
|
|
50
50
|
InterceptionServer(server, requires_tunnel, state_service_secrets)
|
|
@@ -80,9 +80,8 @@ class ElasticInterceptionPool(Interception):
|
|
|
80
80
|
requires_tunnel: bool = False,
|
|
81
81
|
state_service_secrets: tuple[str, ...] = (),
|
|
82
82
|
) -> None:
|
|
83
|
-
super().__init__()
|
|
83
|
+
super().__init__(requires_tunnel=requires_tunnel)
|
|
84
84
|
self.config = config or ElasticInterceptionPoolConfig()
|
|
85
|
-
self.requires_tunnel = requires_tunnel
|
|
86
85
|
self.state_service_secrets = state_service_secrets
|
|
87
86
|
self.servers: list[InterceptionServer] = []
|
|
88
87
|
self._lock = asyncio.Lock()
|
|
@@ -357,7 +357,7 @@ class InterceptionServer(Interception):
|
|
|
357
357
|
requires_tunnel: bool = False,
|
|
358
358
|
state_service_secrets: Collection[str] = (),
|
|
359
359
|
) -> None:
|
|
360
|
-
super().__init__()
|
|
360
|
+
super().__init__(requires_tunnel=requires_tunnel)
|
|
361
361
|
self.sessions: dict[str, RolloutSession] = {}
|
|
362
362
|
self.clients: dict[str, Client] = {}
|
|
363
363
|
self.state_sessions: dict[str, RolloutSession] = {}
|
|
@@ -410,20 +410,22 @@ class InterceptionServer(Interception):
|
|
|
410
410
|
model_secret = secrets.token_urlsafe(16)
|
|
411
411
|
state_secret = secrets.token_urlsafe(16)
|
|
412
412
|
self.sessions[model_secret] = session
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
413
|
+
if not session.judge_only:
|
|
414
|
+
self.state_sessions[state_secret] = session
|
|
415
|
+
self.state_routes[session.trace.id] = session
|
|
416
|
+
session.proxy_mcp = partial(self.proxy_mcp, model_secret)
|
|
416
417
|
return model_secret, state_secret
|
|
417
418
|
|
|
418
419
|
def unregister(self, model_secret: str, state_secret: str) -> None:
|
|
419
420
|
session = self.sessions.pop(model_secret, None)
|
|
420
421
|
self.state_sessions.pop(state_secret, None)
|
|
421
422
|
if session is not None:
|
|
422
|
-
session.
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
423
|
+
if not session.judge_only:
|
|
424
|
+
session.proxy_mcp = None
|
|
425
|
+
self.state_routes.pop(session.trace.id, None)
|
|
426
|
+
for capability, route in list(self.mcp_routes.items()):
|
|
427
|
+
if route.session is session:
|
|
428
|
+
del self.mcp_routes[capability]
|
|
427
429
|
# The rollout concluded; its trace is sealed. Cancel straggler handlers
|
|
428
430
|
# (aiohttp keeps them alive past client death) so a slow upstream call
|
|
429
431
|
# can't commit a late turn onto the concluded trace.
|
|
@@ -631,11 +633,14 @@ class InterceptionServer(Interception):
|
|
|
631
633
|
def mediate_capabilities(
|
|
632
634
|
self, session: RolloutSession, dialect: Dialect, body: dict
|
|
633
635
|
) -> tuple[dict, list[str]]:
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
636
|
+
policy = (
|
|
637
|
+
session.network_policy_source()
|
|
638
|
+
if session.network_policy_source is not None
|
|
639
|
+
else session.network_policy
|
|
638
640
|
)
|
|
641
|
+
if not policy.network_restricted:
|
|
642
|
+
return body, []
|
|
643
|
+
mediated, capabilities = dialect.mediate_external_capabilities(body, policy)
|
|
639
644
|
capabilities = list(dict.fromkeys(capabilities))
|
|
640
645
|
if capabilities:
|
|
641
646
|
logger.warning(
|
|
@@ -652,7 +657,7 @@ class InterceptionServer(Interception):
|
|
|
652
657
|
session = self.sessions.get(
|
|
653
658
|
request.headers.get("Authorization", "").removeprefix("Bearer ")
|
|
654
659
|
)
|
|
655
|
-
if session is None:
|
|
660
|
+
if session is None or session.judge_only:
|
|
656
661
|
return web.json_response({"error": "unauthorized"}, status=401)
|
|
657
662
|
session.adopt(asyncio.current_task())
|
|
658
663
|
if session.released:
|
|
@@ -750,7 +755,12 @@ class InterceptionServer(Interception):
|
|
|
750
755
|
ctx = session.ctx
|
|
751
756
|
session.route.dialect = dialect
|
|
752
757
|
session.client = client = self._client(ctx.client)
|
|
753
|
-
|
|
758
|
+
model = ctx.model or body.get("model")
|
|
759
|
+
if not isinstance(model, str) or not model:
|
|
760
|
+
return _error_response(dialect, "model is required", status=400)
|
|
761
|
+
body = dialect.apply_overrides(
|
|
762
|
+
body, model, ctx.sampling, authoritative=not session.judge_only
|
|
763
|
+
)
|
|
754
764
|
streaming = dialect.streaming(body)
|
|
755
765
|
# A streamed request is served whole once its turn commits: the eval client's
|
|
756
766
|
# provider stream is read to the end, and the train client generates the response.
|
|
@@ -809,25 +819,26 @@ class InterceptionServer(Interception):
|
|
|
809
819
|
idempotent.completed_at = now
|
|
810
820
|
return _replay_response(idempotent.response)
|
|
811
821
|
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
822
|
+
if not session.judge_only:
|
|
823
|
+
try:
|
|
824
|
+
if isinstance(dialect, ChatDialect) and isinstance(
|
|
825
|
+
body.get("messages"), list
|
|
826
|
+
):
|
|
827
|
+
model_request = dialect.parse_request(body, session.last_request)
|
|
828
|
+
session.last_request = (
|
|
829
|
+
[
|
|
830
|
+
dict(raw) if isinstance(raw, dict) else raw
|
|
831
|
+
for raw in body["messages"]
|
|
832
|
+
],
|
|
833
|
+
list(model_request.messages),
|
|
834
|
+
)
|
|
835
|
+
else:
|
|
836
|
+
model_request = dialect.parse_request(body)
|
|
837
|
+
except ValueError as error:
|
|
838
|
+
return _error_response(dialect, str(error), status=400)
|
|
828
839
|
if session.released:
|
|
829
840
|
return _error_response(dialect, "rollout concluded", status=409)
|
|
830
|
-
if session.stopped:
|
|
841
|
+
if not session.judge_only and session.stopped:
|
|
831
842
|
return _error_response(
|
|
832
843
|
dialect, f"rollout stopped: {session.trace.stop_condition}", status=400
|
|
833
844
|
)
|
|
@@ -844,12 +855,13 @@ class InterceptionServer(Interception):
|
|
|
844
855
|
return _error_response(dialect, "upstream attempt failed", status=503)
|
|
845
856
|
return _replay_response(response)
|
|
846
857
|
|
|
847
|
-
|
|
858
|
+
def respond(pending: Awaitable[web.Response]) -> Awaitable[web.Response]:
|
|
848
859
|
if streaming:
|
|
849
|
-
return
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
860
|
+
return _buffered_stream(request, dialect, pending, session.trace.id)
|
|
861
|
+
return pending
|
|
862
|
+
|
|
863
|
+
if idempotent.inflight is not None:
|
|
864
|
+
return await respond(coalesced(idempotent.inflight))
|
|
853
865
|
future: asyncio.Future[ReplayResponse | None] = (
|
|
854
866
|
asyncio.get_running_loop().create_future()
|
|
855
867
|
)
|
|
@@ -861,6 +873,92 @@ class InterceptionServer(Interception):
|
|
|
861
873
|
future=future,
|
|
862
874
|
)
|
|
863
875
|
|
|
876
|
+
def serve(response: Response, events: bytes | None) -> web.Response:
|
|
877
|
+
if streaming:
|
|
878
|
+
# The committed turn as SSE: the provider's own events when relayed
|
|
879
|
+
# unchanged, else framed from the response (training generates it whole,
|
|
880
|
+
# and a hook may have rewritten a relayed one).
|
|
881
|
+
served = web.Response(
|
|
882
|
+
body=events
|
|
883
|
+
if events is not None
|
|
884
|
+
else b"".join(dialect.stream_events(response.raw or {})),
|
|
885
|
+
content_type="text/event-stream",
|
|
886
|
+
)
|
|
887
|
+
else:
|
|
888
|
+
served = _completion_response(response.raw)
|
|
889
|
+
idempotent.response = _capture_response(served)
|
|
890
|
+
idempotent.completed_at = time.monotonic()
|
|
891
|
+
return served
|
|
892
|
+
|
|
893
|
+
async def call_upstream(
|
|
894
|
+
body: dict, turn: graph.PendingTurn | None = None
|
|
895
|
+
) -> tuple[Response, bytes | None]:
|
|
896
|
+
if relay:
|
|
897
|
+
reply = await client.relay(
|
|
898
|
+
dialect,
|
|
899
|
+
body,
|
|
900
|
+
headers=upstream_headers,
|
|
901
|
+
session_id=upstream_session_id,
|
|
902
|
+
)
|
|
903
|
+
return await _collect_stream(dialect, reply)
|
|
904
|
+
return (
|
|
905
|
+
await client.get_response(
|
|
906
|
+
dialect,
|
|
907
|
+
body,
|
|
908
|
+
ctx.sampling,
|
|
909
|
+
headers=upstream_headers,
|
|
910
|
+
session_id=upstream_session_id,
|
|
911
|
+
turn=turn,
|
|
912
|
+
),
|
|
913
|
+
None,
|
|
914
|
+
)
|
|
915
|
+
|
|
916
|
+
if session.judge_only:
|
|
917
|
+
body, policy_paths = self.mediate_capabilities(session, dialect, body)
|
|
918
|
+
|
|
919
|
+
async def sample_judge() -> web.Response:
|
|
920
|
+
call_response: Response | None = None
|
|
921
|
+
error: BaseException | None = None
|
|
922
|
+
started = time.time()
|
|
923
|
+
try:
|
|
924
|
+
call_response, events = await call_upstream(body)
|
|
925
|
+
if session.released:
|
|
926
|
+
return _error_response(dialect, "scoring concluded", status=409)
|
|
927
|
+
return serve(call_response, events)
|
|
928
|
+
except Exception as e: # noqa: BLE001 - surface as an API error
|
|
929
|
+
error = e
|
|
930
|
+
logger.warning(
|
|
931
|
+
"Judge call failed - %s: %s", type(e).__name__, clip(str(e))
|
|
932
|
+
)
|
|
933
|
+
return _error_response(
|
|
934
|
+
dialect, str(e), status=getattr(e, "status_code", 502)
|
|
935
|
+
)
|
|
936
|
+
except BaseException as e:
|
|
937
|
+
error = e
|
|
938
|
+
raise
|
|
939
|
+
finally:
|
|
940
|
+
if not session.released:
|
|
941
|
+
if call_response is not None:
|
|
942
|
+
session.trace.record_judge_call(
|
|
943
|
+
name="scoring_judge",
|
|
944
|
+
request=body,
|
|
945
|
+
response=call_response,
|
|
946
|
+
)
|
|
947
|
+
session.trace.info.setdefault(
|
|
948
|
+
"scoring_diagnostics", {}
|
|
949
|
+
).setdefault("judge", []).append(
|
|
950
|
+
{
|
|
951
|
+
"model": body["model"],
|
|
952
|
+
"endpoint": dialect.upstream_path,
|
|
953
|
+
"duration": time.time() - started,
|
|
954
|
+
"policy_paths": policy_paths,
|
|
955
|
+
"error": str(error) if error is not None else None,
|
|
956
|
+
}
|
|
957
|
+
)
|
|
958
|
+
session.trace.notify()
|
|
959
|
+
|
|
960
|
+
return await respond(sample_judge())
|
|
961
|
+
|
|
864
962
|
try:
|
|
865
963
|
refused = await session.refused()
|
|
866
964
|
if refused is not None:
|
|
@@ -927,23 +1025,6 @@ class InterceptionServer(Interception):
|
|
|
927
1025
|
on_input, session.on_turn_input = session.on_turn_input, None
|
|
928
1026
|
on_input()
|
|
929
1027
|
|
|
930
|
-
def serve(response: Response, events: bytes | None) -> web.Response:
|
|
931
|
-
if streaming:
|
|
932
|
-
# The committed turn as SSE: the provider's own events when relayed
|
|
933
|
-
# unchanged, else framed from the response (training generates it whole,
|
|
934
|
-
# and a hook may have rewritten a relayed one).
|
|
935
|
-
served = web.Response(
|
|
936
|
-
body=events
|
|
937
|
-
if events is not None
|
|
938
|
-
else b"".join(dialect.stream_events(response.raw or {})),
|
|
939
|
-
content_type="text/event-stream",
|
|
940
|
-
)
|
|
941
|
-
else:
|
|
942
|
-
served = _completion_response(response.raw)
|
|
943
|
-
idempotent.response = _capture_response(served)
|
|
944
|
-
idempotent.completed_at = time.monotonic()
|
|
945
|
-
return served
|
|
946
|
-
|
|
947
1028
|
async def sample() -> web.Response:
|
|
948
1029
|
session.error = None
|
|
949
1030
|
call_response: Response | None = None
|
|
@@ -955,23 +1036,7 @@ class InterceptionServer(Interception):
|
|
|
955
1036
|
try:
|
|
956
1037
|
# What actually goes upstream: the native body with the rollout's model +
|
|
957
1038
|
# sampling imposed — recorded raw on the trace, per call.
|
|
958
|
-
|
|
959
|
-
reply = await client.relay(
|
|
960
|
-
dialect,
|
|
961
|
-
body,
|
|
962
|
-
headers=upstream_headers,
|
|
963
|
-
session_id=upstream_session_id,
|
|
964
|
-
)
|
|
965
|
-
call_response, events = await _collect_stream(dialect, reply)
|
|
966
|
-
else:
|
|
967
|
-
call_response = await client.get_response(
|
|
968
|
-
dialect,
|
|
969
|
-
body,
|
|
970
|
-
ctx.sampling,
|
|
971
|
-
headers=upstream_headers,
|
|
972
|
-
session_id=upstream_session_id,
|
|
973
|
-
turn=turn,
|
|
974
|
-
)
|
|
1039
|
+
call_response, events = await call_upstream(body, turn)
|
|
975
1040
|
usage = call_response.usage
|
|
976
1041
|
logger.debug(
|
|
977
1042
|
"Served turn in %s tool_calls=%d%s",
|
|
@@ -1072,9 +1137,7 @@ class InterceptionServer(Interception):
|
|
|
1072
1137
|
)
|
|
1073
1138
|
return serve(call_response, events)
|
|
1074
1139
|
|
|
1075
|
-
|
|
1076
|
-
return await _buffered_stream(request, dialect, sample(), session.trace.id)
|
|
1077
|
-
return await sample()
|
|
1140
|
+
return await respond(sample())
|
|
1078
1141
|
|
|
1079
1142
|
async def handle_aux(
|
|
1080
1143
|
self, request: web.Request, dialect: Dialect, route: str
|
|
@@ -1089,10 +1152,14 @@ class InterceptionServer(Interception):
|
|
|
1089
1152
|
try:
|
|
1090
1153
|
body = await request.json()
|
|
1091
1154
|
ctx = session.ctx
|
|
1092
|
-
|
|
1155
|
+
if ctx.model:
|
|
1156
|
+
body["model"] = ctx.model
|
|
1093
1157
|
body = self.mediate_capabilities(session, dialect, body)[0]
|
|
1094
1158
|
result = await self._client(ctx.client).relay_aux(
|
|
1095
|
-
dialect,
|
|
1159
|
+
dialect,
|
|
1160
|
+
route.removeprefix("/v1") if route.startswith("/v1/v1/") else route,
|
|
1161
|
+
body,
|
|
1162
|
+
headers=request.headers,
|
|
1096
1163
|
)
|
|
1097
1164
|
except RolloutError as e:
|
|
1098
1165
|
# An aux call isn't a model turn, so don't clobber a pending turn error.
|
verifiers/v1/rollout.py
CHANGED
|
@@ -22,9 +22,8 @@ from verifiers.v1.errors import (
|
|
|
22
22
|
boundary,
|
|
23
23
|
)
|
|
24
24
|
from verifiers.v1.grading import (
|
|
25
|
-
bind_scoring_env,
|
|
26
25
|
grade_task,
|
|
27
|
-
|
|
26
|
+
score_shared,
|
|
28
27
|
scoring_transaction,
|
|
29
28
|
verifier_runtime,
|
|
30
29
|
)
|
|
@@ -920,6 +919,7 @@ class Rollout:
|
|
|
920
919
|
self.deployment,
|
|
921
920
|
on_score=self._on_score,
|
|
922
921
|
scoring_elapsed=scoring_elapsed,
|
|
922
|
+
interception=self._interception,
|
|
923
923
|
)
|
|
924
924
|
except TimeoutError:
|
|
925
925
|
self.timeout("scoring")
|
|
@@ -935,30 +935,23 @@ class Rollout:
|
|
|
935
935
|
if self._on_score is not None
|
|
936
936
|
else contextlib.nullcontext()
|
|
937
937
|
):
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
runtime, self._scoring_policy
|
|
938
|
+
if self._scoring_task.scoring_deferred:
|
|
939
|
+
await self._scoring_task.score(
|
|
940
|
+
trace, runtime, self.deployment
|
|
942
941
|
)
|
|
943
|
-
|
|
944
|
-
self.
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
942
|
+
if self._on_score is not None:
|
|
943
|
+
await self._on_score(trace, runtime)
|
|
944
|
+
else:
|
|
945
|
+
await score_shared(
|
|
946
|
+
self._scoring_task,
|
|
947
|
+
trace,
|
|
948
|
+
runtime,
|
|
949
|
+
self.trace.agent.config.runtime,
|
|
950
|
+
self._scoring_policy,
|
|
951
|
+
self.deployment,
|
|
952
|
+
interception=self._interception,
|
|
953
|
+
on_score=self._on_score,
|
|
949
954
|
)
|
|
950
|
-
if self._scoring_policy.network is not None:
|
|
951
|
-
await scoring_runtime.set_network(
|
|
952
|
-
scoring_network(
|
|
953
|
-
self.trace.agent.config.runtime,
|
|
954
|
-
self._scoring_policy.network,
|
|
955
|
-
)
|
|
956
|
-
)
|
|
957
|
-
await self._scoring_task.score(
|
|
958
|
-
trace, scoring_runtime, self.deployment
|
|
959
|
-
)
|
|
960
|
-
if self._on_score is not None:
|
|
961
|
-
await self._on_score(trace, scoring_runtime)
|
|
962
955
|
except TimeoutError:
|
|
963
956
|
self.timeout("scoring")
|
|
964
957
|
if self._on_score is not None:
|
verifiers/v1/runtimes/base.py
CHANGED
|
@@ -209,6 +209,8 @@ class RuntimeBackend(ABC):
|
|
|
209
209
|
# Per-run task values live on the runtime rather than its serializable config/info.
|
|
210
210
|
# Explicit process values (model credentials, proxy settings, etc.) override these.
|
|
211
211
|
self.env: dict[str, str] = {}
|
|
212
|
+
self.active_network: NetworkPolicyConfig | None = None
|
|
213
|
+
"""Latest network policy applied via `Runtime.set_network`, if overridden."""
|
|
212
214
|
self.cache = RuntimeCache()
|
|
213
215
|
self._setup_claimed = False
|
|
214
216
|
self._background: list[RuntimeProcess] = []
|
verifiers/v1/runtimes/runtime.py
CHANGED
|
@@ -6,7 +6,7 @@ import asyncio
|
|
|
6
6
|
import hashlib
|
|
7
7
|
import shlex
|
|
8
8
|
import uuid
|
|
9
|
-
from collections.abc import Mapping
|
|
9
|
+
from collections.abc import Mapping, Sequence
|
|
10
10
|
from dataclasses import dataclass, field, replace
|
|
11
11
|
from pathlib import PurePosixPath
|
|
12
12
|
from types import MappingProxyType
|
|
@@ -90,13 +90,16 @@ class Runtime:
|
|
|
90
90
|
async def expose(self, port: int) -> str:
|
|
91
91
|
return await self.backend.expose(port)
|
|
92
92
|
|
|
93
|
-
async def set_network(
|
|
93
|
+
async def set_network(
|
|
94
|
+
self, network: NetworkPolicyConfig, *, routes: Sequence[str] = ()
|
|
95
|
+
) -> None:
|
|
94
96
|
"""Enforce `network` as given, in place of the policy the runtime started with,
|
|
95
97
|
on the whole runtime rather than only this view; return once the provider
|
|
96
|
-
enforces it. Framework routes are
|
|
97
|
-
policy can only stay open."""
|
|
98
|
+
enforces it. Framework routes are only added when passed in `routes`. A runtime
|
|
99
|
+
that started without a policy can only stay open."""
|
|
98
100
|
if not network.network_restricted:
|
|
99
101
|
await self.backend.prepare_execution(None)
|
|
102
|
+
self.backend.active_network = NetworkPolicyConfig()
|
|
100
103
|
return
|
|
101
104
|
config = self.backend.config
|
|
102
105
|
if not self.backend.network_restricted or not isinstance(
|
|
@@ -109,7 +112,8 @@ class Runtime:
|
|
|
109
112
|
policy = type(config).model_validate(
|
|
110
113
|
{**config.model_dump(), "allow": network.allow, "block": network.block}
|
|
111
114
|
)
|
|
112
|
-
await self.backend.prepare_execution(
|
|
115
|
+
await self.backend.prepare_execution(list(routes), policy)
|
|
116
|
+
self.backend.active_network = network
|
|
113
117
|
|
|
114
118
|
async def run(self, argv: list[str], env: dict[str, str]) -> ProgramResult:
|
|
115
119
|
"""Run `argv` to completion and collect its output."""
|
verifiers/v1/session.py
CHANGED
|
@@ -393,6 +393,12 @@ class RolloutSession:
|
|
|
393
393
|
last_request: tuple[list, Messages] = ((), [])
|
|
394
394
|
"""The last chat request's raw messages (copied: the server rewrites a body in place) and
|
|
395
395
|
their parse, which the next request's equal prefix reuses instead of parsing again."""
|
|
396
|
+
judge_only: bool = False
|
|
397
|
+
"""Serve packaged grader calls without touching the solver graph, limits, or state."""
|
|
398
|
+
network_policy_source: Callable[[], NetworkPolicyConfig] | None = field(
|
|
399
|
+
default=None, repr=False
|
|
400
|
+
)
|
|
401
|
+
"""Optional live network policy reader (e.g. when a task lifts egress mid-scoring)."""
|
|
396
402
|
|
|
397
403
|
@property
|
|
398
404
|
def ctx(self) -> ModelContext:
|
|
@@ -473,7 +473,14 @@ class HarborTask(Task[HarborData, State, HarborTaskConfig]):
|
|
|
473
473
|
# script the same way, and scripts do grade the agent's work at `$PWD`.
|
|
474
474
|
# The reward file is authoritative even when the script exits nonzero.
|
|
475
475
|
result = await runtime.run(
|
|
476
|
-
["bash", "/tests/test.sh"],
|
|
476
|
+
["bash", "/tests/test.sh"],
|
|
477
|
+
resolve_env(
|
|
478
|
+
{
|
|
479
|
+
key: value
|
|
480
|
+
for key, value in (self.scoring.env or {}).items()
|
|
481
|
+
if key not in runtime.env
|
|
482
|
+
}
|
|
483
|
+
),
|
|
477
484
|
)
|
|
478
485
|
trace.info.setdefault("scoring_diagnostics", {})["harbor"] = {
|
|
479
486
|
"exit_code": result.exit_code,
|
|
@@ -560,7 +567,14 @@ def verifier_box_data(data: HarborData) -> HarborData:
|
|
|
560
567
|
"upload_environment": data.upload_environment
|
|
561
568
|
if data.verifier_image is None
|
|
562
569
|
else False,
|
|
563
|
-
"env":
|
|
570
|
+
"env": {
|
|
571
|
+
**verifier.env,
|
|
572
|
+
**(
|
|
573
|
+
dict.fromkeys(data.scoring.judge.env, "")
|
|
574
|
+
if data.scoring.judge is not None
|
|
575
|
+
else {}
|
|
576
|
+
),
|
|
577
|
+
},
|
|
564
578
|
"healthcheck": verifier.healthcheck,
|
|
565
579
|
"skills": [],
|
|
566
580
|
"mcp_servers": [],
|
verifiers/v1/trace.py
CHANGED
|
@@ -39,6 +39,7 @@ from verifiers.v1.types import (
|
|
|
39
39
|
FinishReason,
|
|
40
40
|
Message,
|
|
41
41
|
Messages,
|
|
42
|
+
Response,
|
|
42
43
|
SamplerSupport,
|
|
43
44
|
Tool,
|
|
44
45
|
ToolCall,
|
|
@@ -949,19 +950,18 @@ class Trace(BaseModel, Generic[DataT, StateT, AgentConfigT]):
|
|
|
949
950
|
*,
|
|
950
951
|
name: str,
|
|
951
952
|
request: Mapping[str, Any],
|
|
952
|
-
response: JudgeResponse,
|
|
953
|
+
response: JudgeResponse | Response,
|
|
953
954
|
) -> None:
|
|
954
955
|
"""Record one complete judge request/response exchange."""
|
|
955
956
|
response_record = response.model_dump()
|
|
956
|
-
|
|
957
|
+
if not isinstance(response, Response):
|
|
958
|
+
message = AssistantMessage(content=response_record.pop("text"))
|
|
959
|
+
response_record = {"message": message.model_dump(), **response_record}
|
|
957
960
|
self.info.setdefault("judge_calls", []).append(
|
|
958
961
|
{
|
|
959
962
|
"name": name,
|
|
960
963
|
"request": copy.deepcopy(dict(request)),
|
|
961
|
-
"response":
|
|
962
|
-
"message": message.model_dump(),
|
|
963
|
-
**response_record,
|
|
964
|
-
},
|
|
964
|
+
"response": response_record,
|
|
965
965
|
}
|
|
966
966
|
)
|
|
967
967
|
if response.usage is not None:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: verifiers
|
|
3
|
-
Version: 0.4.2.
|
|
3
|
+
Version: 0.4.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
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
verifiers/__init__.py,sha256=F5IVMw6mhGaPBMCw7QKk0la_r5mMwydP2hdTTdQucik,352
|
|
2
|
-
verifiers/v1/__init__.py,sha256=
|
|
2
|
+
verifiers/v1/__init__.py,sha256=8IuN1m-ZsmVI4aDGHQFRNwv6f7sz9GuP-maQb1pvVtg,19020
|
|
3
3
|
verifiers/v1/agent.py,sha256=2QqkTNNnIFAFBhdJtem0LsGDbdiICumty0wDNMitS2Q,54280
|
|
4
4
|
verifiers/v1/delta.py,sha256=23USfU7G5L3TBnV3apyuOa0M_uQAgvTo6a4Ke4msRV0,12205
|
|
5
5
|
verifiers/v1/env.py,sha256=-MTenM7sDjIccPqkjrv6M_STe4Z8CflNkrNfM-n0L8k,20163
|
|
6
6
|
verifiers/v1/episode.py,sha256=Tqjo8aQDOh4sM03he2WMXzEhmn2ybzwwtUS_QSvESsA,6983
|
|
7
7
|
verifiers/v1/errors.py,sha256=OieUBIOZ6FW7oKygbXIRoag6RrPxKYpMPfEYPcCnVVE,5863
|
|
8
|
-
verifiers/v1/grading.py,sha256=
|
|
8
|
+
verifiers/v1/grading.py,sha256=OtZZv8P89CFSkUtu53rXIXuC6haC8KrmFp8E_3wCy_I,13364
|
|
9
9
|
verifiers/v1/graph.py,sha256=_IEMMdOJ7TAy2TM9H9LZBAeYCgV9-Uo8XtfTUdg_aBI,48582
|
|
10
10
|
verifiers/v1/harness.py,sha256=4uyatJvxvX6IIusF3PIn7GTYYGpoBTJgs7QQlO1vECQ,17144
|
|
11
11
|
verifiers/v1/judge.py,sha256=T-TyYVcLGIoyUADYKy_pCBj2CTLhERlct5pmmWqPpTA,10507
|
|
12
|
-
verifiers/v1/rollout.py,sha256=
|
|
12
|
+
verifiers/v1/rollout.py,sha256=h63dExavGbbDBDRBymnM7PCzQMieUG68NOfk1BCLNoI,49304
|
|
13
13
|
verifiers/v1/semantic.py,sha256=nqKPPUoPL5Oh8Es_XjtcbDiQiIMKTYayXEm-EPB-jAE,5129
|
|
14
|
-
verifiers/v1/session.py,sha256=
|
|
14
|
+
verifiers/v1/session.py,sha256=qQ_cMOQK54mNvCiCHeMY3oby1QVqR_wAyos1pWpXBqM,45880
|
|
15
15
|
verifiers/v1/state.py,sha256=EckF2bWp-vV4b1jYJ9sLI5xrfGuI5spIgYYwW926toI,595
|
|
16
16
|
verifiers/v1/submission.py,sha256=zgSRbGVz82Efwz4nX4tlJ-i02AmjtKyu_vHfwfLaByw,7989
|
|
17
17
|
verifiers/v1/task.py,sha256=zcWjBjhJrkGIL29JTnxxw6v2pbJoiek_tF5RVAVV2ZY,15919
|
|
18
18
|
verifiers/v1/taskset.py,sha256=PRwMfPtUL0Sg9pwKzJYnpLBDqJCmQ4skQPhF1oocyyw,9504
|
|
19
|
-
verifiers/v1/trace.py,sha256=
|
|
19
|
+
verifiers/v1/trace.py,sha256=2rv9wlUL5kDC8Rzw6tH42gM-JxnG8ZJ7vBZCOeTqCmE,41583
|
|
20
20
|
verifiers/v1/types.py,sha256=PsYLhqy_19JZUT7uP9a8A2h-qKo7-9_KLQ_B0PqhkYg,13303
|
|
21
21
|
verifiers/v1/acp/__init__.py,sha256=590Ppv8KCCc3MB6yKJDHIAxx8UabwHy2D7LnJ_P5eo8,16912
|
|
22
22
|
verifiers/v1/acp/runner.py,sha256=jQeaUaF6PL_BzFQ4a28F-wKVgirXTSkPEfkAq8VzjlA,15792
|
|
@@ -26,16 +26,16 @@ 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=l_NekW1v00Wgr-l2f96rOti4KcLbYZgksb8CCZE3_20,20447
|
|
30
30
|
verifiers/v1/clients/__init__.py,sha256=3rXv205sRheGvG8yNDmFwpq8qK9dlt7S_ia1zGWhNk0,598
|
|
31
31
|
verifiers/v1/clients/base.py,sha256=C0G5lRm3nxt1xmPoA2cweBgCnN2KcLepmCYq1vdDrnU,1691
|
|
32
|
-
verifiers/v1/clients/client.py,sha256=
|
|
32
|
+
verifiers/v1/clients/client.py,sha256=8u8SjGeTwjJX2RC53OcdaSb-gch_g7687FD48Cg-VIY,7892
|
|
33
33
|
verifiers/v1/clients/eval.py,sha256=GgpHZGh4IW3gC-tOZiFPp62MCL4aHik0b4afz2g3-Qo,8729
|
|
34
34
|
verifiers/v1/clients/prompt_cache.py,sha256=DL_3U7Otejctdzg-H-r-sVPNmcR11IG22FRfbq3Y8as,10856
|
|
35
35
|
verifiers/v1/clients/train.py,sha256=L6XDRUbOxkhtN6nt3sGqeAiHTfqNYdXdQewY9tQ6f8k,21134
|
|
36
36
|
verifiers/v1/configs/__init__.py,sha256=X7u6X7B3ieD1HZl79Tv1kg-yPHbT0QLvAebaGqxVtvA,317
|
|
37
37
|
verifiers/v1/configs/agent.py,sha256=xn9j1WcBIGz7LjgW8WOWDvSvk7vPLztisSLVcT2foxk,7530
|
|
38
|
-
verifiers/v1/configs/client.py,sha256=
|
|
38
|
+
verifiers/v1/configs/client.py,sha256=sQ2yPq3YBfe52y1ewI5El9-JcpFtvTOozcSG3Ir8EFM,6485
|
|
39
39
|
verifiers/v1/configs/deployment.py,sha256=Eggd8phUNVcq_f56Haw-OT5U6fTBLDhBnXFJ5AEb7MI,389
|
|
40
40
|
verifiers/v1/configs/env.py,sha256=DjYu7Ie3_uQsy3dCydOWGZRnm6hu1K1GWo0HAruD2sk,7345
|
|
41
41
|
verifiers/v1/configs/harness.py,sha256=I9DcHzml17T7SYHobP7E6jHwNSL2eSqEtckioQ2pGNQ,3356
|
|
@@ -44,7 +44,7 @@ verifiers/v1/configs/judge.py,sha256=nP5rE430PCtyLYIZ772EpWXEPZxg6GaiUgeGXOEj0v8
|
|
|
44
44
|
verifiers/v1/configs/retries.py,sha256=GIrwS0lnMKnlQ_Wj1Z2J6NlEYK4jX5weZxYmQmLcpUI,1793
|
|
45
45
|
verifiers/v1/configs/runtime.py,sha256=7To2aecnYuv_ThVt5OIlKUiocldmt4O0hZzkSwuJsBI,11773
|
|
46
46
|
verifiers/v1/configs/sampling.py,sha256=yHYb-ymUg8MlXfNDn9VZ3yXL5SXNqrEDT6JLuMAovYU,1146
|
|
47
|
-
verifiers/v1/configs/scoring.py,sha256=
|
|
47
|
+
verifiers/v1/configs/scoring.py,sha256=JBLoh4qvDNc3mVUwYWrrSpQGfqjzFyN8CqljIs3P2OI,4566
|
|
48
48
|
verifiers/v1/configs/select.py,sha256=a72aweHXsA1B9i-ShR710NZr4ZFC-0xfSQ5J8aQGrew,5820
|
|
49
49
|
verifiers/v1/configs/task.py,sha256=Au-SIawoJff2MBUwCqpqPCxFVoqvd4fvg74dnmM9uz4,2934
|
|
50
50
|
verifiers/v1/configs/taskset.py,sha256=OJG_DfM2_6I4Mm1-egMcrIEN6UtD2JaBaXnzW9SZXk8,906
|
|
@@ -54,10 +54,10 @@ verifiers/v1/configs/cli/env.py,sha256=qrVucqjv43-pU4-MxoUQTPSck7-8WoOKWDck8FG1c
|
|
|
54
54
|
verifiers/v1/configs/cli/run.py,sha256=j6ccPxFPiWsmCAmbZcc_EtElNOMaKS9YiiSDMqudczw,3794
|
|
55
55
|
verifiers/v1/configs/cli/validate.py,sha256=tMiaLxTMdcItTdIbf_ECL8j9KA0t9Tjv0DvkbT27Jws,4091
|
|
56
56
|
verifiers/v1/dialects/__init__.py,sha256=MNOYM2NdTlSxGK4VtoEjMtD5zya2MpjPDX5jMvZUWEo,736
|
|
57
|
-
verifiers/v1/dialects/anthropic.py,sha256=
|
|
58
|
-
verifiers/v1/dialects/base.py,sha256=
|
|
59
|
-
verifiers/v1/dialects/chat.py,sha256=
|
|
60
|
-
verifiers/v1/dialects/responses.py,sha256=
|
|
57
|
+
verifiers/v1/dialects/anthropic.py,sha256=zT4XA7EvF8Ap0NbD6q-tnxJKbVy9YRXiHehCTBRO5ng,27760
|
|
58
|
+
verifiers/v1/dialects/base.py,sha256=hfSzycPGC0kRWYf-DOL6bQQuD-CLEe3Syp1CPiuA0Qw,17154
|
|
59
|
+
verifiers/v1/dialects/chat.py,sha256=fg4KxRGO16wtlcErgLf163CNDtGPerjxOtgIsQqVDfU,25156
|
|
60
|
+
verifiers/v1/dialects/responses.py,sha256=QR1HrhaUxY2Oz8GJLnC0O_B8OjfQ0kxc_DpJLF8ISSs,31555
|
|
61
61
|
verifiers/v1/envs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
62
62
|
verifiers/v1/envs/agentic_judge/__init__.py,sha256=6vwtMCQ_cuvuubCF5-nrE5W7gGgzE-LIPKorkM5DXdw,309
|
|
63
63
|
verifiers/v1/envs/agentic_judge/env.py,sha256=AkANEM5mSiGJ-udJWvHKeNMVq4wRcWpXX0yOJ2qqS78,14968
|
|
@@ -80,7 +80,7 @@ verifiers/v1/harnesses/claude_code/__init__.py,sha256=JkZQylMSA3o1fvBx_NM41y_umu
|
|
|
80
80
|
verifiers/v1/harnesses/claude_code/harness.py,sha256=hcTQBiN1phRvJcYxPw19IL_u8N4UopRnZmK8mAM7SAI,5833
|
|
81
81
|
verifiers/v1/harnesses/codex/__init__.py,sha256=ocyBvlpSO8c3pT6D1ebrQohoXYESQcCyPT5kN3j1-N4,132
|
|
82
82
|
verifiers/v1/harnesses/codex/gate.mjs,sha256=tOpjjH2adnmAOYeF7tufpYPB6sBFrrcu3-IjD6K4LGE,1183
|
|
83
|
-
verifiers/v1/harnesses/codex/harness.py,sha256=
|
|
83
|
+
verifiers/v1/harnesses/codex/harness.py,sha256=Noe9uGVSUH_JzV0JeADR7Oc6vkVowo6qpkN1qb0iYTM,9815
|
|
84
84
|
verifiers/v1/harnesses/deepseek/__init__.py,sha256=oKexAEE4D3tGRyYRluNZJPaFXc9pBme_cHp2_1I7g1o,160
|
|
85
85
|
verifiers/v1/harnesses/deepseek/gate.mjs,sha256=BxGyYQKOPnZRruI6C-okOeerpoNDGdfNKaMU61dYcY0,440
|
|
86
86
|
verifiers/v1/harnesses/deepseek/harness.py,sha256=pJfO3f6_ff_UA-nwIXEaD3ufuOdAMZE6fmNYoc9lFVc,5850
|
|
@@ -117,10 +117,10 @@ verifiers/v1/harnesses/utils/install.py,sha256=EESYSh_e9L4gj6N4GvAbQY2kb4ckven7t
|
|
|
117
117
|
verifiers/v1/harnesses/utils/launch.py,sha256=2KuLnNruUqH6vcW2Ru661P86ffRzaqslNs-kDMn7B6U,5670
|
|
118
118
|
verifiers/v1/harnesses/utils/mcp.py,sha256=EtDraHEqgsOB6xKvcF2z9C6HlQyKoST0ZDvmy47NWgM,7450
|
|
119
119
|
verifiers/v1/harnesses/utils/replay.py,sha256=m2EXxd24aH3Y5DAi9tEV1teREXGcPHsXhptlcDGkSsw,2473
|
|
120
|
-
verifiers/v1/interception/__init__.py,sha256=
|
|
121
|
-
verifiers/v1/interception/base.py,sha256=
|
|
122
|
-
verifiers/v1/interception/pool.py,sha256=
|
|
123
|
-
verifiers/v1/interception/server.py,sha256=
|
|
120
|
+
verifiers/v1/interception/__init__.py,sha256=Ca5bxP_wWeeVyX8HXbMfqdwUbq7iXPhGXBCje-huHkM,4148
|
|
121
|
+
verifiers/v1/interception/base.py,sha256=zxkkve4UeD5J_14rirLg2ypik2tiwut9E4uqn8J0z5I,2330
|
|
122
|
+
verifiers/v1/interception/pool.py,sha256=QVkt_XKhKhZJnwmXu1MmnbMR5kiffZt0uo0tSj2zZf4,6716
|
|
123
|
+
verifiers/v1/interception/server.py,sha256=aCoUDeLomAITDcv8GzKg4BnIG6w0F54cXsWatFIaD9s,56961
|
|
124
124
|
verifiers/v1/interception/tunnel/__init__.py,sha256=4ZqR9F7cmLUg17qvk4sXtLpWAN4epdiMgA2l9jetMbU,721
|
|
125
125
|
verifiers/v1/interception/tunnel/base.py,sha256=UrHXwbpB_qdh4WHWZHpi2D-wEHcHgg06_0U66XFqm3M,2370
|
|
126
126
|
verifiers/v1/interception/tunnel/custom.py,sha256=SJ3F592zwmrLKrbNktWgkB_84Xfozf6tUWoGmWCitLk,817
|
|
@@ -136,14 +136,14 @@ verifiers/v1/mcp/launch.py,sha256=tI4MGpqWVJxALD9RxajBPcQrIhQvxA5r1slU8nwCjNw,29
|
|
|
136
136
|
verifiers/v1/mcp/server.py,sha256=9hH7rJm8yPYVitcKYMZmSt6_JQyysKAr3e6Xav6IsIk,14154
|
|
137
137
|
verifiers/v1/mcp/toolset.py,sha256=52h0tyCk_Eiu54JZ5hlQMfOlu5Dou7PHKmFr09pYFJg,3129
|
|
138
138
|
verifiers/v1/runtimes/__init__.py,sha256=JrBktZBcRLSnnZh_Er9IuGOVBGYUybJSPHi1q_b-UrI,3386
|
|
139
|
-
verifiers/v1/runtimes/base.py,sha256=
|
|
139
|
+
verifiers/v1/runtimes/base.py,sha256=773ncC7V8ZTTwYpyH0klWF8NTe9XnHik842cr1Y732E,17885
|
|
140
140
|
verifiers/v1/runtimes/compose.py,sha256=Q_0auxhXaGhIOrlisFXI8QRYV9DmewVuXG4ZZtfnrKA,15974
|
|
141
141
|
verifiers/v1/runtimes/deployment.py,sha256=De6N15Vfe7JKn5VOqFwG22SU_lh0f09bJ57hqBi8D6I,7525
|
|
142
142
|
verifiers/v1/runtimes/egress.py,sha256=4zsNS3Z2A2HyoCcbgaLizA30uJabYrbgYAYUfvyzeBk,23703
|
|
143
143
|
verifiers/v1/runtimes/limiters.py,sha256=DITclh1rnJ1x_LeSaH7DJs4XB3FyhowJoIbLvzceRPw,2999
|
|
144
144
|
verifiers/v1/runtimes/native_compose.py,sha256=8WBqWqyYWtohcrE_iq8SuuxsDFgK4Ncos8DxQS7FL_A,42335
|
|
145
145
|
verifiers/v1/runtimes/private_network.py,sha256=69ad7-FuGOK9irTO0Iut4JQ23YQMiVzQVYbCVRmF1IM,6717
|
|
146
|
-
verifiers/v1/runtimes/runtime.py,sha256=
|
|
146
|
+
verifiers/v1/runtimes/runtime.py,sha256=sksG7m4SECqMyuUTppf_Hl3OWOpVUJnk0LVlYJJK05o,10869
|
|
147
147
|
verifiers/v1/runtimes/strategies.py,sha256=WtIrIpKmvjvqpUfwLUwDNJcgRLE8d-2sx7reks2S2PA,8765
|
|
148
148
|
verifiers/v1/runtimes/backends/custom.py,sha256=Iz1Brd4dBTpO1zYVc2KA0u5sxz5ZUROY_Cdme5W33hM,2875
|
|
149
149
|
verifiers/v1/runtimes/backends/docker.py,sha256=k-xjN6m72LH_FUeQ0rCySpYSxtk__3ZwHhOHA5HQ5Zk,32362
|
|
@@ -151,7 +151,7 @@ verifiers/v1/runtimes/backends/prime.py,sha256=LGqWsGSsxZGirdIKL7IJPVOWQT9Go5nzZ
|
|
|
151
151
|
verifiers/v1/runtimes/backends/subprocess.py,sha256=7JIEetsJWELIf410tkJOcntHT3D_6TPXcsMD3IfhWTw,8595
|
|
152
152
|
verifiers/v1/tasksets/__init__.py,sha256=2ijE3qIlLoUA02g6iysOwWQylyBBQL1GhSpjv8_bp0w,521
|
|
153
153
|
verifiers/v1/tasksets/harbor/__init__.py,sha256=FjW4tM3rgGALMK-8p7ux26G4-d4ZFVmaAmO6Fni6e_g,214
|
|
154
|
-
verifiers/v1/tasksets/harbor/taskset.py,sha256
|
|
154
|
+
verifiers/v1/tasksets/harbor/taskset.py,sha256=d2-_d5KB6g06iYsyI_4hX0zFoptFj9ejRyevrfjXJfs,44279
|
|
155
155
|
verifiers/v1/tasksets/harbor/toolset.py,sha256=l-h1GATE9HLnEjb844CzBAiVLkPmE-XarjBlQ2ec5gM,3969
|
|
156
156
|
verifiers/v1/tasksets/nemo_gym/__init__.py,sha256=654gAvG3Wd_Z_nh6mypeKn4s_IIQ0Ge6vcZvxTHC2_E,306
|
|
157
157
|
verifiers/v1/tasksets/nemo_gym/response.py,sha256=EhrsquEP8g0bjzAThGfE6Ypgy86_nVX235NiFYtVDVM,4463
|
|
@@ -185,8 +185,8 @@ verifiers/v1/utils/scope.py,sha256=zbs4pj6AVk4jywlAJ3AX0Q0_kzB9dBB02nY-9H4ELdQ,8
|
|
|
185
185
|
verifiers/v1/utils/score.py,sha256=493yJVMw8teCu9JxapxMFPFzI0hNUqdo0Y2nGW4kckk,6200
|
|
186
186
|
verifiers/v1/utils/trace_store.py,sha256=7F6xMhYgl3qmylnCU8-ekqswH16fUat1uegeM1OR9QQ,2563
|
|
187
187
|
verifiers/v1/utils/version.py,sha256=-obEo_-l9-D8FLef4hYxncOe-uJpxrM1g2Hig_37Sgs,1607
|
|
188
|
-
verifiers-0.4.2.
|
|
189
|
-
verifiers-0.4.2.
|
|
190
|
-
verifiers-0.4.2.
|
|
191
|
-
verifiers-0.4.2.
|
|
192
|
-
verifiers-0.4.2.
|
|
188
|
+
verifiers-0.4.2.dev112.dist-info/METADATA,sha256=-oEqijxAyQQIxBVtYJRj1gndK4fj6YJCr3d7XW2vSQU,5118
|
|
189
|
+
verifiers-0.4.2.dev112.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
190
|
+
verifiers-0.4.2.dev112.dist-info/entry_points.txt,sha256=qdMg7ajiFpDsHf7tuPMRclJXizu1J6LTWawS5YS0B0I,137
|
|
191
|
+
verifiers-0.4.2.dev112.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
|
|
192
|
+
verifiers-0.4.2.dev112.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|