verifiers 0.4.2.dev53__py3-none-any.whl → 0.4.2.dev55__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.
Files changed (29) hide show
  1. verifiers/v1/__init__.py +3 -0
  2. verifiers/v1/harnesses/claude_code/harness.py +4 -4
  3. verifiers/v1/harnesses/codex/harness.py +7 -7
  4. verifiers/v1/harnesses/deepseek/harness.py +5 -5
  5. verifiers/v1/harnesses/hermes_agent/harness.py +7 -7
  6. verifiers/v1/harnesses/kimi_code/harness.py +5 -5
  7. verifiers/v1/harnesses/mini_swe_agent/harness.py +3 -1
  8. verifiers/v1/harnesses/node.py +3 -3
  9. verifiers/v1/harnesses/openclaw/harness.py +5 -5
  10. verifiers/v1/harnesses/opencode/harness.py +4 -4
  11. verifiers/v1/harnesses/pi/harness.py +5 -5
  12. verifiers/v1/harnesses/prime_agent/harness.py +5 -5
  13. verifiers/v1/harnesses/rlm/harness.py +14 -11
  14. verifiers/v1/harnesses/terminus_2/harness.py +10 -2
  15. verifiers/v1/harnesses/utils/install.py +2 -1
  16. verifiers/v1/harnesses/utils/launch.py +65 -29
  17. verifiers/v1/mcp/launch.py +1 -1
  18. verifiers/v1/runtimes/backends/docker.py +24 -6
  19. verifiers/v1/runtimes/backends/prime.py +33 -1
  20. verifiers/v1/runtimes/base.py +15 -0
  21. verifiers/v1/runtimes/runtime.py +18 -0
  22. verifiers/v1/submission.py +197 -0
  23. verifiers/v1/utils/artifacts.py +2 -2
  24. verifiers/v1/utils/git.py +1 -1
  25. {verifiers-0.4.2.dev53.dist-info → verifiers-0.4.2.dev55.dist-info}/METADATA +1 -1
  26. {verifiers-0.4.2.dev53.dist-info → verifiers-0.4.2.dev55.dist-info}/RECORD +29 -28
  27. {verifiers-0.4.2.dev53.dist-info → verifiers-0.4.2.dev55.dist-info}/WHEEL +0 -0
  28. {verifiers-0.4.2.dev53.dist-info → verifiers-0.4.2.dev55.dist-info}/entry_points.txt +0 -0
  29. {verifiers-0.4.2.dev53.dist-info → verifiers-0.4.2.dev55.dist-info}/licenses/LICENSE +0 -0
verifiers/v1/__init__.py CHANGED
@@ -106,6 +106,7 @@ if TYPE_CHECKING:
106
106
  SemanticEdgeSet,
107
107
  )
108
108
  from verifiers.v1.state import State, StateT
109
+ from verifiers.v1.submission import run_submission
109
110
  from verifiers.v1.task import (
110
111
  Task,
111
112
  TaskData,
@@ -191,6 +192,7 @@ if TYPE_CHECKING:
191
192
  )
192
193
 
193
194
  _NAME_TO_MODULE = {
195
+ "run_submission": "verifiers.v1.submission",
194
196
  "ACPConfig": "verifiers.v1.acp",
195
197
  "ACPHarness": "verifiers.v1.acp",
196
198
  "ACPInfo": "verifiers.v1.semantic",
@@ -542,6 +544,7 @@ __all__ = [ # noqa: RUF022 - grouped by public API area
542
544
  "capture_patch",
543
545
  "resolve_head",
544
546
  "grade_submission",
547
+ "run_submission",
545
548
  # grading artifacts
546
549
  "ARTIFACTS_DIR",
547
550
  "Artifact",
@@ -26,8 +26,8 @@ export PATH="/var/tmp/vf-node/bin:$PATH"
26
26
  rm -f {ready}
27
27
  npm install --prefix {packages} --no-audit --no-fund \
28
28
  --omit=dev \
29
- "@anthropic-ai/claude-code@$VF_CLAUDE_CODE_VERSION" \
30
- "@agentclientprotocol/claude-agent-acp@$VF_CLAUDE_ACP_VERSION" >/dev/null
29
+ "@anthropic-ai/claude-code@$AGENT_CLAUDE_CODE_VERSION" \
30
+ "@agentclientprotocol/claude-agent-acp@$AGENT_CLAUDE_ACP_VERSION" >/dev/null
31
31
  touch {ready}
32
32
  """
33
33
 
@@ -65,8 +65,8 @@ class ClaudeCodeHarness(ACPHarness[ClaudeCodeHarnessConfig]):
65
65
  install=script,
66
66
  env={
67
67
  **self.config.resolved_env,
68
- "VF_CLAUDE_CODE_VERSION": self.config.version,
69
- "VF_CLAUDE_ACP_VERSION": ACP_VERSION,
68
+ "AGENT_CLAUDE_CODE_VERSION": self.config.version,
69
+ "AGENT_CLAUDE_ACP_VERSION": ACP_VERSION,
70
70
  },
71
71
  label="Claude Agent ACP",
72
72
  )
@@ -31,8 +31,8 @@ export PATH="/var/tmp/vf-node/bin:$PATH"
31
31
  rm -f {ready}
32
32
  npm install --prefix {packages} --ignore-scripts --no-audit --no-fund \
33
33
  --omit=dev \
34
- "@agentclientprotocol/codex-acp@$VF_CODEX_ACP_VERSION" \
35
- "@openai/codex@$VF_CODEX_VERSION" >/dev/null
34
+ "@agentclientprotocol/codex-acp@$AGENT_CODEX_ACP_VERSION" \
35
+ "@openai/codex@$AGENT_CODEX_VERSION" >/dev/null
36
36
  touch {ready}
37
37
  """
38
38
 
@@ -40,7 +40,7 @@ touch {ready}
40
40
  GATE_HOOK = (Path(__file__).resolve().parent / "gate.mjs").read_text()
41
41
  GATE_HANDLER = {
42
42
  "type": "command",
43
- "command": f'{NODE_BIN_DIR}/node "$CODEX_HOME/vf-gate.mjs"',
43
+ "command": f'{NODE_BIN_DIR}/node "$CODEX_HOME/tool-gate.mjs"',
44
44
  "timeout": 120,
45
45
  "async": False,
46
46
  }
@@ -96,8 +96,8 @@ class CodexHarness(ACPHarness[CodexHarnessConfig]):
96
96
  install=script,
97
97
  env={
98
98
  **self.config.resolved_env,
99
- "VF_CODEX_VERSION": self.config.version,
100
- "VF_CODEX_ACP_VERSION": ACP_VERSION,
99
+ "AGENT_CODEX_VERSION": self.config.version,
100
+ "AGENT_CODEX_ACP_VERSION": ACP_VERSION,
101
101
  },
102
102
  label="codex",
103
103
  )
@@ -143,14 +143,14 @@ class CodexHarness(ACPHarness[CodexHarnessConfig]):
143
143
  # Codex asks its ACP client only when a command escapes the sandbox, and never in
144
144
  # full access, so the gate is a PreToolUse hook instead.
145
145
  await runtime.write(
146
- f"{config.env['CODEX_HOME']}/vf-gate.mjs",
146
+ f"{config.env['CODEX_HOME']}/tool-gate.mjs",
147
147
  GATE_HOOK.replace("__URL__", json.dumps(url))
148
148
  .replace("__SECRET__", json.dumps(secret))
149
149
  .encode(),
150
150
  )
151
151
  # Codex keys hook trust by the config's canonical path, resolving symlinks.
152
152
  home = await runtime.run(
153
- ["sh", "-c", 'cd "$1" && pwd -P', "vf-gate", config.env["CODEX_HOME"]],
153
+ ["sh", "-c", 'cd "$1" && pwd -P', "tool-gate", config.env["CODEX_HOME"]],
154
154
  {},
155
155
  )
156
156
  if home.exit_code:
@@ -19,9 +19,9 @@ GATE = (Path(__file__).parent / "gate.mjs").read_bytes()
19
19
  INSTALL = r"""
20
20
  set -e
21
21
  export PATH="/var/tmp/vf-node/bin:$PATH"
22
- npm install --prefix "$VF_DEEPSEEK_DIR" --no-audit --no-fund \
23
- "@deepseek-ai/dsh@$VF_DEEPSEEK_VERSION" >/dev/null
24
- touch "$VF_DEEPSEEK_DIR/.ready"
22
+ npm install --prefix "$AGENT_DEEPSEEK_DIR" --no-audit --no-fund \
23
+ "@deepseek-ai/dsh@$AGENT_DEEPSEEK_VERSION" >/dev/null
24
+ touch "$AGENT_DEEPSEEK_DIR/.ready"
25
25
  """
26
26
 
27
27
 
@@ -47,8 +47,8 @@ class DeepSeekHarness(ACPHarness[DeepSeekHarnessConfig]):
47
47
  ready=f"test -f {directory}/.ready",
48
48
  install=INSTALL,
49
49
  env={
50
- "VF_DEEPSEEK_DIR": directory,
51
- "VF_DEEPSEEK_VERSION": self.config.version,
50
+ "AGENT_DEEPSEEK_DIR": directory,
51
+ "AGENT_DEEPSEEK_VERSION": self.config.version,
52
52
  },
53
53
  label="DeepSeek Harness",
54
54
  )
