verifiers 0.3.1.dev64__py3-none-any.whl → 0.3.1.dev66__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.
@@ -7,7 +7,8 @@ from pathlib import Path
7
7
  from typing import TYPE_CHECKING
8
8
 
9
9
  from pydantic import BaseModel
10
- from rich.console import Console, Group
10
+ from rich import get_console
11
+ from rich.console import Group
11
12
  from rich.markup import escape
12
13
  from rich.progress_bar import ProgressBar
13
14
  from rich.rule import Rule
@@ -33,7 +34,7 @@ if TYPE_CHECKING:
33
34
 
34
35
  # For sizing pages to the terminal: detects the real terminal height/width each access (the live
35
36
  # view writes to the same terminal). Reused so we don't rebuild it every refresh tick.
36
- _CONSOLE = Console()
37
+ _CONSOLE = get_console()
37
38
  _PAGE_SECONDS = 5.0 # rotate to the next page of rollouts this often when they overflow
38
39
  # The under-bar breakdown pads its label column to the Overview's widest label, so the two
39
40
  # `label value` grids (above and below the progress bar) line their values up.
@@ -188,10 +189,9 @@ def overrides(
188
189
  skip: frozenset[str] = frozenset(),
189
190
  ) -> list[str]:
190
191
  """`field=value` segments for the fields the *user* customized, sorted, diffed against each
191
- field's declared default. Not `model_fields_set`: a `--resume` run reloads its config via
192
- `model_validate(config.toml)`, and that toml is dumped with `exclude_none` (every field), so
193
- `model_fields_set` would flag them all. `default` is the reference instance, threaded through
194
- recursion so a pinned nested default (`taskset.task.tools`) reads as
192
+ field's declared default. Not `model_fields_set`: a `--resume` run reloads the full saved
193
+ JSON config, so `model_fields_set` would flag every field. `default` is the reference instance,
194
+ threaded through recursion so a pinned nested default (`taskset.task.tools`) reads as
195
195
  unchanged. `skip` holds dotted paths (`runtime.type`)."""
196
196
  segments: list[str] = []
197
197
  fields = type(config).model_fields