@@ -21,14 +21,14 @@ INSTALL = f"""
21
21
  set -e
22
22
  {_ENSURE_UV}
23
23
  command -v curl >/dev/null || (apt-get update -qq && apt-get install -y -qq curl ca-certificates >/dev/null)
24
- curl -fsSL "https://github.com/NousResearch/hermes-agent/archive/refs/tags/$VF_HERMES_VERSION.tar.gz" \\
25
- | tar -xz --strip-components=1 -C "$VF_HERMES_DIR"
24
+ curl -fsSL "https://github.com/NousResearch/hermes-agent/archive/refs/tags/$AGENT_HERMES_VERSION.tar.gz" \\
25
+ | tar -xz --strip-components=1 -C "$AGENT_HERMES_DIR"
26
26
  # Replay one reasoning key: strict providers reject Hermes' duplicated aliases on custom routes.
27
27
  # Recheck: https://github.com/NousResearch/hermes-agent/blob/v0.22.5/agent/message_sanitization.py#L660
28
28
  sed -i '/^_REASONING_CARRIER_ROUTES: tuple = (/a\\
29
- (_DEFAULT_CARRIERS, frozenset({{"custom"}}), ()),' "$VF_HERMES_DIR/agent/message_sanitization.py"
30
- uv sync --project "$VF_HERMES_DIR" --python 3.14 --locked --no-dev --extra acp --extra mcp --extra anthropic
31
- touch "$VF_HERMES_DIR/.ready"
29
+ (_DEFAULT_CARRIERS, frozenset({{"custom"}}), ()),' "$AGENT_HERMES_DIR/agent/message_sanitization.py"
30
+ uv sync --project "$AGENT_HERMES_DIR" --python 3.14 --locked --no-dev --extra acp --extra mcp --extra anthropic
31
+ touch "$AGENT_HERMES_DIR/.ready"
32
32
  """
33
33
 
34
34
 
@@ -65,8 +65,8 @@ class HermesAgentHarness(ACPHarness[HermesAgentHarnessConfig]):
65
65
  install=INSTALL,
66
66
  env={
67
67
  **self.config.resolved_env,
68
- "VF_HERMES_DIR": directory,
69
- "VF_HERMES_VERSION": self.config.version,
68
+ "AGENT_HERMES_DIR": directory,
69
+ "AGENT_HERMES_VERSION": self.config.version,
70
70
  },
71
71
  label="Hermes Agent",
72
72
  shell=("bash", "-o", "pipefail", "-c"),
@@ -29,10 +29,10 @@ INSTALL = r"""
29
29
  set -e
30
30
  packages=/var/tmp/vf-kimi-code
31
31
  export PATH="/var/tmp/vf-node/bin:$PATH"
32
- if [ "$(cat "$packages/.version" 2>/dev/null)" != "$VF_KIMI_VERSION" ]; then
32
+ if [ "$(cat "$packages/.version" 2>/dev/null)" != "$AGENT_KIMI_VERSION" ]; then
33
33
  npm install --prefix "$packages" --ignore-scripts --no-audit --no-fund --omit=dev \
34
- "@moonshot-ai/kimi-code@$VF_KIMI_VERSION" >/dev/null
35
- printf %s "$VF_KIMI_VERSION" > "$packages/.version"
34
+ "@moonshot-ai/kimi-code@$AGENT_KIMI_VERSION" >/dev/null
35
+ printf %s "$AGENT_KIMI_VERSION" > "$packages/.version"
36
36
  fi
37
37
  """
38
38
 
@@ -63,7 +63,7 @@ class KimiCodeHarness(ACPHarness[KimiCodeHarnessConfig]):
63
63
  runtime,
64
64
  directory=KIMI_DIR,
65
65
  install=INSTALL,
66
- env={"VF_KIMI_VERSION": self.config.version},
66
+ env={"AGENT_KIMI_VERSION": self.config.version},
67
67
  label="Kimi Code",
68
68
  )
69
69
  await super().setup(runtime)
@@ -101,7 +101,7 @@ class KimiCodeHarness(ACPHarness[KimiCodeHarnessConfig]):
101
101
  "decision": "deny",
102
102
  "scope": "user",
103
103
  "pattern": tool,
104
- "reason": "Disabled by Verifiers harness configuration.",
104
+ "reason": "Disabled by the current configuration.",
105
105
  }
106
106
  for tool in self.config.disabled_tools
107
107
  ]
@@ -48,7 +48,9 @@ class MiniSWEAgentHarness(Harness[MiniSWEAgentHarnessConfig]):
48
48
  "--model-class",
49
49
  "litellm",
50
50
  "--task-file",
51
- await stage_text(runtime, trace, "task.txt", prompt),
51
+ await stage_text(
52
+ runtime, trace, "task.txt", prompt, env=self.config.resolved_env
53
+ ),
52
54
  "--exit-immediately",
53
55
  "--yolo",
54
56
  "-c",
@@ -13,13 +13,13 @@ node_ok() { "$1" -e 'const [a,b,c]=process.versions.node.split(".").map(Number);
13
13
 
14
14
  install_node() {
15
15
  if [ -x "$node/bin/node" ] && [ -x "$node/bin/npm" ] \
16
- && [ "$("$node/bin/node" --version 2>/dev/null)" = "v$VF_NODE_VERSION" ]; then
16
+ && [ "$("$node/bin/node" --version 2>/dev/null)" = "v$AGENT_NODE_VERSION" ]; then
17
17
  return
18
18
  fi
19
19
  # Finish downloading, extracting and validating before replacing the shared installation.
20
20
  download_dir=$(mktemp -d "$node.XXXXXX")
21
21
  trap 'rm -rf "$download_dir"' EXIT
22
- curl -fsSL --retry 5 --retry-all-errors "https://nodejs.org/dist/v$VF_NODE_VERSION/node-v$VF_NODE_VERSION-$1.tar.gz" \
22
+ curl -fsSL --retry 5 --retry-all-errors "https://nodejs.org/dist/v$AGENT_NODE_VERSION/node-v$AGENT_NODE_VERSION-$1.tar.gz" \
23
23
  -o "$download_dir/node.tar.gz"
24
24
  mkdir "$download_dir/node"
25
25
  tar -xzf "$download_dir/node.tar.gz" -C "$download_dir/node" --strip-components=1
@@ -103,6 +103,6 @@ async def ensure_node(runtime: Runtime) -> None:
103
103
  directory=NODE_DIR,
104
104
  lock=f"{NODE_DIR}.install.lock",
105
105
  install=INSTALL,
106
- env={"VF_NODE_VERSION": NODE_VERSION},
106
+ env={"AGENT_NODE_VERSION": NODE_VERSION},
107
107
  label="Node.js",
108
108
  )
@@ -22,11 +22,11 @@ set -e
22
22
  if [ ! -x "$VF_OPENCLAW_BIN" ]; then
23
23
  command -v curl >/dev/null || (apt-get update -qq && apt-get install -y -qq curl ca-certificates >/dev/null)
24
24
  curl -fsSL --proto '=https' --tlsv1.2 https://openclaw.ai/install-cli.sh \
25
- | bash -s -- --prefix "$VF_OPENCLAW_DIR" --version "$VF_OPENCLAW_VERSION" --no-onboard
25
+ | bash -s -- --prefix "$AGENT_OPENCLAW_DIR" --version "$AGENT_OPENCLAW_VERSION" --no-onboard
26
26
  fi
27
- set -- $(find "$VF_OPENCLAW_DIR/tools" -type f -path '*/openclaw/dist/session-accessor.sqlite-transcript-store-*.mjs')
27
+ set -- $(find "$AGENT_OPENCLAW_DIR/tools" -type f -path '*/openclaw/dist/session-accessor.sqlite-transcript-store-*.mjs')
28
28
  [ "$#" -eq 1 ] || { echo "could not locate OpenClaw's transcript sanitizer for replay patch" >&2; exit 1; }
29
- "$VF_OPENCLAW_DIR/tools/node/bin/node" - "$1" <<'NODE'
29
+ "$AGENT_OPENCLAW_DIR/tools/node/bin/node" - "$1" <<'NODE'
30
30
  const fs = require("node:fs");
31
31
  const file = process.argv[2];
32
32
  const stat = fs.statSync(file);
@@ -155,8 +155,8 @@ class OpenClawHarness(ACPHarness[OpenClawHarnessConfig]):
155
155
  env={
156
156
  **self.config.resolved_env,
157
157
  "VF_OPENCLAW_BIN": binary,
158
- "VF_OPENCLAW_DIR": directory,
159
- "VF_OPENCLAW_VERSION": self.config.version,
158
+ "AGENT_OPENCLAW_DIR": directory,
159
+ "AGENT_OPENCLAW_VERSION": self.config.version,
160
160
  },
161
161
  label="OpenClaw",
162
162
  shell=("bash", "-o", "pipefail", "-c"),
@@ -22,8 +22,8 @@ MCP_READY = (Path(__file__).resolve().parent / "mcp-ready.js").read_bytes()
22
22
  INSTALL = r"""
23
23
  set -e
24
24
  export PATH="/var/tmp/vf-node/bin:$PATH"
25
- npm install --prefix "$VF_OPENCODE_DIR" --no-audit --no-fund --omit=dev \
26
- "@opencode/cli@$VF_OPENCODE_VERSION" >/dev/null
25
+ npm install --prefix "$AGENT_OPENCODE_DIR" --no-audit --no-fund --omit=dev \
26
+ "@opencode/cli@$AGENT_OPENCODE_VERSION" >/dev/null
27
27
  """
28
28
 
29
29
 
@@ -58,8 +58,8 @@ class OpenCodeHarness(ACPHarness[OpenCodeHarnessConfig]):
58
58
  install=INSTALL,
59
59
  env={
60
60
  **self.config.resolved_env,
61
- "VF_OPENCODE_DIR": directory,
62
- "VF_OPENCODE_VERSION": self.config.version,
61
+ "AGENT_OPENCODE_DIR": directory,
62
+ "AGENT_OPENCODE_VERSION": self.config.version,
63
63
  },
64
64
  label="OpenCode",
65
65
  )
@@ -40,11 +40,11 @@ set -e
40
40
  packages=/var/tmp/vf-pi/mcp
41
41
  export PATH="/var/tmp/vf-node/bin:$PATH"
42
42
 
43
- versions="$VF_PI_VERSION:$VF_PI_ACP_VERSION"
43
+ versions="$AGENT_PI_VERSION:$AGENT_PI_ACP_VERSION"
44
44
  if [ "$(cat "$packages/.versions" 2>/dev/null)" != "$versions" ]; then
45
45
  npm install --prefix "$packages" --ignore-scripts --no-audit --no-fund --omit=dev \
46
- "@earendil-works/pi-coding-agent@$VF_PI_VERSION" \
47
- "pi-acp@$VF_PI_ACP_VERSION" >/dev/null
46
+ "@earendil-works/pi-coding-agent@$AGENT_PI_VERSION" \
47
+ "pi-acp@$AGENT_PI_ACP_VERSION" >/dev/null
48
48
  printf %s "$versions" > "$packages/.versions"
49
49
  fi
50
50
  """
@@ -87,8 +87,8 @@ class PiHarness(ACPHarness[PiHarnessConfig]):
87
87
  directory=PI_DIR,
88
88
  install=INSTALL,
89
89
  env={
90
- "VF_PI_VERSION": self.config.version,
91
- "VF_PI_ACP_VERSION": ACP_VERSION,
90
+ "AGENT_PI_VERSION": self.config.version,
91
+ "AGENT_PI_ACP_VERSION": ACP_VERSION,
92
92
  },
93
93
  label="pi",
94
94
  )
@@ -36,7 +36,7 @@ INSTALL = (
36
36
  "set -e\n"
37
37
  + _ENSURE_UV
38
38
  + r"""
39
- prefix="$VF_PRIME_AGENT_DIR/$PRIME_AGENT_COMMIT"
39
+ prefix="$AGENT_PRIME_AGENT_DIR/$PRIME_AGENT_COMMIT"
40
40
  if [ ! -x "$prefix/bin/prime-agent" ]; then
41
41
  case "$(uname -s)-$(uname -m)" in
42
42
  Linux-x86_64) platform=linux-x64; sha=09659961dfde201cc39f1e69b607385d708da3e591f267a4fea04970afb8b005 ;;
@@ -46,9 +46,9 @@ if [ ! -x "$prefix/bin/prime-agent" ]; then
46
46
  *) echo "unsupported prime-agent platform: $(uname -s)-$(uname -m)" >&2; exit 1 ;;
47
47
  esac
48
48
  command -v curl >/dev/null || { apt-get update -qq && apt-get install -y -qq curl ca-certificates; } || apk add --no-cache curl ca-certificates
49
- release_url="$VF_PRIME_AGENT_GITHUB_RELEASE_URL/v$PRIME_AGENT_RELEASE_VERSION"
49
+ release_url="$AGENT_PRIME_AGENT_GITHUB_RELEASE_URL/v$PRIME_AGENT_RELEASE_VERSION"
50
50
  tarball="prime-agent-$PRIME_AGENT_RELEASE_VERSION-$platform.tar.gz"
51
- download_dir="$(mktemp -d "$VF_PRIME_AGENT_DIR/install.XXXXXX")"
51
+ download_dir="$(mktemp -d "$AGENT_PRIME_AGENT_DIR/install.XXXXXX")"
52
52
  trap 'rm -rf "$download_dir"' EXIT
53
53
  curl -fsSL --retry 5 --retry-all-errors "$release_url/$tarball" -o "$download_dir/$tarball"
54
54
  printf '%s %s\n' "$sha" "$tarball" > "$download_dir/SHA256SUMS"
@@ -156,8 +156,8 @@ class PrimeAgentHarness(ACPHarness[PrimeAgentHarnessConfig]):
156
156
  install=INSTALL,