@@ -782,21 +782,21 @@ def _paginate(
782
782
 
783
783
  def _render(
784
784
  slots: list[RunSlot],
785
- config: EvalConfig,
786
785
  start: float,
787
786
  pager: Pager,
787
+ header: Group | Table,
788
+ runtime_type: str,
788
789
  push: "PushState | None" = None,
789
790
  tail: LogTail | None = None,
790
791
  ) -> Group:
791
792
  now = time.time()
792
- warning = _warning(config)
793
- header = Group(warning, Text(""), Overview(config)) if warning else Overview(config)
794
793
  # The --push status line (and, on Ctrl-C, the cleanup notice) appear under the rollouts. Measure
795
794
  # the fixed top (header + progress + rule) and the footer so the rollout rows fill what's left;
796
795
  # page through them (timer / arrows) when they'd overflow (else rich truncates).
797
796
  footers = [f for f in (_push_footer(push), _interrupt_footer()) if f is not None]
798
797
  footer = Group(*footers) if footers else None
799
- top = Group(header, Progress(slots, start), Rule(style="dim"))
798
+ progress = Progress(slots, start)
799
+ top = Group(header, progress, Rule(style="dim"))
800
800
  reserved = len(_CONSOLE.render_lines(top))
801
801
  if footer is not None:
802
802
  reserved += len(_CONSOLE.render_lines(footer))
@@ -804,7 +804,7 @@ def _render(
804
804
  if tail is not None: # --show-logs: the run's log stream in place of rollout rows
805
805
  parts = [
806
806
  header,
807
- Progress(slots, start),
807
+ progress,
808
808
  Rule(style="dim"),
809
809
  tail.view(rows_per_page),
810
810
  ]
@@ -812,26 +812,13 @@ def _render(
812
812
  parts.append(footer)
813
813
  return Group(*parts)
814
814
  page_groups, index, count = _paginate(_groups(slots), rows_per_page, pager, now)
815
- progress = Progress(
816
- slots,
817
- start,
818
- page=(index + 1, count) if count > 1 else None,
819
- )
815
+ if count > 1:
816
+ progress = Progress(slots, start, page=(index + 1, count))
820
817
  parts = [
821
818
  header,
822
819
  progress,
823
820
  Rule(style="dim"),
824
- Rows(
825
- page_groups,
826
- now,
827
- "/".join(
828
- dict.fromkeys(
829
- getattr(config.env, role).runtime.type
830
- for role in config.env.agent_harnesses()
831
- )
832
- )
833
- or "subprocess",
834
- ),
821
+ Rows(page_groups, now, runtime_type),
835
822
  ]
836
823
  if footer is not None:
837
824
  parts.append(footer)
@@ -846,13 +833,24 @@ async def dashboard(
846
833
  push: "PushState | None" = None,
847
834
  ):
848
835
  pager = Pager()
836
+ warning = _warning(config)
837
+ header = Group(warning, Text(""), Overview(config)) if warning else Overview(config)
838
+ runtime_type = (
839
+ "/".join(
840
+ dict.fromkeys(
841
+ getattr(config.env, role).runtime.type
842
+ for role in config.env.agent_harnesses()
843
+ )
844
+ )
845
+ or "subprocess"
846
+ )
849
847
  tail = (
850
848
  LogTail(attempt_log_file(output_path(config)))
851
849
  if config.rich is not None and config.rich.show_logs
852
850
  else None
853
851
  )
854
852
  async with live_view(
855
- lambda: _render(slots, config, start, pager, push, tail),
856
- on_key=pager.on_key,
853
+ lambda: _render(slots, start, pager, header, runtime_type, push, tail),
854
+ on_key=None if tail is not None else pager.on_key,
857
855
  ):
858
856
  yield
@@ -40,7 +40,7 @@ _OUTCOMES = {
40
40
 
41
41
 
42
42
  def _render(
43
- states: list[TaskProgress], taskset_name: str, source: str, out: str, start: float
43
+ states: list[ReplayProgress], taskset_name: str, source: str, out: str, start: float
44
44
  ) -> Group:
45
45
  overview = Table.grid(padding=(0, 2))
46
46
  overview.add_column(style="dim")
@@ -57,11 +57,7 @@ def _render(
57
57
  if s.state == "pending": # show only in-flight/done rows (like eval/validate)
58
58
  continue
59
59
  label = f"name={s.name[:40]}" if s.name else f"idx={s.idx}"
60
- parts = [
61
- p
62
- for p in (s.state if s.state in _DONE else "", getattr(s, "detail", ""))
63
- if p
64
- ]
60
+ parts = [p for p in (s.state if s.state in _DONE else "", s.detail) if p]
65
61
  result = " ".join(parts) + " ·" if parts else ""
66
62
  elapsed = format_time((s.end or now) - s.start) if s.start else ""
67
63
  rows.add_row(
@@ -75,7 +71,7 @@ def _render(
75
71
 
76
72
  @contextlib.asynccontextmanager
77
73
  async def replay_dashboard(
78
- states: list[TaskProgress], taskset_name: str, source: str, out: str, start: float
74
+ states: list[ReplayProgress], taskset_name: str, source: str, out: str, start: float
79
75
  ):
80
76
  """Refresh the live replay view until the `with` block exits, then a final frame."""
81
77
  async with live_view(lambda: _render(states, taskset_name, source, out, start)):
verifiers/v1/cli/debug.py CHANGED
@@ -240,7 +240,8 @@ async def debug_task(task: Task, config: DebugConfig) -> tuple[Trace, bool]:
240
240
  trace.timing.agent.start = time.time()
241
241
  debug.update(await run_action(runtime, config))
242
242
  trace.timing.agent.end = time.time()
243
- if not debug.get("ok"):
243
+ trace.ok = bool(debug["ok"])
244
+ if not trace.ok:
244
245
  record_action_failure(trace, debug)
245
246
  trace.stop(str(debug["reason"]))
246
247
  except asyncio.CancelledError as e:
@@ -282,7 +283,7 @@ async def run_debug(config: DebugConfig) -> list[Trace]:
282
283
  )
283
284
 
284
285
  out = output_path(config)
285
- save_config(config, out)
286
+ save_config(config, out, "debug.json")
286
287
  logger.info(
287
288
  "debugging %d task(s) from %s on the %s runtime",
288
289
  len(tasks),
@@ -11,7 +11,6 @@ from pydantic_config import cli
11
11
  from verifiers.v1.cli.eval.runner import run_eval
12
12
  from verifiers.v1.cli.output import (
13
13
  TRACES_FILE,
14
- config_digest,
15
14
  create_attempt_log_dir,
16
15
  output_path,
17
16
  saved_config_path,
@@ -69,7 +68,7 @@ def main(argv: list[str] | None = None) -> None:
69
68
  ] # let prime-pydantic-config render help/errors
70
69
  config = cli(config_type)
71
70
  # A named run directory is re-entered only by `--resume` or wiped by `--clean`: any
72
- # other write into it — the dry-run config.toml included, which would clobber the
71
+ # other write into it — the dry-run config included, which would clobber the
73
72
  # config a resume typically re-runs — would overwrite the previous run.
74
73
  run_path = output_path(config)
75
74
  if config.clean and not config.resume and run_path.exists():
@@ -97,10 +96,12 @@ def main(argv: list[str] | None = None) -> None:
97
96
  f"--resume: no saved config under {run_path} - not a run dir"
98
97
  )
99
98
  with plugin_errors():
100
- saved = config_type.model_validate(json.loads(saved_path.read_text()))
101
- if config_digest(saved) != config_digest(config):
102
- saved_dump = saved.model_dump(mode="json")
103
- current_dump = config.model_dump(mode="json")
99
+ saved = config_type.model_validate_json(saved_path.read_text())
100
+ saved_dump = saved.model_dump(mode="json")
101
+ current_dump = config.model_dump(mode="json")
102
+ saved_json = json.dumps(saved_dump, sort_keys=True, separators=(",", ":"))
103
+ current_json = json.dumps(current_dump, sort_keys=True, separators=(",", ":"))
104
+ if saved_json != current_json:
104
105
  changed = sorted(
105
106
  key
106
107
  for key in set(saved_dump) | set(current_dump)
@@ -114,12 +115,12 @@ def main(argv: list[str] | None = None) -> None:
114
115
  )
115
116
  if config.dry_run: # resolved + validated; write it to the output dir and exit
116
117
  setup_logging("DEBUG" if config.verbose else "INFO")
117
- logger.info("wrote config to %s", write_config(config, output_path(config)))
118
+ logger.info("wrote config to %s", write_config(config, run_path))
118
119
  return
119
120
  # Always tee this attempt's logs to `logs/attempt_<n>/eval.log` (`logs/latest`
120
121
  # points there) — in server mode (the default) the workers write there too, and
121
122
  # `--rich.show-logs` tails it live.
122
- log_file = str(create_attempt_log_dir(output_path(config)) / "eval.log")
123
+ log_file = str(create_attempt_log_dir(run_path) / "eval.log")
123
124
  level = "DEBUG" if config.verbose else "INFO"
124
125
  setup_logging(level, log_file=log_file, console=config.rich is None)
125
126
  # First Ctrl-C / SIGTERM warns and raises KeyboardInterrupt so a killed/timed-out eval still
@@ -4,12 +4,12 @@
4
4
  it. `load` keeps the good saved rollouts and re-runs what's owed: missing rollouts
5
5
  (never written) and errored ones (dropped and redone).
6
6
 
7
- A saved episode is matched to a selected task by hashing `episode.task.data`.
8
- Tasks with identical data are interchangeable, a task whose data changed since the
9
- interrupted run re-runs, and nothing depends on `data.idx`.
7
+ A saved episode is matched to a selected task by its persisted `episode.task.hash`,
8
+ falling back to hashing `episode.task.data` for older rows without one. Tasks with
9
+ identical data are interchangeable, a task whose data changed since the interrupted
10
+ run re-runs, and nothing depends on `data.idx`.
10
11
  """
11
12
 
12
- import json
13
13
  from collections import Counter, defaultdict
14
14
  from collections.abc import Callable
15
15
  from pathlib import Path
@@ -47,17 +47,21 @@ def load(
47
47
  if not line.strip():
48
48
  continue
49
49
  try:
50
- try:
51
- row = from_json(line)
52
- except ValueError:
53
- row = json.loads(line)
50
+ row = from_json(line)
54
51
  if "traces" not in row:
55
52
  continue
56
- key = task_key(row["task"]["data"])
53
+ task = row["task"]
54
+ if not isinstance(task, dict):
55
+ continue
56
+ key = task.get("hash")
57
+ if key is None:
58
+ key = task_key(task["data"])
57
59
  except (ValueError, KeyError, IndexError, TypeError):
58
60
  # A torn final line (the run died mid-write) or a foreign shape
59
61
  # is not a keepable rollout — it's owed again, never a crash.
60
62
  continue
63
+ if not isinstance(key, str):
64
+ continue
61
65
  if key not in targets or len(good[key]) >= targets[key]:
62
66
  continue
63
67
  try:
@@ -83,11 +87,3 @@ def load(
83
87
  tmp.write_bytes(b"".join(keep))
84
88
  tmp.replace(path)
85
89
  return episodes, owed
86
-
87
-
88
- def nothing_to_resume_msg(resume_dir: Path, num_tasks: int, num_rollouts: int) -> str:
89
- """Shown (before exit 0) when every selected rollout already completed."""
90
- return (
91
- f"nothing to resume in {resume_dir}: all {num_tasks}x{num_rollouts} rollouts "
92
- f"already completed without error"
93
- )
@@ -170,7 +170,10 @@ async def run_eval(config: EvalConfig) -> list[Episode]:
170
170
  loaded, owed = resume.load(out, keys, config.num_rollouts, complete)
171
171
  finished = [cast(Episode, episode) for episode in loaded]
172
172
  if not owed: # already complete - report it and exit successfully
173
- print(resume.nothing_to_resume_msg(out, len(tasks), config.num_rollouts))
173
+ print(
174
+ f"nothing to resume in {out}: all {len(tasks)}x{config.num_rollouts} "
175
+ "rollouts already completed without error"
176
+ )
174
177
  raise SystemExit(0)
175
178
  counts = distribute(keys, owed, config.num_rollouts)
176
179
  plan = [(task, n) for task, n in zip(tasks, counts) if n]
verifiers/v1/cli/init.py CHANGED
@@ -24,14 +24,10 @@ def _names(name: str) -> tuple[str, str, str, str]:
24
24
  return dash, pkg, stem, prefix
25
25
 
26
26
 
27
- def _write(path: Path, content: str, force: bool) -> bool:
28
- if path.exists() and not force:
29
- print(f" skip {path} (exists)")
30
- return False
27
+ def _write(path: Path, content: str) -> None:
31
28
  path.parent.mkdir(parents=True, exist_ok=True)
32
29
  path.write_text(content)
33
30
  print(f" write {path}")
34
- return True
35
31
 
36
32
 
37
33
  def _pyproject(dash: str, pkg: str) -> str:
@@ -67,7 +63,6 @@ def _taskset_py(pkg: str, prefix: str, *, add_tool: bool) -> str:
67
63
  local_imports: list[str] = []
68
64
  task_config_fields = ""
69
65
  task_decls = ""
70
- state = "vf.State"
71
66
  if add_tool:
72
67
  local_imports.append(f"from {pkg}.servers.tool import {prefix}Toolset")
73
68
  task_config_fields += "\n tools: vf.ToolsetConfig = vf.ToolsetConfig()"
@@ -79,24 +74,18 @@ def _taskset_py(pkg: str, prefix: str, *, add_tool: bool) -> str:
79
74
  )
80
75
  if local_imports:
81
76
  imports += "\n\n" + "\n".join(local_imports)
82
- methods_block = ""
83
- has_task_config = add_tool
84
77
  task_config = (
85
78
  f"\n\nclass {prefix}TaskConfig(vf.TaskConfig):\n"
86
79
  ' """Knobs the task reads from ``self.config``; configure them under '
87
80
  f'``--env.taskset.task.*``."""{task_config_fields}\n'
88
- if has_task_config
81
+ if add_tool
89
82
  else ""
90
83
  )
91
84
  task_generic = (
92
- f"{prefix}Data, {state}, {prefix}TaskConfig"
93
- if has_task_config
94
- else f"{prefix}Data"
85
+ f"{prefix}Data, vf.State, {prefix}TaskConfig" if add_tool else f"{prefix}Data"
95
86
  )
96
87
  config_body = ' num_tasks: int = 5\n """How many tasks to build."""\n' + (
97
- f" task: {prefix}TaskConfig = {prefix}TaskConfig()\n"
98
- if has_task_config
99
- else ""
88
+ f" task: {prefix}TaskConfig = {prefix}TaskConfig()\n" if add_tool else ""
100
89
  )
101
90
  return f'''\
102
91
  {imports}
@@ -107,7 +96,7 @@ class {prefix}Data(vf.TaskData):
107
96
  {task_config}
108
97
 
109
98
  class {prefix}Task(vf.Task[{task_generic}]):
110
- """Rewards, hooks, and servers, with row data available on ``self.data``."""{task_decls}{methods_block}
99
+ """Rewards, hooks, and servers, with row data available on ``self.data``."""{task_decls}
111
100
  @vf.reward(weight=1.0)
112
101
  async def reward(self, trace: vf.Trace) -> float:
113
102
  raise NotImplementedError("Score the rollout and return a float (e.g. in [0, 1]).")
@@ -223,25 +212,21 @@ def scaffold(config: InitConfig) -> Path:
223
212
  )
224
213
  print(f"scaffolding v1 environment {dash!r} in {env_dir}")
225
214
 
226
- _write(env_dir / "pyproject.toml", _pyproject(dash, pkg), config.force)
215
+ _write(env_dir / "pyproject.toml", _pyproject(dash, pkg))
227
216
  _write(
228
217
  env_dir / "README.md",
229
218
  _readme(dash, pkg, add_tool=config.add_tool, add_harness=config.add_harness),
230
- config.force,
231
- )
232
- _write(
233
- pkg_dir / "__init__.py", _init_py(pkg, prefix, config.add_harness), config.force
234
219
  )
220
+ _write(pkg_dir / "__init__.py", _init_py(pkg, prefix, config.add_harness))
235
221
  _write(
236
222
  pkg_dir / "taskset.py",
237
223
  _taskset_py(pkg, prefix, add_tool=config.add_tool),
238
- config.force,
239
224
  )
240
225
  if config.add_harness:
241
- _write(pkg_dir / "harness.py", _harness_py(prefix), config.force)
226
+ _write(pkg_dir / "harness.py", _harness_py(prefix))
242
227
  if config.add_tool:
243
- _write(pkg_dir / "servers" / "__init__.py", "", config.force)
244
- _write(pkg_dir / "servers" / "tool.py", _tool_py(stem, prefix), config.force)
228
+ _write(pkg_dir / "servers" / "__init__.py", "")
229
+ _write(pkg_dir / "servers" / "tool.py", _tool_py(stem, prefix))
245
230
 
246
231
  print(f"\ndone. next:\n uv pip install -e {env_dir}\n uv run eval {dash} -n 3")
247
232
  return env_dir
@@ -260,8 +245,6 @@ def main(argv: list[str] | None = None) -> None:
260
245
 
261
246
  sys.argv = [sys.argv[0], *argv]
262
247
  config = cli(InitConfig)
263
- if not config.name:
264
- raise SystemExit(USAGE)
265
248
  scaffold(config)
266
249
 
267
250
 
@@ -1,16 +1,15 @@
1
- """On-disk output: traces.jsonl (one rollout episode per line) + config.toml.
1
+ """On-disk output: traces.jsonl (one rollout episode per line) + configs/<cli>.json.
2
2
 
3
3
  Each line is an `Episode` — the episode's standing (`id`/`env`/`errors`) inlined
4
4
  next to its flat, self-contained traces — so an episode persists whole or not at all: a torn line is the
5
5
  whole episode owed on resume, and a failure before any trace minted still leaves
6
- its errors on disk. config.toml is the run's resolved config in the format the
7
- CLI reads (`@ config.toml`), so a run is re-runnable from its own output. Lines
6
+ its errors on disk. The JSON file is the run's resolved config in the format the
7
+ CLI reads (`@ configs/<cli>.json`), so a run is re-runnable from its own output. Lines
8
8
  append as episodes complete, so results are durable mid-run. Files written
9
9
  by this surface contain episodes only.
10
10
  """
11
11
 
12
12
  import asyncio
13
- import hashlib
14
13
  import json
15
14
  import os
16
15
  from functools import cache
@@ -68,13 +67,6 @@ def attempt_log_file(run_dir: Path) -> Path:
68
67
  return latest / "eval.log"
69
68
 
70
69
 
71
- def config_digest(config: BaseModel) -> str:
72
- """Canonical hash of a resolved config's full model dump (nulls included)."""
73
- dump = config.model_dump(mode="json")
74
- canonical = json.dumps(dump, sort_keys=True, separators=(",", ":"))
75
- return hashlib.sha256(canonical.encode()).hexdigest()
76
-
77
-
78
70
  def saved_config_path(run_dir: Path) -> Path | None:
79
71
  """The run's saved resolved config (`configs/<cli>.json`), None if absent."""
80
72
  candidates = (
@@ -171,9 +163,8 @@ async def append_episode(
171
163
  async def append_trace(
172
164
  results_dir: Path, trace: Trace, lock: asyncio.Lock, env: str = ""
173
165
  ) -> None:
174
- """Append one finished trace as a single-agent rollout episode — the writers that
175
- complete trace-at-a-time (eval runners, gepa, replay) all go
176
- through here."""
166
+ """Append one finished trace as a single-agent rollout episode — debug and replay,
167
+ which complete trace-at-a-time, both go through here."""
177
168
  episode = Episode(
178
169
  env=EnvInfo(id=env),
179
170
  task=trace.task,
@@ -46,7 +46,7 @@ def references_config_file(argv: list[str]) -> bool:
46
46
  return any(arg.startswith("@") for arg in argv)
47
47
 
48
48
 
49
- def extract_id(argv: list[str], field: str, default: str = "") -> str:
49
+ def extract_id(argv: list[str], field: str) -> str:
50
50
  """The chosen `<field>.id` from `--<field>.id <x>` (or `=<x>`) on the CLI, before
51
51
  the typed parse (the positional taskset shorthand is applied upstream). Two
52
52
  occurrences naming different ids are refused — narrowing would pin the first
@@ -70,7 +70,7 @@ def extract_id(argv: list[str], field: str, default: str = "") -> str:
70
70
  f"{flag} is set twice, with different ids: {distinct[0]!r} and "
71
71
  f"{distinct[1]!r}{hint}; drop one"
72
72
  )
73
- return found[0] if found else default
73
+ return found[0] if found else ""
74
74
 
75
75
 
76
76
  def narrow_taskset_config(base: type[ConfigT], taskset_id: str | None) -> type[ConfigT]:
@@ -51,7 +51,7 @@ ResultRow = dict[str, Any]
51
51
  USAGE = (
52
52
  "usage: uv run validate [<taskset-id>] [--only-setup | --only-gold] "
53
53
  "[-o <output-dir>] [--runtime.type subprocess] [options] [@ file.toml]\n"
54
- " uv run validate @ <run-dir>/config.toml --resume (re-run missing/errored/timed-out tasks)\n"
54
+ " uv run validate @ <run-dir>/configs/validate.json --resume (re-run missing/errored/timed-out tasks)\n"
55
55
  " runs persisted gold and setup-only checks per task (no model)"
56
56
  )
57
57
 
@@ -119,10 +119,7 @@ def load_results(
119
119
  try:
120
120
  row = from_json(line)
121
121
  except ValueError:
122
- try:
123
- row = json.loads(line)
124
- except (json.JSONDecodeError, UnicodeDecodeError):
125
- continue
122
+ continue
126
123
  if not isinstance(row, dict):
127
124
  continue
128
125
  key = row.get("task_key")
@@ -222,11 +219,11 @@ def _row(
222
219
  }
223
220
 
224
221
 
225
- async def _run_gold(task: Task, config: ValidateConfig) -> ResultRow:
222
+ async def _run_check(task: Task, config: ValidateConfig, mode: str) -> ResultRow:
226
223
  start = time.time()
227
224
  runtime = make_runtime(
228
225
  resolve_runtime_config(config.runtime, task),
229
- name=f"validate-gold-{task.data.idx}-{uuid4().hex[:8]}",
226
+ name=f"validate-{mode}-{task.data.idx}-{uuid4().hex[:8]}",
230
227
  )
231
228
  setup_timeout = (
232
229
  config.timeout.setup
@@ -253,51 +250,11 @@ async def _run_gold(task: Task, config: ValidateConfig) -> ResultRow:
253
250
  invoke(task.setup, {"trace": trace, "runtime": runtime}),
254
251
  setup_timeout,
255
252
  )
256
- valid = await asyncio.wait_for(task.validate(runtime), config.timeout.total)
257
- except Exception as e: # noqa: BLE001 - validation reports plugin failures per task
258
- exc = e
259
- finally:
260
- try:
261
- await runtime.stop()
262
- except Exception:
263
- logger.warning(
264
- "runtime teardown failed (task %s)", task.data.idx, exc_info=True
265
- )
266
- return _row(task, "gold", valid, exc, start)
267
-
268
-
269
- async def _run_setup(task: Task, config: ValidateConfig) -> ResultRow:
270
- start = time.time()
271
- runtime = make_runtime(
272
- resolve_runtime_config(config.runtime, task),
273
- name=f"validate-setup-{task.data.idx}-{uuid4().hex[:8]}",
274
- )
275
- setup_timeout = (
276
- config.timeout.setup
277
- if config.timeout.setup is not None
278
- else task.data.timeout.setup
279
- )
280
- valid, exc = False, None
281
- try:
282
- runtime.env = dict(task.runtime_env())
283
- trace = Trace(
284
- task=TraceTask(
285
- type=type(task).__name__, data=task.data, key=task.key, hash=task.hash
286
- ),
287
- state=state_cls(type(task))(),
288
- # No agent runs here — the info only records the runtime policy.
289
- agent=vf.AgentInfo(
290
- config=vf.AgentConfig(runtime=config.runtime),
291
- name="validate",
292
- trainable=False,
293
- ),
294
- )
295
- await runtime.start()
296
- await asyncio.wait_for(
297
- invoke(task.setup, {"trace": trace, "runtime": runtime}),
298
- setup_timeout,
253
+ valid = (
254
+ await asyncio.wait_for(task.validate(runtime), config.timeout.total)
255
+ if mode == "gold"
256
+ else True
299
257
  )
300
- valid = True
301
258
  except Exception as e: # noqa: BLE001 - validation reports plugin failures per task
302
259
  exc = e
303
260
  finally:
@@ -307,7 +264,7 @@ async def _run_setup(task: Task, config: ValidateConfig) -> ResultRow:
307
264
  logger.warning(
308
265
  "runtime teardown failed (task %s)", task.data.idx, exc_info=True
309
266
  )
310
- return _row(task, "setup", valid, exc, start)
267
+ return _row(task, mode, valid, exc, start)
311
268
 
312
269
 
313
270
  def _all_reason(rows: list[ResultRow]) -> str:
@@ -330,8 +287,8 @@ def _all_error(rows: list[ResultRow]) -> tuple[str | None, str | None]:
330
287
 
331
288
  async def _run_all(task: Task, config: ValidateConfig) -> ResultRow:
332
289
  start = time.time()
333
- gold = await _run_gold(task, config)
334
- setup = await _run_setup(task, config)
290
+ gold = await _run_check(task, config, "gold")
291
+ setup = await _run_check(task, config, "setup")
335
292
  rows = [gold, setup]
336
293
  error, error_type = _all_error(rows)
337
294
  return {
@@ -349,11 +306,12 @@ async def _run_all(task: Task, config: ValidateConfig) -> ResultRow:
349
306
 
350
307
 
351
308
  async def _validate_task(task: Task, config: ValidateConfig) -> ResultRow:
352
- if config.only_gold:
353
- return await _run_gold(task, config)
354
- if config.only_setup:
355
- return await _run_setup(task, config)
356
- return await _run_all(task, config)
309
+ mode = validation_mode(config)
310
+ return (
311
+ await _run_all(task, config)
312
+ if mode == "all"
313
+ else await _run_check(task, config, mode)
314
+ )
357
315
 
358
316
 
359
317
  async def run_validate(config: ValidateConfig) -> list[dict]:
@@ -1,8 +1 @@
1
1
  """The CLI entrypoints' run configs — each `uv run <cmd>`'s parsed tree."""
2
-
3
- from verifiers.v1.configs.cli.debug import DebugConfig
4
- from verifiers.v1.configs.cli.eval import EvalConfig
5
- from verifiers.v1.configs.cli.init import InitConfig
6
- from verifiers.v1.configs.cli.validate import ValidateConfig
7
-
8
- __all__ = ["DebugConfig", "EvalConfig", "InitConfig", "ValidateConfig"]
@@ -43,7 +43,7 @@ class DebugConfig(BaseConfig):
43
43
  output_dir: Path | None = Field(
44
44
  None, validation_alias=AliasChoices("output_dir", "o")
45
45
  )
46
- """Where to write `config.toml` and `traces.jsonl`. None = a fresh per-run dir."""
46
+ """Where to write `configs/debug.json` and `traces.jsonl`. None = a fresh per-run dir."""
47
47
 
48
48
  @property
49
49
  def name(self) -> str:
@@ -65,8 +65,8 @@ class EvalConfig(BaseConfig):
65
65
  worker's episode bound — the path prime-rl trains through. `--no-serve` runs the
66
66
  rollouts in-process instead."""
67
67
  run: RunConfig = Field(default_factory=RunConfig)
68
- """Run identity: `run.name` names the run directory under `output_dir`, `run.id` is
69
- stamped on traces."""
68
+ """Run identity: `run.name` is the display name, `run.dir` names the directory
69
+ under `output_dir`, and `run.id` is stamped on traces."""
70
70
  model: str = Field(
71
71
  "deepseek/deepseek-v4-flash", validation_alias=AliasChoices("model", "m")
72
72
  )
@@ -100,7 +100,7 @@ class EvalConfig(BaseConfig):
100
100
  """Log at debug level instead of the default info."""
101
101
  dry_run: bool = Field(False, exclude=True)
102
102
  """Resolve + validate the config and dump it, then exit. Excluded from the saved
103
- config so re-running `@ config.toml` (or resuming/replaying the dir) actually runs."""
103
+ config so re-running `@ configs/eval.json` (or resuming/replaying the dir) actually runs."""
104
104
  clean: bool = Field(False, exclude=True)
105
105
  """Delete the run directory (`output_dir / run.dir`) before running, overwriting a
106
106
  previous run's results. Excluded from the saved config."""
@@ -115,18 +115,14 @@ class EvalConfig(BaseConfig):
115
115
  output_dir: Path = Field(
116
116
  Path("outputs"), validation_alias=AliasChoices("output_dir", "o")
117
117
  )
118
- """Directory that groups related runs. The run itself (config.toml + traces.jsonl)
119
- writes to `output_dir / run.name`."""
118
+ """Directory that groups related runs. The run itself (`configs/eval.json` +
119
+ `traces.jsonl`) writes to `output_dir / run.dir`."""
120
120
  resume: bool = Field(False, exclude=True)
121
121
  """Re-run the run's missing/errored rollouts in place instead of starting fresh. The
122
122
  run dir comes from the resolved config (`output_dir / run.dir`), so resume with the
123
- run's own config — e.g. `uv run eval @ <run-dir>/config.toml --resume`. Excluded
123
+ run's own config — e.g. `uv run eval @ <run-dir>/configs/eval.json --resume`. Excluded
124
124
  from the saved config."""
125
125
 
126
- @property
127
- def env_id(self) -> str:
128
- return self.env.env_id or ""
129
-
130
126
  @model_validator(mode="before")
131
127
  @classmethod
132
128
  def _resolve_env(cls, data):
@@ -5,7 +5,7 @@ from pydantic_config import BaseConfig
5
5
 
6
6
 
7
7
  class InitConfig(BaseConfig):
8
- name: str = ""
8
+ name: str = Field(min_length=1)
9
9
  """The new environment id, e.g. `my-task-v1` (positional: `init my-task-v1`)."""
10
10
  path: str = Field("./environments", validation_alias=AliasChoices("path", "p"))
11
11
  """Parent directory the package is created in (default `./environments`)."""
@@ -40,8 +40,9 @@ class ReplayConfig(BaseConfig):
40
40
  output_dir: Path | None = Field(
41
41
  None, validation_alias=AliasChoices("output_dir", "o")
42
42
  )
43
- """Where to write the re-scored run (config.toml + traces.jsonl). None = a fresh per-run
44
- dir under `outputs/<taskset>--replay/<uuid>` (so a replay never overwrites the source run)."""
43
+ """Where to write the re-scored run (`configs/replay.json` + `traces.jsonl`).
44
+ None = a fresh per-run dir under `outputs/<taskset>--replay/<uuid>` (so a replay
45
+ never overwrites the source run)."""
45
46
 
46
47
  @property
47
48
  def name(self) -> str:
@@ -50,13 +50,14 @@ class ValidateConfig(BaseConfig):
50
50
  output_dir: Path = Field(
51
51
  Path("outputs"), validation_alias=AliasChoices("output_dir", "o")
52
52
  )
53
- """Directory that groups related runs. The run (config.toml, results.jsonl,
54
- summary.json, validate.log) writes to `output_dir / run.dir`."""
53
+ """Directory that groups related runs. The run (`configs/validate.json`,
54
+ `results.jsonl`, `summary.json`, `logs/validate.log`) writes to
55
+ `output_dir / run.dir`."""
55
56
  resume: bool = Field(False, exclude=True)
56
57
  """Re-run the run's missing, errored, and timed-out tasks in place. The run dir comes
57
58
  from the resolved config (`output_dir / run.dir`), so resume with the run's own
58
- config — e.g. `uv run validate @ <run-dir>/config.toml --resume`. Excluded from the
59
- saved config."""
59
+ config — e.g. `uv run validate @ <run-dir>/configs/validate.json --resume`.
60
+ Excluded from the saved config."""
60
61
  clean: bool = Field(False, exclude=True)
61
62
  """Delete the run directory (`output_dir / run.dir`) before running, overwriting a
62
63
  previous run's results. Excluded from the saved config."""
@@ -54,6 +54,12 @@ class NetworkPolicyConfig(BaseConfig):
54
54
  def network_restricted(self) -> bool:
55
55
  return "*" not in self.allow or bool(self.block)
56
56
 
57
+ def permits(self, scheme: str, host: str, port: int) -> bool:
58
+ """Whether the destination is allowed by the configured egress rules."""
59
+ return not any(
60
+ network_rule_matches(rule, scheme, host, port) for rule in self.block
61
+ ) and any(network_rule_matches(rule, scheme, host, port) for rule in self.allow)
62
+
57
63
  def with_task_network_policy(self, allow: list[str], block: list[str]) -> Self:
58
64
  values = self.model_dump()
59
65
  if "*" in allow:
@@ -21,7 +21,7 @@ from urllib.parse import urlsplit
21
21
  from pydantic import AnyHttpUrl, BaseModel, TypeAdapter, ValidationError
22
22
  from pydantic_core import from_json
23
23
 
24
- from verifiers.v1.configs.runtime import NetworkPolicyConfig, network_rule_matches
24
+ from verifiers.v1.configs.runtime import NetworkPolicyConfig
25
25
  from verifiers.v1.types import Request, Response, Sampling, SamplingConfig
26
26
 
27
27
  ReqT = TypeVar("ReqT")
@@ -47,11 +47,7 @@ def blocked_url(value: str, policy: NetworkPolicyConfig) -> bool:
47
47
  except ValidationError:
48
48
  return True
49
49
  host = url.host.lower().rstrip(".").strip("[]")
50
- return any(
51
- network_rule_matches(rule, url.scheme, host, url.port) for rule in policy.block
52
- ) or not any(
53
- network_rule_matches(rule, url.scheme, host, url.port) for rule in policy.allow
54
- )
50
+ return not policy.permits(url.scheme, host, url.port)
55
51
 
56
52
 
57
53
  def provider_allowed_domains(
@@ -36,8 +36,8 @@ class GEPAConfig(BaseConfig):
36
36
  return resolve_env_field(data, narrowed_env_annotation(cls))
37
37
 
38
38
  run: RunConfig = Field(default_factory=RunConfig)
39
- """Run identity: `run.name` names the run directory under `output_dir`; auto-generated
40
- like an eval's when unset."""
39
+ """Run identity: `run.name` is the display name and `run.dir` names the directory
40
+ under `output_dir`; both auto-generate like an eval's when unset."""
41
41
  model: str = Field(
42
42
  "deepseek/deepseek-v4-flash", validation_alias=AliasChoices("model", "m")
43
43
  )
@@ -78,13 +78,14 @@ class GEPAConfig(BaseConfig):
78
78
  output_dir: Path = Field(
79
79
  Path("outputs"), validation_alias=AliasChoices("output_dir", "o")
80
80
  )
81
- """Directory that groups related runs. The run (config.toml + the streamed traces.jsonl,
82
- alongside GEPA's own candidates.json / run_log.json) writes to `output_dir / run.name`."""
81
+ """Directory that groups related runs. The run (`configs/gepa.json` + the streamed
82
+ `traces.jsonl`, alongside GEPA's own `candidates.json` / `run_log.json`) writes to
83
+ `output_dir / run.dir`."""
83
84
  save_results: bool = True
84
85
  verbose: bool = Field(False, validation_alias=AliasChoices("verbose", "v"))
85
86
  dry_run: bool = Field(False, exclude=True)
86
87
  """Resolve + validate the config and dump it, then exit. Excluded from the
87
- saved config so re-running `@ config.toml` runs for real."""
88
+ saved config so re-running `@ configs/gepa.json` runs for real."""
88
89
 
89
90
  @model_validator(mode="after")
90
91
  def auto_setup_run_name(self):
@@ -261,7 +261,9 @@ class DockerRuntime(Runtime):
261
261
  # Setup is trusted; colocated servers fetch their task from host interception
262
262
  # before the final framework routes are known.
263
263
  self._proxy = EgressProxy(
264
- NetworkPolicy(["*"], [], [HOST_ALIAS], allow_non_global=True)
264
+ NetworkPolicy(
265
+ NetworkPolicyConfig(), [HOST_ALIAS], allow_non_global=True
266
+ )
265
267
  )
266
268
  if sys.platform == "linux":
267
269
  await self._proxy.start(listener=await self._container_listener())
@@ -346,18 +348,14 @@ class DockerRuntime(Runtime):
346
348
  assert self._proxy is not None
347
349
  if routes is None:
348
350
  self._proxy.policy = NetworkPolicy(
349
- ["*"], [], [HOST_ALIAS], allow_non_global=True
351
+ NetworkPolicyConfig(), [HOST_ALIAS], allow_non_global=True
350
352
  )
351
353
  return
352
354
  framework = [
353
355
  urlsplit(url)._replace(path="", query="", fragment="").geturl()
354
356
  for url in routes
355
357
  ]
356
- self._proxy.policy = NetworkPolicy(
357
- self.config.allow,
358
- self.config.block,
359
- framework,
360
- )
358
+ self._proxy.policy = NetworkPolicy(self.config, framework)
361
359
  if self._cut:
362
360
  return
363
361
  script = (
@@ -13,7 +13,7 @@ from urllib.parse import urlsplit, urlunsplit
13
13
 
14
14
  import h11
15
15
 
16
- from verifiers.v1.configs.runtime import network_rule_matches
16
+ from verifiers.v1.configs.runtime import NetworkPolicyConfig, network_rule_matches
17
17
 
18
18
  HOST_ALIAS = "vf.host.internal"
19
19
  _HEADER_TIMEOUT = 10
@@ -30,8 +30,7 @@ async def _drain(writer: asyncio.StreamWriter) -> None:
30
30
 
31
31
  @dataclass
32
32
  class NetworkPolicy:
33
- allow: list[str]
34
- block: list[str]
33
+ config: NetworkPolicyConfig
35
34
  routes: list[str]
36
35
  allow_non_global: bool = False # trusted setup only
37
36
 
@@ -47,7 +46,7 @@ class NetworkPolicy:
47
46
  rule.lower().startswith(f"{scheme}://")
48
47
  and network_rule_matches(rule, scheme, host, port)
49
48
  )
50
- for rule in [*self.routes, *self.allow]
49
+ for rule in [*self.routes, *self.config.allow]
51
50
  )
52
51
  ):
53
52
  return False
@@ -65,11 +64,7 @@ class NetworkPolicy:
65
64
  with contextlib.suppress(ValueError):
66
65
  if ip_address(hostname).is_loopback:
67
66
  return False
68
- if any(network_rule_matches(rule, scheme, host, port) for rule in self.block):
69
- return False
70
- return any(
71
- network_rule_matches(rule, scheme, host, port) for rule in self.allow
72
- )
67
+ return self.config.permits(scheme, host, port)
73
68
 
74
69
 
75
70
  async def _read_client_hello(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: verifiers
3
- Version: 0.3.1.dev64
3
+ Version: 0.3.1.dev66
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
@@ -186,23 +186,23 @@ verifiers/v1/types.py,sha256=P80GZ-_J1lfro6fGQage7ZtKA1ylHlA8HnVx65ySh5M,9592
186
186
  verifiers/v1/acp/__init__.py,sha256=-QQh5ZT0o9j98CzqltsheccmM3Xqqyneu-vN1U0NJ38,10232
187
187
  verifiers/v1/acp/runner.py,sha256=aP7yyXMDp1nkU-L20BSqcwqRo9YEhNnpM8u_dWfFpCw,9528
188
188
  verifiers/v1/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
189
- verifiers/v1/cli/debug.py,sha256=gi9FBlM0c44enIbig4nA4yprOtanyoISmPnqrnOA_ac,11587
189
+ verifiers/v1/cli/debug.py,sha256=x3bqOwwbwwfwQQpxHrZeKdxsW3ZVtUT9cAn_r4aOro4,11631
190
190
  verifiers/v1/cli/gepa.py,sha256=7YpppEMeuY2m1X5szGkybzTHztnIs83CvnSizhiEC-w,4210
191
- verifiers/v1/cli/init.py,sha256=_WBM_Ub8adMWWoJRDb4jqNaE2T7BgwlXfjVw2--3Pk0,8056
192
- verifiers/v1/cli/output.py,sha256=jHH7yid6G7BDyiuUzBXALcRAai3zZRwaJzRFiTgS9gk,7351
191
+ verifiers/v1/cli/init.py,sha256=LFF_1e2XTdgIKjWoqq_IAlOzAXcARPEroblcEGv0fCU,7599
192
+ verifiers/v1/cli/output.py,sha256=CdwOC5WUA3ir_YSVG9OtiOZ7yYrvOH8L_8h9Bel_O4Q,7027
193
193
  verifiers/v1/cli/replay.py,sha256=JhhI_O8PLhtHbgLie5dG03RrTynvZtsEPX-MLY3KQy4,10240
194
- verifiers/v1/cli/resolve.py,sha256=OsNw4C3r9xOVFa-mminJFcex_bAsJ6EQ8K7A_H8u2kQ,4370
194
+ verifiers/v1/cli/resolve.py,sha256=Q1EHM7wWQo0YkwJA898qtZbYLaIkjIVq3Q7kUp2YIxs,4346
195
195
  verifiers/v1/cli/resume.py,sha256=hqV5AxxqeIInJeEZQerQznuijhMNijFEFcHZIltfLdE,470
196
- verifiers/v1/cli/validate.py,sha256=jUQZVwdzY9A5TcULBaxvsh_TvkYGQfO0zXEbnlYk_n4,18410
196
+ verifiers/v1/cli/validate.py,sha256=xDvTTe5wVMnn1G5mSElS44D6klLMF1J5vKR6mcv1M-Y,16874
197
197
  verifiers/v1/cli/dashboard/__init__.py,sha256=v-baMxQuWxOCsbU7-p_jj2Q9BUnTN-TWi1q2hK6rU2s,198
198
198
  verifiers/v1/cli/dashboard/base.py,sha256=kUP93zJSIVLptSbnWX6MOy8kGg63fpeAzPqakCpPyDc,3547
199
- verifiers/v1/cli/dashboard/eval.py,sha256=yfrhs4w1sqwwHieIegTbqPvyrdxcY14JZFawAf_0_mk,36662
200
- verifiers/v1/cli/dashboard/replay.py,sha256=CvRVaf0dUum5v0IzPQbFPPikBQmTrkMeaunGfVMTWHc,2755
199
+ verifiers/v1/cli/dashboard/eval.py,sha256=IgyEVBfTcyuKw_rXaHrRRFX4ESlwsekaPi-bxDDdDKY,36633
200
+ verifiers/v1/cli/dashboard/replay.py,sha256=_X5up9MJsRbd_sWe4LgNTPNT8k1ip4xNpo50hxI3Ljk,2697
201
201
  verifiers/v1/cli/dashboard/validate.py,sha256=rLsQ_31DjTIZpC_VO7zSG41ncUEBxqCx8mL9nTnGiMc,3650
202
202
  verifiers/v1/cli/eval/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
203
- verifiers/v1/cli/eval/main.py,sha256=tPLHAdCc8o2lxu4BEd-61UsF1Dfltmm9jV6K-HwCg3I,6222
204
- verifiers/v1/cli/eval/resume.py,sha256=WbWXmH7HLk2wkR-vyBtQIRT-P9IQpK9tOEMYPWfQaUs,3904
205
- verifiers/v1/cli/eval/runner.py,sha256=NeV4NuxuQDgWi4QvZ_Qm4sP0GxREz1jS3LYxobfOxxY,9992
203
+ verifiers/v1/cli/eval/main.py,sha256=O9U391WdUwhAcuZhs3EXm53SrVjjufyYiRGZdC3u80I,6312
204
+ verifiers/v1/cli/eval/resume.py,sha256=fYkWa0Fudq--IWfk25j_McLm67bXYWvksWmJR4u4QAU,3811
205
+ verifiers/v1/cli/eval/runner.py,sha256=yFJWO5TZVUn5of3gU8YgNCLBBGO9o9LfThvEbhaDk-Y,10085
206
206
  verifiers/v1/clients/__init__.py,sha256=Ysig0tE_0E4Jsfgfes1XHN-fK1s_RCXdqZD6E7lK4PU,507
207
207
  verifiers/v1/clients/base.py,sha256=PoDw4GMqrfuPTFVK6n2jDmlD0_lJ5zTrYcNio5yq6K8,1691
208
208
  verifiers/v1/clients/client.py,sha256=zqC_AkiD9pl0kxxIbupNiehbS-YnVdp3EMZ0LOHTd8U,3125
@@ -215,20 +215,20 @@ verifiers/v1/configs/env.py,sha256=-Bcdd4MEPfekVc_fnpiwsb9UDwCNdNCKrAHGoQuuXu8,7
215
215
  verifiers/v1/configs/harness.py,sha256=nk046YBXjSv_cNQJQeOSDddbwbH9BI4GXylixFvL4I4,1640
216
216
  verifiers/v1/configs/judge.py,sha256=CBmGgyHXVpcBctvrFD5GlW75wpeFXVFajq_xiMaAVDk,2142
217
217
  verifiers/v1/configs/retries.py,sha256=-nPlgmz7J_NZ4GOYG6oCc3thXo4La2SufBmvQGvvPGo,821
218
- verifiers/v1/configs/runtime.py,sha256=leFPSRJ9zn21LThTZ6jL4pMmdOHAy4g2hRpNbidKKt0,2624
218
+ verifiers/v1/configs/runtime.py,sha256=IBX3FxiJ2RJaiX2aKghQ15clFHvJpPUXy8GWQOpNhYM,2967
219
219
  verifiers/v1/configs/serve.py,sha256=oa_0BrAVEKboU344w0hYkSaXj8lf26t0H87gvncAo0Q,2716
220
220
  verifiers/v1/configs/task.py,sha256=57OnEGAa6jTiG12Lx_elREU02koYh8UkM0t0Vvxahys,2614
221
221
  verifiers/v1/configs/taskset.py,sha256=N5sFYjzjcmnUEiNiHH69vaOfl8fsVwmqXmWmPixqOOA,777
222
- verifiers/v1/configs/cli/__init__.py,sha256=TJaWQQHrcyXoeqS7P9S25ztd78YJ30_9_Ug0czRH7Tw,374
223
- verifiers/v1/configs/cli/debug.py,sha256=xrb56B_CyxncgW30_hwjZYgTM1ViEBCEI-IQjKkxbDY,2847
222
+ verifiers/v1/configs/cli/__init__.py,sha256=YMDUPdbRlDJ77dhj3QqzmyRhqNgUvuQdpj_bdBqzZPM,78
223
+ verifiers/v1/configs/cli/debug.py,sha256=6ohG1AB0FBH_s8dVOTre86NlIf_fClz-3FiCBWgR-IM,2854
224
224
  verifiers/v1/configs/cli/env.py,sha256=YdIo0RW7VBhq_uCoa7RfnkkzGU5PW4kTa6Bn20lnd5c,2592
225
- verifiers/v1/configs/cli/eval.py,sha256=PA8j1KIKVh6m4IM-YIeL_BDwjplqed83F7Bp1__z3Ec,6370
226
- verifiers/v1/configs/cli/init.py,sha256=Vmuamb53F79UjGfS6lv-HBhndaM-YuVcjPCU0JbvUWI,899
227
- verifiers/v1/configs/cli/replay.py,sha256=xvMDZzIkvjgYl-a3ragjXI65DsD6FYl6gEFM5qpdIuA,2913
228
- verifiers/v1/configs/cli/validate.py,sha256=0LXGjqc9JxbCGTpMBX5OPsHCWxZw64uE1ky3ukQBULs,3654
225
+ verifiers/v1/configs/cli/eval.py,sha256=AkT-wY_pm4WJ8zNABvfC3GoYOjrNCkyVXtUGquBDmUI,6341
226
+ verifiers/v1/configs/cli/init.py,sha256=JvIUOdhfZfNOXg2wm2i06jLLHpb97tNMzZqmcK_9wVw,916
227
+ verifiers/v1/configs/cli/replay.py,sha256=vUCNs-9j1CXcAZhGozN1EaztcXK_dYVK3iN_fRmbSXw,2929
228
+ verifiers/v1/configs/cli/validate.py,sha256=NXQ9KvhGLODLrg1fs3Jn-SOq1hhPxauVWiPSEp6wje0,3691
229
229
  verifiers/v1/dialects/__init__.py,sha256=p72C7VYrFQzVgTcfmzpHGSwXlvThfc4pvjBxsqw7kHE,786
230
230
  verifiers/v1/dialects/anthropic.py,sha256=lS3we2HbvS7QmbsQhlTnLdsEyDe3QtrUTUPzZ1geIqg,27441
231
- verifiers/v1/dialects/base.py,sha256=VwMm8RHXr0dK4Y4-wWn853ft1K7UCo1CCAivWhqFh3s,13068
231
+ verifiers/v1/dialects/base.py,sha256=GuIhyqUIparR3Y49diyMeKPZsy8ybKh9WR8yOKgXfuI,12888
232
232
  verifiers/v1/dialects/chat.py,sha256=yLlpNwXfCSiDD_bWE7jnf7mIfopDem_yRPEGi3qD7xE,23256
233
233
  verifiers/v1/dialects/responses.py,sha256=ayFjUJlbH2t0X1FCDoO9CWyHD_112oiaABgP82acEtA,30505
234
234
  verifiers/v1/envs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -243,7 +243,7 @@ verifiers/v1/envs/user_sim/__init__.py,sha256=nnT695HdqjAEouYL5wtVu6MhIp2wf5yuK-
243
243
  verifiers/v1/envs/user_sim/env.py,sha256=deI4r-Utn_v4E_Vb9P_X3LzFh2GRkCO4OlQt8BOCMGY,4942
244
244
  verifiers/v1/gepa/__init__.py,sha256=6nmdRE0-34AKioPHBjTxUg5Jo_2z7tMX-OU3zMNpAJI,197
245
245
  verifiers/v1/gepa/adapter.py,sha256=YNvHMR2L5Utl-vtPfjZxmDCd2tTcoAPWG6aVGnV1icM,6139
246
- verifiers/v1/gepa/config.py,sha256=nWYAQmJbEJBbCRGWP1PNa3xd3p5rO8ZcXHUWkJJ0Bw0,4826
246
+ verifiers/v1/gepa/config.py,sha256=PhZRLkhaPciNm_IhwVX3e9DM8Y2IdCe4Fbi5WjH5aro,4883
247
247
  verifiers/v1/gepa/dataset.py,sha256=hFuR7dou4VSKa0ujb8sFmGm9a19mjrsmTa1MMW1Kv7I,2177
248
248
  verifiers/v1/gepa/reflection.py,sha256=ptHhx0lcDLcWhWhXuslh9T8gPVNpnX5XLPtXoneW1yA,1054
249
249
  verifiers/v1/gepa/runner.py,sha256=fGEyFzejdQKBzBbvdiTDHV3JtRhXMXMGSBU5y8C8i3w,6054
@@ -305,8 +305,8 @@ verifiers/v1/runtimes/limiters.py,sha256=C6cWDD4pwyFwUY4QFke3oiMXwydSNIfSbJSIglU
305
305
  verifiers/v1/runtimes/modal.py,sha256=Lgc0OkQEWHVBHCqBE2ja-mxtRYGserixlO4B9b5Vwn4,12661
306
306
  verifiers/v1/runtimes/prime.py,sha256=QnrSCmq9lA_u4o0k6igsum_okSTOZR1lSAHqeRhwldk,18931
307
307
  verifiers/v1/runtimes/subprocess.py,sha256=IO82fI1wFbeTtV7T1AHSF8iTUyT9yGJFIUmCKKw6CnQ,7763
308
- verifiers/v1/runtimes/docker/__init__.py,sha256=trEorxJxC5DMRgtMNu7kF_c88vITTETaRTgCcpNqDc0,20604
309
- verifiers/v1/runtimes/docker/egress.py,sha256=bZzLuK1_pjpkR-YMnzSBcKXnqqJKDUwjgCBHU0WXrTY,14511
308
+ verifiers/v1/runtimes/docker/__init__.py,sha256=K6xbJAT1F3-PtgP5Gum2UJKQ8Re1Yz90BP8Uc7Npec4,20594
309
+ verifiers/v1/runtimes/docker/egress.py,sha256=iFH_1XotlEM-OCaW7GNu3TWVEq1sqesKYweyVBX8g90,14360
310
310
  verifiers/v1/serve/__init__.py,sha256=doImCSxSYZEjVDXfRafLHkhHXcXQxzA6qUGMBQ8bSko,477
311
311
  verifiers/v1/serve/client.py,sha256=UWmLUkwhys241PCe5DymYs_YHxypN-u6GL4WF8A0OjQ,7583
312
312
  verifiers/v1/serve/encoding.py,sha256=5tKagKZKwBPN6VydLObCKDzLnijrvRwMjuyVQUq5BKA,2399
@@ -348,8 +348,8 @@ verifiers/v1/utils/prime.py,sha256=UTYRjp9cbjNb6CVmBHda-1wWZAIIfxNOmTyNuT7_wL4,9
348
348
  verifiers/v1/utils/retries.py,sha256=Y2ZgrAjn-qNkRKZP_RVNL_7EK0iaRcZeCa404lpGYi4,5417
349
349
  verifiers/v1/utils/score.py,sha256=-R5Cog14r_tJ6Q_oOfGr5VPAm2CCUhofYZB6B9lm4wM,5787
350
350
  verifiers/v1/utils/version.py,sha256=-obEo_-l9-D8FLef4hYxncOe-uJpxrM1g2Hig_37Sgs,1607
351
- verifiers-0.3.1.dev64.dist-info/METADATA,sha256=X12bayIx-98YWsQ0yuk75BaKtkTmc3gPm0ZVe0e7y98,4653
352
- verifiers-0.3.1.dev64.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
353
- verifiers-0.3.1.dev64.dist-info/entry_points.txt,sha256=hZ5wDc1T8y-EvOziw7kQqatBJ6PbdSu2ygP5rjANl7c,564
354
- verifiers-0.3.1.dev64.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
355
- verifiers-0.3.1.dev64.dist-info/RECORD,,
351
+ verifiers-0.3.1.dev66.dist-info/METADATA,sha256=wnVXwA1ydSjUfl0F89GZ9YBjlMAbz251N_Kbrffrr60,4653
352
+ verifiers-0.3.1.dev66.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
353
+ verifiers-0.3.1.dev66.dist-info/entry_points.txt,sha256=hZ5wDc1T8y-EvOziw7kQqatBJ6PbdSu2ygP5rjANl7c,564
354
+ verifiers-0.3.1.dev66.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
355
+ verifiers-0.3.1.dev66.dist-info/RECORD,,