157
157
  env={
158
158
  **self.config.resolved_env,
159
- "VF_PRIME_AGENT_DIR": PRIME_AGENT_DIR,
160
- "VF_PRIME_AGENT_GITHUB_RELEASE_URL": GITHUB_RELEASE_URL,
159
+ "AGENT_PRIME_AGENT_DIR": PRIME_AGENT_DIR,
160
+ "AGENT_PRIME_AGENT_GITHUB_RELEASE_URL": GITHUB_RELEASE_URL,
161
161
  "PRIME_AGENT_COMMIT": self.config.commit,
162
162
  "PRIME_AGENT_RELEASE_VERSION": PRIME_AGENT_VERSION,
163
163
  "PRIME_AGENT_KERNEL_VENV": self._kernel_venv(),
@@ -150,7 +150,9 @@ class RLMHarness(ACPHarness[RLMHarnessConfig]):
150
150
  async def setup(self, runtime: Runtime) -> None:
151
151
  if self.config.skills:
152
152
  # Editable skill packages and uv's tool environment must belong to this run.
153
- self._skills_install_dir = f"{RLM_CACHE_DIR}-skills-{secrets.token_hex(16)}"
153
+ self._skills_install_dir = runtime.temp_path(
154
+ f"rlm-skills-{secrets.token_hex(16)}", env=self.config.resolved_env
155
+ )
154
156
  await self.install_skills(runtime, f"{self._skills_home()}/skills")
155
157
  directory = self._install_dir()
156
158
  binary = f"{directory}/bin/rlm"
@@ -158,21 +160,22 @@ class RLMHarness(ACPHarness[RLMHarnessConfig]):
158
160
  ready = f"{directory}/.ready"
159
161
  # install.sh installs the Python skill packages under $RLM_HOME/skills.
160
162
  home = self._skills_home()
161
- home_env = f"RLM_HOME={home} " if home else ""
163
+ home_env = f"RLM_HOME={shlex.quote(home)} " if home else ""
162
164
  # install.sh fetches curl/uv itself; add git only when the image lacks it.
163
165
  install = (
164
- f"rm -f {ready} && "
166
+ f"rm -f {shlex.quote(ready)} && "
165
167
  "(command -v git >/dev/null 2>&1 || "
166
168
  "{ apt-get update -qq && apt-get install -y -qq git; } || dnf install -y -q git || apk add --no-cache git && "
167
- f"rm -rf {checkout} && git clone https://{RLM_REPO} {checkout} && "
168
- f"git -C {checkout} checkout {shlex.quote(self.config.version)} && "
169
+ f"rm -rf {shlex.quote(checkout)} && git clone https://{RLM_REPO} {shlex.quote(checkout)} && "
170
+ f"git -C {shlex.quote(checkout)} checkout {shlex.quote(self.config.version)} && "
169
171
  # The editable install needs the files, not the history; agents searching
170
172
  # their workspace for a repository must not find the harness's own.
171
- f"rm -rf {checkout}/.git && "
172
- f"{home_env}UV_INSTALL_DIR={directory}/bin UV_TOOL_BIN_DIR={directory}/bin "
173
- f"UV_TOOL_DIR={directory}/tools "
174
- f"RLM_CHECKOUT_PATH={checkout} bash {checkout}/install.sh && "
175
- f"touch {ready})"
173
+ f"rm -rf {shlex.quote(checkout + '/.git')} && "
174
+ f"{home_env}UV_INSTALL_DIR={shlex.quote(directory + '/bin')} "
175
+ f"UV_TOOL_BIN_DIR={shlex.quote(directory + '/bin')} "
176
+ f"UV_TOOL_DIR={shlex.quote(directory + '/tools')} "
177
+ f"RLM_CHECKOUT_PATH={shlex.quote(checkout)} bash {shlex.quote(checkout + '/install.sh')} && "
178
+ f"touch {shlex.quote(ready)})"
176
179
  )
177
180
  logger.debug("Ensuring rlm %s is installed", self.config.version)
178
181
  env = self.config.resolved_env.copy()
@@ -181,7 +184,7 @@ class RLMHarness(ACPHarness[RLMHarnessConfig]):
181
184
  await ensure_installed(
182
185
  runtime,
183
186
  directory=directory,
184
- ready=f"[ -f {ready} ] && [ -x {binary} ]",
187
+ ready=f"[ -f {shlex.quote(ready)} ] && [ -x {shlex.quote(binary)} ]",
185
188
  install=install,
186
189
  env=env,
187
190
  label="rlm",
@@ -50,7 +50,9 @@ class Terminus2Harness(Harness[Terminus2HarnessConfig]):
50
50
  **self.config.resolved_env,
51
51
  "TMUX_TMPDIR": tmux_dir,
52
52
  }
53
- task_file = await stage_text(runtime, trace, "task.txt", prompt)
53
+ task_file = await stage_text(
54
+ runtime, trace, "task.txt", prompt, env=self.config.resolved_env
55
+ )
54
56
  args = [
55
57
  f"--base-url={endpoint}",
56
58
  f"--api-key={secret}",
@@ -58,7 +60,13 @@ class Terminus2Harness(Harness[Terminus2HarnessConfig]):
58
60
  f"--task-file={task_file}",
59
61
  ]
60
62
  if system_prompt:
61
- path = await stage_text(runtime, trace, "system-prompt.txt", system_prompt)
63
+ path = await stage_text(
64
+ runtime,
65
+ trace,
66
+ "system-prompt.txt",
67
+ system_prompt,
68
+ env=self.config.resolved_env,
69
+ )
62
70
  args.append(f"--system-prompt-file={path}")
63
71
  try:
64
72
  source = PROGRAM_SOURCE.replace("{version}", self.config.version)
@@ -37,6 +37,7 @@ async def ensure_installed(
37
37
  '| cut -d" " -f20) && [ -n "$s" ]; then echo "$1:$s"; else echo "$1"; fi; }; '
38
38
  "me=$(ident $$); "
39
39
  )
40
+ unlock = f'[ "$(readlink {lock} 2>/dev/null)" != "$me" ] || rm -f {lock}'
40
41
  spinlock = (
41
42
  f"{ident}"
42
43
  f'until ln -s "$me" {lock} 2>/dev/null; do owner=$(readlink {lock} 2>/dev/null); '
@@ -44,7 +45,7 @@ async def ensure_installed(
44
45
  f'|| [ "$(ident "$pid")" != "$owner" ]; then '
45
46
  f'[ "$(readlink {lock} 2>/dev/null)" != "$owner" ] || rm -f {lock}; fi; '
46
47
  f"sleep 0.1; done; "
47
- f'trap \'[ "$(readlink {lock} 2>/dev/null)" != "$me" ] || rm -f {lock}\' EXIT; {run}'
48
+ f"trap {shlex.quote(unlock)} EXIT; {run}"
48
49
  )
49
50
  guarded = (
50
51
  f'mkdir -p "$(dirname {lock})" && '
@@ -1,5 +1,6 @@
1
1
  import inspect
2
2
  import json
3
+ import logging
3
4
  import uuid
4
5
  from collections.abc import Sequence
5
6
  from types import ModuleType
@@ -11,10 +12,14 @@ from verifiers.v1.clients import ModelContext
11
12
  from verifiers.v1.configs.harness import HarnessConfig
12
13
  from verifiers.v1.dialects.chat import message_to_wire
13
14
  from verifiers.v1.harnesses.utils import compaction, core, mcp
15
+ from verifiers.v1.harnesses.utils.install import remove_dir
14
16
  from verifiers.v1.runtimes import ProgramResult, Runtime
15
17
  from verifiers.v1.trace import Trace
16
18
  from verifiers.v1.types import Messages
17
19
  from verifiers.v1.utils import network
20
+ from verifiers.v1.utils.logging import clip, get_logger
21
+
22
+ logger = get_logger(__name__)
18
23
 
19
24
  PEP_723_END = "# ///\n"
20
25
 
@@ -55,7 +60,14 @@ def compaction_args(compaction: CompactionConfig | None) -> list[str]:
55
60
  return args
56
61
 
57
62
 
58
- async def stage_text(runtime: Runtime, trace: Trace, name: str, text: str) -> str:
63
+ async def stage_text(
64
+ runtime: Runtime,
65
+ trace: Trace,
66
+ name: str,
67
+ text: str,
68
+ *,
69
+ env: dict[str, str] | None = None,
70
+ ) -> str:
59
71
  """Write `text` to a new file in `runtime` and return its path.
60
72
 
61
73
  Prompt text reaches programs by file, never on argv: an agent's `pkill -f <word>`
@@ -63,7 +75,9 @@ async def stage_text(runtime: Runtime, trace: Trace, name: str, text: str) -> st
63
75
  argument at 128 KiB. Each call gets its own path, so concurrent launches on one
64
76
  trace do not collide. The program that reads the file deletes it."""
65
77
  stem, dot, suffix = name.partition(".")
66
- path = f"/tmp/{stem}-{trace.id}-{uuid.uuid4().hex[:8]}{dot}{suffix}"
78
+ path = runtime.temp_path(
79
+ f"{stem}-{trace.id}-{uuid.uuid4().hex[:8]}{dot}{suffix}", env=env
80
+ )
67
81
  await runtime.write(path, text.encode())
68
82
  return path
69
83
 
@@ -91,33 +105,55 @@ async def launch_chat_program(
91
105
  f"--model={ctx.model}",
92
106
  *extra_args,
93
107
  ]
94
- if system_prompt:
95
- path = await stage_text(runtime, trace, "system-prompt.txt", system_prompt)
96
- args.append(f"--system-prompt-file={path}")
97
- if mcp_urls:
98
- args.append(
99
- "--mcp-config="
100
- + json.dumps(
101
- {
102
- "mcpServers": {
103
- name: {"url": url, "timeout": config.tool_timeout}
104
- for name, url in mcp_urls.items()
108
+ process_env = env if env is not None else {**config.resolved_env}
109
+ prompt_files = []
110
+ try:
111
+ if system_prompt:
112
+ path = await stage_text(
113
+ runtime, trace, "system-prompt.txt", system_prompt, env=process_env
114
+ )
115
+ prompt_files.append(path)
116
+ args.append(f"--system-prompt-file={path}")
117
+ if mcp_urls:
118
+ args.append(
119
+ "--mcp-config="
120
+ + json.dumps(
121
+ {
122
+ "mcpServers": {
123
+ name: {"url": url, "timeout": config.tool_timeout}
124
+ for name, url in mcp_urls.items()
125
+ }
105
126
  }
106
- }
127
+ )
107
128
  )
129
+ if isinstance(prompt, str):
130
+ initial = [{"role": "user", "content": prompt}] if prompt else []
131
+ else:
132
+ initial = [message_to_wire(message) for message in prompt or []]
133
+ if initial:
134
+ path = await stage_text(
135
+ runtime,
136
+ trace,
137
+ "initial-messages.json",
138
+ json.dumps(initial),
139
+ env=process_env,
140
+ )
141
+ prompt_files.append(path)
142
+ args.append(f"--initial-messages-file={path}")
143
+ program = await runtime.prepare_uv_script(
144
+ source, config.resolved_env, activate=activate
108
145
  )
109
- if isinstance(prompt, str):
110
- initial = [{"role": "user", "content": prompt}] if prompt else []
111
- else:
112
- initial = [message_to_wire(message) for message in prompt or []]
113
- if initial:
114
- path = await stage_text(
115
- runtime, trace, "initial-messages.json", json.dumps(initial)
116
- )
117
- args.append(f"--initial-messages-file={path}")
118
- program = await runtime.prepare_uv_script(
119
- source, config.resolved_env, activate=activate
120
- )
121
- return await runtime.run(
122
- [*program, *args], env if env is not None else {**config.resolved_env}
123
- )
146
+ return await runtime.run([*program, *args], process_env)
147
+ finally:
148
+ for path in prompt_files:
149
+ try:
150
+ await remove_dir(runtime, path, "prompt file")
151
+ except Exception as error:
152
+ # Teardown is the backstop if the runtime is gone or the agent
153
+ # changed permissions. Preserve the result or original failure.
154
+ logger.warning(
155
+ "Failed to clean up prompt file - %s: %s",
156
+ type(error).__name__,
157
+ clip(str(error)),
158
+ exc_info=logger.isEnabledFor(logging.DEBUG),
159
+ )
@@ -375,7 +375,7 @@ async def serve_in_runtime(
375
375
  if fixed is not None:
376
376
  env["MCP_PORT"] = str(fixed)
377
377
  else:
378
- port_file = f"/tmp/vf-port-{uuid.uuid4().hex}"
378
+ port_file = runtime.temp_path(f"tool-port-{uuid.uuid4().hex}", env=env)
379
379
  env["MCP_PORT_FILE"] = port_file
380
380
  python = sys.executable
381
381
  if runtime.type != "subprocess":
@@ -149,7 +149,7 @@ class ContainerProcess(RuntimeProcess):
149
149
  "sh",
150
150
  "-c",
151
151
  'kill -"$1" "-$2" 2>/dev/null || kill -"$1" "$2" 2>/dev/null',
152
- "vf-signal",
152
+ "process-signal",
153
153
  signal,
154
154
  str(self._pid),
155
155
  ],
@@ -184,7 +184,7 @@ async def _abort_process_startup(
184
184
  "sh",
185
185
  "-c",
186
186
  cleanup,
187
- "vf-process-cleanup",
187
+ "process-cleanup",
188
188
  pidfile,
189
189
  ],
190
190
  {},
@@ -209,6 +209,8 @@ class DockerBackend(RuntimeBackend):
209
209
 
210
210
  SUPPORTS_TASK_IMAGES: ClassVar[bool] = True
211
211
  SUPPORTS_USER_SWITCHING: ClassVar[bool] = True
212
+ SUPPORTS_STOP_CONFIRMATION: ClassVar[bool] = True
213
+ SUPPORTS_MEMORY_LIMIT: ClassVar[bool] = True
212
214
  SUPPORTS_PORT_EXPOSURE: ClassVar[bool] = True
213
215
  SUPPORTS_COMPOSE: ClassVar[bool] = True
214
216
  is_local = True
@@ -411,7 +413,7 @@ class DockerBackend(RuntimeBackend):
411
413
  "sh",
412
414
  "-c",
413
415
  'if [ ! -d "$1" ]; then mkdir -p "$1" && chown "$2" "$1"; fi',
414
- "vf-workdir",
416
+ "workspace-directory",
415
417
  self.config.workdir,
416
418
  container["User"] or "0",
417
419
  )
@@ -624,6 +626,22 @@ class DockerBackend(RuntimeBackend):
624
626
  await self._proxy.stop()
625
627
  await super().teardown()
626
628
 
629
+ async def verify_stopped(self) -> None:
630
+ if not self.stopped or self.info.borrowed:
631
+ raise SandboxError(
632
+ "cannot confirm termination of a live or borrowed container"
633
+ )
634
+ if self._container is None:
635
+ return
636
+ async with asyncio.timeout(60):
637
+ result = await cli("docker", "container", "inspect", self._container)
638
+ if result.exit_code and any(
639
+ message in result.stderr
640
+ for message in ("No such container:", "No such object:")
641
+ ):
642
+ return
643
+ raise SandboxError("could not confirm Docker container removal")
644
+
627
645
  def _exec_argv(
628
646
  self, env: dict[str, str], *, stdin: bool = False, user: str | None = None
629
647
  ) -> list[str]:
@@ -700,7 +718,7 @@ class DockerBackend(RuntimeBackend):
700
718
  async def exec(
701
719
  self, runtime: Runtime, argv: list[str], env: dict[str, str]
702
720
  ) -> RuntimeProcess:
703
- pidfile = f"/tmp/vf-process-{uuid.uuid4().hex}.pid"
721
+ pidfile = f"/tmp/runtime-process-{uuid.uuid4().hex}.pid"
704
722
  # Give the target its own process group when `setsid -w` is available so
705
723
  # terminate()/kill() reap its descendants while the CLI client remains
706
724
  # attached if setsid needs to fork. The inner shell records the
@@ -708,7 +726,7 @@ class DockerBackend(RuntimeBackend):
708
726
  wrapper = (
709
727
  "if setsid -w true >/dev/null 2>&1; then "
710
728
  'exec setsid -w sh -c \'echo $$ > "$1"; shift; exec "$@"\' '
711
- 'vf-process "$@"; '
729
+ 'runtime-process "$@"; '
712
730
  'fi; echo $$ > "$1"; shift; exec "$@"'
713
731
  )
714
732
  command = [
@@ -716,7 +734,7 @@ class DockerBackend(RuntimeBackend):
716
734
  "sh",
717
735
  "-c",
718
736
  wrapper,
719
- "vf-process",
737
+ "runtime-process",
720
738
  pidfile,
721
739
  *argv,
722
740
  ]
@@ -140,6 +140,9 @@ class PrimeProcess(RuntimeProcess):
140
140
  class PrimeBackend(RuntimeBackend):
141
141
  SUPPORTS_TASK_IMAGES: ClassVar[bool] = True
142
142
  SUPPORTS_USER_SWITCHING: ClassVar[bool] = True
143
+ SUPPORTS_STOP_CONFIRMATION: ClassVar[bool] = True
144
+ SUPPORTS_MEMORY_LIMIT: ClassVar[bool] = True
145
+ SUPPORTS_DISK_LIMIT: ClassVar[bool] = True
143
146
  SUPPORTS_COMPOSE: ClassVar[bool] = True
144
147
  SUPPORTS_PORT_EXPOSURE: ClassVar[bool] = True
145
148
 
@@ -497,7 +500,7 @@ class PrimeBackend(RuntimeBackend):
497
500
  return
498
501
  # Uploads act as the default user: stage the bytes, then copy them in as the user.
499
502
  root = runtime.with_user(None)
500
- staged = f"/tmp/vf-write-{uuid.uuid4().hex}"
503
+ staged = f"/tmp/runtime-write-{uuid.uuid4().hex}"
501
504
  try:
502
505
  await root.write(staged, data)
503
506
  await root.run(["chmod", "644", staged], {})
@@ -553,3 +556,32 @@ class PrimeBackend(RuntimeBackend):
553
556
  )
554
557
  finally:
555
558
  await _release_client(client)
559
+
560
+ async def verify_stopped(self) -> None:
561
+ from prime_sandboxes.core import APIError
562
+
563
+ if not self.stopped or self.info.borrowed:
564
+ raise SandboxError(
565
+ "cannot confirm termination of a live or borrowed sandbox"
566
+ )
567
+ if self.info.id is None:
568
+ return
569
+ try:
570
+ async with asyncio.timeout(60), leased_client() as client:
571
+ delay = 0.2
572
+ while True:
573
+ try:
574
+ sandbox = await client.get(self.info.id)
575
+ except APIError as error:
576
+ if str(error).startswith("HTTP 404"):
577
+ return
578
+ raise
579
+ if (
580
+ sandbox.status in {"TERMINATED", "TIMEOUT"}
581
+ and sandbox.terminated_at is not None
582
+ ):
583
+ return
584
+ await asyncio.sleep(delay)
585
+ delay = min(delay * 2, 3)
586
+ except Exception as error:
587
+ raise SandboxError("could not confirm Prime sandbox termination") from error
@@ -175,6 +175,15 @@ class RuntimeBackend(ABC):
175
175
  SUPPORTS_USER_SWITCHING: ClassVar[bool] = False
176
176
  """Whether handles can bind another existing user."""
177
177
 
178
+ SUPPORTS_STOP_CONFIRMATION: ClassVar[bool] = False
179
+ """Whether `verify_stopped` can confirm the provider resource was terminated."""
180
+
181
+ SUPPORTS_MEMORY_LIMIT: ClassVar[bool] = False
182
+ """Whether a positive `config.memory` enforces a runtime-wide memory ceiling."""
183
+
184
+ SUPPORTS_DISK_LIMIT: ClassVar[bool] = False
185
+ """Whether a positive `config.disk` enforces a runtime-wide storage ceiling."""
186
+
178
187
  SUPPORTS_PORT_EXPOSURE: ClassVar[bool] = False
179
188
  """Whether `expose` can publish a port inside this runtime to the outside, so a
180
189
  server here is reachable from another runtime."""
@@ -261,6 +270,12 @@ class RuntimeBackend(ABC):
261
270
  source of truth for teardown: usable from the atexit backstop where async machinery
262
271
  is dead, and run off the event loop by `stop` on the normal path. Default no-op."""
263
272
 
273
+ async def verify_stopped(self) -> None:
274
+ """Confirm provider termination after `stop`, or raise without returning a
275
+ result whose safety depends on cleanup. Ordinary rollout cleanup remains
276
+ best-effort; callers that execute untrusted submissions use this check."""
277
+ raise SandboxError(f"the {self.type} runtime cannot confirm termination")
278
+
264
279
  @abstractmethod
265
280
  async def exec(
266
281
  self, runtime: Runtime, argv: list[str], env: dict[str, str]
@@ -139,6 +139,24 @@ class Runtime:
139
139
  except Exception: # noqa: BLE001 - failing to exec at all means the box is gone
140
140
  return False
141
141
 
142
+ def temp_path(
143
+ self,
144
+ *parts: str,
145
+ env: Mapping[str, str] | None = None,
146
+ default: str | None = None,
147
+ ) -> str:
148
+ """Framework scratch path under the process's explicit TMPDIR, or /tmp.
149
+
150
+ Without TMPDIR, an established ``default`` path is retained. Callers choose
151
+ it from task configuration so setup, execution and cleanup agree across views.
152
+ The selected directory still needs to exist and be writable in the view;
153
+ this never adds a filesystem-policy exception.
154
+ """
155
+ directory = (env or {}).get("TMPDIR") or self.env.get("TMPDIR")
156
+ if not directory and default is not None:
157
+ return default
158
+ return str(PurePosixPath(directory or "/tmp").joinpath(*parts))
159
+
142
160
  async def prepare_uv_script(
143
161
  self,
144
162
  script: str | bytes,
@@ -0,0 +1,197 @@
1
+ """Execute a submission in a disposable runtime containing no grader state."""
2
+
3
+ import asyncio
4
+ import math
5
+ from collections.abc import Mapping
6
+ from pathlib import PurePosixPath
7
+
8
+ from verifiers.v1.configs.runtime import NetworkPolicyConfig, RuntimeConfig
9
+ from verifiers.v1.errors import SandboxError
10
+ from verifiers.v1.runtimes import ProgramResult, backend_cls, make_backend
11
+ from verifiers.v1.utils.aio import run_shielded
12
+ from verifiers.v1.utils.artifacts import MAX_ARTIFACT_BYTES
13
+
14
+
15
+ async def run_submission(
16
+ config: RuntimeConfig,
17
+ argv: list[str],
18
+ files: Mapping[str, bytes],
19
+ *,
20
+ user: str = "nobody",
21
+ timeout: float = 60,
22
+ max_output_bytes: int = 1024 * 1024,
23
+ ) -> ProgramResult:
24
+ """Run untrusted files as a non-root user in a fresh, offline box.
25
+
26
+ `config.image` must be a clean execution image, without tests, reference
27
+ solutions, or secrets. The backend must enforce finite positive `memory` and
28
+ `disk` limits; an advisory disk request is insufficient. Input names are
29
+ relative to `/submission`. Files belong to `user` and have mode 0644; invoke
30
+ scripts through their interpreter or explicitly chmod them in the command.
31
+ The caller's runtime, mounts, environment, and scoring files never enter this
32
+ box. Both output streams share a byte ceiling. `timeout` bounds command
33
+ execution after trusted setup, uploads, and network-policy preparation.
34
+ Teardown is confirmed on every exit, including failures and cancellation,
35
+ before returning or raising.
36
+ """
37
+ backend = backend_cls(config)
38
+ if (
39
+ not backend.SUPPORTS_TASK_IMAGES
40
+ or not backend.SUPPORTS_USER_SWITCHING
41
+ or not backend.SUPPORTS_STOP_CONFIRMATION
42
+ ):
43
+ raise ValueError(
44
+ "submission execution requires isolation, user switching, and confirmed teardown"
45
+ )
46
+ if not isinstance(config, NetworkPolicyConfig):
47
+ raise TypeError("submission execution requires enforced network restrictions")
48
+ if not backend.SUPPORTS_MEMORY_LIMIT or not backend.SUPPORTS_DISK_LIMIT:
49
+ raise ValueError(
50
+ "submission execution requires enforced memory and disk limits; "
51
+ f"the {config.type} runtime does not provide both"
52
+ )
53
+ for name in ("memory", "disk"):
54
+ value = getattr(config, name, None)
55
+ if (
56
+ not isinstance(value, (int, float))
57
+ or not math.isfinite(value)
58
+ or value <= 0
59
+ ):
60
+ raise ValueError(
61
+ f"submission execution requires a finite positive {name} limit"
62
+ )
63
+ if getattr(config, "mounts", None) or getattr(config, "checkpoint", None):
64
+ raise ValueError(
65
+ "submission execution requires a clean image without mounts or checkpoints"
66
+ )
67
+ if (
68
+ not argv
69
+ or not user
70
+ or not math.isfinite(timeout)
71
+ or timeout <= 0
72
+ or not isinstance(max_output_bytes, int)
73
+ or max_output_bytes <= 0
74
+ ):
75
+ raise ValueError(
76
+ "submission execution requires a command, user, and positive limits"
77
+ )
78
+ if sum(len(data) for data in files.values()) > MAX_ARTIFACT_BYTES:
79
+ raise ValueError("submission inputs exceed the artifact byte limit")
80
+ for name in files:
81
+ path = PurePosixPath(name)
82
+ if (
83
+ not name
84
+ or path.is_absolute()
85
+ or ".." in path.parts
86
+ or "\x00" in name
87
+ or path == PurePosixPath(".")
88
+ ):
89
+ raise ValueError(f"submission file must be a relative path: {name!r}")
90
+ config = type(config).model_validate(
91
+ {**config.model_dump(), "workdir": "/submission", "allow": [], "block": ["*"]}
92
+ )
93
+ # Own the backend before start: provisioning may allocate a resource and then
94
+ # fail before a provision_runtime context can yield its Runtime handle.
95
+ resource = make_backend(config)
96
+ primary_error: BaseException | None = None
97
+
98
+ async def stop_and_confirm() -> None:
99
+ try:
100
+ await resource.stop()
101
+ finally:
102
+ await resource.verify_stopped()
103
+
104
+ try:
105
+ await resource.start()
106
+ # Images may select a non-root default USER; trusted directory ownership
107
+ # setup needs root, while every submitted file and command uses `user`.
108
+ runtime = resource.bind(env={}).with_user("0")
109
+ # The execution image is trusted; submitted bytes are inert until all
110
+ # provisioning and privilege checks have completed.
111
+ child = runtime.with_user(user)
112
+ identity = await child.run(["sh", "-c", "id -u; id -g"], {})
113
+ ids = identity.stdout.split()
114
+ if (
115
+ identity.exit_code
116
+ or len(ids) != 2
117
+ or not all(value.isdigit() for value in ids)
118
+ or int(ids[0]) == 0
119
+ ):
120
+ raise SandboxError("submission user must resolve to a non-root account")
121
+ prepared = await runtime.run(
122
+ [
123
+ "sh",
124
+ "-c",
125
+ 'mkdir -p /submission && chown "$1:$2" /submission && chmod 700 /submission',
126
+ "submission",
127
+ *ids,
128
+ ],
129
+ {},
130
+ )
131
+ if prepared.exit_code:
132
+ raise SandboxError("could not prepare the submission directory")
133
+ for name, data in files.items():
134
+ path = str(PurePosixPath("/submission") / name)
135
+ await child.write(path, data)
136
+ permissions = await child.run(["chmod", "0644", "--", path], {})
137
+ if permissions.exit_code:
138
+ raise SandboxError(
139
+ f"could not set submission input permissions: {name!r}"
140
+ )
141
+ await runtime.backend.prepare_execution([])
142
+ async with asyncio.timeout(timeout):
143
+ process = await child.exec(
144
+ [
145
+ "env",
146
+ "-i",
147
+ "PATH=/usr/local/bin:/usr/bin:/bin",
148
+ "HOME=/submission",
149
+ "TMPDIR=/submission",
150
+ "sh",
151
+ "-c",
152
+ 'exec "$@" < /dev/null',
153
+ "sh",
154
+ *argv,
155
+ ],
156
+ {},
157
+ )
158
+ used = 0
159
+
160
+ async def drain(stream) -> bytes:
161
+ nonlocal used
162
+ chunks = []
163
+ async for chunk in stream:
164
+ used += len(chunk)
165
+ if used > max_output_bytes:
166
+ raise SandboxError("submission exceeded its output byte limit")
167
+ chunks.append(chunk)
168
+ return b"".join(chunks)
169
+
170
+ try:
171
+ async with asyncio.TaskGroup() as group:
172
+ stdout = group.create_task(drain(process.stdout))
173
+ stderr = group.create_task(drain(process.stderr))
174
+ status = group.create_task(process.wait())
175
+ except ExceptionGroup as failed:
176
+ # Keep framework errors catchable just as in other native task
177
+ # groups; the group remains the context for concurrent failures.
178
+ raise failed.exceptions[0] from failed
179
+ return ProgramResult(
180
+ status.result(),
181
+ stdout.result().decode(errors="replace"),
182
+ stderr.result().decode(errors="replace"),
183
+ )
184
+ except BaseException as error:
185
+ primary_error = error
186
+ raise
187
+ finally:
188
+ # Stop and confirmation form one shielded operation. Cancellation during
189
+ # either must not interrupt the other or leave it running as an orphan.
190
+ try:
191
+ await run_shielded(stop_and_confirm())
192
+ except BaseException as cleanup_error:
193
+ if isinstance(primary_error, asyncio.CancelledError):
194
+ raise primary_error from cleanup_error
195
+ if primary_error is not None:
196
+ raise cleanup_error from primary_error
197
+ raise
@@ -360,7 +360,7 @@ async def restore(runtime: Runtime, collected: dict[str, bytes | None]) -> None:
360
360
  for root, archive in collected.items():
361
361
  if archive is None:
362
362
  continue
363
- path = f"/tmp/vf-artifact-{uuid.uuid4().hex}.tar"
363
+ path = f"/tmp/artifact-{uuid.uuid4().hex}.tar"
364
364
  await runtime.write(path, archive)
365
365
  await _run(
366
366
  runtime,
@@ -370,7 +370,7 @@ async def restore(runtime: Runtime, collected: dict[str, bytes | None]) -> None:
370
370
 
371
371
 
372
372
  async def _tar_out(runtime: Runtime, artifact: Artifact, budget: int) -> bytes:
373
- path = f"/tmp/vf-artifact-{uuid.uuid4().hex}.tar"
373
+ path = f"/tmp/artifact-{uuid.uuid4().hex}.tar"
374
374
  excludes = " ".join(f"--exclude={shlex.quote(p)}" for p in artifact.exclude)
375
375
  try:
376
376
  # macOS tar otherwise adds AppleDouble sidecars next to a directory root.
verifiers/v1/utils/git.py CHANGED
@@ -144,7 +144,7 @@ async def capture_patch(
144
144
  cmd = _DIFF.format(full=full, capped=capped, cap=PATCH_CAP_BYTES + 1)
145
145
  try:
146
146
  result = await runtime.run(
147
- ["sh", "-c", cmd, "vf-capture-patch", *(ignore or [])],
147
+ ["sh", "-c", cmd, "capture-patch", *(ignore or [])],
148
148
  {**(env or {}), "VF_DIFF_BASE": base_commit or "HEAD"},
149
149
  )
150
150
  if result.exit_code != 0:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: verifiers
3
- Version: 0.4.2.dev53
3
+ Version: 0.4.2.dev55
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,5 +1,5 @@
1
1
  verifiers/__init__.py,sha256=F5IVMw6mhGaPBMCw7QKk0la_r5mMwydP2hdTTdQucik,352
2
- verifiers/v1/__init__.py,sha256=TB8TzPRiMc5kUlyWJNknoQ1GC-BpANsIyaeDk41ajUo,18542
2
+ verifiers/v1/__init__.py,sha256=NxxlvKpqOINcPuT1KJrYIBYn1dfjmFVmt-WSqa7uwOo,18668
3
3
  verifiers/v1/agent.py,sha256=bhZsET00xkaEWS6vwLjnqZcvImWZ0Cq1_A6Bzo1_PYU,48987
4
4
  verifiers/v1/delta.py,sha256=23USfU7G5L3TBnV3apyuOa0M_uQAgvTo6a4Ke4msRV0,12205
5
5
  verifiers/v1/env.py,sha256=UA1FdNd64XywIevJliNyL54afa2StN1ND6ro9HrjlVo,20566
@@ -13,6 +13,7 @@ verifiers/v1/rollout.py,sha256=zSKxyz7dvosNBYy7hOQ9Tj7k1aPNRyvpiJJZQcbW-qg,49982
13
13
  verifiers/v1/semantic.py,sha256=nqKPPUoPL5Oh8Es_XjtcbDiQiIMKTYayXEm-EPB-jAE,5129
14
14
  verifiers/v1/session.py,sha256=Vu7YPopaiTEdmDup-aXaUIFVtPAojl5XXdcOHjrcrdI,30157
15
15
  verifiers/v1/state.py,sha256=EckF2bWp-vV4b1jYJ9sLI5xrfGuI5spIgYYwW926toI,595
16
+ verifiers/v1/submission.py,sha256=zgSRbGVz82Efwz4nX4tlJ-i02AmjtKyu_vHfwfLaByw,7989
16
17
  verifiers/v1/task.py,sha256=zcWjBjhJrkGIL29JTnxxw6v2pbJoiek_tF5RVAVV2ZY,15919
17
18
  verifiers/v1/taskset.py,sha256=PRwMfPtUL0Sg9pwKzJYnpLBDqJCmQ4skQPhF1oocyyw,9504
18
19
  verifiers/v1/trace.py,sha256=o7vnIt3pXRbn5JT_gYO05YaL4NlP0k8T_UlpJK3oqnA,40595
@@ -69,54 +70,54 @@ verifiers/v1/envs/single_agent/env.py,sha256=iH-AnS5-5rDZM3MaYFxzaHSVqJAaw9mQJaa
69
70
  verifiers/v1/envs/user_sim/__init__.py,sha256=nnT695HdqjAEouYL5wtVu6MhIp2wf5yuK-EYgxOVx0s,118
70
71
  verifiers/v1/envs/user_sim/env.py,sha256=deI4r-Utn_v4E_Vb9P_X3LzFh2GRkCO4OlQt8BOCMGY,4942
71
72
  verifiers/v1/harnesses/__init__.py,sha256=SBNQmzQREsKG1ZLe1hAWdFWdXh11akXaF_9JbmJImg8,2203
72
- verifiers/v1/harnesses/node.py,sha256=G6hnEms726QH9KJiNZCMJUfrIrb-8hjfHkzNJP8kxMo,5160
73
+ verifiers/v1/harnesses/node.py,sha256=8S_mZrugKW3_VTUY6cxRPBFEuaVVK3TejgZxRdqL7LA,5172
73
74
  verifiers/v1/harnesses/bash/__init__.py,sha256=IAV4eMMqDHSl-9ANb0Q3kxmBZ22SeHZFBM448X4gQio,140
74
75
  verifiers/v1/harnesses/bash/harness.py,sha256=0IzUqFvAaozmO_7qWpQM5CHQF8wLlGiyEsob_zhx2cU,5678
75
76
  verifiers/v1/harnesses/browser_use/__init__.py,sha256=yxm2IG5TDLadxZEkX8SL26XWbcPcODXcrJfPfm1GqwU,171
76
77
  verifiers/v1/harnesses/browser_use/harness.py,sha256=EwrM9G1stH9OArYdUoiLhyJBzw-_PugHwxiExCNUSrc,5644
77
78
  verifiers/v1/harnesses/browser_use/program.py,sha256=PS3rSp7H-UXRzEzZFRfSDeLlmk7_yAjUxzJ_HyG-oXY,10114
78
79
  verifiers/v1/harnesses/claude_code/__init__.py,sha256=JkZQylMSA3o1fvBx_NM41y_umuahmOSqFjTrJ2hryTw,171
79
- verifiers/v1/harnesses/claude_code/harness.py,sha256=XS3mzZLdOES2kTEfN-6_VaD2LuHr58QFLiBjDuHfG68,5562
80
+ verifiers/v1/harnesses/claude_code/harness.py,sha256=V-xbC0FRBUt-Bm5aL7tp8a4mReCdc_pQ9qOomMpljZQ,5574
80
81
  verifiers/v1/harnesses/codex/__init__.py,sha256=ocyBvlpSO8c3pT6D1ebrQohoXYESQcCyPT5kN3j1-N4,132
81
82
  verifiers/v1/harnesses/codex/gate.mjs,sha256=tOpjjH2adnmAOYeF7tufpYPB6sBFrrcu3-IjD6K4LGE,1183
82
- verifiers/v1/harnesses/codex/harness.py,sha256=WYF9fgp-pk_fdMGPKe-h3Pd4-FLU8DxCQjwqmaM0K64,8774
83
+ verifiers/v1/harnesses/codex/harness.py,sha256=hlUp6vlagw032uSZI5LA4SJLoXblfRSga1PDnXgwFUo,8792
83
84
  verifiers/v1/harnesses/deepseek/__init__.py,sha256=oKexAEE4D3tGRyYRluNZJPaFXc9pBme_cHp2_1I7g1o,160
84
85
  verifiers/v1/harnesses/deepseek/gate.mjs,sha256=BxGyYQKOPnZRruI6C-okOeerpoNDGdfNKaMU61dYcY0,440
85
- verifiers/v1/harnesses/deepseek/harness.py,sha256=VvnVdUP1GQcveaAayd8hRa_2KC9WSPxJMwHENv7XQ84,5835
86
+ verifiers/v1/harnesses/deepseek/harness.py,sha256=nvNO43meW-LzGtAfAjjMKHlEKk04fiqUlY0HXqR614s,5850
86
87
  verifiers/v1/harnesses/deepseek/usage.mjs,sha256=nm6FU0wm25qti5gN2zDJZoDR7Vmug6z_UQFIdZux-qg,2649
87
88
  verifiers/v1/harnesses/hermes_agent/__init__.py,sha256=k84Y8UTTf1KOw5LGqPb2dk-hYFagPevDJBOF7qsR_vo,176
88
- verifiers/v1/harnesses/hermes_agent/harness.py,sha256=5K3XwGsLF2lgTHFM-UDpkTejTmbPCOmJK73ofJbF6v4,6604
89
+ verifiers/v1/harnesses/hermes_agent/harness.py,sha256=hUZAr9qSQyNjsKemRqXqxkTZPVu1IlocyU6bCssLaOM,6625
89
90
  verifiers/v1/harnesses/hermes_agent/program.py,sha256=wqU6U4UR8Eo_xjNKLPx0L2Hnx5-b1LT0ulvEFRHDUEI,573
90
91
  verifiers/v1/harnesses/kimi_code/__init__.py,sha256=1BEotSfuzmVcE7UrxHeAREM5d7J20cGkonHuowlrzu4,161
91
- verifiers/v1/harnesses/kimi_code/harness.py,sha256=wmuk4w3A6s9pew1dR6Kefl9GkhT8GtYAAjDjIATtiEE,5739
92
+ verifiers/v1/harnesses/kimi_code/harness.py,sha256=RZ03N4tJ21pBVBQqlpGwBGwUYW0VU9g1m1qnGPve_ps,5745
92
93
  verifiers/v1/harnesses/mini_swe_agent/__init__.py,sha256=1OBu2Y-XqL72-dGhFdgB6sr5uX_peEEXT9vEjPy1ovU,182
93
- verifiers/v1/harnesses/mini_swe_agent/harness.py,sha256=Sd2KfM7Rq8MvRnqpC3wtSVyKJYkKBt2_I01HM-vRszI,2761
94
+ verifiers/v1/harnesses/mini_swe_agent/harness.py,sha256=qtd-PooeuFSmCB4funsIoR3cbswO2i_-qtm8GDkpex4,2821
94
95
  verifiers/v1/harnesses/mini_swe_agent/program.py,sha256=m-WOBfwr5MexfnsbWLSapc_5Nt4zIi32dn3r4yfM0bc,530
95
96
  verifiers/v1/harnesses/null/__init__.py,sha256=XDeKOPeoXUQi9US9_Z3_yH9YaZ4EiOMKJmUtNNdtD7s,127
96
97
  verifiers/v1/harnesses/null/harness.py,sha256=11Y7wzED9bUpz7U7NXjwBouw1IL3IU0IJWLwNKCbovQ,2027
97
98
  verifiers/v1/harnesses/openclaw/__init__.py,sha256=kNyfPB1sGwEf4K3mTfKN0VEyxun3SGvNpvArVKvH-x8,160
98
- verifiers/v1/harnesses/openclaw/harness.py,sha256=Drht4IIaoAShjr6R4UlHdORlIC0yCJuTiB3HUaTH-54,11251
99
+ verifiers/v1/harnesses/openclaw/harness.py,sha256=cBvS7saoFOfGjahPUUXL77mBUr2T7YQ-tuxe7eLH2Ic,11269
99
100
  verifiers/v1/harnesses/opencode/__init__.py,sha256=NCMOVrleIgx5mt-d9hvTZNPhUjz0MQxPlMHOwiu39N4,160
100
- verifiers/v1/harnesses/opencode/harness.py,sha256=xKVGBaQv22dRF09Bu0f3PvehgF1q0esKrWKQoWi4O9U,5586
101
+ verifiers/v1/harnesses/opencode/harness.py,sha256=VOKqg8-Ky_YfzgUu0vsr8QZpWuywGUCiydCW40a9Wxg,5598
101
102
  verifiers/v1/harnesses/opencode/mcp-ready.js,sha256=QpAJcego5pNOZJu1dfpRLd873xitYGYwE9qwmgmvMvI,1904
102
103
  verifiers/v1/harnesses/pi/__init__.py,sha256=1mSnzOf-RdEchdeg6IHtcdobG5KIpAhuTdUIgsCIn74,117
103
104
  verifiers/v1/harnesses/pi/gate.mjs,sha256=vk_OqHXhRdYzQL7YMX8Teajm0fh9tokzDvLHVOd2I9o,449
104
- verifiers/v1/harnesses/pi/harness.py,sha256=SZGah6H6h_krYk_56haoYEE1LEtkQZLgBZNrboOA-7w,8034
105
+ verifiers/v1/harnesses/pi/harness.py,sha256=-E7_gBp7FswP3ObGpKh-RrkxsGGsygrUt7i-UHO7AFQ,8052
105
106
  verifiers/v1/harnesses/prime_agent/__init__.py,sha256=xfPC4RrlnyYWaf38tPAOZq4YL6M55lMpj5BoRLmaK8I,171
106
- verifiers/v1/harnesses/prime_agent/harness.py,sha256=bHgNkcSWq8s4iKthVl9MYTg44fkjcryosMJXK0GI_R4,12602
107
+ verifiers/v1/harnesses/prime_agent/harness.py,sha256=a3PbDBejqYt31sLKkCHRCjn5h0_T3FpwZdru6w6jo2Y,12617
107
108
  verifiers/v1/harnesses/rlm/__init__.py,sha256=hwx51xTdEWzzYgMj-p4ETNcptoub3IPMDbEdJ4uB8Ns,122
108
- verifiers/v1/harnesses/rlm/harness.py,sha256=rVolXRGreb02SC2Rvaj5_quRagf2PyTWcsxRH5G7ZAU,15304
109
+ verifiers/v1/harnesses/rlm/harness.py,sha256=NupBzfSv0xhKlgcm9HiWUgSmhupj1OkK0v3GdjqnAzI,15594
109
110
  verifiers/v1/harnesses/stirrup/__init__.py,sha256=a-NQxX1bOwaGx8QHj2jWcRJEGiLIxdY6XUMbojr9dOk,142
110
111
  verifiers/v1/harnesses/stirrup/harness.py,sha256=Bcm7m1IzFnseiAa6xRKHSFKYrqSRpvxkP07R4GTryfM,3458
111
112
  verifiers/v1/harnesses/stirrup/program.py,sha256=3ZVgg3FgVtsMDb4DfLgooxitGaM24oax8-H6hCvwbY8,15112
112
113
  verifiers/v1/harnesses/terminus_2/__init__.py,sha256=l1pwfg1HyVDEqT9efdnFWcXqaZwtKwe7TrplkyxZSA0,166
113
- verifiers/v1/harnesses/terminus_2/harness.py,sha256=gypsJmIvHy_j2uecFUSfw1Lr0cRRdylyKP35n2PoapI,3421
114
+ verifiers/v1/harnesses/terminus_2/harness.py,sha256=ZNKB2DihcAN4h6JL6fuJfw9-fsPo9k69emiyqZlkqK0,3598
114
115
  verifiers/v1/harnesses/terminus_2/program.py,sha256=V63SGuAu_H1LdfrjKj3gM4htjg-H3IjWJ4YFEZPkZK4,3023
115
116
  verifiers/v1/harnesses/utils/__init__.py,sha256=eTS-Ft2HwoLiYn5u1t_KueLmaZB_W12cdYmcVsE-G5A,364
116
117
  verifiers/v1/harnesses/utils/compaction.py,sha256=DeY6CYLEsv7-vJm26sT2mRaPHu3W2ywiZhvFr_pi6Hg,10495
117
118
  verifiers/v1/harnesses/utils/core.py,sha256=SNEW3_39V0uRHQTRwqI6DxoKjw9VOOdSmjzleZLEtJM,21351
118
- verifiers/v1/harnesses/utils/install.py,sha256=LH2ZZTKojVH-9qXD1yDUHpZ9_ZJ1mbsIDC-LyQAe1qc,3529
119
- verifiers/v1/harnesses/utils/launch.py,sha256=aAYRmgY7Brv79ldVG1nINuP_gaUpOMXviytuasASv5M,4459
119
+ verifiers/v1/harnesses/utils/install.py,sha256=EESYSh_e9L4gj6N4GvAbQY2kb4ckven7tmtlQEErPiQ,3563
120
+ verifiers/v1/harnesses/utils/launch.py,sha256=2KuLnNruUqH6vcW2Ru661P86ffRzaqslNs-kDMn7B6U,5670
120
121
  verifiers/v1/harnesses/utils/mcp.py,sha256=EtDraHEqgsOB6xKvcF2z9C6HlQyKoST0ZDvmy47NWgM,7450
121
122
  verifiers/v1/harnesses/utils/replay.py,sha256=RJMzD-3K0oz_Q0zhjSH4nhwxn95R8e9Q_CCN5sZp9RA,1720
122
123
  verifiers/v1/interception/__init__.py,sha256=PMysLlBer-tRpMO2J_ffetK6H77T_lmhJuRwYZb8y3I,4018
@@ -134,22 +135,22 @@ verifiers/v1/judges/reference.txt,sha256=Ej35kGXiT2uJ0LcHIeez49rCS_9uHmCQKoVdn93
134
135
  verifiers/v1/judges/rubric.py,sha256=yRaOnc6S6cqrLuySkMsgxsBFCRUA2bBjYSa5qOT-inQ,16158
135
136
  verifiers/v1/judges/rubric.txt,sha256=3KA2ZeYYdcDweJhUGopxu9EFgARhu2aWft5S5cj8Bc8,323
136
137
  verifiers/v1/mcp/__init__.py,sha256=zJw_R6n-rDqB80_Zs1VGCrYVCZGi8nS7qGaSUKFsB50,479
137
- verifiers/v1/mcp/launch.py,sha256=8VGrDROqRu1izUVrIlB4AkH7w8Y0hOI0YR_3krZY3P0,32269
138
+ verifiers/v1/mcp/launch.py,sha256=sKUP43FG3RpRX7yVkO2RgJ3PvsVOdqOEnBpAXW-2rv0,32294
138
139
  verifiers/v1/mcp/server.py,sha256=9hH7rJm8yPYVitcKYMZmSt6_JQyysKAr3e6Xav6IsIk,14154
139
140
  verifiers/v1/mcp/toolset.py,sha256=GMLjCb2A8OhQZhRU9i8RXcLc68mXC5Niqhwz1UT-dGQ,2615
140
141
  verifiers/v1/runtimes/__init__.py,sha256=JrBktZBcRLSnnZh_Er9IuGOVBGYUybJSPHi1q_b-UrI,3386
141
- verifiers/v1/runtimes/base.py,sha256=d8ntehDL1dQfu-9zbtwlvXF5-QBsYDWKfJupOY_f8CY,16431
142
+ verifiers/v1/runtimes/base.py,sha256=Xl5jxNGnNhuWnrgh3h-nDOeMA9UX9MysYLmSuJPZQL4,17215
142
143
  verifiers/v1/runtimes/compose.py,sha256=Q_0auxhXaGhIOrlisFXI8QRYV9DmewVuXG4ZZtfnrKA,15974
143
144
  verifiers/v1/runtimes/deployment.py,sha256=De6N15Vfe7JKn5VOqFwG22SU_lh0f09bJ57hqBi8D6I,7525
144
145
  verifiers/v1/runtimes/egress.py,sha256=4zsNS3Z2A2HyoCcbgaLizA30uJabYrbgYAYUfvyzeBk,23703
145
146
  verifiers/v1/runtimes/limiters.py,sha256=RWR4HdYoa72yeWF_lM7YRLflm10euE3_gPfNG0BuaOc,2742
146
147
  verifiers/v1/runtimes/native_compose.py,sha256=8WBqWqyYWtohcrE_iq8SuuxsDFgK4Ncos8DxQS7FL_A,42335
147
148
  verifiers/v1/runtimes/private_network.py,sha256=GlPT50guIBhPoriV9RgGGthIXdIPviYgaUYmM-KmPsQ,6648
148
- verifiers/v1/runtimes/runtime.py,sha256=-CvhH42y0F0dPeNgDRVBeajkRK_vZYp2qxKY1XVf-s0,9897
149
+ verifiers/v1/runtimes/runtime.py,sha256=U_0G8DkeTPoyxQRN6Qmjll6FZ0bDwlijW4cC11wMbw4,10669
149
150
  verifiers/v1/runtimes/strategies.py,sha256=WtIrIpKmvjvqpUfwLUwDNJcgRLE8d-2sx7reks2S2PA,8765
150
151
  verifiers/v1/runtimes/backends/custom.py,sha256=Iz1Brd4dBTpO1zYVc2KA0u5sxz5ZUROY_Cdme5W33hM,2875
151
- verifiers/v1/runtimes/backends/docker.py,sha256=uOjmENxhdQ9GPrvtQCXi1-6TL3fSRcflg6sENBOTM-w,31591
152
- verifiers/v1/runtimes/backends/prime.py,sha256=vMD3d1JxyKWO5Zbd1c0DJ2I4DjdIFhi4XlgYabd1v4A,23884
152
+ verifiers/v1/runtimes/backends/docker.py,sha256=k-xjN6m72LH_FUeQ0rCySpYSxtk__3ZwHhOHA5HQ5Zk,32362
153
+ verifiers/v1/runtimes/backends/prime.py,sha256=-AAPG0aUvyK8G-7Y6xII5Uwwod537HfL_0isdxs3Oxw,25188
153
154
  verifiers/v1/runtimes/backends/subprocess.py,sha256=naOWJGmcaOlu2ZdRbUwhJicJdxASDRAUhDT0jzDff3w,8591
154
155
  verifiers/v1/tasksets/__init__.py,sha256=2ijE3qIlLoUA02g6iysOwWQylyBBQL1GhSpjv8_bp0w,521
155
156
  verifiers/v1/tasksets/harbor/__init__.py,sha256=FjW4tM3rgGALMK-8p7ux26G4-d4ZFVmaAmO6Fni6e_g,214
@@ -166,14 +167,14 @@ verifiers/v1/tasksets/textarena/__init__.py,sha256=Os2OlBY_pSH0B1DP32RitumgSLpq2
166
167
  verifiers/v1/tasksets/textarena/taskset.py,sha256=zGslerxmH2ZT7FJdP-72R6a9p71kr2pNS3r5_xnq1lQ,4406
167
168
  verifiers/v1/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
168
169
  verifiers/v1/utils/aio.py,sha256=0yNFOqB2oO6Qktc6NI_ZSAGuo1aHsIK_wuT1BtmoZ3I,1532
169
- verifiers/v1/utils/artifacts.py,sha256=QWquQli7wfPxPOaKvP4Nn2anQyozrh-DOJwLpZhK_ak,25222
170
+ verifiers/v1/utils/artifacts.py,sha256=8-OGbVRFwRyYftpgszV1WQ20qEjMZG92aETcQuZOkN8,25216
170
171
  verifiers/v1/utils/compile.py,sha256=J5PzohCTCj9UQ1d6rmQB-pTJKLYa_f6-0YMZ9y3yWoA,5308
171
172
  verifiers/v1/utils/decorators.py,sha256=LbHW0bPkFy-l_TNp48HDDB_PZVr7wvJuVfuo3Qctcbo,5608
172
173
  verifiers/v1/utils/env.py,sha256=tMqfwFNRcJPijzrjkbE2VYvBH8eONRtYCWVkXHKpGZQ,1023
173
174
  verifiers/v1/utils/eval.py,sha256=lXBsir3rastL31CuXkJi522v6ypAI1ZGQ82IoTkm8IQ,1237
174
175
  verifiers/v1/utils/format.py,sha256=zk6p_UrzIK5Rx7_lvgVuAxjlST35I9vwVDc6GCieo1o,2551
175
176
  verifiers/v1/utils/generic.py,sha256=lKIzu5rvwnuSlr_kTFdupf-ElubjjvOo0vnBHYMUpC4,5036
176
- verifiers/v1/utils/git.py,sha256=MTRinOvG4EddfjdahHkFZUihHmhJ37n5ROtgjzjE1NA,8366
177
+ verifiers/v1/utils/git.py,sha256=LJGHrIxZs7eg58e_W7TiNYbZQCXMBERgkP42F4IOk9A,8363
177
178
  verifiers/v1/utils/image.py,sha256=OFw_wdwVtbdwa8uJ3X3vYfhpUAi0CTH5HMBupjVsRRQ,282
178
179
  verifiers/v1/utils/interrupt.py,sha256=HueVSI54ZVIKcJ0uZ62uQduUSgXEXJRL3tlzlo1FCak,1043
179
180
  verifiers/v1/utils/loaders.py,sha256=lEeRQ5j6-YJ9UKshhGKBz6g5yx6dn-M1T8urXpNP5KI,13043
@@ -187,8 +188,8 @@ verifiers/v1/utils/scope.py,sha256=zbs4pj6AVk4jywlAJ3AX0Q0_kzB9dBB02nY-9H4ELdQ,8
187
188
  verifiers/v1/utils/score.py,sha256=493yJVMw8teCu9JxapxMFPFzI0hNUqdo0Y2nGW4kckk,6200
188
189
  verifiers/v1/utils/trace_store.py,sha256=Qo9qvsJAl8PoRUavjQAfUB2VNxmUtYQtU2ejLKPzY9c,3382
189
190
  verifiers/v1/utils/version.py,sha256=-obEo_-l9-D8FLef4hYxncOe-uJpxrM1g2Hig_37Sgs,1607
190
- verifiers-0.4.2.dev53.dist-info/METADATA,sha256=KYvPFNMNRRCJ_y_bnkZ5kz_ycbLfd42FM4RRir5xrFg,5116
191
- verifiers-0.4.2.dev53.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
192
- verifiers-0.4.2.dev53.dist-info/entry_points.txt,sha256=qdMg7ajiFpDsHf7tuPMRclJXizu1J6LTWawS5YS0B0I,137
193
- verifiers-0.4.2.dev53.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
194
- verifiers-0.4.2.dev53.dist-info/RECORD,,
191
+ verifiers-0.4.2.dev55.dist-info/METADATA,sha256=mvlsIOonDr5USsSQjcEM4Z_-IbTMRBArtzBXeuWtsgg,5116
192
+ verifiers-0.4.2.dev55.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
193
+ verifiers-0.4.2.dev55.dist-info/entry_points.txt,sha256=qdMg7ajiFpDsHf7tuPMRclJXizu1J6LTWawS5YS0B0I,137
194
+ verifiers-0.4.2.dev55.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
195
+ verifiers-0.4.2.dev55.dist-info/RECORD,,