Marquis03 commited on
Commit
79fde60
·
verified ·
1 Parent(s): 5de7962

Upload folder using huggingface_hub (part 29)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +25 -0
  2. mn416--qpulib.c2658a5/tests/blobs/tests/generated_module_04.tar.gz +3 -0
  3. mn416--qpulib.c2658a5/tests/blobs/tests/generated_upstream.tar.gz +3 -0
  4. mn416--qpulib.c2658a5/tests/docker-compose.yaml +11 -0
  5. mn416--qpulib.c2658a5/tests/download.sh +28 -0
  6. mn416--qpulib.c2658a5/tests/executable +3 -0
  7. mn416--qpulib.c2658a5/tests/harbor_configure_apt_mirror.sh +37 -0
  8. mn416--qpulib.c2658a5/tests/harbor_prepare_download_env.sh +34 -0
  9. mn416--qpulib.c2658a5/tests/programgym_evaluator.py +1201 -0
  10. mn416--qpulib.c2658a5/tests/programgym_task.json +426 -0
  11. mn416--qpulib.c2658a5/tests/test.sh +82 -0
  12. mn416--qpulib.c2658a5/tests/workspace.tar.gz +3 -0
  13. mobilefirstllc--social-media-hac/environment/Dockerfile +59 -0
  14. mobilefirstllc--social-media-hac/environment/download.sh +2176 -0
  15. mobilefirstllc--social-media-hac/environment/executable +3 -0
  16. mobilefirstllc--social-media-hac/environment/harbor_prepare_download_env.sh +37 -0
  17. mobilefirstllc--social-media-hac/environment/workspace.tar.gz +3 -0
  18. mobilefirstllc--social-media-hac/instruction.md +98 -0
  19. mobilefirstllc--social-media-hac/solution/solve.sh +33 -0
  20. mobilefirstllc--social-media-hac/task.toml +69 -0
  21. mobilefirstllc--social-media-hac/tests/Dockerfile +68 -0
  22. mobilefirstllc--social-media-hac/tests/blobs/tests/generated_module_01.tar.gz +3 -0
  23. mobilefirstllc--social-media-hac/tests/download.sh +2176 -0
  24. mobilefirstllc--social-media-hac/tests/executable +3 -0
  25. mobilefirstllc--social-media-hac/tests/harbor_prepare_download_env.sh +37 -0
  26. mobilefirstllc--social-media-hac/tests/programgym_evaluator.py +1201 -0
  27. mobilefirstllc--social-media-hac/tests/programgym_task.json +1052 -0
  28. mobilefirstllc--social-media-hac/tests/test.sh +82 -0
  29. mobilefirstllc--social-media-hac/tests/workspace.tar.gz +3 -0
  30. mobius3--tweeny.d50d96d/environment/Dockerfile +66 -0
  31. mobius3--tweeny.d50d96d/environment/docker-compose.yaml +11 -0
  32. mobius3--tweeny.d50d96d/environment/download.sh +20 -0
  33. mobius3--tweeny.d50d96d/environment/executable +3 -0
  34. mobius3--tweeny.d50d96d/environment/harbor_configure_apt_mirror.sh +37 -0
  35. mobius3--tweeny.d50d96d/environment/harbor_prepare_download_env.sh +34 -0
  36. mobius3--tweeny.d50d96d/environment/workspace.tar.gz +3 -0
  37. mobius3--tweeny.d50d96d/instruction.md +98 -0
  38. mobius3--tweeny.d50d96d/solution/solve.sh +33 -0
  39. mobius3--tweeny.d50d96d/task.toml +69 -0
  40. mobius3--tweeny.d50d96d/tests/Dockerfile +74 -0
  41. mobius3--tweeny.d50d96d/tests/blobs/tests/generated_module_02.tar.gz +3 -0
  42. mobius3--tweeny.d50d96d/tests/blobs/tests/generated_module_03.tar.gz +3 -0
  43. mobius3--tweeny.d50d96d/tests/blobs/tests/generated_module_04.tar.gz +3 -0
  44. mobius3--tweeny.d50d96d/tests/docker-compose.yaml +11 -0
  45. mobius3--tweeny.d50d96d/tests/download.sh +20 -0
  46. mobius3--tweeny.d50d96d/tests/executable +3 -0
  47. mobius3--tweeny.d50d96d/tests/harbor_configure_apt_mirror.sh +37 -0
  48. mobius3--tweeny.d50d96d/tests/harbor_prepare_download_env.sh +34 -0
  49. mobius3--tweeny.d50d96d/tests/programgym_evaluator.py +1201 -0
  50. mobius3--tweeny.d50d96d/tests/programgym_task.json +856 -0
.gitattributes CHANGED
@@ -1735,3 +1735,28 @@ mmastrac--stylus.9ed03d0/tests/executable filter=lfs diff=lfs merge=lfs -text
1735
  mmcloughlin--mathfmt.76b0fc9/environment/executable filter=lfs diff=lfs merge=lfs -text
1736
  mmcloughlin--mathfmt.76b0fc9/tests/executable filter=lfs diff=lfs merge=lfs -text
1737
  mn416--qpulib.c2658a5/environment/executable filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1735
  mmcloughlin--mathfmt.76b0fc9/environment/executable filter=lfs diff=lfs merge=lfs -text
1736
  mmcloughlin--mathfmt.76b0fc9/tests/executable filter=lfs diff=lfs merge=lfs -text
1737
  mn416--qpulib.c2658a5/environment/executable filter=lfs diff=lfs merge=lfs -text
1738
+ mn416--qpulib.c2658a5/tests/executable filter=lfs diff=lfs merge=lfs -text
1739
+ mobilefirstllc--social-media-hac/environment/executable filter=lfs diff=lfs merge=lfs -text
1740
+ mobilefirstllc--social-media-hac/tests/executable filter=lfs diff=lfs merge=lfs -text
1741
+ mobius3--tweeny.d50d96d/environment/executable filter=lfs diff=lfs merge=lfs -text
1742
+ mobius3--tweeny.d50d96d/tests/executable filter=lfs diff=lfs merge=lfs -text
1743
+ mod-audio--mod-desktop.3200693/environment/executable filter=lfs diff=lfs merge=lfs -text
1744
+ mod-audio--mod-desktop.3200693/tests/executable filter=lfs diff=lfs merge=lfs -text
1745
+ monostream--tifig.60b920c/environment/executable filter=lfs diff=lfs merge=lfs -text
1746
+ monostream--tifig.60b920c/tests/executable filter=lfs diff=lfs merge=lfs -text
1747
+ monperrus--crawler-user-agents.6/environment/executable filter=lfs diff=lfs merge=lfs -text
1748
+ monperrus--crawler-user-agents.6/tests/executable filter=lfs diff=lfs merge=lfs -text
1749
+ montanaflynn--stats.4292472/environment/executable filter=lfs diff=lfs merge=lfs -text
1750
+ montanaflynn--stats.4292472/tests/executable filter=lfs diff=lfs merge=lfs -text
1751
+ monzo--phosphor.ee1fad1/environment/executable filter=lfs diff=lfs merge=lfs -text
1752
+ monzo--phosphor.ee1fad1/tests/executable filter=lfs diff=lfs merge=lfs -text
1753
+ mosra--corrade.120098e/environment/executable filter=lfs diff=lfs merge=lfs -text
1754
+ mosra--corrade.120098e/tests/executable filter=lfs diff=lfs merge=lfs -text
1755
+ moul--golang-repo-template.79cf5/environment/executable filter=lfs diff=lfs merge=lfs -text
1756
+ moul--golang-repo-template.79cf5/tests/executable filter=lfs diff=lfs merge=lfs -text
1757
+ mourner--delaunator-rs.4cee88d/environment/executable filter=lfs diff=lfs merge=lfs -text
1758
+ mourner--delaunator-rs.4cee88d/tests/executable filter=lfs diff=lfs merge=lfs -text
1759
+ mozillazg--request.f66876a/environment/executable filter=lfs diff=lfs merge=lfs -text
1760
+ mozillazg--request.f66876a/tests/executable filter=lfs diff=lfs merge=lfs -text
1761
+ mpc-sok--frameworks.2af8f22/environment/executable filter=lfs diff=lfs merge=lfs -text
1762
+ mpc-sok--frameworks.2af8f22/tests/executable filter=lfs diff=lfs merge=lfs -text
mn416--qpulib.c2658a5/tests/blobs/tests/generated_module_04.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fb1b3872cf6f6e0f6d70897564e991e141fe047193c9aad0f0cbe94cf9023d7
3
+ size 20607
mn416--qpulib.c2658a5/tests/blobs/tests/generated_upstream.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62bc281e9605704309ce88f4beca8f90ef1e852d76cb8b5367d99c87e9528132
3
+ size 2055
mn416--qpulib.c2658a5/tests/docker-compose.yaml ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ services:
2
+ main:
3
+ build:
4
+ args:
5
+ PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
6
+ PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
7
+ PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
8
+ PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
9
+ PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
10
+ PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
11
+ PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
mn416--qpulib.c2658a5/tests/download.sh ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ #
3
+ # QPULib download.sh
4
+ # ------------------
5
+ # Source-safe, idempotent dependency-prepare stage for building the GCD example
6
+ # (single.json selected_target) in emulation mode.
7
+ #
8
+ # The GCD example and the QPULib <lib> compile purely from standard C++ headers
9
+ # (stdio.h, stdint.h, string.h, stdlib.h, assert.h, time.h, math.h) already
10
+ # present in the base image. No third-party package or source download is
11
+ # required, so this script only exports the environment variables that
12
+ # build.sh relies on. It performs NO compile, link, test, or packaging step.
13
+ #
14
+ # This file is executed via: source /source_ro/download.sh
15
+ # It must be safe to `source` from the repository root and must not `exit`
16
+ # in normal control flow.
17
+
18
+ # Selected build target (mirrors single.json selected_target.name). The
19
+ # Tests/Makefile builds it with `make GCD` in default emulation mode (no
20
+ # QPU=1), which runs QPULib kernels on any architecture without Pi hardware.
21
+ export QPULIB_BUILD_TARGET=GCD
22
+
23
+ # Full name of the build tool used by build.sh.
24
+ export QPULIB_MAKE=make
25
+
26
+ # Nothing else is needed. All required build capabilities (g++ 13.3, GNU
27
+ # make 4.3) are already available in the base image, and the library uses only
28
+ # standard headers.
mn416--qpulib.c2658a5/tests/executable ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f37cbf9238bb5e7bdc00e69ddaec1a532476f5900310a25df028b347fc80bff7
3
+ size 158376
mn416--qpulib.c2658a5/tests/harbor_configure_apt_mirror.sh ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ repository_base="${1%/}"
5
+ if [[ -z "$repository_base" ]]; then
6
+ exit 0
7
+ fi
8
+
9
+ . /etc/os-release
10
+ codename="${VERSION_CODENAME:-}"
11
+ if [[ -z "$codename" ]]; then
12
+ echo "VERSION_CODENAME is not set" >&2
13
+ exit 1
14
+ fi
15
+
16
+ if [[ "$ID" == "ubuntu" ]]; then
17
+ repository_name="apt-proxy"
18
+ components="main universe restricted multiverse"
19
+ else
20
+ repository_name="debian-proxy"
21
+ components="main contrib non-free non-free-firmware"
22
+ fi
23
+
24
+ install -d /etc/apt/sources.list.d
25
+ rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
26
+ printf 'deb [trusted=yes] %s/%s %s %s\n' \
27
+ "$repository_base" "$repository_name" "$codename" "$components" \
28
+ >/etc/apt/sources.list
29
+ printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
30
+ "$repository_base" "$repository_name" "$codename" "$components" \
31
+ >>/etc/apt/sources.list
32
+
33
+ if [[ "$ID" != "ubuntu" ]]; then
34
+ printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
35
+ "$repository_base" "debian-proxy-security" "$codename" "$components" \
36
+ >>/etc/apt/sources.list
37
+ fi
mn416--qpulib.c2658a5/tests/harbor_prepare_download_env.sh ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ cd /workspace
4
+ set -a
5
+ source /workspace/download.sh
6
+ set +a
7
+ python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
8
+ import os
9
+ import shlex
10
+
11
+ ignored = {
12
+ "ALL_PROXY",
13
+ "HTTP_PROXY",
14
+ "HTTPS_PROXY",
15
+ "NO_PROXY",
16
+ "OLDPWD",
17
+ "PIP_PROXY",
18
+ "PWD",
19
+ "SHLVL",
20
+ "_",
21
+ "all_proxy",
22
+ "http_proxy",
23
+ "https_proxy",
24
+ "no_proxy",
25
+ "pip_proxy",
26
+ }
27
+ for key in sorted(os.environ):
28
+ if key in ignored or key.startswith("BASH_FUNC_"):
29
+ continue
30
+ value = os.environ[key]
31
+ if "\n" in value:
32
+ continue
33
+ print(f"export {key}={shlex.quote(value)}")
34
+ PY
mn416--qpulib.c2658a5/tests/programgym_evaluator.py ADDED
@@ -0,0 +1,1201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """In-place ProgramGym evaluator.
3
+
4
+ Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
5
+ no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
6
+ cleanroom container after Harbor flips the verifier-phase network policy.
7
+
8
+ Differences from ``programgym.eval.eval.Evaluator`` that are structural to
9
+ running in one container:
10
+
11
+ * No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
12
+ copy a post-compile workspace snapshot to a temp directory and restore it
13
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
14
+ processes between attempts to approximate the fresh-container boundary.
15
+ * No ``docker commit``. The post-compile workspace snapshot serves the same
16
+ role as the committed image upstream.
17
+ * Hidden test blobs are fetched on demand from HuggingFace via
18
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
19
+ rather than being pre-staged into ``/tests/blobs/``. Override with
20
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
21
+
22
+ Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
23
+ ``compile.sh`` then stash + hash the executable, best-effort
24
+ ``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
25
+ ``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
26
+ best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
27
+ preserved.
28
+ """
29
+
30
+ from __future__ import annotations
31
+
32
+ import hashlib
33
+ import json
34
+ import os
35
+ import re
36
+ import shlex
37
+ import shutil
38
+ import signal
39
+ import subprocess
40
+ import tempfile
41
+ import time
42
+ import traceback
43
+ import xml.etree.ElementTree as ET
44
+ from pathlib import Path
45
+ from typing import Any
46
+
47
+ WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
48
+ STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
49
+ METADATA_PATH = Path(
50
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
51
+ )
52
+ LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
53
+ WORKER_CRASH_PHRASE = "worker '"
54
+ XDIST_COLLAPSE_MARKERS = (
55
+ "maximum crashed workers reached",
56
+ "xdist: maximum crashed",
57
+ )
58
+
59
+ DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
60
+ DEFAULT_HF_REVISION = "main"
61
+
62
+ # Oracle agent handoff files (see solution/solve.sh). Must not appear in the
63
+ # post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
64
+ _ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
65
+
66
+ _TOOLCHAIN_BIN_DIR_CANDIDATES = (
67
+ "/usr/local/go/bin",
68
+ "/go/bin",
69
+ "/usr/local/cargo/bin",
70
+ "/root/.cargo/bin",
71
+ "/root/.ghcup/bin",
72
+ )
73
+
74
+
75
+ def toolchain_bin_dirs() -> list[str]:
76
+ """Return toolchain bin directories that exist on this image."""
77
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
78
+ candidates.extend(
79
+ str(path)
80
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
81
+ if _is_accessible_dir(path)
82
+ )
83
+ seen: set[str] = set()
84
+ present: list[str] = []
85
+ for path in candidates:
86
+ if path in seen:
87
+ continue
88
+ seen.add(path)
89
+ if _is_accessible_dir(path):
90
+ present.append(path)
91
+ return present
92
+
93
+
94
+ def _is_accessible_dir(path: str | Path) -> bool:
95
+ """Return whether path is a directory without failing on protected homes."""
96
+ try:
97
+ return Path(path).is_dir()
98
+ except OSError:
99
+ return False
100
+
101
+
102
+ def bootstrap_toolchain_path() -> str:
103
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
104
+ prepend = toolchain_bin_dirs()
105
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
106
+ merged: list[str] = []
107
+ for path in prepend + current_parts:
108
+ if path not in merged:
109
+ merged.append(path)
110
+ new_path = ":".join(merged)
111
+ os.environ["PATH"] = new_path
112
+ return new_path
113
+
114
+
115
+ def _bash_login_command(command: str) -> str:
116
+ """Run ``command`` under bash -lc with an explicit PATH export."""
117
+ path = bootstrap_toolchain_path()
118
+ return f"export PATH={shlex.quote(path)}; {command}"
119
+
120
+
121
+ def sha256(path: Path) -> str:
122
+ h = hashlib.sha256()
123
+ with path.open("rb") as f:
124
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
125
+ h.update(chunk)
126
+ return h.hexdigest()
127
+
128
+
129
+ def write_json(path: Path, data: dict[str, Any]) -> None:
130
+ tmp = path.with_suffix(path.suffix + ".tmp")
131
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
132
+ tmp.replace(path)
133
+
134
+
135
+ def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
136
+ if path is None or not path.exists():
137
+ return ""
138
+ data = path.read_bytes()
139
+ if len(data) <= max_bytes:
140
+ return data.decode(errors="replace")
141
+ return data[-max_bytes:].decode(errors="replace")
142
+
143
+
144
+ def _close_pipes(proc: subprocess.Popen[Any]) -> None:
145
+ for stream in (proc.stdout, proc.stderr):
146
+ if stream is not None:
147
+ try:
148
+ stream.close()
149
+ except OSError:
150
+ pass
151
+
152
+
153
+ def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
154
+ try:
155
+ os.killpg(proc.pid, signal.SIGKILL)
156
+ except ProcessLookupError:
157
+ pass
158
+ try:
159
+ proc.kill()
160
+ except ProcessLookupError:
161
+ pass
162
+
163
+
164
+ _PKILL_PATTERNS = (
165
+ f"{WORKSPACE}/eval/",
166
+ f"{WORKSPACE}/tests/",
167
+ "tail -f",
168
+ "development.log",
169
+ " less ",
170
+ " less$",
171
+ "/less ",
172
+ )
173
+
174
+
175
+ def _pkill_aggressive() -> str:
176
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
177
+ notes: list[str] = []
178
+ workspace = str(WORKSPACE)
179
+ patterns = list(_PKILL_PATTERNS) + [
180
+ f"pytest.*{workspace}",
181
+ f"xdist.*{workspace}",
182
+ ]
183
+ for pattern in patterns:
184
+ result = subprocess.run(
185
+ ["pkill", "-9", "-f", pattern],
186
+ capture_output=True,
187
+ text=True,
188
+ )
189
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
190
+ return "\n".join(notes)
191
+
192
+
193
+ def run_step(
194
+ command: str,
195
+ cwd: Path,
196
+ *,
197
+ timeout: int,
198
+ env: dict[str, str] | None = None,
199
+ step: str,
200
+ accept_failure: bool = False,
201
+ log_output: bool | None = None,
202
+ max_output_bytes: int = 65536,
203
+ ) -> dict[str, Any]:
204
+ if log_output is None:
205
+ log_output = step == "run_tests" or timeout >= 60
206
+
207
+ started = time.monotonic()
208
+ stdout_path: Path | None = None
209
+ stderr_path: Path | None = None
210
+ stdout_f = None
211
+ stderr_f = None
212
+
213
+ if log_output:
214
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
215
+ log_id = f"{step}-{int(started * 1000)}"
216
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
217
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
218
+ stdout_f = stdout_path.open("w", encoding="utf-8")
219
+ stderr_f = stderr_path.open("w", encoding="utf-8")
220
+ popen_stdout: Any = stdout_f
221
+ popen_stderr: Any = stderr_f
222
+ else:
223
+ popen_stdout = subprocess.PIPE
224
+ popen_stderr = subprocess.PIPE
225
+
226
+ proc = subprocess.Popen(
227
+ ["bash", "-lc", _bash_login_command(command)],
228
+ cwd=cwd,
229
+ env={**os.environ, **(env or {})},
230
+ stdout=popen_stdout,
231
+ stderr=popen_stderr,
232
+ start_new_session=True,
233
+ text=True,
234
+ )
235
+ timed_out = False
236
+ stdout = ""
237
+ stderr = ""
238
+ try:
239
+ if log_output:
240
+ proc.wait(timeout=timeout)
241
+ else:
242
+ stdout, stderr = proc.communicate(timeout=timeout)
243
+ except subprocess.TimeoutExpired:
244
+ timed_out = True
245
+ _terminate_process_tree(proc)
246
+ cleanup_lingering_processes(aggressive=True)
247
+ try:
248
+ proc.wait(timeout=5)
249
+ except subprocess.TimeoutExpired:
250
+ proc.kill()
251
+ if not log_output:
252
+ _close_pipes(proc)
253
+ finally:
254
+ if stdout_f is not None:
255
+ stdout_f.close()
256
+ if stderr_f is not None:
257
+ stderr_f.close()
258
+
259
+ if timed_out:
260
+ if log_output:
261
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
262
+ stderr_path, max_output_bytes
263
+ )
264
+ else:
265
+ output = ""
266
+ entry = {
267
+ "step": step,
268
+ "command": command,
269
+ "wall_time": time.monotonic() - started,
270
+ "output": output,
271
+ "returncode": 124,
272
+ "exception_info": f"timed out after {timeout}s",
273
+ }
274
+ else:
275
+ if log_output:
276
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
277
+ stderr_path, max_output_bytes
278
+ )
279
+ else:
280
+ output = stdout + stderr
281
+ entry = {
282
+ "step": step,
283
+ "command": command,
284
+ "wall_time": time.monotonic() - started,
285
+ "output": output,
286
+ "returncode": proc.returncode,
287
+ "exception_info": "",
288
+ }
289
+ if entry["returncode"] and not accept_failure:
290
+ raise RuntimeError(
291
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
292
+ )
293
+ return entry
294
+
295
+
296
+ def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
297
+ started = time.monotonic()
298
+ patterns = [
299
+ str(WORKSPACE / "executable"),
300
+ f"{WORKSPACE}/eval/",
301
+ f"{WORKSPACE}/tests/",
302
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
303
+ "tail -f",
304
+ "development.log",
305
+ ]
306
+ killed: list[int] = []
307
+ proc_root = Path("/proc")
308
+ proc_available = proc_root.exists()
309
+ if proc_available:
310
+ for proc_dir in proc_root.iterdir():
311
+ if not proc_dir.name.isdigit():
312
+ continue
313
+ pid = int(proc_dir.name)
314
+ if pid in {os.getpid(), os.getppid()}:
315
+ continue
316
+ try:
317
+ raw = (proc_dir / "cmdline").read_bytes()
318
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
319
+ continue
320
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
321
+ if not any(pattern in cmdline for pattern in patterns):
322
+ continue
323
+ try:
324
+ os.kill(pid, signal.SIGKILL)
325
+ except (PermissionError, ProcessLookupError):
326
+ continue
327
+ killed.append(pid)
328
+ pkill_output = ""
329
+ if aggressive or not proc_available:
330
+ pkill_output = _pkill_aggressive()
331
+ output_parts = []
332
+ if killed:
333
+ output_parts.append("\n".join(str(pid) for pid in killed))
334
+ if pkill_output:
335
+ output_parts.append(pkill_output)
336
+ return {
337
+ "step": "cleanup_lingering_processes",
338
+ "command": "kill leftover branch processes referencing the workspace",
339
+ "wall_time": time.monotonic() - started,
340
+ "output": "\n".join(output_parts),
341
+ "returncode": 0,
342
+ "exception_info": "",
343
+ }
344
+
345
+
346
+ def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
347
+ import tarfile
348
+
349
+ with tarfile.open(tar_path, "r:gz") as tf:
350
+ try:
351
+ tf.extractall(dest, filter="fully_trusted")
352
+ except TypeError:
353
+ tf.extractall(dest)
354
+
355
+
356
+ def find_results_xml() -> Path | None:
357
+ """Return the junit xml path if pytest wrote one."""
358
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
359
+ if candidate.exists():
360
+ return candidate
361
+ return None
362
+
363
+
364
+ def remove_oracle_handoff_artifacts() -> list[str]:
365
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
366
+ removed: list[str] = []
367
+ for name in _ORACLE_HANDOFF_NAMES:
368
+ path = WORKSPACE / name
369
+ if path.exists():
370
+ if path.is_dir():
371
+ shutil.rmtree(path)
372
+ else:
373
+ path.unlink()
374
+ removed.append(name)
375
+ return removed
376
+
377
+
378
+ def _remove_tree(path: Path) -> None:
379
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
380
+ if path.is_symlink() or path.is_file():
381
+ path.unlink(missing_ok=True)
382
+ return
383
+ if not path.is_dir():
384
+ path.unlink(missing_ok=True)
385
+ return
386
+ for attempt in range(3):
387
+ try:
388
+ shutil.rmtree(path)
389
+ if not path.exists():
390
+ return
391
+ except OSError:
392
+ if attempt == 2:
393
+ run_step(
394
+ f"rm -rf {shlex.quote(str(path))}",
395
+ path.parent,
396
+ timeout=120,
397
+ step="clear_workspace_fallback",
398
+ accept_failure=True,
399
+ )
400
+ if not path.exists():
401
+ return
402
+ raise
403
+
404
+
405
+ def ensure_workspace_dir() -> None:
406
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
407
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
408
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
409
+ WORKSPACE.unlink()
410
+ else:
411
+ shutil.rmtree(WORKSPACE)
412
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
413
+
414
+
415
+ def clear_workspace() -> None:
416
+ ensure_workspace_dir()
417
+ for path in list(WORKSPACE.iterdir()):
418
+ _remove_tree(path)
419
+
420
+
421
+ def restore_reference_executable() -> None:
422
+ """Write the stashed reference binary into /workspace after a branch overlay.
423
+
424
+ Branch blobs may ship ``executable`` as a dangling symlink into
425
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
426
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
427
+ reference as a regular file.
428
+ """
429
+ ensure_workspace_dir()
430
+ if not STASHED_EXECUTABLE.is_file():
431
+ raise FileNotFoundError(
432
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
433
+ )
434
+ dest = WORKSPACE / "executable"
435
+ if dest.exists() or dest.is_symlink():
436
+ if dest.is_dir():
437
+ shutil.rmtree(dest)
438
+ else:
439
+ dest.unlink(missing_ok=True)
440
+ shutil.copy2(STASHED_EXECUTABLE, dest)
441
+ dest.chmod(0o755)
442
+
443
+
444
+ def snapshot_workspace(dest: Path) -> None:
445
+ if dest.exists():
446
+ shutil.rmtree(dest)
447
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
448
+
449
+
450
+ def restore_workspace(source: Path) -> None:
451
+ clear_workspace()
452
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
453
+ ensure_workspace_dir()
454
+
455
+
456
+ def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
457
+ removed: list[str] = []
458
+ for path in root.rglob("*"):
459
+ if path.is_file() and not path.is_symlink():
460
+ try:
461
+ if sha256(path) in hashes:
462
+ path.unlink()
463
+ removed.append(str(path.relative_to(root)))
464
+ except OSError:
465
+ continue
466
+ return removed
467
+
468
+
469
+ def branch_tests(branch_info: dict[str, Any]) -> list[str]:
470
+ ignored = {
471
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
472
+ }
473
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
474
+
475
+
476
+ def ignored_tests(metadata: dict[str, Any]) -> set[str]:
477
+ result: set[str] = set()
478
+ for branch, info in metadata.get("branches", {}).items():
479
+ result.update(
480
+ f"{branch}/{item['name']}"
481
+ for item in info.get("ignored_tests", [])
482
+ if "name" in item
483
+ )
484
+ return result
485
+
486
+
487
+ def active_tests(metadata: dict[str, Any]) -> set[str]:
488
+ active: set[str] = set()
489
+ for branch, info in metadata.get("branches", {}).items():
490
+ if info.get("ignored"):
491
+ continue
492
+ ignored = {
493
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
494
+ }
495
+ active.update(
496
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
497
+ )
498
+ return active
499
+
500
+
501
+ def inject_not_run(
502
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
503
+ ) -> None:
504
+ result["test_results"].extend(
505
+ {
506
+ "name": name,
507
+ "branch": branch,
508
+ "status": "not_run",
509
+ "extra": {"error_code": error_code},
510
+ }
511
+ for name in tests
512
+ )
513
+
514
+
515
+ def testcase_name(case: ET.Element) -> str:
516
+ classname = case.attrib.get("classname", "")
517
+ name = case.attrib.get("name", "")
518
+ return f"{classname}.{name}" if classname else name
519
+
520
+
521
+ # Only these tags under <testcase> represent a result. <system-out> /
522
+ # <system-err> are stdout/stderr captures and must not be treated as results
523
+ # (a leading <system-out> followed by <failure> would otherwise be classified
524
+ # as a stdout-only "passed").
525
+ JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
526
+
527
+
528
+ def parse_junit(
529
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
530
+ ) -> tuple[list[dict[str, Any]], list[str]]:
531
+ root = ET.fromstring(raw_xml)
532
+ got: set[str] = set()
533
+ results: list[dict[str, Any]] = []
534
+ for case in root.iter("testcase"):
535
+ name = testcase_name(case)
536
+ got.add(name)
537
+ extra: dict[str, Any] = {}
538
+ if "time" in case.attrib:
539
+ try:
540
+ extra["time"] = float(case.attrib["time"])
541
+ except ValueError:
542
+ extra["time"] = case.attrib["time"]
543
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
544
+ # Collapse duplicate same-tag result children. Pytest's
545
+ # "pytest.internal" pseudo-test sometimes emits two identical <error>
546
+ # entries; treating that as a system_error would over-flag a real
547
+ # single failure. Mirrors upstream eval.py:816-820.
548
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
549
+ result_children = [result_children[0]]
550
+ if not result_children:
551
+ status = "passed"
552
+ elif len(result_children) != 1:
553
+ status = "system_error"
554
+ extra["error_details"] = (
555
+ f"Expected 1 result for {name}, got {len(result_children)}: "
556
+ f"{[c.tag for c in result_children]}"
557
+ )
558
+ else:
559
+ first = result_children[0]
560
+ status = first.tag # "skipped" | "failure" | "error"
561
+ extra["message"] = first.attrib.get("message") or ""
562
+ if first.text:
563
+ extra["text"] = first.text
564
+ results.append(
565
+ {"name": name, "branch": branch, "status": status, "extra": extra}
566
+ )
567
+
568
+ active_expected = [name for name in expected if name not in ignored]
569
+ missing = [name for name in active_expected if name not in got]
570
+ results.extend(
571
+ {
572
+ "name": name,
573
+ "branch": branch,
574
+ "status": "not_run",
575
+ "extra": {"error_code": "missing_from_junit_xml"},
576
+ }
577
+ for name in missing
578
+ )
579
+ unexpected = got - set(expected) - ignored
580
+ warnings = (
581
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
582
+ if unexpected
583
+ else []
584
+ )
585
+ return results, warnings
586
+
587
+
588
+ def count_worker_crashes(raw_xml: str) -> int:
589
+ if WORKER_CRASH_PHRASE not in raw_xml:
590
+ return 0
591
+ try:
592
+ root = ET.fromstring(raw_xml)
593
+ except ET.ParseError:
594
+ return 0
595
+ crashes = 0
596
+ for case in root.iter("testcase"):
597
+ for child in case:
598
+ text = (child.get("message") or "") + " " + (child.text or "")
599
+ if (
600
+ child.tag in {"error", "failure"}
601
+ and WORKER_CRASH_PHRASE in text
602
+ and "crashed" in text
603
+ ):
604
+ crashes += 1
605
+ break
606
+ return crashes
607
+
608
+
609
+ def run_output_indicates_xdist_collapse(output: str) -> bool:
610
+ lower = output.lower()
611
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
612
+
613
+
614
+ def count_junit_failures(raw_xml: str) -> int:
615
+ try:
616
+ root = ET.fromstring(raw_xml)
617
+ except ET.ParseError:
618
+ return 0
619
+ failures = 0
620
+ for case in root.iter("testcase"):
621
+ for child in case:
622
+ if child.tag in {"failure", "error"}:
623
+ failures += 1
624
+ break
625
+ return failures
626
+
627
+
628
+ def count_junit_passed(raw_xml: str) -> int:
629
+ try:
630
+ root = ET.fromstring(raw_xml)
631
+ except ET.ParseError:
632
+ return 0
633
+ passed = 0
634
+ for case in root.iter("testcase"):
635
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
636
+ passed += 1
637
+ return passed
638
+
639
+
640
+ def branch_attempt_metrics(
641
+ raw_xml: str, *, run_output: str, expected_tests: int
642
+ ) -> tuple[int, int, int, int]:
643
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
644
+ crashes = count_worker_crashes(raw_xml)
645
+ if run_output_indicates_xdist_collapse(run_output):
646
+ crashes = max(crashes, 1)
647
+ n_tests = count_testcases(raw_xml)
648
+ failures = count_junit_failures(raw_xml)
649
+ missing = max(0, expected_tests - n_tests)
650
+ return crashes, n_tests, failures, missing
651
+
652
+
653
+ def needs_serial_retry(
654
+ *,
655
+ serial: bool,
656
+ crashes: int,
657
+ missing: int,
658
+ failures: int,
659
+ n_tests: int,
660
+ expected_tests: int,
661
+ run_output: str,
662
+ ) -> bool:
663
+ if serial:
664
+ return False
665
+ high_failure_rate = (
666
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
667
+ )
668
+ return (
669
+ crashes > 0
670
+ or missing > 0
671
+ or high_failure_rate
672
+ or run_output_indicates_xdist_collapse(run_output)
673
+ )
674
+
675
+
676
+ def count_testcases(raw_xml: str) -> int:
677
+ try:
678
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
679
+ except ET.ParseError:
680
+ return 0
681
+
682
+
683
+ def scored_results(
684
+ result: dict[str, Any], metadata: dict[str, Any]
685
+ ) -> list[dict[str, Any]]:
686
+ active = active_tests(metadata)
687
+ by_key = {
688
+ f"{test['branch']}/{test['name']}": test
689
+ for test in result["test_results"]
690
+ if f"{test['branch']}/{test['name']}" in active
691
+ }
692
+ return [
693
+ by_key.get(
694
+ key,
695
+ {
696
+ "branch": key.split("/", 1)[0],
697
+ "name": key.split("/", 1)[1],
698
+ "status": "not_run",
699
+ "extra": {"error_code": "missing_from_results"},
700
+ },
701
+ )
702
+ for key in sorted(active)
703
+ ]
704
+
705
+
706
+ def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
707
+ scored = scored_results(result, metadata)
708
+ n_passed = sum(t["status"] == "passed" for t in scored)
709
+ n_tests = len(scored)
710
+ pass_rate = n_passed / n_tests if n_tests else 0.0
711
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
712
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
713
+ # the proportion of tasks scoring a perfect pass-rate and mean of
714
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
715
+ # per-task pass-rate whose mean is the overall mean reward.
716
+ return {
717
+ "reward": pass_rate,
718
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
719
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
720
+ }
721
+
722
+
723
+ def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
724
+ scored = scored_results(result, metadata)
725
+ n_passed = sum(t["status"] == "passed" for t in scored)
726
+ n_tests = len(scored)
727
+ pass_rate = n_passed / n_tests if n_tests else 0.0
728
+ return {
729
+ "pass_rate": pass_rate,
730
+ "resolved": int(
731
+ bool(
732
+ n_tests
733
+ and n_passed == n_tests
734
+ and not result["test_branch_errors"]
735
+ and not result["error_code"]
736
+ )
737
+ ),
738
+ "n_passed": n_passed,
739
+ "n_tests": n_tests,
740
+ "n_branch_errors": len(result["test_branch_errors"]),
741
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
742
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
743
+ }
744
+
745
+
746
+ def use_script_pty() -> bool:
747
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
748
+
749
+
750
+ def script_pty_available() -> bool:
751
+ return shutil.which("script") is not None
752
+
753
+
754
+ def branch_env(
755
+ *,
756
+ serial: bool,
757
+ has_rerunfailures: bool,
758
+ extras: dict[str, str] | None = None,
759
+ ) -> dict[str, str]:
760
+ addopts = ["--max-worker-restart=4"]
761
+ # A serial fallback is already a complete second execution. Re-running each
762
+ # failing test two more times makes large, failure-heavy suites prohibitively
763
+ # slow and adds little signal.
764
+ if has_rerunfailures and not serial:
765
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
766
+ env = {
767
+ "PYTEST_ADDOPTS": " ".join(addopts),
768
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
769
+ "NO_COLOR": "1",
770
+ "TERM": "dumb",
771
+ "CLICOLOR": "0",
772
+ "CLICOLOR_FORCE": "0",
773
+ "COLORTERM": "",
774
+ }
775
+ if extras:
776
+ env.update(extras)
777
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
778
+ if serial:
779
+ xdist_workers = "1"
780
+ if xdist_workers:
781
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
782
+ return env
783
+
784
+
785
+ _SERIAL_RUN_SH = ".programgym_run_serial.sh"
786
+ # ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
787
+ # ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
788
+ _RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
789
+
790
+
791
+ def prepare_serial_run_sh(run_sh: Path) -> Path:
792
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
793
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
794
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
795
+ serial_sh.write_text(patched)
796
+ serial_sh.chmod(0o755)
797
+ return serial_sh
798
+
799
+
800
+ def run_tests_command(*, serial: bool) -> str:
801
+ if serial:
802
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
803
+ else:
804
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
805
+ if use_script_pty() and script_pty_available():
806
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
807
+ return inner
808
+
809
+
810
+ BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
811
+
812
+
813
+ def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
814
+ """Locate the per-instance blob directory.
815
+
816
+ Resolution order:
817
+
818
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
819
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
820
+ agent never sees these.
821
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
822
+ tree on disk (``<dir>/<instance_id>/tests/<branch>.tar.gz``). Useful
823
+ for offline reruns sharing a cache across many tasks.
824
+ 3. ``huggingface_hub.snapshot_download`` from
825
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
826
+
827
+ The returned directory contains ``tests/<branch>.tar.gz`` per active
828
+ branch — same shape as ``programgym/ProgramGym-Tests/<instance_id>/``
829
+ on HF.
830
+ """
831
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
832
+ return BAKED_BLOB_DIR
833
+
834
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
835
+ if local:
836
+ candidate = Path(local) / instance_id
837
+ if candidate.exists():
838
+ return candidate
839
+ raise FileNotFoundError(
840
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
841
+ )
842
+
843
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
844
+ "hf_repo_id", DEFAULT_HF_REPO_ID
845
+ )
846
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
847
+ "hf_revision", DEFAULT_HF_REVISION
848
+ )
849
+
850
+ from huggingface_hub import snapshot_download
851
+
852
+ cache_root = Path(
853
+ snapshot_download(
854
+ repo_id,
855
+ repo_type="dataset",
856
+ revision=revision,
857
+ allow_patterns=f"{instance_id}/**",
858
+ )
859
+ )
860
+ blob_dir = cache_root / instance_id
861
+ if not blob_dir.exists():
862
+ raise FileNotFoundError(
863
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
864
+ )
865
+ return blob_dir
866
+
867
+
868
+ def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
869
+ bootstrap_toolchain_path()
870
+ branches = metadata.get("branches", {})
871
+ active_branch_items = [
872
+ (name, info) for name, info in branches.items() if not info.get("ignored")
873
+ ]
874
+ result: dict[str, Any] = {
875
+ "test_results": [],
876
+ "error_code": None,
877
+ "error_details": None,
878
+ "log": [],
879
+ "solution_branch": "submission",
880
+ "test_branches": [name for name, _ in active_branch_items],
881
+ "test_branch_errors": {},
882
+ "executable_hash": None,
883
+ "warnings": [],
884
+ }
885
+
886
+ instance_id = metadata["instance_id"]
887
+
888
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
889
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
890
+
891
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
892
+ result["error_code"] = error_code
893
+ result["error_details"] = details
894
+ for branch, info in active_branch_items:
895
+ inject_not_run(result, branch, branch_tests(info), error_code)
896
+ return result
897
+
898
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
899
+ compiled_snapshot = Path(tmp) / "compiled"
900
+
901
+ started = time.monotonic()
902
+ removed = remove_hashed_files(
903
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
904
+ )
905
+ result["log"].append(
906
+ {
907
+ "step": "remove_hashed_files",
908
+ "command": "remove files matching eval_clean_hashes",
909
+ "wall_time": time.monotonic() - started,
910
+ "output": "".join(f"removed '{path}'\n" for path in removed),
911
+ "returncode": 0,
912
+ "exception_info": "",
913
+ }
914
+ )
915
+
916
+ compile_sh = WORKSPACE / "compile.sh"
917
+ if not compile_sh.exists():
918
+ return fail_all(
919
+ "missing_compile_sh", "submission did not contain compile.sh"
920
+ )
921
+
922
+ seed = (
923
+ "if [ ! -d .git ]; then "
924
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
925
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
926
+ "git -c init.defaultBranch=gold init -q && "
927
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
928
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
929
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
930
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
931
+ "fi"
932
+ )
933
+ try:
934
+ result["log"].append(
935
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
936
+ )
937
+ compile_log = run_step(
938
+ "chmod +x ./compile.sh && ./compile.sh",
939
+ WORKSPACE,
940
+ timeout=compile_timeout,
941
+ step="compile",
942
+ accept_failure=True,
943
+ )
944
+ result["log"].append(compile_log)
945
+ if compile_log["returncode"]:
946
+ return fail_all("compile_failed", compile_log["output"])
947
+ executable = WORKSPACE / "executable"
948
+ if not executable.exists():
949
+ return fail_all(
950
+ "missing_executable",
951
+ "compile.sh completed but did not create ./executable",
952
+ )
953
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
954
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
955
+ # the agent's executable during the stash→restore window. Mirrors
956
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
957
+ shutil.move(str(executable), STASHED_EXECUTABLE)
958
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
959
+ result["log"].append(
960
+ run_step(
961
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
962
+ WORKSPACE,
963
+ timeout=120,
964
+ step="install_rerunfailures",
965
+ accept_failure=True,
966
+ )
967
+ )
968
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
969
+ handoff_removed = remove_oracle_handoff_artifacts()
970
+ if handoff_removed:
971
+ result["log"].append(
972
+ {
973
+ "step": "remove_oracle_handoff",
974
+ "command": "remove oracle handoff artifacts from workspace",
975
+ "wall_time": 0.0,
976
+ "output": "".join(
977
+ f"removed '{name}'\n" for name in handoff_removed
978
+ ),
979
+ "returncode": 0,
980
+ "exception_info": "",
981
+ }
982
+ )
983
+ snapshot_workspace(compiled_snapshot)
984
+ except Exception as exc:
985
+ return fail_all(type(exc).__name__, str(exc))
986
+
987
+ try:
988
+ blob_dir = resolve_blob_dir(instance_id, metadata)
989
+ except Exception as exc:
990
+ details = f"{type(exc).__name__}: {exc}"
991
+ for branch, info in active_branch_items:
992
+ result["test_branch_errors"][branch] = [
993
+ {
994
+ "error_code": "blob_resolution_failed",
995
+ "error_details": details,
996
+ }
997
+ ]
998
+ inject_not_run(
999
+ result, branch, branch_tests(info), "blob_resolution_failed"
1000
+ )
1001
+ return result
1002
+
1003
+ for branch, info in active_branch_items:
1004
+ tests = branch_tests(info)
1005
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
1006
+ if not blob.exists():
1007
+ result["test_branch_errors"][branch] = [
1008
+ {"error_code": "missing_test_blob", "error_details": blob.name}
1009
+ ]
1010
+ inject_not_run(result, branch, tests, "missing_test_blob")
1011
+ continue
1012
+
1013
+ best_xml = ""
1014
+ # Prefer a complete, clean XML result, then the result covering the
1015
+ # most expected tests, and only then the one with the most passes.
1016
+ # Pass-count-only ranking can retain a partial xdist result over a
1017
+ # complete serial result.
1018
+ best_quality = (-1, -1, -1)
1019
+ serial = bool(metadata.get("force_serial_branches"))
1020
+ branch_log: list[dict[str, Any]] = []
1021
+ branch_ignored = {
1022
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
1023
+ }
1024
+ n_expected = len([name for name in tests if name not in branch_ignored])
1025
+
1026
+ def merge_best_xml(raw_xml: str) -> None:
1027
+ try:
1028
+ parsed, warnings = parse_junit(
1029
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
1030
+ )
1031
+ except Exception as exc:
1032
+ result["test_branch_errors"][branch] = [
1033
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
1034
+ ]
1035
+ inject_not_run(result, branch, tests, "xml_parse_error")
1036
+ else:
1037
+ result["test_results"].extend(parsed)
1038
+ result["warnings"].extend(warnings)
1039
+
1040
+ while True:
1041
+ branch_log.append(cleanup_lingering_processes())
1042
+ restore_workspace(compiled_snapshot)
1043
+ extract_trusted_blob(blob, WORKSPACE)
1044
+ restore_reference_executable()
1045
+ actual_hash = sha256(WORKSPACE / "executable")
1046
+ if actual_hash != result["executable_hash"]:
1047
+ result["test_branch_errors"][branch] = [
1048
+ {
1049
+ "error_code": "executable_hash_mismatch",
1050
+ "error_details": (
1051
+ f"expected {result['executable_hash']}, got {actual_hash}"
1052
+ ),
1053
+ }
1054
+ ]
1055
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
1056
+ break
1057
+ run_sh = WORKSPACE / "eval" / "run.sh"
1058
+ if not run_sh.exists():
1059
+ result["test_branch_errors"][branch] = [
1060
+ {
1061
+ "error_code": "missing_run_sh",
1062
+ "error_details": "eval/run.sh missing",
1063
+ }
1064
+ ]
1065
+ inject_not_run(result, branch, tests, "missing_run_sh")
1066
+ break
1067
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
1068
+ # instead of os._exit(1) on timeout. That works in fresh
1069
+ # containers per branch; here we reuse one container and
1070
+ # signal timeouts leave TUI/log-watcher subprocesses alive
1071
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
1072
+ # branch_timeout. Keep the blob's thread method and rely on
1073
+ # cleanup_lingering_processes + serial fallback after crashes.
1074
+ env = branch_env(
1075
+ serial=serial,
1076
+ has_rerunfailures=has_rerunfailures,
1077
+ extras=metadata.get("branch_env"),
1078
+ )
1079
+ branch_log.append(
1080
+ run_step(
1081
+ "rm -f eval/results.xml results.xml",
1082
+ WORKSPACE,
1083
+ timeout=120,
1084
+ step="clean_stale_results",
1085
+ accept_failure=True,
1086
+ )
1087
+ )
1088
+ if serial:
1089
+ prepare_serial_run_sh(run_sh)
1090
+ run_entry = run_step(
1091
+ run_tests_command(serial=serial),
1092
+ WORKSPACE,
1093
+ timeout=branch_timeout,
1094
+ env=env,
1095
+ step="run_tests",
1096
+ accept_failure=True,
1097
+ )
1098
+ branch_log.append(run_entry)
1099
+ branch_log.append(cleanup_lingering_processes())
1100
+ xml_path = find_results_xml()
1101
+ if xml_path is None:
1102
+ if best_xml:
1103
+ merge_best_xml(best_xml)
1104
+ break
1105
+ if serial:
1106
+ result["test_branch_errors"][branch] = [
1107
+ {
1108
+ "error_code": "missing_results_xml",
1109
+ "error_details": "eval/results.xml was not produced",
1110
+ }
1111
+ ]
1112
+ inject_not_run(result, branch, tests, "missing_results_xml")
1113
+ break
1114
+ serial = True
1115
+ continue
1116
+ raw_xml = xml_path.read_text(errors="replace")
1117
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
1118
+ raw_xml,
1119
+ run_output=run_entry.get("output", ""),
1120
+ expected_tests=n_expected,
1121
+ )
1122
+ useful = count_junit_passed(raw_xml)
1123
+ quality = (
1124
+ int(crashes == 0 and missing == 0),
1125
+ n_tests,
1126
+ useful,
1127
+ )
1128
+ if quality > best_quality:
1129
+ best_xml = raw_xml
1130
+ best_quality = quality
1131
+ retry = needs_serial_retry(
1132
+ serial=serial,
1133
+ crashes=crashes,
1134
+ missing=missing,
1135
+ failures=failures,
1136
+ n_tests=n_tests,
1137
+ expected_tests=n_expected,
1138
+ run_output=run_entry.get("output", ""),
1139
+ )
1140
+ if not retry:
1141
+ merge_best_xml(best_xml)
1142
+ break
1143
+ serial = True
1144
+ for entry in branch_log:
1145
+ entry["branch"] = branch
1146
+ result["log"].extend(branch_log)
1147
+
1148
+ return result
1149
+
1150
+
1151
+ def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
1152
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
1153
+ write_json(LOG_DIR / "programgym_eval.json", result)
1154
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
1155
+ rewards = summarize(result, metadata)
1156
+ write_json(LOG_DIR / "reward.json", rewards)
1157
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
1158
+
1159
+
1160
+ def main() -> None:
1161
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
1162
+ log_path = LOG_DIR / "programgym_eval.log"
1163
+ metadata = json.loads(METADATA_PATH.read_text())
1164
+ branches = metadata.get("branches", {})
1165
+ try:
1166
+ result = evaluate(metadata)
1167
+ except Exception as exc:
1168
+ error_code = type(exc).__name__
1169
+ result = {
1170
+ "test_results": [],
1171
+ "error_code": error_code,
1172
+ "error_details": str(exc),
1173
+ "log": [
1174
+ {
1175
+ "step": "evaluator_exception",
1176
+ "exception_info": traceback.format_exc(),
1177
+ "returncode": 1,
1178
+ }
1179
+ ],
1180
+ "solution_branch": "submission",
1181
+ "test_branches": [
1182
+ name for name, info in branches.items() if not info.get("ignored")
1183
+ ],
1184
+ "test_branch_errors": {
1185
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
1186
+ },
1187
+ "executable_hash": None,
1188
+ "warnings": [],
1189
+ }
1190
+ for branch, info in branches.items():
1191
+ if info.get("ignored"):
1192
+ continue
1193
+ inject_not_run(result, branch, branch_tests(info), error_code)
1194
+ log_path.write_text(traceback.format_exc())
1195
+ else:
1196
+ log_path.write_text("")
1197
+ write_outputs(result, metadata)
1198
+
1199
+
1200
+ if __name__ == "__main__":
1201
+ main()
mn416--qpulib.c2658a5/tests/programgym_task.json ADDED
@@ -0,0 +1,426 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "branches": {
3
+ "generated_module_02": {
4
+ "ignore_reason": "",
5
+ "ignored": false,
6
+ "ignored_tests": [],
7
+ "tests": [
8
+ "eval.tests.test_gcd_kernel.test_canonical_stdout_matches_golden",
9
+ "eval.tests.test_gcd_kernel.test_canonical_stdout_matches_golden_line_by_line",
10
+ "eval.tests.test_gcd_kernel.test_eight_runs_full_stream_byte_stable",
11
+ "eval.tests.test_gcd_kernel.test_empty_stdin_does_not_hang",
12
+ "eval.tests.test_gcd_kernel.test_environment_overrides_do_not_change_output",
13
+ "eval.tests.test_gcd_kernel.test_exit_code_zero",
14
+ "eval.tests.test_gcd_kernel.test_extra_command_line_arguments_are_harmless",
15
+ "eval.tests.test_gcd_kernel.test_five_runs_preserve_ordered_lane_gcds",
16
+ "eval.tests.test_gcd_kernel.test_lane_live_gcd_matches_reference[lane_0]",
17
+ "eval.tests.test_gcd_kernel.test_lane_live_gcd_matches_reference[lane_10]",
18
+ "eval.tests.test_gcd_kernel.test_lane_live_gcd_matches_reference[lane_11]",
19
+ "eval.tests.test_gcd_kernel.test_lane_live_gcd_matches_reference[lane_12]",
20
+ "eval.tests.test_gcd_kernel.test_lane_live_gcd_matches_reference[lane_13]",
21
+ "eval.tests.test_gcd_kernel.test_lane_live_gcd_matches_reference[lane_14]",
22
+ "eval.tests.test_gcd_kernel.test_lane_live_gcd_matches_reference[lane_15]",
23
+ "eval.tests.test_gcd_kernel.test_lane_live_gcd_matches_reference[lane_1]",
24
+ "eval.tests.test_gcd_kernel.test_lane_live_gcd_matches_reference[lane_2]",
25
+ "eval.tests.test_gcd_kernel.test_lane_live_gcd_matches_reference[lane_3]",
26
+ "eval.tests.test_gcd_kernel.test_lane_live_gcd_matches_reference[lane_4]",
27
+ "eval.tests.test_gcd_kernel.test_lane_live_gcd_matches_reference[lane_5]",
28
+ "eval.tests.test_gcd_kernel.test_lane_live_gcd_matches_reference[lane_6]",
29
+ "eval.tests.test_gcd_kernel.test_lane_live_gcd_matches_reference[lane_7]",
30
+ "eval.tests.test_gcd_kernel.test_lane_live_gcd_matches_reference[lane_8]",
31
+ "eval.tests.test_gcd_kernel.test_lane_live_gcd_matches_reference[lane_9]",
32
+ "eval.tests.test_gcd_kernel.test_lane_live_inputs_match_seeded_sequence[lane_0]",
33
+ "eval.tests.test_gcd_kernel.test_lane_live_inputs_match_seeded_sequence[lane_10]",
34
+ "eval.tests.test_gcd_kernel.test_lane_live_inputs_match_seeded_sequence[lane_11]",
35
+ "eval.tests.test_gcd_kernel.test_lane_live_inputs_match_seeded_sequence[lane_12]",
36
+ "eval.tests.test_gcd_kernel.test_lane_live_inputs_match_seeded_sequence[lane_13]",
37
+ "eval.tests.test_gcd_kernel.test_lane_live_inputs_match_seeded_sequence[lane_14]",
38
+ "eval.tests.test_gcd_kernel.test_lane_live_inputs_match_seeded_sequence[lane_15]",
39
+ "eval.tests.test_gcd_kernel.test_lane_live_inputs_match_seeded_sequence[lane_1]",
40
+ "eval.tests.test_gcd_kernel.test_lane_live_inputs_match_seeded_sequence[lane_2]",
41
+ "eval.tests.test_gcd_kernel.test_lane_live_inputs_match_seeded_sequence[lane_3]",
42
+ "eval.tests.test_gcd_kernel.test_lane_live_inputs_match_seeded_sequence[lane_4]",
43
+ "eval.tests.test_gcd_kernel.test_lane_live_inputs_match_seeded_sequence[lane_5]",
44
+ "eval.tests.test_gcd_kernel.test_lane_live_inputs_match_seeded_sequence[lane_6]",
45
+ "eval.tests.test_gcd_kernel.test_lane_live_inputs_match_seeded_sequence[lane_7]",
46
+ "eval.tests.test_gcd_kernel.test_lane_live_inputs_match_seeded_sequence[lane_8]",
47
+ "eval.tests.test_gcd_kernel.test_lane_live_inputs_match_seeded_sequence[lane_9]",
48
+ "eval.tests.test_gcd_kernel.test_lane_live_triple_is_exact[lane_0]",
49
+ "eval.tests.test_gcd_kernel.test_lane_live_triple_is_exact[lane_10]",
50
+ "eval.tests.test_gcd_kernel.test_lane_live_triple_is_exact[lane_11]",
51
+ "eval.tests.test_gcd_kernel.test_lane_live_triple_is_exact[lane_12]",
52
+ "eval.tests.test_gcd_kernel.test_lane_live_triple_is_exact[lane_13]",
53
+ "eval.tests.test_gcd_kernel.test_lane_live_triple_is_exact[lane_14]",
54
+ "eval.tests.test_gcd_kernel.test_lane_live_triple_is_exact[lane_15]",
55
+ "eval.tests.test_gcd_kernel.test_lane_live_triple_is_exact[lane_1]",
56
+ "eval.tests.test_gcd_kernel.test_lane_live_triple_is_exact[lane_2]",
57
+ "eval.tests.test_gcd_kernel.test_lane_live_triple_is_exact[lane_3]",
58
+ "eval.tests.test_gcd_kernel.test_lane_live_triple_is_exact[lane_4]",
59
+ "eval.tests.test_gcd_kernel.test_lane_live_triple_is_exact[lane_5]",
60
+ "eval.tests.test_gcd_kernel.test_lane_live_triple_is_exact[lane_6]",
61
+ "eval.tests.test_gcd_kernel.test_lane_live_triple_is_exact[lane_7]",
62
+ "eval.tests.test_gcd_kernel.test_lane_live_triple_is_exact[lane_8]",
63
+ "eval.tests.test_gcd_kernel.test_lane_live_triple_is_exact[lane_9]",
64
+ "eval.tests.test_gcd_kernel.test_live_all_gcds_match_golden_triples",
65
+ "eval.tests.test_gcd_kernel.test_live_all_lane_inputs_are_distinct",
66
+ "eval.tests.test_gcd_kernel.test_live_both_even_inputs_imply_even_gcd",
67
+ "eval.tests.test_gcd_kernel.test_live_coprime_and_non_coprime_lane_split",
68
+ "eval.tests.test_gcd_kernel.test_live_distinct_gcd_value_set_matches_reference",
69
+ "eval.tests.test_gcd_kernel.test_live_each_lane_input_sorted_into_vector",
70
+ "eval.tests.test_gcd_kernel.test_live_even_gcd_lane_count_is_exact",
71
+ "eval.tests.test_gcd_kernel.test_live_every_lane_gcd_divides_both_inputs",
72
+ "eval.tests.test_gcd_kernel.test_live_every_line_matches_gcd_format",
73
+ "eval.tests.test_gcd_kernel.test_live_first_and_last_lane_pinned",
74
+ "eval.tests.test_gcd_kernel.test_live_gcd_bit_length_bounded_by_smaller_input",
75
+ "eval.tests.test_gcd_kernel.test_live_gcd_divides_lane_sum_and_difference",
76
+ "eval.tests.test_gcd_kernel.test_live_gcd_is_never_larger_than_smaller_input",
77
+ "eval.tests.test_gcd_kernel.test_live_gcd_of_gcds_equals_gcd_of_all_inputs",
78
+ "eval.tests.test_gcd_kernel.test_live_gcd_product_matches_reference",
79
+ "eval.tests.test_gcd_kernel.test_live_gcd_value_histogram_matches_reference",
80
+ "eval.tests.test_gcd_kernel.test_live_has_exactly_one_result_per_vector_lane",
81
+ "eval.tests.test_gcd_kernel.test_live_inputs_fall_in_seeded_range",
82
+ "eval.tests.test_gcd_kernel.test_live_lane_sum_matches_reference_sum",
83
+ "eval.tests.test_gcd_kernel.test_live_lcm_product_identity_holds_per_lane",
84
+ "eval.tests.test_gcd_kernel.test_live_max_gcd_lane_argmax_is_unique",
85
+ "eval.tests.test_gcd_kernel.test_live_maximal_lane_reduces_to_coprime_pair",
86
+ "eval.tests.test_gcd_kernel.test_live_maximum_gcd_lane_is_exact",
87
+ "eval.tests.test_gcd_kernel.test_live_number_of_gcd_one_lanes",
88
+ "eval.tests.test_gcd_kernel.test_live_reduced_pair_is_coprime",
89
+ "eval.tests.test_gcd_kernel.test_live_reduced_quotient_sum_matches_reference",
90
+ "eval.tests.test_gcd_kernel.test_many_extra_arguments_are_harmless",
91
+ "eval.tests.test_gcd_kernel.test_no_output_written_to_stderr",
92
+ "eval.tests.test_gcd_kernel.test_no_trailing_blank_lines",
93
+ "eval.tests.test_gcd_kernel.test_output_is_independent_of_working_directory",
94
+ "eval.tests.test_gcd_kernel.test_repeated_invocation_is_byte_identical",
95
+ "eval.tests.test_gcd_kernel.test_stdin_data_is_not_consumed",
96
+ "eval.tests.test_gcd_kernel.test_stdout_and_stderr_are_distinct",
97
+ "eval.tests.test_gcd_kernel.test_stdout_does_not_start_with_whitespace",
98
+ "eval.tests.test_gcd_kernel.test_three_runs_produce_same_result"
99
+ ]
100
+ },
101
+ "generated_module_03": {
102
+ "ignore_reason": "",
103
+ "ignored": false,
104
+ "ignored_tests": [],
105
+ "tests": [
106
+ "eval.tests.test_qpu_compiler_passes.test_all_sixteen_rows_are_mutually_distinct",
107
+ "eval.tests.test_qpu_compiler_passes.test_argument_values_are_ignored_like_any_other_argv[argv0]",
108
+ "eval.tests.test_qpu_compiler_passes.test_argument_values_are_ignored_like_any_other_argv[argv1]",
109
+ "eval.tests.test_qpu_compiler_passes.test_argument_values_are_ignored_like_any_other_argv[argv2]",
110
+ "eval.tests.test_qpu_compiler_passes.test_argument_values_are_ignored_like_any_other_argv[argv3]",
111
+ "eval.tests.test_qpu_compiler_passes.test_argument_values_are_ignored_like_any_other_argv[argv4]",
112
+ "eval.tests.test_qpu_compiler_passes.test_argument_values_are_ignored_like_any_other_argv[argv5]",
113
+ "eval.tests.test_qpu_compiler_passes.test_argument_values_are_ignored_like_any_other_argv[argv6]",
114
+ "eval.tests.test_qpu_compiler_passes.test_cwd_does_not_change_trace",
115
+ "eval.tests.test_qpu_compiler_passes.test_each_case_is_an_exact_gcd_result",
116
+ "eval.tests.test_qpu_compiler_passes.test_each_input_pair_falls_in_seeded_range_100_199",
117
+ "eval.tests.test_qpu_compiler_passes.test_each_line_has_exactly_one_equals_separator",
118
+ "eval.tests.test_qpu_compiler_passes.test_each_line_is_well_formed_gcd_record",
119
+ "eval.tests.test_qpu_compiler_passes.test_each_line_uses_single_space_layout",
120
+ "eval.tests.test_qpu_compiler_passes.test_empty_stdin_is_ignored",
121
+ "eval.tests.test_qpu_compiler_passes.test_emulated_kernel_computes_expected_row[111-168-3]",
122
+ "eval.tests.test_qpu_compiler_passes.test_emulated_kernel_computes_expected_row[129-102-3]",
123
+ "eval.tests.test_qpu_compiler_passes.test_emulated_kernel_computes_expected_row[140-126-14]",
124
+ "eval.tests.test_qpu_compiler_passes.test_emulated_kernel_computes_expected_row[149-121-1]",
125
+ "eval.tests.test_qpu_compiler_passes.test_emulated_kernel_computes_expected_row[162-123-3]",
126
+ "eval.tests.test_qpu_compiler_passes.test_emulated_kernel_computes_expected_row[162-127-1]",
127
+ "eval.tests.test_qpu_compiler_passes.test_emulated_kernel_computes_expected_row[163-126-1]",
128
+ "eval.tests.test_qpu_compiler_passes.test_emulated_kernel_computes_expected_row[167-129-1]",
129
+ "eval.tests.test_qpu_compiler_passes.test_emulated_kernel_computes_expected_row[167-135-1]",
130
+ "eval.tests.test_qpu_compiler_passes.test_emulated_kernel_computes_expected_row[172-136-4]",
131
+ "eval.tests.test_qpu_compiler_passes.test_emulated_kernel_computes_expected_row[177-115-1]",
132
+ "eval.tests.test_qpu_compiler_passes.test_emulated_kernel_computes_expected_row[182-130-26]",
133
+ "eval.tests.test_qpu_compiler_passes.test_emulated_kernel_computes_expected_row[183-186-3]",
134
+ "eval.tests.test_qpu_compiler_passes.test_emulated_kernel_computes_expected_row[186-192-6]",
135
+ "eval.tests.test_qpu_compiler_passes.test_emulated_kernel_computes_expected_row[190-159-1]",
136
+ "eval.tests.test_qpu_compiler_passes.test_emulated_kernel_computes_expected_row[193-135-1]",
137
+ "eval.tests.test_qpu_compiler_passes.test_environment_perturbations_do_not_change_trace[COLUMNS-20]",
138
+ "eval.tests.test_qpu_compiler_passes.test_environment_perturbations_do_not_change_trace[HOME-/nonexistent/home]",
139
+ "eval.tests.test_qpu_compiler_passes.test_environment_perturbations_do_not_change_trace[LANG-fr_FR.UTF-8]",
140
+ "eval.tests.test_qpu_compiler_passes.test_environment_perturbations_do_not_change_trace[LC_ALL-C]",
141
+ "eval.tests.test_qpu_compiler_passes.test_environment_perturbations_do_not_change_trace[LC_NUMERIC-de_DE.UTF-8]",
142
+ "eval.tests.test_qpu_compiler_passes.test_environment_perturbations_do_not_change_trace[TERM-xterm-256color]",
143
+ "eval.tests.test_qpu_compiler_passes.test_environment_perturbations_do_not_change_trace[TZ-Pacific/Kiritimati]",
144
+ "eval.tests.test_qpu_compiler_passes.test_full_trace_length_is_not_truncated",
145
+ "eval.tests.test_qpu_compiler_passes.test_gcd_is_a_bezout_linear_combination_of_inputs",
146
+ "eval.tests.test_qpu_compiler_passes.test_large_stdin_batch_is_ignored",
147
+ "eval.tests.test_qpu_compiler_passes.test_no_blank_or_empty_lines",
148
+ "eval.tests.test_qpu_compiler_passes.test_no_files_created_in_working_directory",
149
+ "eval.tests.test_qpu_compiler_passes.test_output_contains_all_expected_rows_exactly_once",
150
+ "eval.tests.test_qpu_compiler_passes.test_output_is_plain_printable_ascii",
151
+ "eval.tests.test_qpu_compiler_passes.test_output_terminates_with_newline",
152
+ "eval.tests.test_qpu_compiler_passes.test_pipeline_exits_zero_with_semantic_output",
153
+ "eval.tests.test_qpu_compiler_passes.test_pipeline_stderr_is_empty",
154
+ "eval.tests.test_qpu_compiler_passes.test_pipeline_stdout_matches_golden_exactly",
155
+ "eval.tests.test_qpu_compiler_passes.test_read_only_working_directory_is_acceptable",
156
+ "eval.tests.test_qpu_compiler_passes.test_repeated_runs_are_byte_identical",
157
+ "eval.tests.test_qpu_compiler_passes.test_result_is_not_an_overcount_greater_than_a_minimum_input",
158
+ "eval.tests.test_qpu_compiler_passes.test_result_is_positive_and_divides_both_inputs",
159
+ "eval.tests.test_qpu_compiler_passes.test_run_from_copy_in_alternate_root",
160
+ "eval.tests.test_qpu_compiler_passes.test_run_under_minimal_environment",
161
+ "eval.tests.test_qpu_compiler_passes.test_stdin_is_ignored",
162
+ "eval.tests.test_qpu_compiler_passes.test_ten_consecutive_runs_produce_identical_trace",
163
+ "eval.tests.test_qpu_compiler_passes.test_trace_preserves_seeded_array_index_order"
164
+ ]
165
+ },
166
+ "generated_module_04": {
167
+ "ignore_reason": "",
168
+ "ignored": false,
169
+ "ignored_tests": [],
170
+ "tests": [
171
+ "eval.tests.test_aggregate_vector_properties.test_each_result_is_a_divisor_of_both_seeded_inputs",
172
+ "eval.tests.test_aggregate_vector_properties.test_min_and_max_result_values",
173
+ "eval.tests.test_aggregate_vector_properties.test_result_equal_across_repeated_sessions",
174
+ "eval.tests.test_aggregate_vector_properties.test_sum_of_input_columns_matches_seeded_vectors",
175
+ "eval.tests.test_aggregate_vector_properties.test_sum_of_result_column_is_locked",
176
+ "eval.tests.test_alu_semantics.test_euclid_matches_subtraction_algorithm",
177
+ "eval.tests.test_alu_semantics.test_gcd_of_coprime_pairs_is_one",
178
+ "eval.tests.test_alu_semantics.test_gcd_of_pair_with_shared_factor_is_not_one",
179
+ "eval.tests.test_alu_semantics.test_larger_factors_are_recovered_by_subtraction_loop",
180
+ "eval.tests.test_alu_semantics.test_multi_qpu_independence_not_observable_but_lane_isolation_holds",
181
+ "eval.tests.test_alu_semantics.test_reported_gcd_is_nonnegative",
182
+ "eval.tests.test_behavioral_invariants.test_all_sixteen_rows_are_pairwise_distinct",
183
+ "eval.tests.test_behavioral_invariants.test_committed_golden_rowset_matches_live_rowset",
184
+ "eval.tests.test_behavioral_invariants.test_distinct_result_values_are_exactly_the_expected_six",
185
+ "eval.tests.test_behavioral_invariants.test_no_result_exceeds_smaller_input",
186
+ "eval.tests.test_behavioral_invariants.test_reported_row_set_matches_handcomputed_row_set",
187
+ "eval.tests.test_behavioral_invariants.test_result_value_frequency_matches_true_gcd_multiset",
188
+ "eval.tests.test_decomposition.test_each_row_reconstructs_exactly",
189
+ "eval.tests.test_decomposition.test_fields_in_lane_order_with_exact_spacing",
190
+ "eval.tests.test_decomposition.test_input_output_columns_are_exact_decimal_sequences",
191
+ "eval.tests.test_decomposition.test_lhs_field_is_the_gcd_token_and_parens",
192
+ "eval.tests.test_decomposition.test_no_duplicate_structural_delimiters_in_any_row",
193
+ "eval.tests.test_decomposition.test_result_column_ordered_sequence_is_locked",
194
+ "eval.tests.test_decomposition.test_whole_stream_reconstructs_from_fields",
195
+ "eval.tests.test_environment_invariance.test_output_identical_bash_builtin_style_aliases",
196
+ "eval.tests.test_environment_invariance.test_output_identical_under_en_us_numeric_locale",
197
+ "eval.tests.test_environment_invariance.test_output_identical_under_posix_c_locale",
198
+ "eval.tests.test_environment_invariance.test_output_identical_under_utf8_locale",
199
+ "eval.tests.test_environment_invariance.test_output_ignores_arbitrary_custom_environment",
200
+ "eval.tests.test_environment_invariance.test_output_ignores_home_xdg_and_term",
201
+ "eval.tests.test_environment_invariance.test_output_ignores_unrecoverable_tmpdir",
202
+ "eval.tests.test_gcd_correctness.test_each_lane_returns_the_true_gcd",
203
+ "eval.tests.test_gcd_correctness.test_gcd_result_correctness_by_index",
204
+ "eval.tests.test_gcd_correctness.test_input_values_stay_within_seeded_range",
205
+ "eval.tests.test_gcd_correctness.test_lane_results_are_dividers_of_both_inputs",
206
+ "eval.tests.test_gcd_correctness.test_lane_results_are_maximal",
207
+ "eval.tests.test_gcd_correctness.test_number_of_lanes_is_sixteen",
208
+ "eval.tests.test_gcd_correctness.test_reports_exactly_the_pairs_passed_in",
209
+ "eval.tests.test_golden_output.test_golden_file_is_present_and_nonempty",
210
+ "eval.tests.test_golden_output.test_golden_has_expected_known_first_and_last_lines",
211
+ "eval.tests.test_golden_output.test_golden_sha256_is_locked",
212
+ "eval.tests.test_golden_output.test_print_format_is_exactly_gcd_pair_result_per_line",
213
+ "eval.tests.test_golden_output.test_stdout_matches_committed_golden",
214
+ "eval.tests.test_golden_per_line.test_golden_partitions_into_sixteen_lanes",
215
+ "eval.tests.test_golden_per_line.test_live_line_byte_width_exact[0]",
216
+ "eval.tests.test_golden_per_line.test_live_line_byte_width_exact[10]",
217
+ "eval.tests.test_golden_per_line.test_live_line_byte_width_exact[11]",
218
+ "eval.tests.test_golden_per_line.test_live_line_byte_width_exact[12]",
219
+ "eval.tests.test_golden_per_line.test_live_line_byte_width_exact[13]",
220
+ "eval.tests.test_golden_per_line.test_live_line_byte_width_exact[14]",
221
+ "eval.tests.test_golden_per_line.test_live_line_byte_width_exact[15]",
222
+ "eval.tests.test_golden_per_line.test_live_line_byte_width_exact[1]",
223
+ "eval.tests.test_golden_per_line.test_live_line_byte_width_exact[2]",
224
+ "eval.tests.test_golden_per_line.test_live_line_byte_width_exact[3]",
225
+ "eval.tests.test_golden_per_line.test_live_line_byte_width_exact[4]",
226
+ "eval.tests.test_golden_per_line.test_live_line_byte_width_exact[5]",
227
+ "eval.tests.test_golden_per_line.test_live_line_byte_width_exact[6]",
228
+ "eval.tests.test_golden_per_line.test_live_line_byte_width_exact[7]",
229
+ "eval.tests.test_golden_per_line.test_live_line_byte_width_exact[8]",
230
+ "eval.tests.test_golden_per_line.test_live_line_byte_width_exact[9]",
231
+ "eval.tests.test_golden_per_line.test_live_line_matches_golden_line[0]",
232
+ "eval.tests.test_golden_per_line.test_live_line_matches_golden_line[10]",
233
+ "eval.tests.test_golden_per_line.test_live_line_matches_golden_line[11]",
234
+ "eval.tests.test_golden_per_line.test_live_line_matches_golden_line[12]",
235
+ "eval.tests.test_golden_per_line.test_live_line_matches_golden_line[13]",
236
+ "eval.tests.test_golden_per_line.test_live_line_matches_golden_line[14]",
237
+ "eval.tests.test_golden_per_line.test_live_line_matches_golden_line[15]",
238
+ "eval.tests.test_golden_per_line.test_live_line_matches_golden_line[1]",
239
+ "eval.tests.test_golden_per_line.test_live_line_matches_golden_line[2]",
240
+ "eval.tests.test_golden_per_line.test_live_line_matches_golden_line[3]",
241
+ "eval.tests.test_golden_per_line.test_live_line_matches_golden_line[4]",
242
+ "eval.tests.test_golden_per_line.test_live_line_matches_golden_line[5]",
243
+ "eval.tests.test_golden_per_line.test_live_line_matches_golden_line[6]",
244
+ "eval.tests.test_golden_per_line.test_live_line_matches_golden_line[7]",
245
+ "eval.tests.test_golden_per_line.test_live_line_matches_golden_line[8]",
246
+ "eval.tests.test_golden_per_line.test_live_line_matches_golden_line[9]",
247
+ "eval.tests.test_lane_vector_output.test_lane_index_position_consistent[0]",
248
+ "eval.tests.test_lane_vector_output.test_lane_index_position_consistent[10]",
249
+ "eval.tests.test_lane_vector_output.test_lane_index_position_consistent[11]",
250
+ "eval.tests.test_lane_vector_output.test_lane_index_position_consistent[12]",
251
+ "eval.tests.test_lane_vector_output.test_lane_index_position_consistent[13]",
252
+ "eval.tests.test_lane_vector_output.test_lane_index_position_consistent[14]",
253
+ "eval.tests.test_lane_vector_output.test_lane_index_position_consistent[15]",
254
+ "eval.tests.test_lane_vector_output.test_lane_index_position_consistent[1]",
255
+ "eval.tests.test_lane_vector_output.test_lane_index_position_consistent[2]",
256
+ "eval.tests.test_lane_vector_output.test_lane_index_position_consistent[3]",
257
+ "eval.tests.test_lane_vector_output.test_lane_index_position_consistent[4]",
258
+ "eval.tests.test_lane_vector_output.test_lane_index_position_consistent[5]",
259
+ "eval.tests.test_lane_vector_output.test_lane_index_position_consistent[6]",
260
+ "eval.tests.test_lane_vector_output.test_lane_index_position_consistent[7]",
261
+ "eval.tests.test_lane_vector_output.test_lane_index_position_consistent[8]",
262
+ "eval.tests.test_lane_vector_output.test_lane_index_position_consistent[9]",
263
+ "eval.tests.test_lane_vector_output.test_lane_knows_expected_value[111-168-3]",
264
+ "eval.tests.test_lane_vector_output.test_lane_knows_expected_value[129-102-3]",
265
+ "eval.tests.test_lane_vector_output.test_lane_knows_expected_value[140-126-14]",
266
+ "eval.tests.test_lane_vector_output.test_lane_knows_expected_value[149-121-1]",
267
+ "eval.tests.test_lane_vector_output.test_lane_knows_expected_value[162-123-3]",
268
+ "eval.tests.test_lane_vector_output.test_lane_knows_expected_value[162-127-1]",
269
+ "eval.tests.test_lane_vector_output.test_lane_knows_expected_value[163-126-1]",
270
+ "eval.tests.test_lane_vector_output.test_lane_knows_expected_value[167-129-1]",
271
+ "eval.tests.test_lane_vector_output.test_lane_knows_expected_value[167-135-1]",
272
+ "eval.tests.test_lane_vector_output.test_lane_knows_expected_value[172-136-4]",
273
+ "eval.tests.test_lane_vector_output.test_lane_knows_expected_value[177-115-1]",
274
+ "eval.tests.test_lane_vector_output.test_lane_knows_expected_value[182-130-26]",
275
+ "eval.tests.test_lane_vector_output.test_lane_knows_expected_value[183-186-3]",
276
+ "eval.tests.test_lane_vector_output.test_lane_knows_expected_value[186-192-6]",
277
+ "eval.tests.test_lane_vector_output.test_lane_knows_expected_value[190-159-1]",
278
+ "eval.tests.test_lane_vector_output.test_lane_knows_expected_value[193-135-1]",
279
+ "eval.tests.test_lane_vector_output.test_lane_reports_exact_gcd[pair0]",
280
+ "eval.tests.test_lane_vector_output.test_lane_reports_exact_gcd[pair10]",
281
+ "eval.tests.test_lane_vector_output.test_lane_reports_exact_gcd[pair11]",
282
+ "eval.tests.test_lane_vector_output.test_lane_reports_exact_gcd[pair12]",
283
+ "eval.tests.test_lane_vector_output.test_lane_reports_exact_gcd[pair13]",
284
+ "eval.tests.test_lane_vector_output.test_lane_reports_exact_gcd[pair14]",
285
+ "eval.tests.test_lane_vector_output.test_lane_reports_exact_gcd[pair15]",
286
+ "eval.tests.test_lane_vector_output.test_lane_reports_exact_gcd[pair1]",
287
+ "eval.tests.test_lane_vector_output.test_lane_reports_exact_gcd[pair2]",
288
+ "eval.tests.test_lane_vector_output.test_lane_reports_exact_gcd[pair3]",
289
+ "eval.tests.test_lane_vector_output.test_lane_reports_exact_gcd[pair4]",
290
+ "eval.tests.test_lane_vector_output.test_lane_reports_exact_gcd[pair5]",
291
+ "eval.tests.test_lane_vector_output.test_lane_reports_exact_gcd[pair6]",
292
+ "eval.tests.test_lane_vector_output.test_lane_reports_exact_gcd[pair7]",
293
+ "eval.tests.test_lane_vector_output.test_lane_reports_exact_gcd[pair8]",
294
+ "eval.tests.test_lane_vector_output.test_lane_reports_exact_gcd[pair9]",
295
+ "eval.tests.test_output_format.test_exactly_one_assignment_per_line",
296
+ "eval.tests.test_output_format.test_int_results_have_no_decimal_point",
297
+ "eval.tests.test_output_format.test_lines_use_unix_lf_only",
298
+ "eval.tests.test_output_format.test_no_allocation_or_seed_diagnostics_on_stderr",
299
+ "eval.tests.test_output_format.test_no_diagnostics_interleaved_on_stdout",
300
+ "eval.tests.test_output_format.test_no_leading_or_blank_lines",
301
+ "eval.tests.test_output_format.test_output_contains_no_high_or_control_bytes",
302
+ "eval.tests.test_output_format.test_output_is_strictly_ascii",
303
+ "eval.tests.test_output_format.test_rows_in_lane_order",
304
+ "eval.tests.test_output_format.test_trailing_newline_present",
305
+ "eval.tests.test_process_behavior.test_end_instruction_halts_and_process_returns",
306
+ "eval.tests.test_process_behavior.test_exit_code_is_zero",
307
+ "eval.tests.test_process_behavior.test_handles_large_arg_vector_without_changing_output",
308
+ "eval.tests.test_process_behavior.test_no_temporary_files_created_in_cwd",
309
+ "eval.tests.test_process_behavior.test_output_ignores_command_line_arguments",
310
+ "eval.tests.test_process_behavior.test_output_ignores_stdin_input",
311
+ "eval.tests.test_process_behavior.test_output_is_deterministic_across_runs",
312
+ "eval.tests.test_process_behavior.test_runs_from_read_only_cwd",
313
+ "eval.tests.test_process_behavior.test_stderr_is_empty",
314
+ "eval.tests.test_process_behavior.test_stdout_has_expected_line_count",
315
+ "eval.tests.test_process_concurrency.test_all_parallel_instances_report_sixteen_wellformed_lanes",
316
+ "eval.tests.test_process_concurrency.test_concurrent_instances_do_not_share_stdout_or_stderr",
317
+ "eval.tests.test_process_concurrency.test_thirtytwo_parallel_runs_are_byte_identical",
318
+ "eval.tests.test_sharedarray_roundtrip.test_all_16_input_values_round_trip",
319
+ "eval.tests.test_sharedarray_roundtrip.test_every_line_wellformed_and_numeric",
320
+ "eval.tests.test_sharedarray_roundtrip.test_lane_values_are_scalarised_from_seeded_range",
321
+ "eval.tests.test_sharedarray_roundtrip.test_result_written_back_into_shared_array",
322
+ "eval.tests.test_sharedarray_roundtrip.test_shared_array_width_is_sixteen",
323
+ "eval.tests.test_stream_profile.test_digit_frequency_histogram_is_locked",
324
+ "eval.tests.test_stream_profile.test_every_rhs_token_is_plain_decimal_digits",
325
+ "eval.tests.test_stream_profile.test_lhs_segment_width_is_constant_across_lanes",
326
+ "eval.tests.test_stream_profile.test_no_padding_on_any_numeric_field",
327
+ "eval.tests.test_stream_profile.test_per_lane_result_field_width_locked",
328
+ "eval.tests.test_stream_profile.test_structural_punctuation_counts_are_locked",
329
+ "eval.tests.test_stream_profile.test_total_digit_count_is_locked",
330
+ "eval.tests.test_stream_profile.test_total_stdout_byte_length_is_locked"
331
+ ]
332
+ },
333
+ "generated_upstream": {
334
+ "ignore_reason": "",
335
+ "ignored": false,
336
+ "ignored_tests": [],
337
+ "tests": [
338
+ "eval.tests.test_gcd.test_gcd_executable_emits_exact_golden_output",
339
+ "eval.tests.test_gcd.test_gcd_executable_reports_mathematically_correct_results"
340
+ ]
341
+ }
342
+ },
343
+ "commit": "c2658a55f2b21de6f3270c86c227011b10d447c2",
344
+ "data_source": "synthetic_programgym",
345
+ "difficulty": "easy",
346
+ "difficulty_score": 1.758381941774675,
347
+ "eval_clean_hashes": [
348
+ "f37cbf9238bb5e7bdc00e69ddaec1a532476f5900310a25df028b347fc80bff7"
349
+ ],
350
+ "input_record": {
351
+ "commit": "c2658a55f2b21de6f3270c86c227011b10d447c2",
352
+ "difficulty": "easy",
353
+ "difficulty_code_lines": 5733,
354
+ "difficulty_has_tests": false,
355
+ "difficulty_product_code_lines": 5733,
356
+ "difficulty_runtime_deps": 0,
357
+ "difficulty_score": 1.758381941774675,
358
+ "difficulty_test_code_lines": 981,
359
+ "full_name": "mn416/QPULib",
360
+ "input_joern_zip": "cpp_joern/mn416__QPULib.zip",
361
+ "joern_status": true,
362
+ "joern_time": 19.443473113933578,
363
+ "language": "cpp",
364
+ "pb_match": [
365
+ {
366
+ "pb_fullname": "facebookresearch/fastText",
367
+ "rank": 657,
368
+ "similarity": 0.442577064037323
369
+ },
370
+ {
371
+ "pb_fullname": "HaliteChallenge/Halite",
372
+ "rank": 476,
373
+ "similarity": 0.44997820258140564
374
+ }
375
+ ],
376
+ "repo_path": "cpp/mn416__QPULib",
377
+ "source": "commit:c2658a55f2b21de6f3270c86c227011b10d447c2",
378
+ "status": "done",
379
+ "url": "https://github.com/mn416/QPULib"
380
+ },
381
+ "instance_id": "mn416__QPULib.c2658a5",
382
+ "language": "cpp",
383
+ "module_iterations": [
384
+ {
385
+ "actual_iterations": 5,
386
+ "branch_name": "generated_module_01",
387
+ "iteration_limit": 5,
388
+ "module_index": 1,
389
+ "module_kind": "source",
390
+ "termination_reason": "max_iterations"
391
+ },
392
+ {
393
+ "actual_iterations": 5,
394
+ "branch_name": "generated_module_02",
395
+ "iteration_limit": 5,
396
+ "module_index": 2,
397
+ "module_kind": "source",
398
+ "termination_reason": "early_stopping"
399
+ },
400
+ {
401
+ "actual_iterations": 5,
402
+ "branch_name": "generated_module_03",
403
+ "iteration_limit": 5,
404
+ "module_index": 3,
405
+ "module_kind": "source",
406
+ "termination_reason": "early_stopping"
407
+ },
408
+ {
409
+ "actual_iterations": 5,
410
+ "branch_name": "generated_module_04",
411
+ "iteration_limit": 5,
412
+ "module_index": 4,
413
+ "module_kind": "source",
414
+ "termination_reason": "early_stopping"
415
+ },
416
+ {
417
+ "actual_iterations": 5,
418
+ "branch_name": "generated_upstream",
419
+ "iteration_limit": 5,
420
+ "module_index": 5,
421
+ "module_kind": "tests",
422
+ "termination_reason": "max_iterations"
423
+ }
424
+ ],
425
+ "repository": "mn416/QPULib"
426
+ }
mn416--qpulib.c2658a5/tests/test.sh ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ # Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
5
+ export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
6
+
7
+ mkdir -p /logs/verifier /logs/artifacts
8
+
9
+ write_failure() {
10
+ local code="$1"
11
+ local details="$2"
12
+ python3 - "$code" "$details" <<'PY'
13
+ import json
14
+ import sys
15
+ from pathlib import Path
16
+
17
+ code, details = sys.argv[1:3]
18
+ try:
19
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
20
+ n_tests = sum(
21
+ len([
22
+ name for name in info.get("tests", [])
23
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
24
+ ])
25
+ for branch, info in metadata.get("branches", {}).items()
26
+ if not info.get("ignored")
27
+ )
28
+ except Exception:
29
+ n_tests = 0
30
+ result = {
31
+ "test_results": [],
32
+ "error_code": code,
33
+ "error_details": details,
34
+ "log": [],
35
+ "solution_branch": "submission",
36
+ "test_branches": [],
37
+ "test_branch_errors": {
38
+ "__infra__": [{"error_code": code, "error_details": details}]
39
+ },
40
+ "executable_hash": None,
41
+ "warnings": [],
42
+ }
43
+ diagnostics = {
44
+ "pass_rate": 0.0,
45
+ "resolved": 0,
46
+ "n_passed": 0,
47
+ "n_tests": n_tests,
48
+ "n_branch_errors": 1,
49
+ "infra_error": 1,
50
+ "executable_hash_present": 0,
51
+ }
52
+ Path("/logs/verifier/programgym_eval.json").write_text(
53
+ json.dumps(result, indent=2, sort_keys=True)
54
+ )
55
+ Path("/logs/verifier/harbor_diagnostics.json").write_text(
56
+ json.dumps(diagnostics, indent=2, sort_keys=True)
57
+ )
58
+ Path("/logs/verifier/reward.json").write_text(
59
+ json.dumps(
60
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
61
+ indent=2,
62
+ sort_keys=True,
63
+ )
64
+ )
65
+ Path("/logs/verifier/reward.txt").write_text("0.0")
66
+ Path("/logs/verifier/programgym_eval.log").write_text(details)
67
+ PY
68
+ }
69
+
70
+ if ! command -v python3 >/dev/null 2>&1; then
71
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
72
+ exit 0
73
+ fi
74
+
75
+ if ! python3 /tests/programgym_evaluator.py; then
76
+ if [ ! -s /logs/verifier/reward.txt ]; then
77
+ write_failure "evaluator_crashed" \
78
+ "programgym_evaluator.py exited non-zero with no reward written"
79
+ fi
80
+ fi
81
+
82
+ exit 0
mn416--qpulib.c2658a5/tests/workspace.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed5147e15469f0438460a69d3611a91cc10359f2e6664f08cd673b5bdde4e517
3
+ size 10541
mobilefirstllc--social-media-hac/environment/Dockerfile ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM rust:1.97.1-bookworm
2
+ ENV DEBIAN_FRONTEND=noninteractive
3
+ ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
4
+ ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
5
+ ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
6
+ ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
7
+ ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
8
+ ENV GOPROXY="https://proxy.golang.org,direct"
9
+ ENV GOSUMDB=sum.golang.google.cn
10
+ ENV GOTOOLCHAIN=auto
11
+ ENV UV_INSECURE_HOST=""
12
+ ENV UV_INDEX_URL="https://pypi.org/simple"
13
+ ENV UV_CACHE_DIR=/workspace/.cache/uv
14
+ ENV npm_config_registry="https://registry.npmjs.org/"
15
+ ENV npm_config_strict_ssl=false
16
+ ENV npm_config_cache=/workspace/.cache/npm
17
+ ENV PIP_INDEX_URL="https://pypi.org/simple"
18
+ ENV PIP_TRUSTED_HOST=""
19
+ ENV HOME=/workspace
20
+ ENV XDG_CACHE_HOME=/workspace/.cache
21
+ ENV PIP_CACHE_DIR=/workspace/.cache/pip
22
+ ENV PYTHONUSERBASE=/workspace/.local
23
+ ENV CARGO_HOME=/usr/local/cargo
24
+ ENV RUSTUP_HOME=/usr/local/rustup
25
+ ENV RUSTUP_TOOLCHAIN=1.97.1
26
+ ENV PROGRAMGYM_RUST_TOOLCHAIN=1.97.1
27
+ ENV PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
28
+ ENV PAGER=cat
29
+ ENV MANPAGER=cat
30
+ ENV LESS=-R
31
+ ENV TQDM_DISABLE=1
32
+ RUN apt-get update && apt-get install -y --no-install-recommends apt=2.6.1 bash=5.2.15-2+b13 build-essential=12.9 ca-certificates=20250419~deb12u1 cmake=3.25.1-1 git=1:2.39.5-0+deb12u3 make=4.3-4.1 pkg-config=1.8.1-1 python3=3.11.2-1+b1 python3-pip=23.0.1+dfsg-1 python3-dev=3.11.2-1+b1 autoconf=2.71-3 automake=1:1.16.5-1.3 gettext=0.21-12 file=1:5.44-3 binutils=2.40-2 libtool=2.4.7-7~deb12u1 libncurses-dev=6.4-4 meson=1.0.1-5 ninja-build=1.11.1-2~deb12u1 curl=7.88.1-10+deb12u15 wget=1.21.3-1+deb12u1 xz-utils=5.4.1-1+deb12u1 zstd=1.5.4+dfsg2-5 bzip2=1.0.8-5+b1 zip=3.0-13 unzip=6.0-28+deb12u1 patch=2.7.6-7 grep=3.8-5 python3-pytest python3-pytest-xdist python3-coverage && rm -rf /var/lib/apt/lists/*
33
+ RUN rustup component add llvm-tools-preview --toolchain 1.97.1
34
+ RUN RUST_SYSROOT="$(rustc --print sysroot)"; RUST_HOST="$(rustc -vV | sed -n 's/^host: //p')"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-profdata"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-cov"
35
+ RUN rustc --version && cargo --version && rustup show active-toolchain
36
+ WORKDIR /workspace
37
+ ADD workspace.tar.gz /workspace/
38
+ COPY executable /workspace/executable
39
+ COPY download.sh /tmp/programgym-download.sh
40
+ RUN chmod 755 /tmp/programgym-download.sh
41
+ COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
42
+ RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
43
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
44
+ && rm -f /tmp/programgym-download.sh \
45
+ && rm -f /tmp/harbor_prepare_download_env.sh
46
+ ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
47
+ RUN chmod 111 /workspace/executable
48
+ WORKDIR /workspace
49
+ # Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
50
+ # Keep tool/runtime state under /home/agent and reserve /workspace for the
51
+ # submission handed to the separate verifier. Keep the reference executable
52
+ # execute-only; the oracle temporarily restores owner read permission.
53
+ RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
54
+ RUN mkdir -p /home/agent \
55
+ && chown -R agent:agent /home/agent /workspace \
56
+ && chown agent:agent /workspace/executable \
57
+ && chmod 111 /workspace/executable
58
+ ENV HOME=/home/agent
59
+ WORKDIR /workspace
mobilefirstllc--social-media-hac/environment/download.sh ADDED
@@ -0,0 +1,2176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # download.sh — ProgramGym network stage (sourced, standalone).
3
+ # Generates a temporary Cargo manifest + lockfile, prefetches the exact Cargo
4
+ # dependency closure into the shared cargo registry cache, and exports the env
5
+ # variables the offline build stage relies on.
6
+ #
7
+ # This file is standalone: it does NOT read any repository file. All dependency
8
+ # and lockfile content is embedded inline below.
9
+
10
+ # --- Build environment exported to the offline stage -------------------------
11
+ export CARGO_HOME="${CARGO_HOME:-$HOME/.cargo}"
12
+ export CARGO_TARGET_DIR="${CARGO_TARGET_DIR:-/workspace/source/checker/target}"
13
+
14
+ # Isolated scratch directory for the generated manifest (never the repo root).
15
+ PB_FETCH_DIR="${TMPDIR:-/tmp}/programgym_cargo_fetch"
16
+ mkdir -p "$PB_FETCH_DIR/src"
17
+
18
+ # --- Generate a temporary Cargo.toml matching the repository's checker crate --
19
+ # edition 2024 to match the repo; versions pinned exactly to the repo Cargo.lock
20
+ # so the offline build resolves from this prefetched cache and nothing else.
21
+ cat > "$PB_FETCH_DIR/Cargo.toml" <<'MANIFEST'
22
+ [package]
23
+ name = "checker"
24
+ version = "1.0.0"
25
+ edition = "2024"
26
+
27
+ [lib]
28
+ path = "src/lib.rs"
29
+
30
+ [dependencies]
31
+ regex = { version = "1.12.3" }
32
+ url = { version = "2.5.8" }
33
+ chrono = { version = "0.4.44", features = ["serde"] }
34
+ reqwest = { version = "0.13.2", features = ["json"] }
35
+ serde = { version = "1.0.228", features = ["derive"] }
36
+ tokio = { version = "1.50.0", features = ["full"] }
37
+ MANIFEST
38
+
39
+ # Stub lib target so the generated manifest is valid for `cargo fetch`.
40
+ printf '\n' > "$PB_FETCH_DIR/src/lib.rs"
41
+
42
+ # --- Generate the Cargo.lock matching the repository (embedded inline) --------
43
+ cat > "$PB_FETCH_DIR/Cargo.lock" <<'LOCKEOF'
44
+ # This file is automatically @generated by Cargo.
45
+ # It is not intended for manual editing.
46
+ version = 4
47
+
48
+ [[package]]
49
+ name = "aho-corasick"
50
+ version = "1.1.3"
51
+ source = "registry+https://github.com/rust-lang/crates.io-index"
52
+ checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
53
+ dependencies = [
54
+ "memchr",
55
+ ]
56
+
57
+ [[package]]
58
+ name = "android_system_properties"
59
+ version = "0.1.5"
60
+ source = "registry+https://github.com/rust-lang/crates.io-index"
61
+ checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
62
+ dependencies = [
63
+ "libc",
64
+ ]
65
+
66
+ [[package]]
67
+ name = "autocfg"
68
+ version = "1.0.1"
69
+ source = "registry+https://github.com/rust-lang/crates.io-index"
70
+ checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
71
+
72
+ [[package]]
73
+ name = "aws-lc-rs"
74
+ version = "1.15.2"
75
+ source = "registry+https://github.com/rust-lang/crates.io-index"
76
+ checksum = "6a88aab2464f1f25453baa7a07c84c5b7684e274054ba06817f382357f77a288"
77
+ dependencies = [
78
+ "aws-lc-sys",
79
+ "zeroize",
80
+ ]
81
+
82
+ [[package]]
83
+ name = "aws-lc-sys"
84
+ version = "0.35.0"
85
+ source = "registry+https://github.com/rust-lang/crates.io-index"
86
+ checksum = "b45afffdee1e7c9126814751f88dddc747f41d91da16c9551a0f1e8a11e788a1"
87
+ dependencies = [
88
+ "cc",
89
+ "cmake",
90
+ "dunce",
91
+ "fs_extra",
92
+ ]
93
+
94
+ [[package]]
95
+ name = "base64"
96
+ version = "0.22.1"
97
+ source = "registry+https://github.com/rust-lang/crates.io-index"
98
+ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
99
+
100
+ [[package]]
101
+ name = "bitflags"
102
+ version = "2.10.0"
103
+ source = "registry+https://github.com/rust-lang/crates.io-index"
104
+ checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
105
+
106
+ [[package]]
107
+ name = "bumpalo"
108
+ version = "3.7.0"
109
+ source = "registry+https://github.com/rust-lang/crates.io-index"
110
+ checksum = "9c59e7af012c713f529e7a3ee57ce9b31ddd858d4b512923602f74608b009631"
111
+
112
+ [[package]]
113
+ name = "bytes"
114
+ version = "1.9.0"
115
+ source = "registry+https://github.com/rust-lang/crates.io-index"
116
+ checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b"
117
+
118
+ [[package]]
119
+ name = "cc"
120
+ version = "1.2.51"
121
+ source = "registry+https://github.com/rust-lang/crates.io-index"
122
+ checksum = "7a0aeaff4ff1a90589618835a598e545176939b97874f7abc7851caa0618f203"
123
+ dependencies = [
124
+ "find-msvc-tools",
125
+ "jobserver",
126
+ "libc",
127
+ "shlex",
128
+ ]
129
+
130
+ [[package]]
131
+ name = "cesu8"
132
+ version = "1.1.0"
133
+ source = "registry+https://github.com/rust-lang/crates.io-index"
134
+ checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c"
135
+
136
+ [[package]]
137
+ name = "cfg-if"
138
+ version = "1.0.0"
139
+ source = "registry+https://github.com/rust-lang/crates.io-index"
140
+ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
141
+
142
+ [[package]]
143
+ name = "cfg_aliases"
144
+ version = "0.2.1"
145
+ source = "registry+https://github.com/rust-lang/crates.io-index"
146
+ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
147
+
148
+ [[package]]
149
+ name = "checker"
150
+ version = "1.0.0"
151
+ dependencies = [
152
+ "chrono",
153
+ "regex",
154
+ "reqwest",
155
+ "serde",
156
+ "tokio",
157
+ "url",
158
+ ]
159
+
160
+ [[package]]
161
+ name = "chrono"
162
+ version = "0.4.44"
163
+ source = "registry+https://github.com/rust-lang/crates.io-index"
164
+ checksum = "c673075a2e0e5f4a1dde27ce9dee1ea4558c7ffe648f576438a20ca1d2acc4b0"
165
+ dependencies = [
166
+ "iana-time-zone",
167
+ "js-sys",
168
+ "num-traits",
169
+ "serde",
170
+ "wasm-bindgen",
171
+ "windows-link 0.2.1",
172
+ ]
173
+
174
+ [[package]]
175
+ name = "cmake"
176
+ version = "0.1.57"
177
+ source = "registry+https://github.com/rust-lang/crates.io-index"
178
+ checksum = "75443c44cd6b379beb8c5b45d85d0773baf31cce901fe7bb252f4eff3008ef7d"
179
+ dependencies = [
180
+ "cc",
181
+ ]
182
+
183
+ [[package]]
184
+ name = "combine"
185
+ version = "4.6.7"
186
+ source = "registry+https://github.com/rust-lang/crates.io-index"
187
+ checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd"
188
+ dependencies = [
189
+ "bytes",
190
+ "memchr",
191
+ ]
192
+
193
+ [[package]]
194
+ name = "core-foundation"
195
+ version = "0.9.1"
196
+ source = "registry+https://github.com/rust-lang/crates.io-index"
197
+ checksum = "0a89e2ae426ea83155dccf10c0fa6b1463ef6d5fcb44cee0b224a408fa640a62"
198
+ dependencies = [
199
+ "core-foundation-sys",
200
+ "libc",
201
+ ]
202
+
203
+ [[package]]
204
+ name = "core-foundation"
205
+ version = "0.10.1"
206
+ source = "registry+https://github.com/rust-lang/crates.io-index"
207
+ checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6"
208
+ dependencies = [
209
+ "core-foundation-sys",
210
+ "libc",
211
+ ]
212
+
213
+ [[package]]
214
+ name = "core-foundation-sys"
215
+ version = "0.8.7"
216
+ source = "registry+https://github.com/rust-lang/crates.io-index"
217
+ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
218
+
219
+ [[package]]
220
+ name = "displaydoc"
221
+ version = "0.2.5"
222
+ source = "registry+https://github.com/rust-lang/crates.io-index"
223
+ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
224
+ dependencies = [
225
+ "proc-macro2",
226
+ "quote",
227
+ "syn",
228
+ ]
229
+
230
+ [[package]]
231
+ name = "dunce"
232
+ version = "1.0.5"
233
+ source = "registry+https://github.com/rust-lang/crates.io-index"
234
+ checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
235
+
236
+ [[package]]
237
+ name = "encoding_rs"
238
+ version = "0.8.28"
239
+ source = "registry+https://github.com/rust-lang/crates.io-index"
240
+ checksum = "80df024fbc5ac80f87dfef0d9f5209a252f2a497f7f42944cff24d8253cac065"
241
+ dependencies = [
242
+ "cfg-if",
243
+ ]
244
+
245
+ [[package]]
246
+ name = "equivalent"
247
+ version = "1.0.1"
248
+ source = "registry+https://github.com/rust-lang/crates.io-index"
249
+ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
250
+
251
+ [[package]]
252
+ name = "find-msvc-tools"
253
+ version = "0.1.6"
254
+ source = "registry+https://github.com/rust-lang/crates.io-index"
255
+ checksum = "645cbb3a84e60b7531617d5ae4e57f7e27308f6445f5abf653209ea76dec8dff"
256
+
257
+ [[package]]
258
+ name = "fnv"
259
+ version = "1.0.7"
260
+ source = "registry+https://github.com/rust-lang/crates.io-index"
261
+ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
262
+
263
+ [[package]]
264
+ name = "form_urlencoded"
265
+ version = "1.2.2"
266
+ source = "registry+https://github.com/rust-lang/crates.io-index"
267
+ checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
268
+ dependencies = [
269
+ "percent-encoding",
270
+ ]
271
+
272
+ [[package]]
273
+ name = "fs_extra"
274
+ version = "1.3.0"
275
+ source = "registry+https://github.com/rust-lang/crates.io-index"
276
+ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
277
+
278
+ [[package]]
279
+ name = "futures-channel"
280
+ version = "0.3.16"
281
+ source = "registry+https://github.com/rust-lang/crates.io-index"
282
+ checksum = "74ed2411805f6e4e3d9bc904c95d5d423b89b3b25dc0250aa74729de20629ff9"
283
+ dependencies = [
284
+ "futures-core",
285
+ ]
286
+
287
+ [[package]]
288
+ name = "futures-core"
289
+ version = "0.3.30"
290
+ source = "registry+https://github.com/rust-lang/crates.io-index"
291
+ checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d"
292
+
293
+ [[package]]
294
+ name = "futures-sink"
295
+ version = "0.3.16"
296
+ source = "registry+https://github.com/rust-lang/crates.io-index"
297
+ checksum = "c0f30aaa67363d119812743aa5f33c201a7a66329f97d1a887022971feea4b53"
298
+
299
+ [[package]]
300
+ name = "futures-task"
301
+ version = "0.3.30"
302
+ source = "registry+https://github.com/rust-lang/crates.io-index"
303
+ checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004"
304
+
305
+ [[package]]
306
+ name = "futures-util"
307
+ version = "0.3.30"
308
+ source = "registry+https://github.com/rust-lang/crates.io-index"
309
+ checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48"
310
+ dependencies = [
311
+ "futures-core",
312
+ "futures-task",
313
+ "pin-project-lite",
314
+ "pin-utils",
315
+ ]
316
+
317
+ [[package]]
318
+ name = "getrandom"
319
+ version = "0.2.15"
320
+ source = "registry+https://github.com/rust-lang/crates.io-index"
321
+ checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
322
+ dependencies = [
323
+ "cfg-if",
324
+ "js-sys",
325
+ "libc",
326
+ "wasi",
327
+ "wasm-bindgen",
328
+ ]
329
+
330
+ [[package]]
331
+ name = "getrandom"
332
+ version = "0.3.4"
333
+ source = "registry+https://github.com/rust-lang/crates.io-index"
334
+ checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
335
+ dependencies = [
336
+ "cfg-if",
337
+ "js-sys",
338
+ "libc",
339
+ "r-efi",
340
+ "wasip2",
341
+ "wasm-bindgen",
342
+ ]
343
+
344
+ [[package]]
345
+ name = "h2"
346
+ version = "0.4.4"
347
+ source = "registry+https://github.com/rust-lang/crates.io-index"
348
+ checksum = "816ec7294445779408f36fe57bc5b7fc1cf59664059096c65f905c1c61f58069"
349
+ dependencies = [
350
+ "bytes",
351
+ "fnv",
352
+ "futures-core",
353
+ "futures-sink",
354
+ "futures-util",
355
+ "http",
356
+ "indexmap",
357
+ "slab",
358
+ "tokio",
359
+ "tokio-util",
360
+ "tracing",
361
+ ]
362
+
363
+ [[package]]
364
+ name = "hashbrown"
365
+ version = "0.14.5"
366
+ source = "registry+https://github.com/rust-lang/crates.io-index"
367
+ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
368
+
369
+ [[package]]
370
+ name = "hermit-abi"
371
+ version = "0.3.9"
372
+ source = "registry+https://github.com/rust-lang/crates.io-index"
373
+ checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
374
+
375
+ [[package]]
376
+ name = "http"
377
+ version = "1.1.0"
378
+ source = "registry+https://github.com/rust-lang/crates.io-index"
379
+ checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258"
380
+ dependencies = [
381
+ "bytes",
382
+ "fnv",
383
+ "itoa 1.0.11",
384
+ ]
385
+
386
+ [[package]]
387
+ name = "http-body"
388
+ version = "1.0.0"
389
+ source = "registry+https://github.com/rust-lang/crates.io-index"
390
+ checksum = "1cac85db508abc24a2e48553ba12a996e87244a0395ce011e62b37158745d643"
391
+ dependencies = [
392
+ "bytes",
393
+ "http",
394
+ ]
395
+
396
+ [[package]]
397
+ name = "http-body-util"
398
+ version = "0.1.3"
399
+ source = "registry+https://github.com/rust-lang/crates.io-index"
400
+ checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a"
401
+ dependencies = [
402
+ "bytes",
403
+ "futures-core",
404
+ "http",
405
+ "http-body",
406
+ "pin-project-lite",
407
+ ]
408
+
409
+ [[package]]
410
+ name = "httparse"
411
+ version = "1.10.1"
412
+ source = "registry+https://github.com/rust-lang/crates.io-index"
413
+ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
414
+
415
+ [[package]]
416
+ name = "hyper"
417
+ version = "1.6.0"
418
+ source = "registry+https://github.com/rust-lang/crates.io-index"
419
+ checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80"
420
+ dependencies = [
421
+ "bytes",
422
+ "futures-channel",
423
+ "futures-util",
424
+ "h2",
425
+ "http",
426
+ "http-body",
427
+ "httparse",
428
+ "itoa 1.0.11",
429
+ "pin-project-lite",
430
+ "smallvec",
431
+ "tokio",
432
+ "want",
433
+ ]
434
+
435
+ [[package]]
436
+ name = "hyper-rustls"
437
+ version = "0.27.2"
438
+ source = "registry+https://github.com/rust-lang/crates.io-index"
439
+ checksum = "5ee4be2c948921a1a5320b629c4193916ed787a7f7f293fd3f7f5a6c9de74155"
440
+ dependencies = [
441
+ "futures-util",
442
+ "http",
443
+ "hyper",
444
+ "hyper-util",
445
+ "rustls",
446
+ "rustls-pki-types",
447
+ "tokio",
448
+ "tokio-rustls",
449
+ "tower-service",
450
+ ]
451
+
452
+ [[package]]
453
+ name = "hyper-util"
454
+ version = "0.1.13"
455
+ source = "registry+https://github.com/rust-lang/crates.io-index"
456
+ checksum = "b1c293b6b3d21eca78250dc7dbebd6b9210ec5530e038cbfe0661b5c47ab06e8"
457
+ dependencies = [
458
+ "base64",
459
+ "bytes",
460
+ "futures-channel",
461
+ "futures-core",
462
+ "futures-util",
463
+ "http",
464
+ "http-body",
465
+ "hyper",
466
+ "ipnet",
467
+ "libc",
468
+ "percent-encoding",
469
+ "pin-project-lite",
470
+ "socket2 0.5.10",
471
+ "system-configuration",
472
+ "tokio",
473
+ "tower-service",
474
+ "tracing",
475
+ "windows-registry",
476
+ ]
477
+
478
+ [[package]]
479
+ name = "iana-time-zone"
480
+ version = "0.1.64"
481
+ source = "registry+https://github.com/rust-lang/crates.io-index"
482
+ checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb"
483
+ dependencies = [
484
+ "android_system_properties",
485
+ "core-foundation-sys",
486
+ "iana-time-zone-haiku",
487
+ "js-sys",
488
+ "log",
489
+ "wasm-bindgen",
490
+ "windows-core",
491
+ ]
492
+
493
+ [[package]]
494
+ name = "iana-time-zone-haiku"
495
+ version = "0.1.2"
496
+ source = "registry+https://github.com/rust-lang/crates.io-index"
497
+ checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
498
+ dependencies = [
499
+ "cc",
500
+ ]
501
+
502
+ [[package]]
503
+ name = "icu_collections"
504
+ version = "1.5.0"
505
+ source = "registry+https://github.com/rust-lang/crates.io-index"
506
+ checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526"
507
+ dependencies = [
508
+ "displaydoc",
509
+ "yoke",
510
+ "zerofrom",
511
+ "zerovec",
512
+ ]
513
+
514
+ [[package]]
515
+ name = "icu_locid"
516
+ version = "1.5.0"
517
+ source = "registry+https://github.com/rust-lang/crates.io-index"
518
+ checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637"
519
+ dependencies = [
520
+ "displaydoc",
521
+ "litemap",
522
+ "tinystr",
523
+ "writeable",
524
+ "zerovec",
525
+ ]
526
+
527
+ [[package]]
528
+ name = "icu_locid_transform"
529
+ version = "1.5.0"
530
+ source = "registry+https://github.com/rust-lang/crates.io-index"
531
+ checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e"
532
+ dependencies = [
533
+ "displaydoc",
534
+ "icu_locid",
535
+ "icu_locid_transform_data",
536
+ "icu_provider",
537
+ "tinystr",
538
+ "zerovec",
539
+ ]
540
+
541
+ [[package]]
542
+ name = "icu_locid_transform_data"
543
+ version = "1.5.0"
544
+ source = "registry+https://github.com/rust-lang/crates.io-index"
545
+ checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e"
546
+
547
+ [[package]]
548
+ name = "icu_normalizer"
549
+ version = "1.5.0"
550
+ source = "registry+https://github.com/rust-lang/crates.io-index"
551
+ checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f"
552
+ dependencies = [
553
+ "displaydoc",
554
+ "icu_collections",
555
+ "icu_normalizer_data",
556
+ "icu_properties",
557
+ "icu_provider",
558
+ "smallvec",
559
+ "utf16_iter",
560
+ "utf8_iter",
561
+ "write16",
562
+ "zerovec",
563
+ ]
564
+
565
+ [[package]]
566
+ name = "icu_normalizer_data"
567
+ version = "1.5.0"
568
+ source = "registry+https://github.com/rust-lang/crates.io-index"
569
+ checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516"
570
+
571
+ [[package]]
572
+ name = "icu_properties"
573
+ version = "1.5.1"
574
+ source = "registry+https://github.com/rust-lang/crates.io-index"
575
+ checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5"
576
+ dependencies = [
577
+ "displaydoc",
578
+ "icu_collections",
579
+ "icu_locid_transform",
580
+ "icu_properties_data",
581
+ "icu_provider",
582
+ "tinystr",
583
+ "zerovec",
584
+ ]
585
+
586
+ [[package]]
587
+ name = "icu_properties_data"
588
+ version = "1.5.0"
589
+ source = "registry+https://github.com/rust-lang/crates.io-index"
590
+ checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569"
591
+
592
+ [[package]]
593
+ name = "icu_provider"
594
+ version = "1.5.0"
595
+ source = "registry+https://github.com/rust-lang/crates.io-index"
596
+ checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9"
597
+ dependencies = [
598
+ "displaydoc",
599
+ "icu_locid",
600
+ "icu_provider_macros",
601
+ "stable_deref_trait",
602
+ "tinystr",
603
+ "writeable",
604
+ "yoke",
605
+ "zerofrom",
606
+ "zerovec",
607
+ ]
608
+
609
+ [[package]]
610
+ name = "icu_provider_macros"
611
+ version = "1.5.0"
612
+ source = "registry+https://github.com/rust-lang/crates.io-index"
613
+ checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
614
+ dependencies = [
615
+ "proc-macro2",
616
+ "quote",
617
+ "syn",
618
+ ]
619
+
620
+ [[package]]
621
+ name = "idna"
622
+ version = "1.1.0"
623
+ source = "registry+https://github.com/rust-lang/crates.io-index"
624
+ checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de"
625
+ dependencies = [
626
+ "idna_adapter",
627
+ "smallvec",
628
+ "utf8_iter",
629
+ ]
630
+
631
+ [[package]]
632
+ name = "idna_adapter"
633
+ version = "1.2.0"
634
+ source = "registry+https://github.com/rust-lang/crates.io-index"
635
+ checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71"
636
+ dependencies = [
637
+ "icu_normalizer",
638
+ "icu_properties",
639
+ ]
640
+
641
+ [[package]]
642
+ name = "indexmap"
643
+ version = "2.2.6"
644
+ source = "registry+https://github.com/rust-lang/crates.io-index"
645
+ checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26"
646
+ dependencies = [
647
+ "equivalent",
648
+ "hashbrown",
649
+ ]
650
+
651
+ [[package]]
652
+ name = "ipnet"
653
+ version = "2.11.0"
654
+ source = "registry+https://github.com/rust-lang/crates.io-index"
655
+ checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130"
656
+
657
+ [[package]]
658
+ name = "iri-string"
659
+ version = "0.7.8"
660
+ source = "registry+https://github.com/rust-lang/crates.io-index"
661
+ checksum = "dbc5ebe9c3a1a7a5127f920a418f7585e9e758e911d0466ed004f393b0e380b2"
662
+ dependencies = [
663
+ "memchr",
664
+ "serde",
665
+ ]
666
+
667
+ [[package]]
668
+ name = "itoa"
669
+ version = "0.4.7"
670
+ source = "registry+https://github.com/rust-lang/crates.io-index"
671
+ checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736"
672
+
673
+ [[package]]
674
+ name = "itoa"
675
+ version = "1.0.11"
676
+ source = "registry+https://github.com/rust-lang/crates.io-index"
677
+ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
678
+
679
+ [[package]]
680
+ name = "jni"
681
+ version = "0.21.1"
682
+ source = "registry+https://github.com/rust-lang/crates.io-index"
683
+ checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97"
684
+ dependencies = [
685
+ "cesu8",
686
+ "cfg-if",
687
+ "combine",
688
+ "jni-sys",
689
+ "log",
690
+ "thiserror 1.0.69",
691
+ "walkdir",
692
+ "windows-sys 0.45.0",
693
+ ]
694
+
695
+ [[package]]
696
+ name = "jni-sys"
697
+ version = "0.3.0"
698
+ source = "registry+https://github.com/rust-lang/crates.io-index"
699
+ checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130"
700
+
701
+ [[package]]
702
+ name = "jobserver"
703
+ version = "0.1.34"
704
+ source = "registry+https://github.com/rust-lang/crates.io-index"
705
+ checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33"
706
+ dependencies = [
707
+ "getrandom 0.3.4",
708
+ "libc",
709
+ ]
710
+
711
+ [[package]]
712
+ name = "js-sys"
713
+ version = "0.3.77"
714
+ source = "registry+https://github.com/rust-lang/crates.io-index"
715
+ checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
716
+ dependencies = [
717
+ "once_cell",
718
+ "wasm-bindgen",
719
+ ]
720
+
721
+ [[package]]
722
+ name = "lazy_static"
723
+ version = "1.4.0"
724
+ source = "registry+https://github.com/rust-lang/crates.io-index"
725
+ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
726
+
727
+ [[package]]
728
+ name = "libc"
729
+ version = "0.2.172"
730
+ source = "registry+https://github.com/rust-lang/crates.io-index"
731
+ checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
732
+
733
+ [[package]]
734
+ name = "litemap"
735
+ version = "0.7.3"
736
+ source = "registry+https://github.com/rust-lang/crates.io-index"
737
+ checksum = "643cb0b8d4fcc284004d5fd0d67ccf61dfffadb7f75e1e71bc420f4688a3a704"
738
+
739
+ [[package]]
740
+ name = "lock_api"
741
+ version = "0.4.6"
742
+ source = "registry+https://github.com/rust-lang/crates.io-index"
743
+ checksum = "88943dd7ef4a2e5a4bfa2753aaab3013e34ce2533d1996fb18ef591e315e2b3b"
744
+ dependencies = [
745
+ "scopeguard",
746
+ ]
747
+
748
+ [[package]]
749
+ name = "log"
750
+ version = "0.4.21"
751
+ source = "registry+https://github.com/rust-lang/crates.io-index"
752
+ checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c"
753
+
754
+ [[package]]
755
+ name = "lru-slab"
756
+ version = "0.1.2"
757
+ source = "registry+https://github.com/rust-lang/crates.io-index"
758
+ checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154"
759
+
760
+ [[package]]
761
+ name = "memchr"
762
+ version = "2.7.2"
763
+ source = "registry+https://github.com/rust-lang/crates.io-index"
764
+ checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d"
765
+
766
+ [[package]]
767
+ name = "mime"
768
+ version = "0.3.16"
769
+ source = "registry+https://github.com/rust-lang/crates.io-index"
770
+ checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d"
771
+
772
+ [[package]]
773
+ name = "mio"
774
+ version = "1.0.1"
775
+ source = "registry+https://github.com/rust-lang/crates.io-index"
776
+ checksum = "4569e456d394deccd22ce1c1913e6ea0e54519f577285001215d33557431afe4"
777
+ dependencies = [
778
+ "hermit-abi",
779
+ "libc",
780
+ "wasi",
781
+ "windows-sys 0.52.0",
782
+ ]
783
+
784
+ [[package]]
785
+ name = "num-traits"
786
+ version = "0.2.14"
787
+ source = "registry+https://github.com/rust-lang/crates.io-index"
788
+ checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290"
789
+ dependencies = [
790
+ "autocfg",
791
+ ]
792
+
793
+ [[package]]
794
+ name = "once_cell"
795
+ version = "1.19.0"
796
+ source = "registry+https://github.com/rust-lang/crates.io-index"
797
+ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
798
+
799
+ [[package]]
800
+ name = "openssl-probe"
801
+ version = "0.2.0"
802
+ source = "registry+https://github.com/rust-lang/crates.io-index"
803
+ checksum = "9f50d9b3dabb09ecd771ad0aa242ca6894994c130308ca3d7684634df8037391"
804
+
805
+ [[package]]
806
+ name = "parking_lot"
807
+ version = "0.12.2"
808
+ source = "registry+https://github.com/rust-lang/crates.io-index"
809
+ checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb"
810
+ dependencies = [
811
+ "lock_api",
812
+ "parking_lot_core",
813
+ ]
814
+
815
+ [[package]]
816
+ name = "parking_lot_core"
817
+ version = "0.9.10"
818
+ source = "registry+https://github.com/rust-lang/crates.io-index"
819
+ checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
820
+ dependencies = [
821
+ "cfg-if",
822
+ "libc",
823
+ "redox_syscall",
824
+ "smallvec",
825
+ "windows-targets 0.52.6",
826
+ ]
827
+
828
+ [[package]]
829
+ name = "percent-encoding"
830
+ version = "2.3.2"
831
+ source = "registry+https://github.com/rust-lang/crates.io-index"
832
+ checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
833
+
834
+ [[package]]
835
+ name = "pin-project-lite"
836
+ version = "0.2.14"
837
+ source = "registry+https://github.com/rust-lang/crates.io-index"
838
+ checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02"
839
+
840
+ [[package]]
841
+ name = "pin-utils"
842
+ version = "0.1.0"
843
+ source = "registry+https://github.com/rust-lang/crates.io-index"
844
+ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
845
+
846
+ [[package]]
847
+ name = "ppv-lite86"
848
+ version = "0.2.21"
849
+ source = "registry+https://github.com/rust-lang/crates.io-index"
850
+ checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
851
+ dependencies = [
852
+ "zerocopy",
853
+ ]
854
+
855
+ [[package]]
856
+ name = "proc-macro2"
857
+ version = "1.0.88"
858
+ source = "registry+https://github.com/rust-lang/crates.io-index"
859
+ checksum = "7c3a7fc5db1e57d5a779a352c8cdb57b29aa4c40cc69c3a68a7fedc815fbf2f9"
860
+ dependencies = [
861
+ "unicode-ident",
862
+ ]
863
+
864
+ [[package]]
865
+ name = "quinn"
866
+ version = "0.11.9"
867
+ source = "registry+https://github.com/rust-lang/crates.io-index"
868
+ checksum = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20"
869
+ dependencies = [
870
+ "bytes",
871
+ "cfg_aliases",
872
+ "pin-project-lite",
873
+ "quinn-proto",
874
+ "quinn-udp",
875
+ "rustc-hash",
876
+ "rustls",
877
+ "socket2 0.6.0",
878
+ "thiserror 2.0.17",
879
+ "tokio",
880
+ "tracing",
881
+ "web-time",
882
+ ]
883
+
884
+ [[package]]
885
+ name = "quinn-proto"
886
+ version = "0.11.13"
887
+ source = "registry+https://github.com/rust-lang/crates.io-index"
888
+ checksum = "f1906b49b0c3bc04b5fe5d86a77925ae6524a19b816ae38ce1e426255f1d8a31"
889
+ dependencies = [
890
+ "aws-lc-rs",
891
+ "bytes",
892
+ "getrandom 0.3.4",
893
+ "lru-slab",
894
+ "rand",
895
+ "ring",
896
+ "rustc-hash",
897
+ "rustls",
898
+ "rustls-pki-types",
899
+ "slab",
900
+ "thiserror 2.0.17",
901
+ "tinyvec",
902
+ "tracing",
903
+ "web-time",
904
+ ]
905
+
906
+ [[package]]
907
+ name = "quinn-udp"
908
+ version = "0.5.14"
909
+ source = "registry+https://github.com/rust-lang/crates.io-index"
910
+ checksum = "addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd"
911
+ dependencies = [
912
+ "cfg_aliases",
913
+ "libc",
914
+ "once_cell",
915
+ "socket2 0.6.0",
916
+ "tracing",
917
+ "windows-sys 0.59.0",
918
+ ]
919
+
920
+ [[package]]
921
+ name = "quote"
922
+ version = "1.0.42"
923
+ source = "registry+https://github.com/rust-lang/crates.io-index"
924
+ checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f"
925
+ dependencies = [
926
+ "proc-macro2",
927
+ ]
928
+
929
+ [[package]]
930
+ name = "r-efi"
931
+ version = "5.3.0"
932
+ source = "registry+https://github.com/rust-lang/crates.io-index"
933
+ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
934
+
935
+ [[package]]
936
+ name = "rand"
937
+ version = "0.9.2"
938
+ source = "registry+https://github.com/rust-lang/crates.io-index"
939
+ checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
940
+ dependencies = [
941
+ "rand_chacha",
942
+ "rand_core",
943
+ ]
944
+
945
+ [[package]]
946
+ name = "rand_chacha"
947
+ version = "0.9.0"
948
+ source = "registry+https://github.com/rust-lang/crates.io-index"
949
+ checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
950
+ dependencies = [
951
+ "ppv-lite86",
952
+ "rand_core",
953
+ ]
954
+
955
+ [[package]]
956
+ name = "rand_core"
957
+ version = "0.9.3"
958
+ source = "registry+https://github.com/rust-lang/crates.io-index"
959
+ checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
960
+ dependencies = [
961
+ "getrandom 0.3.4",
962
+ ]
963
+
964
+ [[package]]
965
+ name = "redox_syscall"
966
+ version = "0.5.1"
967
+ source = "registry+https://github.com/rust-lang/crates.io-index"
968
+ checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e"
969
+ dependencies = [
970
+ "bitflags",
971
+ ]
972
+
973
+ [[package]]
974
+ name = "regex"
975
+ version = "1.12.3"
976
+ source = "registry+https://github.com/rust-lang/crates.io-index"
977
+ checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276"
978
+ dependencies = [
979
+ "aho-corasick",
980
+ "memchr",
981
+ "regex-automata",
982
+ "regex-syntax",
983
+ ]
984
+
985
+ [[package]]
986
+ name = "regex-automata"
987
+ version = "0.4.13"
988
+ source = "registry+https://github.com/rust-lang/crates.io-index"
989
+ checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c"
990
+ dependencies = [
991
+ "aho-corasick",
992
+ "memchr",
993
+ "regex-syntax",
994
+ ]
995
+
996
+ [[package]]
997
+ name = "regex-syntax"
998
+ version = "0.8.5"
999
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1000
+ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
1001
+
1002
+ [[package]]
1003
+ name = "reqwest"
1004
+ version = "0.13.2"
1005
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1006
+ checksum = "ab3f43e3283ab1488b624b44b0e988d0acea0b3214e694730a055cb6b2efa801"
1007
+ dependencies = [
1008
+ "base64",
1009
+ "bytes",
1010
+ "encoding_rs",
1011
+ "futures-core",
1012
+ "h2",
1013
+ "http",
1014
+ "http-body",
1015
+ "http-body-util",
1016
+ "hyper",
1017
+ "hyper-rustls",
1018
+ "hyper-util",
1019
+ "js-sys",
1020
+ "log",
1021
+ "mime",
1022
+ "percent-encoding",
1023
+ "pin-project-lite",
1024
+ "quinn",
1025
+ "rustls",
1026
+ "rustls-pki-types",
1027
+ "rustls-platform-verifier",
1028
+ "serde",
1029
+ "serde_json",
1030
+ "sync_wrapper",
1031
+ "tokio",
1032
+ "tokio-rustls",
1033
+ "tower",
1034
+ "tower-http",
1035
+ "tower-service",
1036
+ "url",
1037
+ "wasm-bindgen",
1038
+ "wasm-bindgen-futures",
1039
+ "web-sys",
1040
+ ]
1041
+
1042
+ [[package]]
1043
+ name = "ring"
1044
+ version = "0.17.8"
1045
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1046
+ checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d"
1047
+ dependencies = [
1048
+ "cc",
1049
+ "cfg-if",
1050
+ "getrandom 0.2.15",
1051
+ "libc",
1052
+ "spin",
1053
+ "untrusted",
1054
+ "windows-sys 0.52.0",
1055
+ ]
1056
+
1057
+ [[package]]
1058
+ name = "rustc-hash"
1059
+ version = "2.1.1"
1060
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1061
+ checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
1062
+
1063
+ [[package]]
1064
+ name = "rustls"
1065
+ version = "0.23.35"
1066
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1067
+ checksum = "533f54bc6a7d4f647e46ad909549eda97bf5afc1585190ef692b4286b198bd8f"
1068
+ dependencies = [
1069
+ "aws-lc-rs",
1070
+ "once_cell",
1071
+ "rustls-pki-types",
1072
+ "rustls-webpki",
1073
+ "subtle",
1074
+ "zeroize",
1075
+ ]
1076
+
1077
+ [[package]]
1078
+ name = "rustls-native-certs"
1079
+ version = "0.8.3"
1080
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1081
+ checksum = "612460d5f7bea540c490b2b6395d8e34a953e52b491accd6c86c8164c5932a63"
1082
+ dependencies = [
1083
+ "openssl-probe",
1084
+ "rustls-pki-types",
1085
+ "schannel",
1086
+ "security-framework",
1087
+ ]
1088
+
1089
+ [[package]]
1090
+ name = "rustls-pki-types"
1091
+ version = "1.12.0"
1092
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1093
+ checksum = "229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79"
1094
+ dependencies = [
1095
+ "web-time",
1096
+ "zeroize",
1097
+ ]
1098
+
1099
+ [[package]]
1100
+ name = "rustls-platform-verifier"
1101
+ version = "0.6.2"
1102
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1103
+ checksum = "1d99feebc72bae7ab76ba994bb5e121b8d83d910ca40b36e0921f53becc41784"
1104
+ dependencies = [
1105
+ "core-foundation 0.10.1",
1106
+ "core-foundation-sys",
1107
+ "jni",
1108
+ "log",
1109
+ "once_cell",
1110
+ "rustls",
1111
+ "rustls-native-certs",
1112
+ "rustls-platform-verifier-android",
1113
+ "rustls-webpki",
1114
+ "security-framework",
1115
+ "security-framework-sys",
1116
+ "webpki-root-certs",
1117
+ "windows-sys 0.61.2",
1118
+ ]
1119
+
1120
+ [[package]]
1121
+ name = "rustls-platform-verifier-android"
1122
+ version = "0.1.1"
1123
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1124
+ checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f"
1125
+
1126
+ [[package]]
1127
+ name = "rustls-webpki"
1128
+ version = "0.103.8"
1129
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1130
+ checksum = "2ffdfa2f5286e2247234e03f680868ac2815974dc39e00ea15adc445d0aafe52"
1131
+ dependencies = [
1132
+ "aws-lc-rs",
1133
+ "ring",
1134
+ "rustls-pki-types",
1135
+ "untrusted",
1136
+ ]
1137
+
1138
+ [[package]]
1139
+ name = "rustversion"
1140
+ version = "1.0.20"
1141
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1142
+ checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2"
1143
+
1144
+ [[package]]
1145
+ name = "ryu"
1146
+ version = "1.0.5"
1147
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1148
+ checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e"
1149
+
1150
+ [[package]]
1151
+ name = "same-file"
1152
+ version = "1.0.6"
1153
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1154
+ checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
1155
+ dependencies = [
1156
+ "winapi-util",
1157
+ ]
1158
+
1159
+ [[package]]
1160
+ name = "schannel"
1161
+ version = "0.1.19"
1162
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1163
+ checksum = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75"
1164
+ dependencies = [
1165
+ "lazy_static",
1166
+ "winapi",
1167
+ ]
1168
+
1169
+ [[package]]
1170
+ name = "scopeguard"
1171
+ version = "1.1.0"
1172
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1173
+ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
1174
+
1175
+ [[package]]
1176
+ name = "security-framework"
1177
+ version = "3.5.1"
1178
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1179
+ checksum = "b3297343eaf830f66ede390ea39da1d462b6b0c1b000f420d0a83f898bbbe6ef"
1180
+ dependencies = [
1181
+ "bitflags",
1182
+ "core-foundation 0.10.1",
1183
+ "core-foundation-sys",
1184
+ "libc",
1185
+ "security-framework-sys",
1186
+ ]
1187
+
1188
+ [[package]]
1189
+ name = "security-framework-sys"
1190
+ version = "2.15.0"
1191
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1192
+ checksum = "cc1f0cbffaac4852523ce30d8bd3c5cdc873501d96ff467ca09b6767bb8cd5c0"
1193
+ dependencies = [
1194
+ "core-foundation-sys",
1195
+ "libc",
1196
+ ]
1197
+
1198
+ [[package]]
1199
+ name = "serde"
1200
+ version = "1.0.228"
1201
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1202
+ checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
1203
+ dependencies = [
1204
+ "serde_core",
1205
+ "serde_derive",
1206
+ ]
1207
+
1208
+ [[package]]
1209
+ name = "serde_core"
1210
+ version = "1.0.228"
1211
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1212
+ checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
1213
+ dependencies = [
1214
+ "serde_derive",
1215
+ ]
1216
+
1217
+ [[package]]
1218
+ name = "serde_derive"
1219
+ version = "1.0.228"
1220
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1221
+ checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
1222
+ dependencies = [
1223
+ "proc-macro2",
1224
+ "quote",
1225
+ "syn",
1226
+ ]
1227
+
1228
+ [[package]]
1229
+ name = "serde_json"
1230
+ version = "1.0.65"
1231
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1232
+ checksum = "28c5e91e4240b46c4c19219d6cc84784444326131a4210f496f948d5cc827a29"
1233
+ dependencies = [
1234
+ "itoa 0.4.7",
1235
+ "ryu",
1236
+ "serde",
1237
+ ]
1238
+
1239
+ [[package]]
1240
+ name = "shlex"
1241
+ version = "1.3.0"
1242
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1243
+ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
1244
+
1245
+ [[package]]
1246
+ name = "signal-hook-registry"
1247
+ version = "1.4.0"
1248
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1249
+ checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0"
1250
+ dependencies = [
1251
+ "libc",
1252
+ ]
1253
+
1254
+ [[package]]
1255
+ name = "slab"
1256
+ version = "0.4.11"
1257
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1258
+ checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589"
1259
+
1260
+ [[package]]
1261
+ name = "smallvec"
1262
+ version = "1.13.2"
1263
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1264
+ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
1265
+
1266
+ [[package]]
1267
+ name = "socket2"
1268
+ version = "0.5.10"
1269
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1270
+ checksum = "e22376abed350d73dd1cd119b57ffccad95b4e585a7cda43e286245ce23c0678"
1271
+ dependencies = [
1272
+ "libc",
1273
+ "windows-sys 0.52.0",
1274
+ ]
1275
+
1276
+ [[package]]
1277
+ name = "socket2"
1278
+ version = "0.6.0"
1279
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1280
+ checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807"
1281
+ dependencies = [
1282
+ "libc",
1283
+ "windows-sys 0.59.0",
1284
+ ]
1285
+
1286
+ [[package]]
1287
+ name = "spin"
1288
+ version = "0.9.8"
1289
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1290
+ checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
1291
+
1292
+ [[package]]
1293
+ name = "stable_deref_trait"
1294
+ version = "1.2.0"
1295
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1296
+ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
1297
+
1298
+ [[package]]
1299
+ name = "subtle"
1300
+ version = "2.5.0"
1301
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1302
+ checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc"
1303
+
1304
+ [[package]]
1305
+ name = "syn"
1306
+ version = "2.0.87"
1307
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1308
+ checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d"
1309
+ dependencies = [
1310
+ "proc-macro2",
1311
+ "quote",
1312
+ "unicode-ident",
1313
+ ]
1314
+
1315
+ [[package]]
1316
+ name = "sync_wrapper"
1317
+ version = "1.0.1"
1318
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1319
+ checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394"
1320
+ dependencies = [
1321
+ "futures-core",
1322
+ ]
1323
+
1324
+ [[package]]
1325
+ name = "synstructure"
1326
+ version = "0.13.1"
1327
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1328
+ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
1329
+ dependencies = [
1330
+ "proc-macro2",
1331
+ "quote",
1332
+ "syn",
1333
+ ]
1334
+
1335
+ [[package]]
1336
+ name = "system-configuration"
1337
+ version = "0.6.1"
1338
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1339
+ checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b"
1340
+ dependencies = [
1341
+ "bitflags",
1342
+ "core-foundation 0.9.1",
1343
+ "system-configuration-sys",
1344
+ ]
1345
+
1346
+ [[package]]
1347
+ name = "system-configuration-sys"
1348
+ version = "0.6.0"
1349
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1350
+ checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4"
1351
+ dependencies = [
1352
+ "core-foundation-sys",
1353
+ "libc",
1354
+ ]
1355
+
1356
+ [[package]]
1357
+ name = "thiserror"
1358
+ version = "1.0.69"
1359
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1360
+ checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
1361
+ dependencies = [
1362
+ "thiserror-impl 1.0.69",
1363
+ ]
1364
+
1365
+ [[package]]
1366
+ name = "thiserror"
1367
+ version = "2.0.17"
1368
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1369
+ checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8"
1370
+ dependencies = [
1371
+ "thiserror-impl 2.0.17",
1372
+ ]
1373
+
1374
+ [[package]]
1375
+ name = "thiserror-impl"
1376
+ version = "1.0.69"
1377
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1378
+ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
1379
+ dependencies = [
1380
+ "proc-macro2",
1381
+ "quote",
1382
+ "syn",
1383
+ ]
1384
+
1385
+ [[package]]
1386
+ name = "thiserror-impl"
1387
+ version = "2.0.17"
1388
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1389
+ checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913"
1390
+ dependencies = [
1391
+ "proc-macro2",
1392
+ "quote",
1393
+ "syn",
1394
+ ]
1395
+
1396
+ [[package]]
1397
+ name = "tinystr"
1398
+ version = "0.7.6"
1399
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1400
+ checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f"
1401
+ dependencies = [
1402
+ "displaydoc",
1403
+ "zerovec",
1404
+ ]
1405
+
1406
+ [[package]]
1407
+ name = "tinyvec"
1408
+ version = "1.10.0"
1409
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1410
+ checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa"
1411
+ dependencies = [
1412
+ "tinyvec_macros",
1413
+ ]
1414
+
1415
+ [[package]]
1416
+ name = "tinyvec_macros"
1417
+ version = "0.1.1"
1418
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1419
+ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
1420
+
1421
+ [[package]]
1422
+ name = "tokio"
1423
+ version = "1.50.0"
1424
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1425
+ checksum = "27ad5e34374e03cfffefc301becb44e9dc3c17584f414349ebe29ed26661822d"
1426
+ dependencies = [
1427
+ "bytes",
1428
+ "libc",
1429
+ "mio",
1430
+ "parking_lot",
1431
+ "pin-project-lite",
1432
+ "signal-hook-registry",
1433
+ "socket2 0.6.0",
1434
+ "tokio-macros",
1435
+ "windows-sys 0.61.2",
1436
+ ]
1437
+
1438
+ [[package]]
1439
+ name = "tokio-macros"
1440
+ version = "2.6.0"
1441
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1442
+ checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5"
1443
+ dependencies = [
1444
+ "proc-macro2",
1445
+ "quote",
1446
+ "syn",
1447
+ ]
1448
+
1449
+ [[package]]
1450
+ name = "tokio-rustls"
1451
+ version = "0.26.0"
1452
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1453
+ checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4"
1454
+ dependencies = [
1455
+ "rustls",
1456
+ "rustls-pki-types",
1457
+ "tokio",
1458
+ ]
1459
+
1460
+ [[package]]
1461
+ name = "tokio-util"
1462
+ version = "0.7.11"
1463
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1464
+ checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1"
1465
+ dependencies = [
1466
+ "bytes",
1467
+ "futures-core",
1468
+ "futures-sink",
1469
+ "pin-project-lite",
1470
+ "tokio",
1471
+ ]
1472
+
1473
+ [[package]]
1474
+ name = "tower"
1475
+ version = "0.5.2"
1476
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1477
+ checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9"
1478
+ dependencies = [
1479
+ "futures-core",
1480
+ "futures-util",
1481
+ "pin-project-lite",
1482
+ "sync_wrapper",
1483
+ "tokio",
1484
+ "tower-layer",
1485
+ "tower-service",
1486
+ ]
1487
+
1488
+ [[package]]
1489
+ name = "tower-http"
1490
+ version = "0.6.8"
1491
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1492
+ checksum = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8"
1493
+ dependencies = [
1494
+ "bitflags",
1495
+ "bytes",
1496
+ "futures-util",
1497
+ "http",
1498
+ "http-body",
1499
+ "iri-string",
1500
+ "pin-project-lite",
1501
+ "tower",
1502
+ "tower-layer",
1503
+ "tower-service",
1504
+ ]
1505
+
1506
+ [[package]]
1507
+ name = "tower-layer"
1508
+ version = "0.3.3"
1509
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1510
+ checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e"
1511
+
1512
+ [[package]]
1513
+ name = "tower-service"
1514
+ version = "0.3.3"
1515
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1516
+ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
1517
+
1518
+ [[package]]
1519
+ name = "tracing"
1520
+ version = "0.1.40"
1521
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1522
+ checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef"
1523
+ dependencies = [
1524
+ "pin-project-lite",
1525
+ "tracing-core",
1526
+ ]
1527
+
1528
+ [[package]]
1529
+ name = "tracing-core"
1530
+ version = "0.1.32"
1531
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1532
+ checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54"
1533
+ dependencies = [
1534
+ "once_cell",
1535
+ ]
1536
+
1537
+ [[package]]
1538
+ name = "try-lock"
1539
+ version = "0.2.3"
1540
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1541
+ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642"
1542
+
1543
+ [[package]]
1544
+ name = "unicode-ident"
1545
+ version = "1.0.12"
1546
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1547
+ checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
1548
+
1549
+ [[package]]
1550
+ name = "untrusted"
1551
+ version = "0.9.0"
1552
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1553
+ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
1554
+
1555
+ [[package]]
1556
+ name = "url"
1557
+ version = "2.5.8"
1558
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1559
+ checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed"
1560
+ dependencies = [
1561
+ "form_urlencoded",
1562
+ "idna",
1563
+ "percent-encoding",
1564
+ "serde",
1565
+ ]
1566
+
1567
+ [[package]]
1568
+ name = "utf16_iter"
1569
+ version = "1.0.5"
1570
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1571
+ checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
1572
+
1573
+ [[package]]
1574
+ name = "utf8_iter"
1575
+ version = "1.0.4"
1576
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1577
+ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
1578
+
1579
+ [[package]]
1580
+ name = "walkdir"
1581
+ version = "2.5.0"
1582
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1583
+ checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
1584
+ dependencies = [
1585
+ "same-file",
1586
+ "winapi-util",
1587
+ ]
1588
+
1589
+ [[package]]
1590
+ name = "want"
1591
+ version = "0.3.0"
1592
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1593
+ checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0"
1594
+ dependencies = [
1595
+ "log",
1596
+ "try-lock",
1597
+ ]
1598
+
1599
+ [[package]]
1600
+ name = "wasi"
1601
+ version = "0.11.0+wasi-snapshot-preview1"
1602
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1603
+ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
1604
+
1605
+ [[package]]
1606
+ name = "wasip2"
1607
+ version = "1.0.1+wasi-0.2.4"
1608
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1609
+ checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7"
1610
+ dependencies = [
1611
+ "wit-bindgen",
1612
+ ]
1613
+
1614
+ [[package]]
1615
+ name = "wasm-bindgen"
1616
+ version = "0.2.100"
1617
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1618
+ checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
1619
+ dependencies = [
1620
+ "cfg-if",
1621
+ "once_cell",
1622
+ "rustversion",
1623
+ "wasm-bindgen-macro",
1624
+ ]
1625
+
1626
+ [[package]]
1627
+ name = "wasm-bindgen-backend"
1628
+ version = "0.2.100"
1629
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1630
+ checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
1631
+ dependencies = [
1632
+ "bumpalo",
1633
+ "log",
1634
+ "proc-macro2",
1635
+ "quote",
1636
+ "syn",
1637
+ "wasm-bindgen-shared",
1638
+ ]
1639
+
1640
+ [[package]]
1641
+ name = "wasm-bindgen-futures"
1642
+ version = "0.4.24"
1643
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1644
+ checksum = "5fba7978c679d53ce2d0ac80c8c175840feb849a161664365d1287b41f2e67f1"
1645
+ dependencies = [
1646
+ "cfg-if",
1647
+ "js-sys",
1648
+ "wasm-bindgen",
1649
+ "web-sys",
1650
+ ]
1651
+
1652
+ [[package]]
1653
+ name = "wasm-bindgen-macro"
1654
+ version = "0.2.100"
1655
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1656
+ checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
1657
+ dependencies = [
1658
+ "quote",
1659
+ "wasm-bindgen-macro-support",
1660
+ ]
1661
+
1662
+ [[package]]
1663
+ name = "wasm-bindgen-macro-support"
1664
+ version = "0.2.100"
1665
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1666
+ checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
1667
+ dependencies = [
1668
+ "proc-macro2",
1669
+ "quote",
1670
+ "syn",
1671
+ "wasm-bindgen-backend",
1672
+ "wasm-bindgen-shared",
1673
+ ]
1674
+
1675
+ [[package]]
1676
+ name = "wasm-bindgen-shared"
1677
+ version = "0.2.100"
1678
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1679
+ checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
1680
+ dependencies = [
1681
+ "unicode-ident",
1682
+ ]
1683
+
1684
+ [[package]]
1685
+ name = "web-sys"
1686
+ version = "0.3.51"
1687
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1688
+ checksum = "e828417b379f3df7111d3a2a9e5753706cae29c41f7c4029ee9fd77f3e09e582"
1689
+ dependencies = [
1690
+ "js-sys",
1691
+ "wasm-bindgen",
1692
+ ]
1693
+
1694
+ [[package]]
1695
+ name = "web-time"
1696
+ version = "1.1.0"
1697
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1698
+ checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
1699
+ dependencies = [
1700
+ "js-sys",
1701
+ "wasm-bindgen",
1702
+ ]
1703
+
1704
+ [[package]]
1705
+ name = "webpki-root-certs"
1706
+ version = "1.0.4"
1707
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1708
+ checksum = "ee3e3b5f5e80bc89f30ce8d0343bf4e5f12341c51f3e26cbeecbc7c85443e85b"
1709
+ dependencies = [
1710
+ "rustls-pki-types",
1711
+ ]
1712
+
1713
+ [[package]]
1714
+ name = "winapi"
1715
+ version = "0.3.9"
1716
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1717
+ checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
1718
+ dependencies = [
1719
+ "winapi-i686-pc-windows-gnu",
1720
+ "winapi-x86_64-pc-windows-gnu",
1721
+ ]
1722
+
1723
+ [[package]]
1724
+ name = "winapi-i686-pc-windows-gnu"
1725
+ version = "0.4.0"
1726
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1727
+ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
1728
+
1729
+ [[package]]
1730
+ name = "winapi-util"
1731
+ version = "0.1.11"
1732
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1733
+ checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
1734
+ dependencies = [
1735
+ "windows-sys 0.61.2",
1736
+ ]
1737
+
1738
+ [[package]]
1739
+ name = "winapi-x86_64-pc-windows-gnu"
1740
+ version = "0.4.0"
1741
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1742
+ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
1743
+
1744
+ [[package]]
1745
+ name = "windows-core"
1746
+ version = "0.62.2"
1747
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1748
+ checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"
1749
+ dependencies = [
1750
+ "windows-implement",
1751
+ "windows-interface",
1752
+ "windows-link 0.2.1",
1753
+ "windows-result 0.4.1",
1754
+ "windows-strings 0.5.1",
1755
+ ]
1756
+
1757
+ [[package]]
1758
+ name = "windows-implement"
1759
+ version = "0.60.2"
1760
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1761
+ checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"
1762
+ dependencies = [
1763
+ "proc-macro2",
1764
+ "quote",
1765
+ "syn",
1766
+ ]
1767
+
1768
+ [[package]]
1769
+ name = "windows-interface"
1770
+ version = "0.59.3"
1771
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1772
+ checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"
1773
+ dependencies = [
1774
+ "proc-macro2",
1775
+ "quote",
1776
+ "syn",
1777
+ ]
1778
+
1779
+ [[package]]
1780
+ name = "windows-link"
1781
+ version = "0.1.0"
1782
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1783
+ checksum = "6dccfd733ce2b1753b03b6d3c65edf020262ea35e20ccdf3e288043e6dd620e3"
1784
+
1785
+ [[package]]
1786
+ name = "windows-link"
1787
+ version = "0.2.1"
1788
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1789
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
1790
+
1791
+ [[package]]
1792
+ name = "windows-registry"
1793
+ version = "0.4.0"
1794
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1795
+ checksum = "4286ad90ddb45071efd1a66dfa43eb02dd0dfbae1545ad6cc3c51cf34d7e8ba3"
1796
+ dependencies = [
1797
+ "windows-result 0.3.1",
1798
+ "windows-strings 0.3.1",
1799
+ "windows-targets 0.53.0",
1800
+ ]
1801
+
1802
+ [[package]]
1803
+ name = "windows-result"
1804
+ version = "0.3.1"
1805
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1806
+ checksum = "06374efe858fab7e4f881500e6e86ec8bc28f9462c47e5a9941a0142ad86b189"
1807
+ dependencies = [
1808
+ "windows-link 0.1.0",
1809
+ ]
1810
+
1811
+ [[package]]
1812
+ name = "windows-result"
1813
+ version = "0.4.1"
1814
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1815
+ checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"
1816
+ dependencies = [
1817
+ "windows-link 0.2.1",
1818
+ ]
1819
+
1820
+ [[package]]
1821
+ name = "windows-strings"
1822
+ version = "0.3.1"
1823
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1824
+ checksum = "87fa48cc5d406560701792be122a10132491cff9d0aeb23583cc2dcafc847319"
1825
+ dependencies = [
1826
+ "windows-link 0.1.0",
1827
+ ]
1828
+
1829
+ [[package]]
1830
+ name = "windows-strings"
1831
+ version = "0.5.1"
1832
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1833
+ checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"
1834
+ dependencies = [
1835
+ "windows-link 0.2.1",
1836
+ ]
1837
+
1838
+ [[package]]
1839
+ name = "windows-sys"
1840
+ version = "0.45.0"
1841
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1842
+ checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
1843
+ dependencies = [
1844
+ "windows-targets 0.42.2",
1845
+ ]
1846
+
1847
+ [[package]]
1848
+ name = "windows-sys"
1849
+ version = "0.52.0"
1850
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1851
+ checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
1852
+ dependencies = [
1853
+ "windows-targets 0.52.6",
1854
+ ]
1855
+
1856
+ [[package]]
1857
+ name = "windows-sys"
1858
+ version = "0.59.0"
1859
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1860
+ checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
1861
+ dependencies = [
1862
+ "windows-targets 0.52.6",
1863
+ ]
1864
+
1865
+ [[package]]
1866
+ name = "windows-sys"
1867
+ version = "0.61.2"
1868
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1869
+ checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
1870
+ dependencies = [
1871
+ "windows-link 0.2.1",
1872
+ ]
1873
+
1874
+ [[package]]
1875
+ name = "windows-targets"
1876
+ version = "0.42.2"
1877
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1878
+ checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
1879
+ dependencies = [
1880
+ "windows_aarch64_gnullvm 0.42.2",
1881
+ "windows_aarch64_msvc 0.42.2",
1882
+ "windows_i686_gnu 0.42.2",
1883
+ "windows_i686_msvc 0.42.2",
1884
+ "windows_x86_64_gnu 0.42.2",
1885
+ "windows_x86_64_gnullvm 0.42.2",
1886
+ "windows_x86_64_msvc 0.42.2",
1887
+ ]
1888
+
1889
+ [[package]]
1890
+ name = "windows-targets"
1891
+ version = "0.52.6"
1892
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1893
+ checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
1894
+ dependencies = [
1895
+ "windows_aarch64_gnullvm 0.52.6",
1896
+ "windows_aarch64_msvc 0.52.6",
1897
+ "windows_i686_gnu 0.52.6",
1898
+ "windows_i686_gnullvm 0.52.6",
1899
+ "windows_i686_msvc 0.52.6",
1900
+ "windows_x86_64_gnu 0.52.6",
1901
+ "windows_x86_64_gnullvm 0.52.6",
1902
+ "windows_x86_64_msvc 0.52.6",
1903
+ ]
1904
+
1905
+ [[package]]
1906
+ name = "windows-targets"
1907
+ version = "0.53.0"
1908
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1909
+ checksum = "b1e4c7e8ceaaf9cb7d7507c974735728ab453b67ef8f18febdd7c11fe59dca8b"
1910
+ dependencies = [
1911
+ "windows_aarch64_gnullvm 0.53.0",
1912
+ "windows_aarch64_msvc 0.53.0",
1913
+ "windows_i686_gnu 0.53.0",
1914
+ "windows_i686_gnullvm 0.53.0",
1915
+ "windows_i686_msvc 0.53.0",
1916
+ "windows_x86_64_gnu 0.53.0",
1917
+ "windows_x86_64_gnullvm 0.53.0",
1918
+ "windows_x86_64_msvc 0.53.0",
1919
+ ]
1920
+
1921
+ [[package]]
1922
+ name = "windows_aarch64_gnullvm"
1923
+ version = "0.42.2"
1924
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1925
+ checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
1926
+
1927
+ [[package]]
1928
+ name = "windows_aarch64_gnullvm"
1929
+ version = "0.52.6"
1930
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1931
+ checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
1932
+
1933
+ [[package]]
1934
+ name = "windows_aarch64_gnullvm"
1935
+ version = "0.53.0"
1936
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1937
+ checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
1938
+
1939
+ [[package]]
1940
+ name = "windows_aarch64_msvc"
1941
+ version = "0.42.2"
1942
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1943
+ checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
1944
+
1945
+ [[package]]
1946
+ name = "windows_aarch64_msvc"
1947
+ version = "0.52.6"
1948
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1949
+ checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
1950
+
1951
+ [[package]]
1952
+ name = "windows_aarch64_msvc"
1953
+ version = "0.53.0"
1954
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1955
+ checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
1956
+
1957
+ [[package]]
1958
+ name = "windows_i686_gnu"
1959
+ version = "0.42.2"
1960
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1961
+ checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
1962
+
1963
+ [[package]]
1964
+ name = "windows_i686_gnu"
1965
+ version = "0.52.6"
1966
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1967
+ checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
1968
+
1969
+ [[package]]
1970
+ name = "windows_i686_gnu"
1971
+ version = "0.53.0"
1972
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1973
+ checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3"
1974
+
1975
+ [[package]]
1976
+ name = "windows_i686_gnullvm"
1977
+ version = "0.52.6"
1978
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1979
+ checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
1980
+
1981
+ [[package]]
1982
+ name = "windows_i686_gnullvm"
1983
+ version = "0.53.0"
1984
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1985
+ checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
1986
+
1987
+ [[package]]
1988
+ name = "windows_i686_msvc"
1989
+ version = "0.42.2"
1990
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1991
+ checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
1992
+
1993
+ [[package]]
1994
+ name = "windows_i686_msvc"
1995
+ version = "0.52.6"
1996
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1997
+ checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
1998
+
1999
+ [[package]]
2000
+ name = "windows_i686_msvc"
2001
+ version = "0.53.0"
2002
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2003
+ checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
2004
+
2005
+ [[package]]
2006
+ name = "windows_x86_64_gnu"
2007
+ version = "0.42.2"
2008
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2009
+ checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
2010
+
2011
+ [[package]]
2012
+ name = "windows_x86_64_gnu"
2013
+ version = "0.52.6"
2014
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2015
+ checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
2016
+
2017
+ [[package]]
2018
+ name = "windows_x86_64_gnu"
2019
+ version = "0.53.0"
2020
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2021
+ checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba"
2022
+
2023
+ [[package]]
2024
+ name = "windows_x86_64_gnullvm"
2025
+ version = "0.42.2"
2026
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2027
+ checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
2028
+
2029
+ [[package]]
2030
+ name = "windows_x86_64_gnullvm"
2031
+ version = "0.52.6"
2032
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2033
+ checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
2034
+
2035
+ [[package]]
2036
+ name = "windows_x86_64_gnullvm"
2037
+ version = "0.53.0"
2038
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2039
+ checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57"
2040
+
2041
+ [[package]]
2042
+ name = "windows_x86_64_msvc"
2043
+ version = "0.42.2"
2044
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2045
+ checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
2046
+
2047
+ [[package]]
2048
+ name = "windows_x86_64_msvc"
2049
+ version = "0.52.6"
2050
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2051
+ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
2052
+
2053
+ [[package]]
2054
+ name = "windows_x86_64_msvc"
2055
+ version = "0.53.0"
2056
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2057
+ checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
2058
+
2059
+ [[package]]
2060
+ name = "wit-bindgen"
2061
+ version = "0.46.0"
2062
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2063
+ checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
2064
+
2065
+ [[package]]
2066
+ name = "write16"
2067
+ version = "1.0.0"
2068
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2069
+ checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936"
2070
+
2071
+ [[package]]
2072
+ name = "writeable"
2073
+ version = "0.5.5"
2074
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2075
+ checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
2076
+
2077
+ [[package]]
2078
+ name = "yoke"
2079
+ version = "0.7.4"
2080
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2081
+ checksum = "6c5b1314b079b0930c31e3af543d8ee1757b1951ae1e1565ec704403a7240ca5"
2082
+ dependencies = [
2083
+ "serde",
2084
+ "stable_deref_trait",
2085
+ "yoke-derive",
2086
+ "zerofrom",
2087
+ ]
2088
+
2089
+ [[package]]
2090
+ name = "yoke-derive"
2091
+ version = "0.7.4"
2092
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2093
+ checksum = "28cc31741b18cb6f1d5ff12f5b7523e3d6eb0852bbbad19d73905511d9849b95"
2094
+ dependencies = [
2095
+ "proc-macro2",
2096
+ "quote",
2097
+ "syn",
2098
+ "synstructure",
2099
+ ]
2100
+
2101
+ [[package]]
2102
+ name = "zerocopy"
2103
+ version = "0.8.31"
2104
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2105
+ checksum = "fd74ec98b9250adb3ca554bdde269adf631549f51d8a8f8f0a10b50f1cb298c3"
2106
+ dependencies = [
2107
+ "zerocopy-derive",
2108
+ ]
2109
+
2110
+ [[package]]
2111
+ name = "zerocopy-derive"
2112
+ version = "0.8.31"
2113
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2114
+ checksum = "d8a8d209fdf45cf5138cbb5a506f6b52522a25afccc534d1475dad8e31105c6a"
2115
+ dependencies = [
2116
+ "proc-macro2",
2117
+ "quote",
2118
+ "syn",
2119
+ ]
2120
+
2121
+ [[package]]
2122
+ name = "zerofrom"
2123
+ version = "0.1.4"
2124
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2125
+ checksum = "91ec111ce797d0e0784a1116d0ddcdbea84322cd79e5d5ad173daeba4f93ab55"
2126
+ dependencies = [
2127
+ "zerofrom-derive",
2128
+ ]
2129
+
2130
+ [[package]]
2131
+ name = "zerofrom-derive"
2132
+ version = "0.1.4"
2133
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2134
+ checksum = "0ea7b4a3637ea8669cedf0f1fd5c286a17f3de97b8dd5a70a6c167a1730e63a5"
2135
+ dependencies = [
2136
+ "proc-macro2",
2137
+ "quote",
2138
+ "syn",
2139
+ "synstructure",
2140
+ ]
2141
+
2142
+ [[package]]
2143
+ name = "zeroize"
2144
+ version = "1.8.1"
2145
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2146
+ checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
2147
+
2148
+ [[package]]
2149
+ name = "zerovec"
2150
+ version = "0.10.4"
2151
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2152
+ checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079"
2153
+ dependencies = [
2154
+ "yoke",
2155
+ "zerofrom",
2156
+ "zerovec-derive",
2157
+ ]
2158
+
2159
+ [[package]]
2160
+ name = "zerovec-derive"
2161
+ version = "0.10.3"
2162
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2163
+ checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
2164
+ dependencies = [
2165
+ "proc-macro2",
2166
+ "quote",
2167
+ "syn",
2168
+ ]
2169
+ LOCKEOF
2170
+
2171
+ # --- Prefetch the dependency closure into the cargo registry cache ----------
2172
+ # Uses --manifest-path pointing at the generated manifest; never run bare cargo
2173
+ # from the repo root. No compilation occurs here (fetch only downloads).
2174
+ cargo fetch --manifest-path "$PB_FETCH_DIR/Cargo.toml"
2175
+
2176
+ # ---- No build/test/package steps. The cache and env are now ready. ----------
mobilefirstllc--social-media-hac/environment/executable ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f82f841551ad9e5bb1967eabaa0888cb2afd23b72409441664dae247588fcf6c
3
+ size 10783440
mobilefirstllc--social-media-hac/environment/harbor_prepare_download_env.sh ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ command -v cargo
4
+ command -v rustc
5
+ command -v rustup
6
+ cd /workspace
7
+ set -a
8
+ source /tmp/programgym-download.sh
9
+ set +a
10
+ python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
11
+ import os
12
+ import shlex
13
+
14
+ ignored = {
15
+ "ALL_PROXY",
16
+ "HTTP_PROXY",
17
+ "HTTPS_PROXY",
18
+ "NO_PROXY",
19
+ "OLDPWD",
20
+ "PIP_PROXY",
21
+ "PWD",
22
+ "SHLVL",
23
+ "_",
24
+ "all_proxy",
25
+ "http_proxy",
26
+ "https_proxy",
27
+ "no_proxy",
28
+ "pip_proxy",
29
+ }
30
+ for key in sorted(os.environ):
31
+ if key in ignored or key.startswith("BASH_FUNC_"):
32
+ continue
33
+ value = os.environ[key]
34
+ if "\n" in value:
35
+ continue
36
+ print(f"export {key}={shlex.quote(value)}")
37
+ PY
mobilefirstllc--social-media-hac/environment/workspace.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a8c61467282d5d518bd059061c2b9b0ad16bc55cb405573286e2a1b437ab982
3
+ size 9650
mobilefirstllc--social-media-hac/instruction.md ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ You are a helpful assistant that can interact with a computer.
2
+
3
+ This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
4
+ Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
5
+ You must figure out the behavior solely by running and interacting with the provided binary.
6
+ Writing original code based on observed behavior is the entire point of this benchmark.
7
+
8
+ Any approach that shortcuts this — finding existing source code, wrapping the binary,
9
+ or installing the original tool — does not count as a solution. It will be detected by an
10
+ automated judge, marked as a disqualification, and scored as a failure.
11
+ The trace will be posted to an online wall of shame.
12
+
13
+ <RULES>
14
+ ## What is not allowed
15
+
16
+ ### 1. Obtaining source code
17
+
18
+ The only source of truth about what the executable does is the executable itself and its
19
+ bundled documentation. You must not search the internet, package registries, or any external
20
+ source for information about this project's source code. Even if you recognize what the
21
+ executable is, you must reimplement it from behavioral observation alone.
22
+
23
+ This includes but is not limited to:
24
+ - Cloning or browsing the original GitHub repository, its forks, or mirrors
25
+ - Downloading the project from package registries: `cargo install <project>`, `go get github.com/<org>/<project>`, `pip install <project>`, `apt-get source <project>`, `npm install <project>`, etc.
26
+ - Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
27
+ - Using a package manager to download the project as a dependency and then reading its cached source (e.g., navigating into `~/.cargo/registry/src/` or `$(go env GOPATH)/pkg/mod/`)
28
+ - Searching the web for the project's source code or implementation details
29
+
30
+ ### 2. Wrapping or reusing the original binary
31
+
32
+ Your submission must be a genuine reimplementation. The provided `./executable` is for
33
+ observation only — your final solution must not depend on it or any other pre-built version
34
+ of the same tool at runtime.
35
+
36
+ This includes but is not limited to:
37
+ - Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
38
+ - Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
39
+ - Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
40
+ - Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
41
+ - Re-linking prebuilt `.o` object files found in the workspace without writing new source code
42
+
43
+ ### 3. Binary analysis of the provided executable
44
+
45
+ All information about the provided `./executable` must be obtained by interacting with it
46
+ through its normal user interface (CLI flags, stdin/stdout, etc.).
47
+ - You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
48
+ - You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
49
+
50
+ Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
51
+ analysis tools on binaries that you produce yourself during development.
52
+
53
+ ## What IS allowed
54
+
55
+ - Running the executable with any inputs, flags, and arguments to observe its behavior
56
+ - Reading any documentation files bundled in the workspace
57
+ </RULES>
58
+
59
+ ## Task context
60
+
61
+ We want to write the source code for a given executable.
62
+ The executable is located at `./executable` in the workspace root.
63
+
64
+ You also have access to the existing documentation.
65
+
66
+ ## Your task
67
+
68
+ Implement the source code to generate an executable of exactly identical behavior as the original.
69
+
70
+ No project-specific dependencies are pre-installed.
71
+ You do NOT have access to the internet.
72
+ **IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
73
+ Finally, commit your changes.
74
+
75
+ Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
76
+ `compile.sh` should be executable and should install any dependencies needed to compile the executable.
77
+ If your compile.sh fails to compile on a fresh checkout, your task has failed.
78
+
79
+ ## Important: This is a reverse-engineering benchmark
80
+
81
+ Your goal is to write original code from scratch that reproduces the executable's behavior.
82
+ The only way to learn what the executable does is to run it and read its bundled documentation.
83
+
84
+ Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
85
+ provided binary will be detected by an automated judge, disqualified, and scored as zero.
86
+ See the full rules in the system prompt above. Key points:
87
+
88
+ - Do NOT search the internet, clone repos, or download the project from any package registry
89
+ - Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
90
+ - Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
91
+ - You SHOULD extensively test the executable to understand its behavior before writing code.
92
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
93
+
94
+ ## Recommended Workflow
95
+
96
+ 1. Explore all documentation files
97
+ 2. Play with the executable to understand its behavior (however, you MUST NOT decompile `./executable` or perform any other form of binary or strace/ltrace analysis on it)
98
+ 3. Write the source code to implement the behavior
mobilefirstllc--social-media-hac/solution/solve.sh ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # Oracle-only ceiling check. The reference is execute-only for normal agents;
3
+ # because the oracle runs as the owning `agent` user it can temporarily add read
4
+ # permission and encode the binary for Harbor's normal artifact handoff.
5
+ set -euo pipefail
6
+ test -f ./executable
7
+ chmod u+r ./executable
8
+ python3 - <<'PY'
9
+ import base64
10
+ from pathlib import Path
11
+
12
+ Path(".programgym_oracle_reference").write_bytes(
13
+ base64.b64encode(Path("executable").read_bytes())
14
+ )
15
+ PY
16
+ chmod u-r ./executable
17
+ cat > compile.sh <<'EOF'
18
+ #!/usr/bin/env bash
19
+ set -euo pipefail
20
+ if [ -f ./.programgym_oracle_reference ]; then
21
+ python3 - <<'PY'
22
+ import base64
23
+ from pathlib import Path
24
+
25
+ Path("executable").write_bytes(
26
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
27
+ )
28
+ PY
29
+ fi
30
+ test -f ./executable
31
+ chmod +x ./executable
32
+ EOF
33
+ chmod +x compile.sh
mobilefirstllc--social-media-hac/task.toml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.3"
2
+ source = "ProgramGym"
3
+ artifacts = [
4
+ "/logs/verifier/programgym_eval.json",
5
+ "/logs/verifier/harbor_diagnostics.json",
6
+ "/logs/verifier/programgym_eval.log",
7
+ "/logs/verifier/reward.json",
8
+ "/logs/verifier/reward.txt",
9
+ # Keep agent/runtime state out of the submission handoff. In particular,
10
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
11
+ # makes Python's safe tar extraction reject the entire workspace archive.
12
+ { source = "/workspace", exclude = [
13
+ "executable",
14
+ ".git",
15
+ ".bashrc",
16
+ ".cache",
17
+ ".cc-switch",
18
+ ".claude",
19
+ ".local",
20
+ ] },
21
+ ]
22
+
23
+ [task]
24
+ name = "programgym/mobilefirstllc--social-media-hac"
25
+ description = "Synthetic ProgramGym cleanroom reconstruction task for MobileFirstLLC/social-media-hacker-list"
26
+ authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
27
+ keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "rust"]
28
+
29
+ [metadata]
30
+ source = "ProgramGym"
31
+ instance_id = "MobileFirstLLC__social-media-hacker-list.1df0417"
32
+ repository = "MobileFirstLLC/social-media-hacker-list"
33
+ commit = "1df041709a374396deae2af6b0c1b4cbcac307e9"
34
+ language = "rust"
35
+ difficulty = "easy"
36
+ difficulty_score = 0.19589965240923357
37
+ test_branches = 1
38
+ test_count = 69
39
+
40
+ [agent]
41
+ timeout_sec = 14400
42
+ user = "agent"
43
+ network_mode = "allowlist"
44
+ allowed_hosts = ["api.anthropic.com", "api.openai.com"]
45
+
46
+ [verifier]
47
+ timeout_sec = 7200
48
+ user = "root"
49
+ environment_mode = "separate"
50
+
51
+ [verifier.env]
52
+ PROGRAMGYM_XDIST_WORKERS = "8"
53
+
54
+ [verifier.environment]
55
+ build_timeout_sec = 1800
56
+ cpus = 8
57
+ memory_mb = 16384
58
+ storage_mb = 30720
59
+ gpus = 0
60
+ workdir = "/workspace"
61
+
62
+ [environment]
63
+ network_mode = "public"
64
+ build_timeout_sec = 1800
65
+ cpus = 8
66
+ memory_mb = 16384
67
+ storage_mb = 30720
68
+ gpus = 0
69
+ workdir = "/workspace"
mobilefirstllc--social-media-hac/tests/Dockerfile ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM rust:1.97.1-bookworm
2
+ ENV DEBIAN_FRONTEND=noninteractive
3
+ ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
4
+ ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
5
+ ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
6
+ ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
7
+ ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
8
+ ENV GOPROXY="https://proxy.golang.org,direct"
9
+ ENV GOSUMDB=sum.golang.google.cn
10
+ ENV GOTOOLCHAIN=auto
11
+ ENV UV_INSECURE_HOST=""
12
+ ENV UV_INDEX_URL="https://pypi.org/simple"
13
+ ENV UV_CACHE_DIR=/workspace/.cache/uv
14
+ ENV npm_config_registry="https://registry.npmjs.org/"
15
+ ENV npm_config_strict_ssl=false
16
+ ENV npm_config_cache=/workspace/.cache/npm
17
+ ENV PIP_INDEX_URL="https://pypi.org/simple"
18
+ ENV PIP_TRUSTED_HOST=""
19
+ ENV HOME=/workspace
20
+ ENV XDG_CACHE_HOME=/workspace/.cache
21
+ ENV PIP_CACHE_DIR=/workspace/.cache/pip
22
+ ENV PYTHONUSERBASE=/workspace/.local
23
+ ENV CARGO_HOME=/usr/local/cargo
24
+ ENV RUSTUP_HOME=/usr/local/rustup
25
+ ENV RUSTUP_TOOLCHAIN=1.97.1
26
+ ENV PROGRAMGYM_RUST_TOOLCHAIN=1.97.1
27
+ ENV PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
28
+ ENV PAGER=cat
29
+ ENV MANPAGER=cat
30
+ ENV LESS=-R
31
+ ENV TQDM_DISABLE=1
32
+ RUN apt-get update && apt-get install -y --no-install-recommends apt=2.6.1 bash=5.2.15-2+b13 build-essential=12.9 ca-certificates=20250419~deb12u1 cmake=3.25.1-1 git=1:2.39.5-0+deb12u3 make=4.3-4.1 pkg-config=1.8.1-1 python3=3.11.2-1+b1 python3-pip=23.0.1+dfsg-1 python3-dev=3.11.2-1+b1 autoconf=2.71-3 automake=1:1.16.5-1.3 gettext=0.21-12 file=1:5.44-3 binutils=2.40-2 libtool=2.4.7-7~deb12u1 libncurses-dev=6.4-4 meson=1.0.1-5 ninja-build=1.11.1-2~deb12u1 curl=7.88.1-10+deb12u15 wget=1.21.3-1+deb12u1 xz-utils=5.4.1-1+deb12u1 zstd=1.5.4+dfsg2-5 bzip2=1.0.8-5+b1 zip=3.0-13 unzip=6.0-28+deb12u1 patch=2.7.6-7 grep=3.8-5 python3-pytest python3-pytest-xdist python3-coverage && rm -rf /var/lib/apt/lists/*
33
+ RUN rustup component add llvm-tools-preview --toolchain 1.97.1
34
+ RUN RUST_SYSROOT="$(rustc --print sysroot)"; RUST_HOST="$(rustc -vV | sed -n 's/^host: //p')"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-profdata"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-cov"
35
+ RUN rustc --version && cargo --version && rustup show active-toolchain
36
+ WORKDIR /workspace
37
+ ADD workspace.tar.gz /workspace/
38
+ COPY executable /workspace/executable
39
+ COPY download.sh /tmp/programgym-download.sh
40
+ RUN chmod 755 /tmp/programgym-download.sh
41
+ COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
42
+ RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
43
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
44
+ && rm -f /tmp/programgym-download.sh \
45
+ && rm -f /tmp/harbor_prepare_download_env.sh
46
+ ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
47
+ RUN chmod 111 /workspace/executable
48
+ WORKDIR /workspace
49
+ # Harbor uses tests/ as the separate verifier build context. Start with the
50
+ # same toolchain as the agent, then remove every cleanroom workspace artifact.
51
+ RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
52
+ && mkdir -p /workspace /tests
53
+
54
+ # Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
55
+ # Installing a newer pytest alone leaves that apt package importable and creates
56
+ # an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
57
+ # Install and constrain the verifier test runner as one coherent pip toolchain.
58
+ RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
59
+ ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
60
+ RUN python3 -m pip install --break-system-packages \
61
+ --no-cache-dir --disable-pip-version-check \
62
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
63
+
64
+ COPY test.sh /tests/test.sh
65
+ COPY programgym_evaluator.py /tests/programgym_evaluator.py
66
+ COPY programgym_task.json /tests/programgym_task.json
67
+ COPY blobs/ /tests/blobs/
68
+ RUN chmod +x /tests/test.sh
mobilefirstllc--social-media-hac/tests/blobs/tests/generated_module_01.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d8777ce3e21b1080f4e4b03ec9221d0b3411645df4292f57dc761cdf1b5ad08
3
+ size 14364
mobilefirstllc--social-media-hac/tests/download.sh ADDED
@@ -0,0 +1,2176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # download.sh — ProgramGym network stage (sourced, standalone).
3
+ # Generates a temporary Cargo manifest + lockfile, prefetches the exact Cargo
4
+ # dependency closure into the shared cargo registry cache, and exports the env
5
+ # variables the offline build stage relies on.
6
+ #
7
+ # This file is standalone: it does NOT read any repository file. All dependency
8
+ # and lockfile content is embedded inline below.
9
+
10
+ # --- Build environment exported to the offline stage -------------------------
11
+ export CARGO_HOME="${CARGO_HOME:-$HOME/.cargo}"
12
+ export CARGO_TARGET_DIR="${CARGO_TARGET_DIR:-/workspace/source/checker/target}"
13
+
14
+ # Isolated scratch directory for the generated manifest (never the repo root).
15
+ PB_FETCH_DIR="${TMPDIR:-/tmp}/programgym_cargo_fetch"
16
+ mkdir -p "$PB_FETCH_DIR/src"
17
+
18
+ # --- Generate a temporary Cargo.toml matching the repository's checker crate --
19
+ # edition 2024 to match the repo; versions pinned exactly to the repo Cargo.lock
20
+ # so the offline build resolves from this prefetched cache and nothing else.
21
+ cat > "$PB_FETCH_DIR/Cargo.toml" <<'MANIFEST'
22
+ [package]
23
+ name = "checker"
24
+ version = "1.0.0"
25
+ edition = "2024"
26
+
27
+ [lib]
28
+ path = "src/lib.rs"
29
+
30
+ [dependencies]
31
+ regex = { version = "1.12.3" }
32
+ url = { version = "2.5.8" }
33
+ chrono = { version = "0.4.44", features = ["serde"] }
34
+ reqwest = { version = "0.13.2", features = ["json"] }
35
+ serde = { version = "1.0.228", features = ["derive"] }
36
+ tokio = { version = "1.50.0", features = ["full"] }
37
+ MANIFEST
38
+
39
+ # Stub lib target so the generated manifest is valid for `cargo fetch`.
40
+ printf '\n' > "$PB_FETCH_DIR/src/lib.rs"
41
+
42
+ # --- Generate the Cargo.lock matching the repository (embedded inline) --------
43
+ cat > "$PB_FETCH_DIR/Cargo.lock" <<'LOCKEOF'
44
+ # This file is automatically @generated by Cargo.
45
+ # It is not intended for manual editing.
46
+ version = 4
47
+
48
+ [[package]]
49
+ name = "aho-corasick"
50
+ version = "1.1.3"
51
+ source = "registry+https://github.com/rust-lang/crates.io-index"
52
+ checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
53
+ dependencies = [
54
+ "memchr",
55
+ ]
56
+
57
+ [[package]]
58
+ name = "android_system_properties"
59
+ version = "0.1.5"
60
+ source = "registry+https://github.com/rust-lang/crates.io-index"
61
+ checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
62
+ dependencies = [
63
+ "libc",
64
+ ]
65
+
66
+ [[package]]
67
+ name = "autocfg"
68
+ version = "1.0.1"
69
+ source = "registry+https://github.com/rust-lang/crates.io-index"
70
+ checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
71
+
72
+ [[package]]
73
+ name = "aws-lc-rs"
74
+ version = "1.15.2"
75
+ source = "registry+https://github.com/rust-lang/crates.io-index"
76
+ checksum = "6a88aab2464f1f25453baa7a07c84c5b7684e274054ba06817f382357f77a288"
77
+ dependencies = [
78
+ "aws-lc-sys",
79
+ "zeroize",
80
+ ]
81
+
82
+ [[package]]
83
+ name = "aws-lc-sys"
84
+ version = "0.35.0"
85
+ source = "registry+https://github.com/rust-lang/crates.io-index"
86
+ checksum = "b45afffdee1e7c9126814751f88dddc747f41d91da16c9551a0f1e8a11e788a1"
87
+ dependencies = [
88
+ "cc",
89
+ "cmake",
90
+ "dunce",
91
+ "fs_extra",
92
+ ]
93
+
94
+ [[package]]
95
+ name = "base64"
96
+ version = "0.22.1"
97
+ source = "registry+https://github.com/rust-lang/crates.io-index"
98
+ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
99
+
100
+ [[package]]
101
+ name = "bitflags"
102
+ version = "2.10.0"
103
+ source = "registry+https://github.com/rust-lang/crates.io-index"
104
+ checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
105
+
106
+ [[package]]
107
+ name = "bumpalo"
108
+ version = "3.7.0"
109
+ source = "registry+https://github.com/rust-lang/crates.io-index"
110
+ checksum = "9c59e7af012c713f529e7a3ee57ce9b31ddd858d4b512923602f74608b009631"
111
+
112
+ [[package]]
113
+ name = "bytes"
114
+ version = "1.9.0"
115
+ source = "registry+https://github.com/rust-lang/crates.io-index"
116
+ checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b"
117
+
118
+ [[package]]
119
+ name = "cc"
120
+ version = "1.2.51"
121
+ source = "registry+https://github.com/rust-lang/crates.io-index"
122
+ checksum = "7a0aeaff4ff1a90589618835a598e545176939b97874f7abc7851caa0618f203"
123
+ dependencies = [
124
+ "find-msvc-tools",
125
+ "jobserver",
126
+ "libc",
127
+ "shlex",
128
+ ]
129
+
130
+ [[package]]
131
+ name = "cesu8"
132
+ version = "1.1.0"
133
+ source = "registry+https://github.com/rust-lang/crates.io-index"
134
+ checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c"
135
+
136
+ [[package]]
137
+ name = "cfg-if"
138
+ version = "1.0.0"
139
+ source = "registry+https://github.com/rust-lang/crates.io-index"
140
+ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
141
+
142
+ [[package]]
143
+ name = "cfg_aliases"
144
+ version = "0.2.1"
145
+ source = "registry+https://github.com/rust-lang/crates.io-index"
146
+ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
147
+
148
+ [[package]]
149
+ name = "checker"
150
+ version = "1.0.0"
151
+ dependencies = [
152
+ "chrono",
153
+ "regex",
154
+ "reqwest",
155
+ "serde",
156
+ "tokio",
157
+ "url",
158
+ ]
159
+
160
+ [[package]]
161
+ name = "chrono"
162
+ version = "0.4.44"
163
+ source = "registry+https://github.com/rust-lang/crates.io-index"
164
+ checksum = "c673075a2e0e5f4a1dde27ce9dee1ea4558c7ffe648f576438a20ca1d2acc4b0"
165
+ dependencies = [
166
+ "iana-time-zone",
167
+ "js-sys",
168
+ "num-traits",
169
+ "serde",
170
+ "wasm-bindgen",
171
+ "windows-link 0.2.1",
172
+ ]
173
+
174
+ [[package]]
175
+ name = "cmake"
176
+ version = "0.1.57"
177
+ source = "registry+https://github.com/rust-lang/crates.io-index"
178
+ checksum = "75443c44cd6b379beb8c5b45d85d0773baf31cce901fe7bb252f4eff3008ef7d"
179
+ dependencies = [
180
+ "cc",
181
+ ]
182
+
183
+ [[package]]
184
+ name = "combine"
185
+ version = "4.6.7"
186
+ source = "registry+https://github.com/rust-lang/crates.io-index"
187
+ checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd"
188
+ dependencies = [
189
+ "bytes",
190
+ "memchr",
191
+ ]
192
+
193
+ [[package]]
194
+ name = "core-foundation"
195
+ version = "0.9.1"
196
+ source = "registry+https://github.com/rust-lang/crates.io-index"
197
+ checksum = "0a89e2ae426ea83155dccf10c0fa6b1463ef6d5fcb44cee0b224a408fa640a62"
198
+ dependencies = [
199
+ "core-foundation-sys",
200
+ "libc",
201
+ ]
202
+
203
+ [[package]]
204
+ name = "core-foundation"
205
+ version = "0.10.1"
206
+ source = "registry+https://github.com/rust-lang/crates.io-index"
207
+ checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6"
208
+ dependencies = [
209
+ "core-foundation-sys",
210
+ "libc",
211
+ ]
212
+
213
+ [[package]]
214
+ name = "core-foundation-sys"
215
+ version = "0.8.7"
216
+ source = "registry+https://github.com/rust-lang/crates.io-index"
217
+ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
218
+
219
+ [[package]]
220
+ name = "displaydoc"
221
+ version = "0.2.5"
222
+ source = "registry+https://github.com/rust-lang/crates.io-index"
223
+ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
224
+ dependencies = [
225
+ "proc-macro2",
226
+ "quote",
227
+ "syn",
228
+ ]
229
+
230
+ [[package]]
231
+ name = "dunce"
232
+ version = "1.0.5"
233
+ source = "registry+https://github.com/rust-lang/crates.io-index"
234
+ checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
235
+
236
+ [[package]]
237
+ name = "encoding_rs"
238
+ version = "0.8.28"
239
+ source = "registry+https://github.com/rust-lang/crates.io-index"
240
+ checksum = "80df024fbc5ac80f87dfef0d9f5209a252f2a497f7f42944cff24d8253cac065"
241
+ dependencies = [
242
+ "cfg-if",
243
+ ]
244
+
245
+ [[package]]
246
+ name = "equivalent"
247
+ version = "1.0.1"
248
+ source = "registry+https://github.com/rust-lang/crates.io-index"
249
+ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
250
+
251
+ [[package]]
252
+ name = "find-msvc-tools"
253
+ version = "0.1.6"
254
+ source = "registry+https://github.com/rust-lang/crates.io-index"
255
+ checksum = "645cbb3a84e60b7531617d5ae4e57f7e27308f6445f5abf653209ea76dec8dff"
256
+
257
+ [[package]]
258
+ name = "fnv"
259
+ version = "1.0.7"
260
+ source = "registry+https://github.com/rust-lang/crates.io-index"
261
+ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
262
+
263
+ [[package]]
264
+ name = "form_urlencoded"
265
+ version = "1.2.2"
266
+ source = "registry+https://github.com/rust-lang/crates.io-index"
267
+ checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
268
+ dependencies = [
269
+ "percent-encoding",
270
+ ]
271
+
272
+ [[package]]
273
+ name = "fs_extra"
274
+ version = "1.3.0"
275
+ source = "registry+https://github.com/rust-lang/crates.io-index"
276
+ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
277
+
278
+ [[package]]
279
+ name = "futures-channel"
280
+ version = "0.3.16"
281
+ source = "registry+https://github.com/rust-lang/crates.io-index"
282
+ checksum = "74ed2411805f6e4e3d9bc904c95d5d423b89b3b25dc0250aa74729de20629ff9"
283
+ dependencies = [
284
+ "futures-core",
285
+ ]
286
+
287
+ [[package]]
288
+ name = "futures-core"
289
+ version = "0.3.30"
290
+ source = "registry+https://github.com/rust-lang/crates.io-index"
291
+ checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d"
292
+
293
+ [[package]]
294
+ name = "futures-sink"
295
+ version = "0.3.16"
296
+ source = "registry+https://github.com/rust-lang/crates.io-index"
297
+ checksum = "c0f30aaa67363d119812743aa5f33c201a7a66329f97d1a887022971feea4b53"
298
+
299
+ [[package]]
300
+ name = "futures-task"
301
+ version = "0.3.30"
302
+ source = "registry+https://github.com/rust-lang/crates.io-index"
303
+ checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004"
304
+
305
+ [[package]]
306
+ name = "futures-util"
307
+ version = "0.3.30"
308
+ source = "registry+https://github.com/rust-lang/crates.io-index"
309
+ checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48"
310
+ dependencies = [
311
+ "futures-core",
312
+ "futures-task",
313
+ "pin-project-lite",
314
+ "pin-utils",
315
+ ]
316
+
317
+ [[package]]
318
+ name = "getrandom"
319
+ version = "0.2.15"
320
+ source = "registry+https://github.com/rust-lang/crates.io-index"
321
+ checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
322
+ dependencies = [
323
+ "cfg-if",
324
+ "js-sys",
325
+ "libc",
326
+ "wasi",
327
+ "wasm-bindgen",
328
+ ]
329
+
330
+ [[package]]
331
+ name = "getrandom"
332
+ version = "0.3.4"
333
+ source = "registry+https://github.com/rust-lang/crates.io-index"
334
+ checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
335
+ dependencies = [
336
+ "cfg-if",
337
+ "js-sys",
338
+ "libc",
339
+ "r-efi",
340
+ "wasip2",
341
+ "wasm-bindgen",
342
+ ]
343
+
344
+ [[package]]
345
+ name = "h2"
346
+ version = "0.4.4"
347
+ source = "registry+https://github.com/rust-lang/crates.io-index"
348
+ checksum = "816ec7294445779408f36fe57bc5b7fc1cf59664059096c65f905c1c61f58069"
349
+ dependencies = [
350
+ "bytes",
351
+ "fnv",
352
+ "futures-core",
353
+ "futures-sink",
354
+ "futures-util",
355
+ "http",
356
+ "indexmap",
357
+ "slab",
358
+ "tokio",
359
+ "tokio-util",
360
+ "tracing",
361
+ ]
362
+
363
+ [[package]]
364
+ name = "hashbrown"
365
+ version = "0.14.5"
366
+ source = "registry+https://github.com/rust-lang/crates.io-index"
367
+ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
368
+
369
+ [[package]]
370
+ name = "hermit-abi"
371
+ version = "0.3.9"
372
+ source = "registry+https://github.com/rust-lang/crates.io-index"
373
+ checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
374
+
375
+ [[package]]
376
+ name = "http"
377
+ version = "1.1.0"
378
+ source = "registry+https://github.com/rust-lang/crates.io-index"
379
+ checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258"
380
+ dependencies = [
381
+ "bytes",
382
+ "fnv",
383
+ "itoa 1.0.11",
384
+ ]
385
+
386
+ [[package]]
387
+ name = "http-body"
388
+ version = "1.0.0"
389
+ source = "registry+https://github.com/rust-lang/crates.io-index"
390
+ checksum = "1cac85db508abc24a2e48553ba12a996e87244a0395ce011e62b37158745d643"
391
+ dependencies = [
392
+ "bytes",
393
+ "http",
394
+ ]
395
+
396
+ [[package]]
397
+ name = "http-body-util"
398
+ version = "0.1.3"
399
+ source = "registry+https://github.com/rust-lang/crates.io-index"
400
+ checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a"
401
+ dependencies = [
402
+ "bytes",
403
+ "futures-core",
404
+ "http",
405
+ "http-body",
406
+ "pin-project-lite",
407
+ ]
408
+
409
+ [[package]]
410
+ name = "httparse"
411
+ version = "1.10.1"
412
+ source = "registry+https://github.com/rust-lang/crates.io-index"
413
+ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
414
+
415
+ [[package]]
416
+ name = "hyper"
417
+ version = "1.6.0"
418
+ source = "registry+https://github.com/rust-lang/crates.io-index"
419
+ checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80"
420
+ dependencies = [
421
+ "bytes",
422
+ "futures-channel",
423
+ "futures-util",
424
+ "h2",
425
+ "http",
426
+ "http-body",
427
+ "httparse",
428
+ "itoa 1.0.11",
429
+ "pin-project-lite",
430
+ "smallvec",
431
+ "tokio",
432
+ "want",
433
+ ]
434
+
435
+ [[package]]
436
+ name = "hyper-rustls"
437
+ version = "0.27.2"
438
+ source = "registry+https://github.com/rust-lang/crates.io-index"
439
+ checksum = "5ee4be2c948921a1a5320b629c4193916ed787a7f7f293fd3f7f5a6c9de74155"
440
+ dependencies = [
441
+ "futures-util",
442
+ "http",
443
+ "hyper",
444
+ "hyper-util",
445
+ "rustls",
446
+ "rustls-pki-types",
447
+ "tokio",
448
+ "tokio-rustls",
449
+ "tower-service",
450
+ ]
451
+
452
+ [[package]]
453
+ name = "hyper-util"
454
+ version = "0.1.13"
455
+ source = "registry+https://github.com/rust-lang/crates.io-index"
456
+ checksum = "b1c293b6b3d21eca78250dc7dbebd6b9210ec5530e038cbfe0661b5c47ab06e8"
457
+ dependencies = [
458
+ "base64",
459
+ "bytes",
460
+ "futures-channel",
461
+ "futures-core",
462
+ "futures-util",
463
+ "http",
464
+ "http-body",
465
+ "hyper",
466
+ "ipnet",
467
+ "libc",
468
+ "percent-encoding",
469
+ "pin-project-lite",
470
+ "socket2 0.5.10",
471
+ "system-configuration",
472
+ "tokio",
473
+ "tower-service",
474
+ "tracing",
475
+ "windows-registry",
476
+ ]
477
+
478
+ [[package]]
479
+ name = "iana-time-zone"
480
+ version = "0.1.64"
481
+ source = "registry+https://github.com/rust-lang/crates.io-index"
482
+ checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb"
483
+ dependencies = [
484
+ "android_system_properties",
485
+ "core-foundation-sys",
486
+ "iana-time-zone-haiku",
487
+ "js-sys",
488
+ "log",
489
+ "wasm-bindgen",
490
+ "windows-core",
491
+ ]
492
+
493
+ [[package]]
494
+ name = "iana-time-zone-haiku"
495
+ version = "0.1.2"
496
+ source = "registry+https://github.com/rust-lang/crates.io-index"
497
+ checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
498
+ dependencies = [
499
+ "cc",
500
+ ]
501
+
502
+ [[package]]
503
+ name = "icu_collections"
504
+ version = "1.5.0"
505
+ source = "registry+https://github.com/rust-lang/crates.io-index"
506
+ checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526"
507
+ dependencies = [
508
+ "displaydoc",
509
+ "yoke",
510
+ "zerofrom",
511
+ "zerovec",
512
+ ]
513
+
514
+ [[package]]
515
+ name = "icu_locid"
516
+ version = "1.5.0"
517
+ source = "registry+https://github.com/rust-lang/crates.io-index"
518
+ checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637"
519
+ dependencies = [
520
+ "displaydoc",
521
+ "litemap",
522
+ "tinystr",
523
+ "writeable",
524
+ "zerovec",
525
+ ]
526
+
527
+ [[package]]
528
+ name = "icu_locid_transform"
529
+ version = "1.5.0"
530
+ source = "registry+https://github.com/rust-lang/crates.io-index"
531
+ checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e"
532
+ dependencies = [
533
+ "displaydoc",
534
+ "icu_locid",
535
+ "icu_locid_transform_data",
536
+ "icu_provider",
537
+ "tinystr",
538
+ "zerovec",
539
+ ]
540
+
541
+ [[package]]
542
+ name = "icu_locid_transform_data"
543
+ version = "1.5.0"
544
+ source = "registry+https://github.com/rust-lang/crates.io-index"
545
+ checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e"
546
+
547
+ [[package]]
548
+ name = "icu_normalizer"
549
+ version = "1.5.0"
550
+ source = "registry+https://github.com/rust-lang/crates.io-index"
551
+ checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f"
552
+ dependencies = [
553
+ "displaydoc",
554
+ "icu_collections",
555
+ "icu_normalizer_data",
556
+ "icu_properties",
557
+ "icu_provider",
558
+ "smallvec",
559
+ "utf16_iter",
560
+ "utf8_iter",
561
+ "write16",
562
+ "zerovec",
563
+ ]
564
+
565
+ [[package]]
566
+ name = "icu_normalizer_data"
567
+ version = "1.5.0"
568
+ source = "registry+https://github.com/rust-lang/crates.io-index"
569
+ checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516"
570
+
571
+ [[package]]
572
+ name = "icu_properties"
573
+ version = "1.5.1"
574
+ source = "registry+https://github.com/rust-lang/crates.io-index"
575
+ checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5"
576
+ dependencies = [
577
+ "displaydoc",
578
+ "icu_collections",
579
+ "icu_locid_transform",
580
+ "icu_properties_data",
581
+ "icu_provider",
582
+ "tinystr",
583
+ "zerovec",
584
+ ]
585
+
586
+ [[package]]
587
+ name = "icu_properties_data"
588
+ version = "1.5.0"
589
+ source = "registry+https://github.com/rust-lang/crates.io-index"
590
+ checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569"
591
+
592
+ [[package]]
593
+ name = "icu_provider"
594
+ version = "1.5.0"
595
+ source = "registry+https://github.com/rust-lang/crates.io-index"
596
+ checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9"
597
+ dependencies = [
598
+ "displaydoc",
599
+ "icu_locid",
600
+ "icu_provider_macros",
601
+ "stable_deref_trait",
602
+ "tinystr",
603
+ "writeable",
604
+ "yoke",
605
+ "zerofrom",
606
+ "zerovec",
607
+ ]
608
+
609
+ [[package]]
610
+ name = "icu_provider_macros"
611
+ version = "1.5.0"
612
+ source = "registry+https://github.com/rust-lang/crates.io-index"
613
+ checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
614
+ dependencies = [
615
+ "proc-macro2",
616
+ "quote",
617
+ "syn",
618
+ ]
619
+
620
+ [[package]]
621
+ name = "idna"
622
+ version = "1.1.0"
623
+ source = "registry+https://github.com/rust-lang/crates.io-index"
624
+ checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de"
625
+ dependencies = [
626
+ "idna_adapter",
627
+ "smallvec",
628
+ "utf8_iter",
629
+ ]
630
+
631
+ [[package]]
632
+ name = "idna_adapter"
633
+ version = "1.2.0"
634
+ source = "registry+https://github.com/rust-lang/crates.io-index"
635
+ checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71"
636
+ dependencies = [
637
+ "icu_normalizer",
638
+ "icu_properties",
639
+ ]
640
+
641
+ [[package]]
642
+ name = "indexmap"
643
+ version = "2.2.6"
644
+ source = "registry+https://github.com/rust-lang/crates.io-index"
645
+ checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26"
646
+ dependencies = [
647
+ "equivalent",
648
+ "hashbrown",
649
+ ]
650
+
651
+ [[package]]
652
+ name = "ipnet"
653
+ version = "2.11.0"
654
+ source = "registry+https://github.com/rust-lang/crates.io-index"
655
+ checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130"
656
+
657
+ [[package]]
658
+ name = "iri-string"
659
+ version = "0.7.8"
660
+ source = "registry+https://github.com/rust-lang/crates.io-index"
661
+ checksum = "dbc5ebe9c3a1a7a5127f920a418f7585e9e758e911d0466ed004f393b0e380b2"
662
+ dependencies = [
663
+ "memchr",
664
+ "serde",
665
+ ]
666
+
667
+ [[package]]
668
+ name = "itoa"
669
+ version = "0.4.7"
670
+ source = "registry+https://github.com/rust-lang/crates.io-index"
671
+ checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736"
672
+
673
+ [[package]]
674
+ name = "itoa"
675
+ version = "1.0.11"
676
+ source = "registry+https://github.com/rust-lang/crates.io-index"
677
+ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
678
+
679
+ [[package]]
680
+ name = "jni"
681
+ version = "0.21.1"
682
+ source = "registry+https://github.com/rust-lang/crates.io-index"
683
+ checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97"
684
+ dependencies = [
685
+ "cesu8",
686
+ "cfg-if",
687
+ "combine",
688
+ "jni-sys",
689
+ "log",
690
+ "thiserror 1.0.69",
691
+ "walkdir",
692
+ "windows-sys 0.45.0",
693
+ ]
694
+
695
+ [[package]]
696
+ name = "jni-sys"
697
+ version = "0.3.0"
698
+ source = "registry+https://github.com/rust-lang/crates.io-index"
699
+ checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130"
700
+
701
+ [[package]]
702
+ name = "jobserver"
703
+ version = "0.1.34"
704
+ source = "registry+https://github.com/rust-lang/crates.io-index"
705
+ checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33"
706
+ dependencies = [
707
+ "getrandom 0.3.4",
708
+ "libc",
709
+ ]
710
+
711
+ [[package]]
712
+ name = "js-sys"
713
+ version = "0.3.77"
714
+ source = "registry+https://github.com/rust-lang/crates.io-index"
715
+ checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
716
+ dependencies = [
717
+ "once_cell",
718
+ "wasm-bindgen",
719
+ ]
720
+
721
+ [[package]]
722
+ name = "lazy_static"
723
+ version = "1.4.0"
724
+ source = "registry+https://github.com/rust-lang/crates.io-index"
725
+ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
726
+
727
+ [[package]]
728
+ name = "libc"
729
+ version = "0.2.172"
730
+ source = "registry+https://github.com/rust-lang/crates.io-index"
731
+ checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
732
+
733
+ [[package]]
734
+ name = "litemap"
735
+ version = "0.7.3"
736
+ source = "registry+https://github.com/rust-lang/crates.io-index"
737
+ checksum = "643cb0b8d4fcc284004d5fd0d67ccf61dfffadb7f75e1e71bc420f4688a3a704"
738
+
739
+ [[package]]
740
+ name = "lock_api"
741
+ version = "0.4.6"
742
+ source = "registry+https://github.com/rust-lang/crates.io-index"
743
+ checksum = "88943dd7ef4a2e5a4bfa2753aaab3013e34ce2533d1996fb18ef591e315e2b3b"
744
+ dependencies = [
745
+ "scopeguard",
746
+ ]
747
+
748
+ [[package]]
749
+ name = "log"
750
+ version = "0.4.21"
751
+ source = "registry+https://github.com/rust-lang/crates.io-index"
752
+ checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c"
753
+
754
+ [[package]]
755
+ name = "lru-slab"
756
+ version = "0.1.2"
757
+ source = "registry+https://github.com/rust-lang/crates.io-index"
758
+ checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154"
759
+
760
+ [[package]]
761
+ name = "memchr"
762
+ version = "2.7.2"
763
+ source = "registry+https://github.com/rust-lang/crates.io-index"
764
+ checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d"
765
+
766
+ [[package]]
767
+ name = "mime"
768
+ version = "0.3.16"
769
+ source = "registry+https://github.com/rust-lang/crates.io-index"
770
+ checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d"
771
+
772
+ [[package]]
773
+ name = "mio"
774
+ version = "1.0.1"
775
+ source = "registry+https://github.com/rust-lang/crates.io-index"
776
+ checksum = "4569e456d394deccd22ce1c1913e6ea0e54519f577285001215d33557431afe4"
777
+ dependencies = [
778
+ "hermit-abi",
779
+ "libc",
780
+ "wasi",
781
+ "windows-sys 0.52.0",
782
+ ]
783
+
784
+ [[package]]
785
+ name = "num-traits"
786
+ version = "0.2.14"
787
+ source = "registry+https://github.com/rust-lang/crates.io-index"
788
+ checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290"
789
+ dependencies = [
790
+ "autocfg",
791
+ ]
792
+
793
+ [[package]]
794
+ name = "once_cell"
795
+ version = "1.19.0"
796
+ source = "registry+https://github.com/rust-lang/crates.io-index"
797
+ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
798
+
799
+ [[package]]
800
+ name = "openssl-probe"
801
+ version = "0.2.0"
802
+ source = "registry+https://github.com/rust-lang/crates.io-index"
803
+ checksum = "9f50d9b3dabb09ecd771ad0aa242ca6894994c130308ca3d7684634df8037391"
804
+
805
+ [[package]]
806
+ name = "parking_lot"
807
+ version = "0.12.2"
808
+ source = "registry+https://github.com/rust-lang/crates.io-index"
809
+ checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb"
810
+ dependencies = [
811
+ "lock_api",
812
+ "parking_lot_core",
813
+ ]
814
+
815
+ [[package]]
816
+ name = "parking_lot_core"
817
+ version = "0.9.10"
818
+ source = "registry+https://github.com/rust-lang/crates.io-index"
819
+ checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
820
+ dependencies = [
821
+ "cfg-if",
822
+ "libc",
823
+ "redox_syscall",
824
+ "smallvec",
825
+ "windows-targets 0.52.6",
826
+ ]
827
+
828
+ [[package]]
829
+ name = "percent-encoding"
830
+ version = "2.3.2"
831
+ source = "registry+https://github.com/rust-lang/crates.io-index"
832
+ checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
833
+
834
+ [[package]]
835
+ name = "pin-project-lite"
836
+ version = "0.2.14"
837
+ source = "registry+https://github.com/rust-lang/crates.io-index"
838
+ checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02"
839
+
840
+ [[package]]
841
+ name = "pin-utils"
842
+ version = "0.1.0"
843
+ source = "registry+https://github.com/rust-lang/crates.io-index"
844
+ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
845
+
846
+ [[package]]
847
+ name = "ppv-lite86"
848
+ version = "0.2.21"
849
+ source = "registry+https://github.com/rust-lang/crates.io-index"
850
+ checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
851
+ dependencies = [
852
+ "zerocopy",
853
+ ]
854
+
855
+ [[package]]
856
+ name = "proc-macro2"
857
+ version = "1.0.88"
858
+ source = "registry+https://github.com/rust-lang/crates.io-index"
859
+ checksum = "7c3a7fc5db1e57d5a779a352c8cdb57b29aa4c40cc69c3a68a7fedc815fbf2f9"
860
+ dependencies = [
861
+ "unicode-ident",
862
+ ]
863
+
864
+ [[package]]
865
+ name = "quinn"
866
+ version = "0.11.9"
867
+ source = "registry+https://github.com/rust-lang/crates.io-index"
868
+ checksum = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20"
869
+ dependencies = [
870
+ "bytes",
871
+ "cfg_aliases",
872
+ "pin-project-lite",
873
+ "quinn-proto",
874
+ "quinn-udp",
875
+ "rustc-hash",
876
+ "rustls",
877
+ "socket2 0.6.0",
878
+ "thiserror 2.0.17",
879
+ "tokio",
880
+ "tracing",
881
+ "web-time",
882
+ ]
883
+
884
+ [[package]]
885
+ name = "quinn-proto"
886
+ version = "0.11.13"
887
+ source = "registry+https://github.com/rust-lang/crates.io-index"
888
+ checksum = "f1906b49b0c3bc04b5fe5d86a77925ae6524a19b816ae38ce1e426255f1d8a31"
889
+ dependencies = [
890
+ "aws-lc-rs",
891
+ "bytes",
892
+ "getrandom 0.3.4",
893
+ "lru-slab",
894
+ "rand",
895
+ "ring",
896
+ "rustc-hash",
897
+ "rustls",
898
+ "rustls-pki-types",
899
+ "slab",
900
+ "thiserror 2.0.17",
901
+ "tinyvec",
902
+ "tracing",
903
+ "web-time",
904
+ ]
905
+
906
+ [[package]]
907
+ name = "quinn-udp"
908
+ version = "0.5.14"
909
+ source = "registry+https://github.com/rust-lang/crates.io-index"
910
+ checksum = "addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd"
911
+ dependencies = [
912
+ "cfg_aliases",
913
+ "libc",
914
+ "once_cell",
915
+ "socket2 0.6.0",
916
+ "tracing",
917
+ "windows-sys 0.59.0",
918
+ ]
919
+
920
+ [[package]]
921
+ name = "quote"
922
+ version = "1.0.42"
923
+ source = "registry+https://github.com/rust-lang/crates.io-index"
924
+ checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f"
925
+ dependencies = [
926
+ "proc-macro2",
927
+ ]
928
+
929
+ [[package]]
930
+ name = "r-efi"
931
+ version = "5.3.0"
932
+ source = "registry+https://github.com/rust-lang/crates.io-index"
933
+ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
934
+
935
+ [[package]]
936
+ name = "rand"
937
+ version = "0.9.2"
938
+ source = "registry+https://github.com/rust-lang/crates.io-index"
939
+ checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
940
+ dependencies = [
941
+ "rand_chacha",
942
+ "rand_core",
943
+ ]
944
+
945
+ [[package]]
946
+ name = "rand_chacha"
947
+ version = "0.9.0"
948
+ source = "registry+https://github.com/rust-lang/crates.io-index"
949
+ checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
950
+ dependencies = [
951
+ "ppv-lite86",
952
+ "rand_core",
953
+ ]
954
+
955
+ [[package]]
956
+ name = "rand_core"
957
+ version = "0.9.3"
958
+ source = "registry+https://github.com/rust-lang/crates.io-index"
959
+ checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
960
+ dependencies = [
961
+ "getrandom 0.3.4",
962
+ ]
963
+
964
+ [[package]]
965
+ name = "redox_syscall"
966
+ version = "0.5.1"
967
+ source = "registry+https://github.com/rust-lang/crates.io-index"
968
+ checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e"
969
+ dependencies = [
970
+ "bitflags",
971
+ ]
972
+
973
+ [[package]]
974
+ name = "regex"
975
+ version = "1.12.3"
976
+ source = "registry+https://github.com/rust-lang/crates.io-index"
977
+ checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276"
978
+ dependencies = [
979
+ "aho-corasick",
980
+ "memchr",
981
+ "regex-automata",
982
+ "regex-syntax",
983
+ ]
984
+
985
+ [[package]]
986
+ name = "regex-automata"
987
+ version = "0.4.13"
988
+ source = "registry+https://github.com/rust-lang/crates.io-index"
989
+ checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c"
990
+ dependencies = [
991
+ "aho-corasick",
992
+ "memchr",
993
+ "regex-syntax",
994
+ ]
995
+
996
+ [[package]]
997
+ name = "regex-syntax"
998
+ version = "0.8.5"
999
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1000
+ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
1001
+
1002
+ [[package]]
1003
+ name = "reqwest"
1004
+ version = "0.13.2"
1005
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1006
+ checksum = "ab3f43e3283ab1488b624b44b0e988d0acea0b3214e694730a055cb6b2efa801"
1007
+ dependencies = [
1008
+ "base64",
1009
+ "bytes",
1010
+ "encoding_rs",
1011
+ "futures-core",
1012
+ "h2",
1013
+ "http",
1014
+ "http-body",
1015
+ "http-body-util",
1016
+ "hyper",
1017
+ "hyper-rustls",
1018
+ "hyper-util",
1019
+ "js-sys",
1020
+ "log",
1021
+ "mime",
1022
+ "percent-encoding",
1023
+ "pin-project-lite",
1024
+ "quinn",
1025
+ "rustls",
1026
+ "rustls-pki-types",
1027
+ "rustls-platform-verifier",
1028
+ "serde",
1029
+ "serde_json",
1030
+ "sync_wrapper",
1031
+ "tokio",
1032
+ "tokio-rustls",
1033
+ "tower",
1034
+ "tower-http",
1035
+ "tower-service",
1036
+ "url",
1037
+ "wasm-bindgen",
1038
+ "wasm-bindgen-futures",
1039
+ "web-sys",
1040
+ ]
1041
+
1042
+ [[package]]
1043
+ name = "ring"
1044
+ version = "0.17.8"
1045
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1046
+ checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d"
1047
+ dependencies = [
1048
+ "cc",
1049
+ "cfg-if",
1050
+ "getrandom 0.2.15",
1051
+ "libc",
1052
+ "spin",
1053
+ "untrusted",
1054
+ "windows-sys 0.52.0",
1055
+ ]
1056
+
1057
+ [[package]]
1058
+ name = "rustc-hash"
1059
+ version = "2.1.1"
1060
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1061
+ checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
1062
+
1063
+ [[package]]
1064
+ name = "rustls"
1065
+ version = "0.23.35"
1066
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1067
+ checksum = "533f54bc6a7d4f647e46ad909549eda97bf5afc1585190ef692b4286b198bd8f"
1068
+ dependencies = [
1069
+ "aws-lc-rs",
1070
+ "once_cell",
1071
+ "rustls-pki-types",
1072
+ "rustls-webpki",
1073
+ "subtle",
1074
+ "zeroize",
1075
+ ]
1076
+
1077
+ [[package]]
1078
+ name = "rustls-native-certs"
1079
+ version = "0.8.3"
1080
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1081
+ checksum = "612460d5f7bea540c490b2b6395d8e34a953e52b491accd6c86c8164c5932a63"
1082
+ dependencies = [
1083
+ "openssl-probe",
1084
+ "rustls-pki-types",
1085
+ "schannel",
1086
+ "security-framework",
1087
+ ]
1088
+
1089
+ [[package]]
1090
+ name = "rustls-pki-types"
1091
+ version = "1.12.0"
1092
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1093
+ checksum = "229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79"
1094
+ dependencies = [
1095
+ "web-time",
1096
+ "zeroize",
1097
+ ]
1098
+
1099
+ [[package]]
1100
+ name = "rustls-platform-verifier"
1101
+ version = "0.6.2"
1102
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1103
+ checksum = "1d99feebc72bae7ab76ba994bb5e121b8d83d910ca40b36e0921f53becc41784"
1104
+ dependencies = [
1105
+ "core-foundation 0.10.1",
1106
+ "core-foundation-sys",
1107
+ "jni",
1108
+ "log",
1109
+ "once_cell",
1110
+ "rustls",
1111
+ "rustls-native-certs",
1112
+ "rustls-platform-verifier-android",
1113
+ "rustls-webpki",
1114
+ "security-framework",
1115
+ "security-framework-sys",
1116
+ "webpki-root-certs",
1117
+ "windows-sys 0.61.2",
1118
+ ]
1119
+
1120
+ [[package]]
1121
+ name = "rustls-platform-verifier-android"
1122
+ version = "0.1.1"
1123
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1124
+ checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f"
1125
+
1126
+ [[package]]
1127
+ name = "rustls-webpki"
1128
+ version = "0.103.8"
1129
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1130
+ checksum = "2ffdfa2f5286e2247234e03f680868ac2815974dc39e00ea15adc445d0aafe52"
1131
+ dependencies = [
1132
+ "aws-lc-rs",
1133
+ "ring",
1134
+ "rustls-pki-types",
1135
+ "untrusted",
1136
+ ]
1137
+
1138
+ [[package]]
1139
+ name = "rustversion"
1140
+ version = "1.0.20"
1141
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1142
+ checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2"
1143
+
1144
+ [[package]]
1145
+ name = "ryu"
1146
+ version = "1.0.5"
1147
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1148
+ checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e"
1149
+
1150
+ [[package]]
1151
+ name = "same-file"
1152
+ version = "1.0.6"
1153
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1154
+ checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
1155
+ dependencies = [
1156
+ "winapi-util",
1157
+ ]
1158
+
1159
+ [[package]]
1160
+ name = "schannel"
1161
+ version = "0.1.19"
1162
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1163
+ checksum = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75"
1164
+ dependencies = [
1165
+ "lazy_static",
1166
+ "winapi",
1167
+ ]
1168
+
1169
+ [[package]]
1170
+ name = "scopeguard"
1171
+ version = "1.1.0"
1172
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1173
+ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
1174
+
1175
+ [[package]]
1176
+ name = "security-framework"
1177
+ version = "3.5.1"
1178
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1179
+ checksum = "b3297343eaf830f66ede390ea39da1d462b6b0c1b000f420d0a83f898bbbe6ef"
1180
+ dependencies = [
1181
+ "bitflags",
1182
+ "core-foundation 0.10.1",
1183
+ "core-foundation-sys",
1184
+ "libc",
1185
+ "security-framework-sys",
1186
+ ]
1187
+
1188
+ [[package]]
1189
+ name = "security-framework-sys"
1190
+ version = "2.15.0"
1191
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1192
+ checksum = "cc1f0cbffaac4852523ce30d8bd3c5cdc873501d96ff467ca09b6767bb8cd5c0"
1193
+ dependencies = [
1194
+ "core-foundation-sys",
1195
+ "libc",
1196
+ ]
1197
+
1198
+ [[package]]
1199
+ name = "serde"
1200
+ version = "1.0.228"
1201
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1202
+ checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
1203
+ dependencies = [
1204
+ "serde_core",
1205
+ "serde_derive",
1206
+ ]
1207
+
1208
+ [[package]]
1209
+ name = "serde_core"
1210
+ version = "1.0.228"
1211
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1212
+ checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
1213
+ dependencies = [
1214
+ "serde_derive",
1215
+ ]
1216
+
1217
+ [[package]]
1218
+ name = "serde_derive"
1219
+ version = "1.0.228"
1220
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1221
+ checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
1222
+ dependencies = [
1223
+ "proc-macro2",
1224
+ "quote",
1225
+ "syn",
1226
+ ]
1227
+
1228
+ [[package]]
1229
+ name = "serde_json"
1230
+ version = "1.0.65"
1231
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1232
+ checksum = "28c5e91e4240b46c4c19219d6cc84784444326131a4210f496f948d5cc827a29"
1233
+ dependencies = [
1234
+ "itoa 0.4.7",
1235
+ "ryu",
1236
+ "serde",
1237
+ ]
1238
+
1239
+ [[package]]
1240
+ name = "shlex"
1241
+ version = "1.3.0"
1242
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1243
+ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
1244
+
1245
+ [[package]]
1246
+ name = "signal-hook-registry"
1247
+ version = "1.4.0"
1248
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1249
+ checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0"
1250
+ dependencies = [
1251
+ "libc",
1252
+ ]
1253
+
1254
+ [[package]]
1255
+ name = "slab"
1256
+ version = "0.4.11"
1257
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1258
+ checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589"
1259
+
1260
+ [[package]]
1261
+ name = "smallvec"
1262
+ version = "1.13.2"
1263
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1264
+ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
1265
+
1266
+ [[package]]
1267
+ name = "socket2"
1268
+ version = "0.5.10"
1269
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1270
+ checksum = "e22376abed350d73dd1cd119b57ffccad95b4e585a7cda43e286245ce23c0678"
1271
+ dependencies = [
1272
+ "libc",
1273
+ "windows-sys 0.52.0",
1274
+ ]
1275
+
1276
+ [[package]]
1277
+ name = "socket2"
1278
+ version = "0.6.0"
1279
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1280
+ checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807"
1281
+ dependencies = [
1282
+ "libc",
1283
+ "windows-sys 0.59.0",
1284
+ ]
1285
+
1286
+ [[package]]
1287
+ name = "spin"
1288
+ version = "0.9.8"
1289
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1290
+ checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
1291
+
1292
+ [[package]]
1293
+ name = "stable_deref_trait"
1294
+ version = "1.2.0"
1295
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1296
+ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
1297
+
1298
+ [[package]]
1299
+ name = "subtle"
1300
+ version = "2.5.0"
1301
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1302
+ checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc"
1303
+
1304
+ [[package]]
1305
+ name = "syn"
1306
+ version = "2.0.87"
1307
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1308
+ checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d"
1309
+ dependencies = [
1310
+ "proc-macro2",
1311
+ "quote",
1312
+ "unicode-ident",
1313
+ ]
1314
+
1315
+ [[package]]
1316
+ name = "sync_wrapper"
1317
+ version = "1.0.1"
1318
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1319
+ checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394"
1320
+ dependencies = [
1321
+ "futures-core",
1322
+ ]
1323
+
1324
+ [[package]]
1325
+ name = "synstructure"
1326
+ version = "0.13.1"
1327
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1328
+ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
1329
+ dependencies = [
1330
+ "proc-macro2",
1331
+ "quote",
1332
+ "syn",
1333
+ ]
1334
+
1335
+ [[package]]
1336
+ name = "system-configuration"
1337
+ version = "0.6.1"
1338
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1339
+ checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b"
1340
+ dependencies = [
1341
+ "bitflags",
1342
+ "core-foundation 0.9.1",
1343
+ "system-configuration-sys",
1344
+ ]
1345
+
1346
+ [[package]]
1347
+ name = "system-configuration-sys"
1348
+ version = "0.6.0"
1349
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1350
+ checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4"
1351
+ dependencies = [
1352
+ "core-foundation-sys",
1353
+ "libc",
1354
+ ]
1355
+
1356
+ [[package]]
1357
+ name = "thiserror"
1358
+ version = "1.0.69"
1359
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1360
+ checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
1361
+ dependencies = [
1362
+ "thiserror-impl 1.0.69",
1363
+ ]
1364
+
1365
+ [[package]]
1366
+ name = "thiserror"
1367
+ version = "2.0.17"
1368
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1369
+ checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8"
1370
+ dependencies = [
1371
+ "thiserror-impl 2.0.17",
1372
+ ]
1373
+
1374
+ [[package]]
1375
+ name = "thiserror-impl"
1376
+ version = "1.0.69"
1377
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1378
+ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
1379
+ dependencies = [
1380
+ "proc-macro2",
1381
+ "quote",
1382
+ "syn",
1383
+ ]
1384
+
1385
+ [[package]]
1386
+ name = "thiserror-impl"
1387
+ version = "2.0.17"
1388
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1389
+ checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913"
1390
+ dependencies = [
1391
+ "proc-macro2",
1392
+ "quote",
1393
+ "syn",
1394
+ ]
1395
+
1396
+ [[package]]
1397
+ name = "tinystr"
1398
+ version = "0.7.6"
1399
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1400
+ checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f"
1401
+ dependencies = [
1402
+ "displaydoc",
1403
+ "zerovec",
1404
+ ]
1405
+
1406
+ [[package]]
1407
+ name = "tinyvec"
1408
+ version = "1.10.0"
1409
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1410
+ checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa"
1411
+ dependencies = [
1412
+ "tinyvec_macros",
1413
+ ]
1414
+
1415
+ [[package]]
1416
+ name = "tinyvec_macros"
1417
+ version = "0.1.1"
1418
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1419
+ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
1420
+
1421
+ [[package]]
1422
+ name = "tokio"
1423
+ version = "1.50.0"
1424
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1425
+ checksum = "27ad5e34374e03cfffefc301becb44e9dc3c17584f414349ebe29ed26661822d"
1426
+ dependencies = [
1427
+ "bytes",
1428
+ "libc",
1429
+ "mio",
1430
+ "parking_lot",
1431
+ "pin-project-lite",
1432
+ "signal-hook-registry",
1433
+ "socket2 0.6.0",
1434
+ "tokio-macros",
1435
+ "windows-sys 0.61.2",
1436
+ ]
1437
+
1438
+ [[package]]
1439
+ name = "tokio-macros"
1440
+ version = "2.6.0"
1441
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1442
+ checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5"
1443
+ dependencies = [
1444
+ "proc-macro2",
1445
+ "quote",
1446
+ "syn",
1447
+ ]
1448
+
1449
+ [[package]]
1450
+ name = "tokio-rustls"
1451
+ version = "0.26.0"
1452
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1453
+ checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4"
1454
+ dependencies = [
1455
+ "rustls",
1456
+ "rustls-pki-types",
1457
+ "tokio",
1458
+ ]
1459
+
1460
+ [[package]]
1461
+ name = "tokio-util"
1462
+ version = "0.7.11"
1463
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1464
+ checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1"
1465
+ dependencies = [
1466
+ "bytes",
1467
+ "futures-core",
1468
+ "futures-sink",
1469
+ "pin-project-lite",
1470
+ "tokio",
1471
+ ]
1472
+
1473
+ [[package]]
1474
+ name = "tower"
1475
+ version = "0.5.2"
1476
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1477
+ checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9"
1478
+ dependencies = [
1479
+ "futures-core",
1480
+ "futures-util",
1481
+ "pin-project-lite",
1482
+ "sync_wrapper",
1483
+ "tokio",
1484
+ "tower-layer",
1485
+ "tower-service",
1486
+ ]
1487
+
1488
+ [[package]]
1489
+ name = "tower-http"
1490
+ version = "0.6.8"
1491
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1492
+ checksum = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8"
1493
+ dependencies = [
1494
+ "bitflags",
1495
+ "bytes",
1496
+ "futures-util",
1497
+ "http",
1498
+ "http-body",
1499
+ "iri-string",
1500
+ "pin-project-lite",
1501
+ "tower",
1502
+ "tower-layer",
1503
+ "tower-service",
1504
+ ]
1505
+
1506
+ [[package]]
1507
+ name = "tower-layer"
1508
+ version = "0.3.3"
1509
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1510
+ checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e"
1511
+
1512
+ [[package]]
1513
+ name = "tower-service"
1514
+ version = "0.3.3"
1515
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1516
+ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
1517
+
1518
+ [[package]]
1519
+ name = "tracing"
1520
+ version = "0.1.40"
1521
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1522
+ checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef"
1523
+ dependencies = [
1524
+ "pin-project-lite",
1525
+ "tracing-core",
1526
+ ]
1527
+
1528
+ [[package]]
1529
+ name = "tracing-core"
1530
+ version = "0.1.32"
1531
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1532
+ checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54"
1533
+ dependencies = [
1534
+ "once_cell",
1535
+ ]
1536
+
1537
+ [[package]]
1538
+ name = "try-lock"
1539
+ version = "0.2.3"
1540
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1541
+ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642"
1542
+
1543
+ [[package]]
1544
+ name = "unicode-ident"
1545
+ version = "1.0.12"
1546
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1547
+ checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
1548
+
1549
+ [[package]]
1550
+ name = "untrusted"
1551
+ version = "0.9.0"
1552
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1553
+ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
1554
+
1555
+ [[package]]
1556
+ name = "url"
1557
+ version = "2.5.8"
1558
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1559
+ checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed"
1560
+ dependencies = [
1561
+ "form_urlencoded",
1562
+ "idna",
1563
+ "percent-encoding",
1564
+ "serde",
1565
+ ]
1566
+
1567
+ [[package]]
1568
+ name = "utf16_iter"
1569
+ version = "1.0.5"
1570
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1571
+ checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
1572
+
1573
+ [[package]]
1574
+ name = "utf8_iter"
1575
+ version = "1.0.4"
1576
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1577
+ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
1578
+
1579
+ [[package]]
1580
+ name = "walkdir"
1581
+ version = "2.5.0"
1582
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1583
+ checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
1584
+ dependencies = [
1585
+ "same-file",
1586
+ "winapi-util",
1587
+ ]
1588
+
1589
+ [[package]]
1590
+ name = "want"
1591
+ version = "0.3.0"
1592
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1593
+ checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0"
1594
+ dependencies = [
1595
+ "log",
1596
+ "try-lock",
1597
+ ]
1598
+
1599
+ [[package]]
1600
+ name = "wasi"
1601
+ version = "0.11.0+wasi-snapshot-preview1"
1602
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1603
+ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
1604
+
1605
+ [[package]]
1606
+ name = "wasip2"
1607
+ version = "1.0.1+wasi-0.2.4"
1608
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1609
+ checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7"
1610
+ dependencies = [
1611
+ "wit-bindgen",
1612
+ ]
1613
+
1614
+ [[package]]
1615
+ name = "wasm-bindgen"
1616
+ version = "0.2.100"
1617
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1618
+ checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
1619
+ dependencies = [
1620
+ "cfg-if",
1621
+ "once_cell",
1622
+ "rustversion",
1623
+ "wasm-bindgen-macro",
1624
+ ]
1625
+
1626
+ [[package]]
1627
+ name = "wasm-bindgen-backend"
1628
+ version = "0.2.100"
1629
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1630
+ checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
1631
+ dependencies = [
1632
+ "bumpalo",
1633
+ "log",
1634
+ "proc-macro2",
1635
+ "quote",
1636
+ "syn",
1637
+ "wasm-bindgen-shared",
1638
+ ]
1639
+
1640
+ [[package]]
1641
+ name = "wasm-bindgen-futures"
1642
+ version = "0.4.24"
1643
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1644
+ checksum = "5fba7978c679d53ce2d0ac80c8c175840feb849a161664365d1287b41f2e67f1"
1645
+ dependencies = [
1646
+ "cfg-if",
1647
+ "js-sys",
1648
+ "wasm-bindgen",
1649
+ "web-sys",
1650
+ ]
1651
+
1652
+ [[package]]
1653
+ name = "wasm-bindgen-macro"
1654
+ version = "0.2.100"
1655
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1656
+ checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
1657
+ dependencies = [
1658
+ "quote",
1659
+ "wasm-bindgen-macro-support",
1660
+ ]
1661
+
1662
+ [[package]]
1663
+ name = "wasm-bindgen-macro-support"
1664
+ version = "0.2.100"
1665
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1666
+ checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
1667
+ dependencies = [
1668
+ "proc-macro2",
1669
+ "quote",
1670
+ "syn",
1671
+ "wasm-bindgen-backend",
1672
+ "wasm-bindgen-shared",
1673
+ ]
1674
+
1675
+ [[package]]
1676
+ name = "wasm-bindgen-shared"
1677
+ version = "0.2.100"
1678
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1679
+ checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
1680
+ dependencies = [
1681
+ "unicode-ident",
1682
+ ]
1683
+
1684
+ [[package]]
1685
+ name = "web-sys"
1686
+ version = "0.3.51"
1687
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1688
+ checksum = "e828417b379f3df7111d3a2a9e5753706cae29c41f7c4029ee9fd77f3e09e582"
1689
+ dependencies = [
1690
+ "js-sys",
1691
+ "wasm-bindgen",
1692
+ ]
1693
+
1694
+ [[package]]
1695
+ name = "web-time"
1696
+ version = "1.1.0"
1697
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1698
+ checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
1699
+ dependencies = [
1700
+ "js-sys",
1701
+ "wasm-bindgen",
1702
+ ]
1703
+
1704
+ [[package]]
1705
+ name = "webpki-root-certs"
1706
+ version = "1.0.4"
1707
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1708
+ checksum = "ee3e3b5f5e80bc89f30ce8d0343bf4e5f12341c51f3e26cbeecbc7c85443e85b"
1709
+ dependencies = [
1710
+ "rustls-pki-types",
1711
+ ]
1712
+
1713
+ [[package]]
1714
+ name = "winapi"
1715
+ version = "0.3.9"
1716
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1717
+ checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
1718
+ dependencies = [
1719
+ "winapi-i686-pc-windows-gnu",
1720
+ "winapi-x86_64-pc-windows-gnu",
1721
+ ]
1722
+
1723
+ [[package]]
1724
+ name = "winapi-i686-pc-windows-gnu"
1725
+ version = "0.4.0"
1726
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1727
+ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
1728
+
1729
+ [[package]]
1730
+ name = "winapi-util"
1731
+ version = "0.1.11"
1732
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1733
+ checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
1734
+ dependencies = [
1735
+ "windows-sys 0.61.2",
1736
+ ]
1737
+
1738
+ [[package]]
1739
+ name = "winapi-x86_64-pc-windows-gnu"
1740
+ version = "0.4.0"
1741
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1742
+ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
1743
+
1744
+ [[package]]
1745
+ name = "windows-core"
1746
+ version = "0.62.2"
1747
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1748
+ checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"
1749
+ dependencies = [
1750
+ "windows-implement",
1751
+ "windows-interface",
1752
+ "windows-link 0.2.1",
1753
+ "windows-result 0.4.1",
1754
+ "windows-strings 0.5.1",
1755
+ ]
1756
+
1757
+ [[package]]
1758
+ name = "windows-implement"
1759
+ version = "0.60.2"
1760
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1761
+ checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"
1762
+ dependencies = [
1763
+ "proc-macro2",
1764
+ "quote",
1765
+ "syn",
1766
+ ]
1767
+
1768
+ [[package]]
1769
+ name = "windows-interface"
1770
+ version = "0.59.3"
1771
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1772
+ checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"
1773
+ dependencies = [
1774
+ "proc-macro2",
1775
+ "quote",
1776
+ "syn",
1777
+ ]
1778
+
1779
+ [[package]]
1780
+ name = "windows-link"
1781
+ version = "0.1.0"
1782
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1783
+ checksum = "6dccfd733ce2b1753b03b6d3c65edf020262ea35e20ccdf3e288043e6dd620e3"
1784
+
1785
+ [[package]]
1786
+ name = "windows-link"
1787
+ version = "0.2.1"
1788
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1789
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
1790
+
1791
+ [[package]]
1792
+ name = "windows-registry"
1793
+ version = "0.4.0"
1794
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1795
+ checksum = "4286ad90ddb45071efd1a66dfa43eb02dd0dfbae1545ad6cc3c51cf34d7e8ba3"
1796
+ dependencies = [
1797
+ "windows-result 0.3.1",
1798
+ "windows-strings 0.3.1",
1799
+ "windows-targets 0.53.0",
1800
+ ]
1801
+
1802
+ [[package]]
1803
+ name = "windows-result"
1804
+ version = "0.3.1"
1805
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1806
+ checksum = "06374efe858fab7e4f881500e6e86ec8bc28f9462c47e5a9941a0142ad86b189"
1807
+ dependencies = [
1808
+ "windows-link 0.1.0",
1809
+ ]
1810
+
1811
+ [[package]]
1812
+ name = "windows-result"
1813
+ version = "0.4.1"
1814
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1815
+ checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"
1816
+ dependencies = [
1817
+ "windows-link 0.2.1",
1818
+ ]
1819
+
1820
+ [[package]]
1821
+ name = "windows-strings"
1822
+ version = "0.3.1"
1823
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1824
+ checksum = "87fa48cc5d406560701792be122a10132491cff9d0aeb23583cc2dcafc847319"
1825
+ dependencies = [
1826
+ "windows-link 0.1.0",
1827
+ ]
1828
+
1829
+ [[package]]
1830
+ name = "windows-strings"
1831
+ version = "0.5.1"
1832
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1833
+ checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"
1834
+ dependencies = [
1835
+ "windows-link 0.2.1",
1836
+ ]
1837
+
1838
+ [[package]]
1839
+ name = "windows-sys"
1840
+ version = "0.45.0"
1841
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1842
+ checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
1843
+ dependencies = [
1844
+ "windows-targets 0.42.2",
1845
+ ]
1846
+
1847
+ [[package]]
1848
+ name = "windows-sys"
1849
+ version = "0.52.0"
1850
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1851
+ checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
1852
+ dependencies = [
1853
+ "windows-targets 0.52.6",
1854
+ ]
1855
+
1856
+ [[package]]
1857
+ name = "windows-sys"
1858
+ version = "0.59.0"
1859
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1860
+ checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
1861
+ dependencies = [
1862
+ "windows-targets 0.52.6",
1863
+ ]
1864
+
1865
+ [[package]]
1866
+ name = "windows-sys"
1867
+ version = "0.61.2"
1868
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1869
+ checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
1870
+ dependencies = [
1871
+ "windows-link 0.2.1",
1872
+ ]
1873
+
1874
+ [[package]]
1875
+ name = "windows-targets"
1876
+ version = "0.42.2"
1877
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1878
+ checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
1879
+ dependencies = [
1880
+ "windows_aarch64_gnullvm 0.42.2",
1881
+ "windows_aarch64_msvc 0.42.2",
1882
+ "windows_i686_gnu 0.42.2",
1883
+ "windows_i686_msvc 0.42.2",
1884
+ "windows_x86_64_gnu 0.42.2",
1885
+ "windows_x86_64_gnullvm 0.42.2",
1886
+ "windows_x86_64_msvc 0.42.2",
1887
+ ]
1888
+
1889
+ [[package]]
1890
+ name = "windows-targets"
1891
+ version = "0.52.6"
1892
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1893
+ checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
1894
+ dependencies = [
1895
+ "windows_aarch64_gnullvm 0.52.6",
1896
+ "windows_aarch64_msvc 0.52.6",
1897
+ "windows_i686_gnu 0.52.6",
1898
+ "windows_i686_gnullvm 0.52.6",
1899
+ "windows_i686_msvc 0.52.6",
1900
+ "windows_x86_64_gnu 0.52.6",
1901
+ "windows_x86_64_gnullvm 0.52.6",
1902
+ "windows_x86_64_msvc 0.52.6",
1903
+ ]
1904
+
1905
+ [[package]]
1906
+ name = "windows-targets"
1907
+ version = "0.53.0"
1908
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1909
+ checksum = "b1e4c7e8ceaaf9cb7d7507c974735728ab453b67ef8f18febdd7c11fe59dca8b"
1910
+ dependencies = [
1911
+ "windows_aarch64_gnullvm 0.53.0",
1912
+ "windows_aarch64_msvc 0.53.0",
1913
+ "windows_i686_gnu 0.53.0",
1914
+ "windows_i686_gnullvm 0.53.0",
1915
+ "windows_i686_msvc 0.53.0",
1916
+ "windows_x86_64_gnu 0.53.0",
1917
+ "windows_x86_64_gnullvm 0.53.0",
1918
+ "windows_x86_64_msvc 0.53.0",
1919
+ ]
1920
+
1921
+ [[package]]
1922
+ name = "windows_aarch64_gnullvm"
1923
+ version = "0.42.2"
1924
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1925
+ checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
1926
+
1927
+ [[package]]
1928
+ name = "windows_aarch64_gnullvm"
1929
+ version = "0.52.6"
1930
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1931
+ checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
1932
+
1933
+ [[package]]
1934
+ name = "windows_aarch64_gnullvm"
1935
+ version = "0.53.0"
1936
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1937
+ checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
1938
+
1939
+ [[package]]
1940
+ name = "windows_aarch64_msvc"
1941
+ version = "0.42.2"
1942
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1943
+ checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
1944
+
1945
+ [[package]]
1946
+ name = "windows_aarch64_msvc"
1947
+ version = "0.52.6"
1948
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1949
+ checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
1950
+
1951
+ [[package]]
1952
+ name = "windows_aarch64_msvc"
1953
+ version = "0.53.0"
1954
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1955
+ checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
1956
+
1957
+ [[package]]
1958
+ name = "windows_i686_gnu"
1959
+ version = "0.42.2"
1960
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1961
+ checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
1962
+
1963
+ [[package]]
1964
+ name = "windows_i686_gnu"
1965
+ version = "0.52.6"
1966
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1967
+ checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
1968
+
1969
+ [[package]]
1970
+ name = "windows_i686_gnu"
1971
+ version = "0.53.0"
1972
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1973
+ checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3"
1974
+
1975
+ [[package]]
1976
+ name = "windows_i686_gnullvm"
1977
+ version = "0.52.6"
1978
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1979
+ checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
1980
+
1981
+ [[package]]
1982
+ name = "windows_i686_gnullvm"
1983
+ version = "0.53.0"
1984
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1985
+ checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
1986
+
1987
+ [[package]]
1988
+ name = "windows_i686_msvc"
1989
+ version = "0.42.2"
1990
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1991
+ checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
1992
+
1993
+ [[package]]
1994
+ name = "windows_i686_msvc"
1995
+ version = "0.52.6"
1996
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1997
+ checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
1998
+
1999
+ [[package]]
2000
+ name = "windows_i686_msvc"
2001
+ version = "0.53.0"
2002
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2003
+ checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
2004
+
2005
+ [[package]]
2006
+ name = "windows_x86_64_gnu"
2007
+ version = "0.42.2"
2008
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2009
+ checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
2010
+
2011
+ [[package]]
2012
+ name = "windows_x86_64_gnu"
2013
+ version = "0.52.6"
2014
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2015
+ checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
2016
+
2017
+ [[package]]
2018
+ name = "windows_x86_64_gnu"
2019
+ version = "0.53.0"
2020
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2021
+ checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba"
2022
+
2023
+ [[package]]
2024
+ name = "windows_x86_64_gnullvm"
2025
+ version = "0.42.2"
2026
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2027
+ checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
2028
+
2029
+ [[package]]
2030
+ name = "windows_x86_64_gnullvm"
2031
+ version = "0.52.6"
2032
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2033
+ checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
2034
+
2035
+ [[package]]
2036
+ name = "windows_x86_64_gnullvm"
2037
+ version = "0.53.0"
2038
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2039
+ checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57"
2040
+
2041
+ [[package]]
2042
+ name = "windows_x86_64_msvc"
2043
+ version = "0.42.2"
2044
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2045
+ checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
2046
+
2047
+ [[package]]
2048
+ name = "windows_x86_64_msvc"
2049
+ version = "0.52.6"
2050
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2051
+ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
2052
+
2053
+ [[package]]
2054
+ name = "windows_x86_64_msvc"
2055
+ version = "0.53.0"
2056
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2057
+ checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
2058
+
2059
+ [[package]]
2060
+ name = "wit-bindgen"
2061
+ version = "0.46.0"
2062
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2063
+ checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
2064
+
2065
+ [[package]]
2066
+ name = "write16"
2067
+ version = "1.0.0"
2068
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2069
+ checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936"
2070
+
2071
+ [[package]]
2072
+ name = "writeable"
2073
+ version = "0.5.5"
2074
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2075
+ checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
2076
+
2077
+ [[package]]
2078
+ name = "yoke"
2079
+ version = "0.7.4"
2080
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2081
+ checksum = "6c5b1314b079b0930c31e3af543d8ee1757b1951ae1e1565ec704403a7240ca5"
2082
+ dependencies = [
2083
+ "serde",
2084
+ "stable_deref_trait",
2085
+ "yoke-derive",
2086
+ "zerofrom",
2087
+ ]
2088
+
2089
+ [[package]]
2090
+ name = "yoke-derive"
2091
+ version = "0.7.4"
2092
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2093
+ checksum = "28cc31741b18cb6f1d5ff12f5b7523e3d6eb0852bbbad19d73905511d9849b95"
2094
+ dependencies = [
2095
+ "proc-macro2",
2096
+ "quote",
2097
+ "syn",
2098
+ "synstructure",
2099
+ ]
2100
+
2101
+ [[package]]
2102
+ name = "zerocopy"
2103
+ version = "0.8.31"
2104
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2105
+ checksum = "fd74ec98b9250adb3ca554bdde269adf631549f51d8a8f8f0a10b50f1cb298c3"
2106
+ dependencies = [
2107
+ "zerocopy-derive",
2108
+ ]
2109
+
2110
+ [[package]]
2111
+ name = "zerocopy-derive"
2112
+ version = "0.8.31"
2113
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2114
+ checksum = "d8a8d209fdf45cf5138cbb5a506f6b52522a25afccc534d1475dad8e31105c6a"
2115
+ dependencies = [
2116
+ "proc-macro2",
2117
+ "quote",
2118
+ "syn",
2119
+ ]
2120
+
2121
+ [[package]]
2122
+ name = "zerofrom"
2123
+ version = "0.1.4"
2124
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2125
+ checksum = "91ec111ce797d0e0784a1116d0ddcdbea84322cd79e5d5ad173daeba4f93ab55"
2126
+ dependencies = [
2127
+ "zerofrom-derive",
2128
+ ]
2129
+
2130
+ [[package]]
2131
+ name = "zerofrom-derive"
2132
+ version = "0.1.4"
2133
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2134
+ checksum = "0ea7b4a3637ea8669cedf0f1fd5c286a17f3de97b8dd5a70a6c167a1730e63a5"
2135
+ dependencies = [
2136
+ "proc-macro2",
2137
+ "quote",
2138
+ "syn",
2139
+ "synstructure",
2140
+ ]
2141
+
2142
+ [[package]]
2143
+ name = "zeroize"
2144
+ version = "1.8.1"
2145
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2146
+ checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
2147
+
2148
+ [[package]]
2149
+ name = "zerovec"
2150
+ version = "0.10.4"
2151
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2152
+ checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079"
2153
+ dependencies = [
2154
+ "yoke",
2155
+ "zerofrom",
2156
+ "zerovec-derive",
2157
+ ]
2158
+
2159
+ [[package]]
2160
+ name = "zerovec-derive"
2161
+ version = "0.10.3"
2162
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2163
+ checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
2164
+ dependencies = [
2165
+ "proc-macro2",
2166
+ "quote",
2167
+ "syn",
2168
+ ]
2169
+ LOCKEOF
2170
+
2171
+ # --- Prefetch the dependency closure into the cargo registry cache ----------
2172
+ # Uses --manifest-path pointing at the generated manifest; never run bare cargo
2173
+ # from the repo root. No compilation occurs here (fetch only downloads).
2174
+ cargo fetch --manifest-path "$PB_FETCH_DIR/Cargo.toml"
2175
+
2176
+ # ---- No build/test/package steps. The cache and env are now ready. ----------
mobilefirstllc--social-media-hac/tests/executable ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f82f841551ad9e5bb1967eabaa0888cb2afd23b72409441664dae247588fcf6c
3
+ size 10783440
mobilefirstllc--social-media-hac/tests/harbor_prepare_download_env.sh ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ command -v cargo
4
+ command -v rustc
5
+ command -v rustup
6
+ cd /workspace
7
+ set -a
8
+ source /tmp/programgym-download.sh
9
+ set +a
10
+ python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
11
+ import os
12
+ import shlex
13
+
14
+ ignored = {
15
+ "ALL_PROXY",
16
+ "HTTP_PROXY",
17
+ "HTTPS_PROXY",
18
+ "NO_PROXY",
19
+ "OLDPWD",
20
+ "PIP_PROXY",
21
+ "PWD",
22
+ "SHLVL",
23
+ "_",
24
+ "all_proxy",
25
+ "http_proxy",
26
+ "https_proxy",
27
+ "no_proxy",
28
+ "pip_proxy",
29
+ }
30
+ for key in sorted(os.environ):
31
+ if key in ignored or key.startswith("BASH_FUNC_"):
32
+ continue
33
+ value = os.environ[key]
34
+ if "\n" in value:
35
+ continue
36
+ print(f"export {key}={shlex.quote(value)}")
37
+ PY
mobilefirstllc--social-media-hac/tests/programgym_evaluator.py ADDED
@@ -0,0 +1,1201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """In-place ProgramGym evaluator.
3
+
4
+ Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
5
+ no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
6
+ cleanroom container after Harbor flips the verifier-phase network policy.
7
+
8
+ Differences from ``programgym.eval.eval.Evaluator`` that are structural to
9
+ running in one container:
10
+
11
+ * No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
12
+ copy a post-compile workspace snapshot to a temp directory and restore it
13
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
14
+ processes between attempts to approximate the fresh-container boundary.
15
+ * No ``docker commit``. The post-compile workspace snapshot serves the same
16
+ role as the committed image upstream.
17
+ * Hidden test blobs are fetched on demand from HuggingFace via
18
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
19
+ rather than being pre-staged into ``/tests/blobs/``. Override with
20
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
21
+
22
+ Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
23
+ ``compile.sh`` then stash + hash the executable, best-effort
24
+ ``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
25
+ ``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
26
+ best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
27
+ preserved.
28
+ """
29
+
30
+ from __future__ import annotations
31
+
32
+ import hashlib
33
+ import json
34
+ import os
35
+ import re
36
+ import shlex
37
+ import shutil
38
+ import signal
39
+ import subprocess
40
+ import tempfile
41
+ import time
42
+ import traceback
43
+ import xml.etree.ElementTree as ET
44
+ from pathlib import Path
45
+ from typing import Any
46
+
47
+ WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
48
+ STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
49
+ METADATA_PATH = Path(
50
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
51
+ )
52
+ LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
53
+ WORKER_CRASH_PHRASE = "worker '"
54
+ XDIST_COLLAPSE_MARKERS = (
55
+ "maximum crashed workers reached",
56
+ "xdist: maximum crashed",
57
+ )
58
+
59
+ DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
60
+ DEFAULT_HF_REVISION = "main"
61
+
62
+ # Oracle agent handoff files (see solution/solve.sh). Must not appear in the
63
+ # post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
64
+ _ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
65
+
66
+ _TOOLCHAIN_BIN_DIR_CANDIDATES = (
67
+ "/usr/local/go/bin",
68
+ "/go/bin",
69
+ "/usr/local/cargo/bin",
70
+ "/root/.cargo/bin",
71
+ "/root/.ghcup/bin",
72
+ )
73
+
74
+
75
+ def toolchain_bin_dirs() -> list[str]:
76
+ """Return toolchain bin directories that exist on this image."""
77
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
78
+ candidates.extend(
79
+ str(path)
80
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
81
+ if _is_accessible_dir(path)
82
+ )
83
+ seen: set[str] = set()
84
+ present: list[str] = []
85
+ for path in candidates:
86
+ if path in seen:
87
+ continue
88
+ seen.add(path)
89
+ if _is_accessible_dir(path):
90
+ present.append(path)
91
+ return present
92
+
93
+
94
+ def _is_accessible_dir(path: str | Path) -> bool:
95
+ """Return whether path is a directory without failing on protected homes."""
96
+ try:
97
+ return Path(path).is_dir()
98
+ except OSError:
99
+ return False
100
+
101
+
102
+ def bootstrap_toolchain_path() -> str:
103
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
104
+ prepend = toolchain_bin_dirs()
105
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
106
+ merged: list[str] = []
107
+ for path in prepend + current_parts:
108
+ if path not in merged:
109
+ merged.append(path)
110
+ new_path = ":".join(merged)
111
+ os.environ["PATH"] = new_path
112
+ return new_path
113
+
114
+
115
+ def _bash_login_command(command: str) -> str:
116
+ """Run ``command`` under bash -lc with an explicit PATH export."""
117
+ path = bootstrap_toolchain_path()
118
+ return f"export PATH={shlex.quote(path)}; {command}"
119
+
120
+
121
+ def sha256(path: Path) -> str:
122
+ h = hashlib.sha256()
123
+ with path.open("rb") as f:
124
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
125
+ h.update(chunk)
126
+ return h.hexdigest()
127
+
128
+
129
+ def write_json(path: Path, data: dict[str, Any]) -> None:
130
+ tmp = path.with_suffix(path.suffix + ".tmp")
131
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
132
+ tmp.replace(path)
133
+
134
+
135
+ def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
136
+ if path is None or not path.exists():
137
+ return ""
138
+ data = path.read_bytes()
139
+ if len(data) <= max_bytes:
140
+ return data.decode(errors="replace")
141
+ return data[-max_bytes:].decode(errors="replace")
142
+
143
+
144
+ def _close_pipes(proc: subprocess.Popen[Any]) -> None:
145
+ for stream in (proc.stdout, proc.stderr):
146
+ if stream is not None:
147
+ try:
148
+ stream.close()
149
+ except OSError:
150
+ pass
151
+
152
+
153
+ def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
154
+ try:
155
+ os.killpg(proc.pid, signal.SIGKILL)
156
+ except ProcessLookupError:
157
+ pass
158
+ try:
159
+ proc.kill()
160
+ except ProcessLookupError:
161
+ pass
162
+
163
+
164
+ _PKILL_PATTERNS = (
165
+ f"{WORKSPACE}/eval/",
166
+ f"{WORKSPACE}/tests/",
167
+ "tail -f",
168
+ "development.log",
169
+ " less ",
170
+ " less$",
171
+ "/less ",
172
+ )
173
+
174
+
175
+ def _pkill_aggressive() -> str:
176
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
177
+ notes: list[str] = []
178
+ workspace = str(WORKSPACE)
179
+ patterns = list(_PKILL_PATTERNS) + [
180
+ f"pytest.*{workspace}",
181
+ f"xdist.*{workspace}",
182
+ ]
183
+ for pattern in patterns:
184
+ result = subprocess.run(
185
+ ["pkill", "-9", "-f", pattern],
186
+ capture_output=True,
187
+ text=True,
188
+ )
189
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
190
+ return "\n".join(notes)
191
+
192
+
193
+ def run_step(
194
+ command: str,
195
+ cwd: Path,
196
+ *,
197
+ timeout: int,
198
+ env: dict[str, str] | None = None,
199
+ step: str,
200
+ accept_failure: bool = False,
201
+ log_output: bool | None = None,
202
+ max_output_bytes: int = 65536,
203
+ ) -> dict[str, Any]:
204
+ if log_output is None:
205
+ log_output = step == "run_tests" or timeout >= 60
206
+
207
+ started = time.monotonic()
208
+ stdout_path: Path | None = None
209
+ stderr_path: Path | None = None
210
+ stdout_f = None
211
+ stderr_f = None
212
+
213
+ if log_output:
214
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
215
+ log_id = f"{step}-{int(started * 1000)}"
216
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
217
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
218
+ stdout_f = stdout_path.open("w", encoding="utf-8")
219
+ stderr_f = stderr_path.open("w", encoding="utf-8")
220
+ popen_stdout: Any = stdout_f
221
+ popen_stderr: Any = stderr_f
222
+ else:
223
+ popen_stdout = subprocess.PIPE
224
+ popen_stderr = subprocess.PIPE
225
+
226
+ proc = subprocess.Popen(
227
+ ["bash", "-lc", _bash_login_command(command)],
228
+ cwd=cwd,
229
+ env={**os.environ, **(env or {})},
230
+ stdout=popen_stdout,
231
+ stderr=popen_stderr,
232
+ start_new_session=True,
233
+ text=True,
234
+ )
235
+ timed_out = False
236
+ stdout = ""
237
+ stderr = ""
238
+ try:
239
+ if log_output:
240
+ proc.wait(timeout=timeout)
241
+ else:
242
+ stdout, stderr = proc.communicate(timeout=timeout)
243
+ except subprocess.TimeoutExpired:
244
+ timed_out = True
245
+ _terminate_process_tree(proc)
246
+ cleanup_lingering_processes(aggressive=True)
247
+ try:
248
+ proc.wait(timeout=5)
249
+ except subprocess.TimeoutExpired:
250
+ proc.kill()
251
+ if not log_output:
252
+ _close_pipes(proc)
253
+ finally:
254
+ if stdout_f is not None:
255
+ stdout_f.close()
256
+ if stderr_f is not None:
257
+ stderr_f.close()
258
+
259
+ if timed_out:
260
+ if log_output:
261
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
262
+ stderr_path, max_output_bytes
263
+ )
264
+ else:
265
+ output = ""
266
+ entry = {
267
+ "step": step,
268
+ "command": command,
269
+ "wall_time": time.monotonic() - started,
270
+ "output": output,
271
+ "returncode": 124,
272
+ "exception_info": f"timed out after {timeout}s",
273
+ }
274
+ else:
275
+ if log_output:
276
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
277
+ stderr_path, max_output_bytes
278
+ )
279
+ else:
280
+ output = stdout + stderr
281
+ entry = {
282
+ "step": step,
283
+ "command": command,
284
+ "wall_time": time.monotonic() - started,
285
+ "output": output,
286
+ "returncode": proc.returncode,
287
+ "exception_info": "",
288
+ }
289
+ if entry["returncode"] and not accept_failure:
290
+ raise RuntimeError(
291
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
292
+ )
293
+ return entry
294
+
295
+
296
+ def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
297
+ started = time.monotonic()
298
+ patterns = [
299
+ str(WORKSPACE / "executable"),
300
+ f"{WORKSPACE}/eval/",
301
+ f"{WORKSPACE}/tests/",
302
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
303
+ "tail -f",
304
+ "development.log",
305
+ ]
306
+ killed: list[int] = []
307
+ proc_root = Path("/proc")
308
+ proc_available = proc_root.exists()
309
+ if proc_available:
310
+ for proc_dir in proc_root.iterdir():
311
+ if not proc_dir.name.isdigit():
312
+ continue
313
+ pid = int(proc_dir.name)
314
+ if pid in {os.getpid(), os.getppid()}:
315
+ continue
316
+ try:
317
+ raw = (proc_dir / "cmdline").read_bytes()
318
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
319
+ continue
320
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
321
+ if not any(pattern in cmdline for pattern in patterns):
322
+ continue
323
+ try:
324
+ os.kill(pid, signal.SIGKILL)
325
+ except (PermissionError, ProcessLookupError):
326
+ continue
327
+ killed.append(pid)
328
+ pkill_output = ""
329
+ if aggressive or not proc_available:
330
+ pkill_output = _pkill_aggressive()
331
+ output_parts = []
332
+ if killed:
333
+ output_parts.append("\n".join(str(pid) for pid in killed))
334
+ if pkill_output:
335
+ output_parts.append(pkill_output)
336
+ return {
337
+ "step": "cleanup_lingering_processes",
338
+ "command": "kill leftover branch processes referencing the workspace",
339
+ "wall_time": time.monotonic() - started,
340
+ "output": "\n".join(output_parts),
341
+ "returncode": 0,
342
+ "exception_info": "",
343
+ }
344
+
345
+
346
+ def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
347
+ import tarfile
348
+
349
+ with tarfile.open(tar_path, "r:gz") as tf:
350
+ try:
351
+ tf.extractall(dest, filter="fully_trusted")
352
+ except TypeError:
353
+ tf.extractall(dest)
354
+
355
+
356
+ def find_results_xml() -> Path | None:
357
+ """Return the junit xml path if pytest wrote one."""
358
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
359
+ if candidate.exists():
360
+ return candidate
361
+ return None
362
+
363
+
364
+ def remove_oracle_handoff_artifacts() -> list[str]:
365
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
366
+ removed: list[str] = []
367
+ for name in _ORACLE_HANDOFF_NAMES:
368
+ path = WORKSPACE / name
369
+ if path.exists():
370
+ if path.is_dir():
371
+ shutil.rmtree(path)
372
+ else:
373
+ path.unlink()
374
+ removed.append(name)
375
+ return removed
376
+
377
+
378
+ def _remove_tree(path: Path) -> None:
379
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
380
+ if path.is_symlink() or path.is_file():
381
+ path.unlink(missing_ok=True)
382
+ return
383
+ if not path.is_dir():
384
+ path.unlink(missing_ok=True)
385
+ return
386
+ for attempt in range(3):
387
+ try:
388
+ shutil.rmtree(path)
389
+ if not path.exists():
390
+ return
391
+ except OSError:
392
+ if attempt == 2:
393
+ run_step(
394
+ f"rm -rf {shlex.quote(str(path))}",
395
+ path.parent,
396
+ timeout=120,
397
+ step="clear_workspace_fallback",
398
+ accept_failure=True,
399
+ )
400
+ if not path.exists():
401
+ return
402
+ raise
403
+
404
+
405
+ def ensure_workspace_dir() -> None:
406
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
407
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
408
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
409
+ WORKSPACE.unlink()
410
+ else:
411
+ shutil.rmtree(WORKSPACE)
412
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
413
+
414
+
415
+ def clear_workspace() -> None:
416
+ ensure_workspace_dir()
417
+ for path in list(WORKSPACE.iterdir()):
418
+ _remove_tree(path)
419
+
420
+
421
+ def restore_reference_executable() -> None:
422
+ """Write the stashed reference binary into /workspace after a branch overlay.
423
+
424
+ Branch blobs may ship ``executable`` as a dangling symlink into
425
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
426
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
427
+ reference as a regular file.
428
+ """
429
+ ensure_workspace_dir()
430
+ if not STASHED_EXECUTABLE.is_file():
431
+ raise FileNotFoundError(
432
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
433
+ )
434
+ dest = WORKSPACE / "executable"
435
+ if dest.exists() or dest.is_symlink():
436
+ if dest.is_dir():
437
+ shutil.rmtree(dest)
438
+ else:
439
+ dest.unlink(missing_ok=True)
440
+ shutil.copy2(STASHED_EXECUTABLE, dest)
441
+ dest.chmod(0o755)
442
+
443
+
444
+ def snapshot_workspace(dest: Path) -> None:
445
+ if dest.exists():
446
+ shutil.rmtree(dest)
447
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
448
+
449
+
450
+ def restore_workspace(source: Path) -> None:
451
+ clear_workspace()
452
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
453
+ ensure_workspace_dir()
454
+
455
+
456
+ def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
457
+ removed: list[str] = []
458
+ for path in root.rglob("*"):
459
+ if path.is_file() and not path.is_symlink():
460
+ try:
461
+ if sha256(path) in hashes:
462
+ path.unlink()
463
+ removed.append(str(path.relative_to(root)))
464
+ except OSError:
465
+ continue
466
+ return removed
467
+
468
+
469
+ def branch_tests(branch_info: dict[str, Any]) -> list[str]:
470
+ ignored = {
471
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
472
+ }
473
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
474
+
475
+
476
+ def ignored_tests(metadata: dict[str, Any]) -> set[str]:
477
+ result: set[str] = set()
478
+ for branch, info in metadata.get("branches", {}).items():
479
+ result.update(
480
+ f"{branch}/{item['name']}"
481
+ for item in info.get("ignored_tests", [])
482
+ if "name" in item
483
+ )
484
+ return result
485
+
486
+
487
+ def active_tests(metadata: dict[str, Any]) -> set[str]:
488
+ active: set[str] = set()
489
+ for branch, info in metadata.get("branches", {}).items():
490
+ if info.get("ignored"):
491
+ continue
492
+ ignored = {
493
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
494
+ }
495
+ active.update(
496
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
497
+ )
498
+ return active
499
+
500
+
501
+ def inject_not_run(
502
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
503
+ ) -> None:
504
+ result["test_results"].extend(
505
+ {
506
+ "name": name,
507
+ "branch": branch,
508
+ "status": "not_run",
509
+ "extra": {"error_code": error_code},
510
+ }
511
+ for name in tests
512
+ )
513
+
514
+
515
+ def testcase_name(case: ET.Element) -> str:
516
+ classname = case.attrib.get("classname", "")
517
+ name = case.attrib.get("name", "")
518
+ return f"{classname}.{name}" if classname else name
519
+
520
+
521
+ # Only these tags under <testcase> represent a result. <system-out> /
522
+ # <system-err> are stdout/stderr captures and must not be treated as results
523
+ # (a leading <system-out> followed by <failure> would otherwise be classified
524
+ # as a stdout-only "passed").
525
+ JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
526
+
527
+
528
+ def parse_junit(
529
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
530
+ ) -> tuple[list[dict[str, Any]], list[str]]:
531
+ root = ET.fromstring(raw_xml)
532
+ got: set[str] = set()
533
+ results: list[dict[str, Any]] = []
534
+ for case in root.iter("testcase"):
535
+ name = testcase_name(case)
536
+ got.add(name)
537
+ extra: dict[str, Any] = {}
538
+ if "time" in case.attrib:
539
+ try:
540
+ extra["time"] = float(case.attrib["time"])
541
+ except ValueError:
542
+ extra["time"] = case.attrib["time"]
543
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
544
+ # Collapse duplicate same-tag result children. Pytest's
545
+ # "pytest.internal" pseudo-test sometimes emits two identical <error>
546
+ # entries; treating that as a system_error would over-flag a real
547
+ # single failure. Mirrors upstream eval.py:816-820.
548
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
549
+ result_children = [result_children[0]]
550
+ if not result_children:
551
+ status = "passed"
552
+ elif len(result_children) != 1:
553
+ status = "system_error"
554
+ extra["error_details"] = (
555
+ f"Expected 1 result for {name}, got {len(result_children)}: "
556
+ f"{[c.tag for c in result_children]}"
557
+ )
558
+ else:
559
+ first = result_children[0]
560
+ status = first.tag # "skipped" | "failure" | "error"
561
+ extra["message"] = first.attrib.get("message") or ""
562
+ if first.text:
563
+ extra["text"] = first.text
564
+ results.append(
565
+ {"name": name, "branch": branch, "status": status, "extra": extra}
566
+ )
567
+
568
+ active_expected = [name for name in expected if name not in ignored]
569
+ missing = [name for name in active_expected if name not in got]
570
+ results.extend(
571
+ {
572
+ "name": name,
573
+ "branch": branch,
574
+ "status": "not_run",
575
+ "extra": {"error_code": "missing_from_junit_xml"},
576
+ }
577
+ for name in missing
578
+ )
579
+ unexpected = got - set(expected) - ignored
580
+ warnings = (
581
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
582
+ if unexpected
583
+ else []
584
+ )
585
+ return results, warnings
586
+
587
+
588
+ def count_worker_crashes(raw_xml: str) -> int:
589
+ if WORKER_CRASH_PHRASE not in raw_xml:
590
+ return 0
591
+ try:
592
+ root = ET.fromstring(raw_xml)
593
+ except ET.ParseError:
594
+ return 0
595
+ crashes = 0
596
+ for case in root.iter("testcase"):
597
+ for child in case:
598
+ text = (child.get("message") or "") + " " + (child.text or "")
599
+ if (
600
+ child.tag in {"error", "failure"}
601
+ and WORKER_CRASH_PHRASE in text
602
+ and "crashed" in text
603
+ ):
604
+ crashes += 1
605
+ break
606
+ return crashes
607
+
608
+
609
+ def run_output_indicates_xdist_collapse(output: str) -> bool:
610
+ lower = output.lower()
611
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
612
+
613
+
614
+ def count_junit_failures(raw_xml: str) -> int:
615
+ try:
616
+ root = ET.fromstring(raw_xml)
617
+ except ET.ParseError:
618
+ return 0
619
+ failures = 0
620
+ for case in root.iter("testcase"):
621
+ for child in case:
622
+ if child.tag in {"failure", "error"}:
623
+ failures += 1
624
+ break
625
+ return failures
626
+
627
+
628
+ def count_junit_passed(raw_xml: str) -> int:
629
+ try:
630
+ root = ET.fromstring(raw_xml)
631
+ except ET.ParseError:
632
+ return 0
633
+ passed = 0
634
+ for case in root.iter("testcase"):
635
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
636
+ passed += 1
637
+ return passed
638
+
639
+
640
+ def branch_attempt_metrics(
641
+ raw_xml: str, *, run_output: str, expected_tests: int
642
+ ) -> tuple[int, int, int, int]:
643
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
644
+ crashes = count_worker_crashes(raw_xml)
645
+ if run_output_indicates_xdist_collapse(run_output):
646
+ crashes = max(crashes, 1)
647
+ n_tests = count_testcases(raw_xml)
648
+ failures = count_junit_failures(raw_xml)
649
+ missing = max(0, expected_tests - n_tests)
650
+ return crashes, n_tests, failures, missing
651
+
652
+
653
+ def needs_serial_retry(
654
+ *,
655
+ serial: bool,
656
+ crashes: int,
657
+ missing: int,
658
+ failures: int,
659
+ n_tests: int,
660
+ expected_tests: int,
661
+ run_output: str,
662
+ ) -> bool:
663
+ if serial:
664
+ return False
665
+ high_failure_rate = (
666
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
667
+ )
668
+ return (
669
+ crashes > 0
670
+ or missing > 0
671
+ or high_failure_rate
672
+ or run_output_indicates_xdist_collapse(run_output)
673
+ )
674
+
675
+
676
+ def count_testcases(raw_xml: str) -> int:
677
+ try:
678
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
679
+ except ET.ParseError:
680
+ return 0
681
+
682
+
683
+ def scored_results(
684
+ result: dict[str, Any], metadata: dict[str, Any]
685
+ ) -> list[dict[str, Any]]:
686
+ active = active_tests(metadata)
687
+ by_key = {
688
+ f"{test['branch']}/{test['name']}": test
689
+ for test in result["test_results"]
690
+ if f"{test['branch']}/{test['name']}" in active
691
+ }
692
+ return [
693
+ by_key.get(
694
+ key,
695
+ {
696
+ "branch": key.split("/", 1)[0],
697
+ "name": key.split("/", 1)[1],
698
+ "status": "not_run",
699
+ "extra": {"error_code": "missing_from_results"},
700
+ },
701
+ )
702
+ for key in sorted(active)
703
+ ]
704
+
705
+
706
+ def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
707
+ scored = scored_results(result, metadata)
708
+ n_passed = sum(t["status"] == "passed" for t in scored)
709
+ n_tests = len(scored)
710
+ pass_rate = n_passed / n_tests if n_tests else 0.0
711
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
712
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
713
+ # the proportion of tasks scoring a perfect pass-rate and mean of
714
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
715
+ # per-task pass-rate whose mean is the overall mean reward.
716
+ return {
717
+ "reward": pass_rate,
718
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
719
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
720
+ }
721
+
722
+
723
+ def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
724
+ scored = scored_results(result, metadata)
725
+ n_passed = sum(t["status"] == "passed" for t in scored)
726
+ n_tests = len(scored)
727
+ pass_rate = n_passed / n_tests if n_tests else 0.0
728
+ return {
729
+ "pass_rate": pass_rate,
730
+ "resolved": int(
731
+ bool(
732
+ n_tests
733
+ and n_passed == n_tests
734
+ and not result["test_branch_errors"]
735
+ and not result["error_code"]
736
+ )
737
+ ),
738
+ "n_passed": n_passed,
739
+ "n_tests": n_tests,
740
+ "n_branch_errors": len(result["test_branch_errors"]),
741
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
742
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
743
+ }
744
+
745
+
746
+ def use_script_pty() -> bool:
747
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
748
+
749
+
750
+ def script_pty_available() -> bool:
751
+ return shutil.which("script") is not None
752
+
753
+
754
+ def branch_env(
755
+ *,
756
+ serial: bool,
757
+ has_rerunfailures: bool,
758
+ extras: dict[str, str] | None = None,
759
+ ) -> dict[str, str]:
760
+ addopts = ["--max-worker-restart=4"]
761
+ # A serial fallback is already a complete second execution. Re-running each
762
+ # failing test two more times makes large, failure-heavy suites prohibitively
763
+ # slow and adds little signal.
764
+ if has_rerunfailures and not serial:
765
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
766
+ env = {
767
+ "PYTEST_ADDOPTS": " ".join(addopts),
768
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
769
+ "NO_COLOR": "1",
770
+ "TERM": "dumb",
771
+ "CLICOLOR": "0",
772
+ "CLICOLOR_FORCE": "0",
773
+ "COLORTERM": "",
774
+ }
775
+ if extras:
776
+ env.update(extras)
777
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
778
+ if serial:
779
+ xdist_workers = "1"
780
+ if xdist_workers:
781
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
782
+ return env
783
+
784
+
785
+ _SERIAL_RUN_SH = ".programgym_run_serial.sh"
786
+ # ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
787
+ # ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
788
+ _RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
789
+
790
+
791
+ def prepare_serial_run_sh(run_sh: Path) -> Path:
792
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
793
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
794
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
795
+ serial_sh.write_text(patched)
796
+ serial_sh.chmod(0o755)
797
+ return serial_sh
798
+
799
+
800
+ def run_tests_command(*, serial: bool) -> str:
801
+ if serial:
802
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
803
+ else:
804
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
805
+ if use_script_pty() and script_pty_available():
806
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
807
+ return inner
808
+
809
+
810
+ BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
811
+
812
+
813
+ def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
814
+ """Locate the per-instance blob directory.
815
+
816
+ Resolution order:
817
+
818
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
819
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
820
+ agent never sees these.
821
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
822
+ tree on disk (``<dir>/<instance_id>/tests/<branch>.tar.gz``). Useful
823
+ for offline reruns sharing a cache across many tasks.
824
+ 3. ``huggingface_hub.snapshot_download`` from
825
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
826
+
827
+ The returned directory contains ``tests/<branch>.tar.gz`` per active
828
+ branch — same shape as ``programgym/ProgramGym-Tests/<instance_id>/``
829
+ on HF.
830
+ """
831
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
832
+ return BAKED_BLOB_DIR
833
+
834
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
835
+ if local:
836
+ candidate = Path(local) / instance_id
837
+ if candidate.exists():
838
+ return candidate
839
+ raise FileNotFoundError(
840
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
841
+ )
842
+
843
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
844
+ "hf_repo_id", DEFAULT_HF_REPO_ID
845
+ )
846
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
847
+ "hf_revision", DEFAULT_HF_REVISION
848
+ )
849
+
850
+ from huggingface_hub import snapshot_download
851
+
852
+ cache_root = Path(
853
+ snapshot_download(
854
+ repo_id,
855
+ repo_type="dataset",
856
+ revision=revision,
857
+ allow_patterns=f"{instance_id}/**",
858
+ )
859
+ )
860
+ blob_dir = cache_root / instance_id
861
+ if not blob_dir.exists():
862
+ raise FileNotFoundError(
863
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
864
+ )
865
+ return blob_dir
866
+
867
+
868
+ def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
869
+ bootstrap_toolchain_path()
870
+ branches = metadata.get("branches", {})
871
+ active_branch_items = [
872
+ (name, info) for name, info in branches.items() if not info.get("ignored")
873
+ ]
874
+ result: dict[str, Any] = {
875
+ "test_results": [],
876
+ "error_code": None,
877
+ "error_details": None,
878
+ "log": [],
879
+ "solution_branch": "submission",
880
+ "test_branches": [name for name, _ in active_branch_items],
881
+ "test_branch_errors": {},
882
+ "executable_hash": None,
883
+ "warnings": [],
884
+ }
885
+
886
+ instance_id = metadata["instance_id"]
887
+
888
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
889
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
890
+
891
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
892
+ result["error_code"] = error_code
893
+ result["error_details"] = details
894
+ for branch, info in active_branch_items:
895
+ inject_not_run(result, branch, branch_tests(info), error_code)
896
+ return result
897
+
898
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
899
+ compiled_snapshot = Path(tmp) / "compiled"
900
+
901
+ started = time.monotonic()
902
+ removed = remove_hashed_files(
903
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
904
+ )
905
+ result["log"].append(
906
+ {
907
+ "step": "remove_hashed_files",
908
+ "command": "remove files matching eval_clean_hashes",
909
+ "wall_time": time.monotonic() - started,
910
+ "output": "".join(f"removed '{path}'\n" for path in removed),
911
+ "returncode": 0,
912
+ "exception_info": "",
913
+ }
914
+ )
915
+
916
+ compile_sh = WORKSPACE / "compile.sh"
917
+ if not compile_sh.exists():
918
+ return fail_all(
919
+ "missing_compile_sh", "submission did not contain compile.sh"
920
+ )
921
+
922
+ seed = (
923
+ "if [ ! -d .git ]; then "
924
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
925
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
926
+ "git -c init.defaultBranch=gold init -q && "
927
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
928
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
929
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
930
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
931
+ "fi"
932
+ )
933
+ try:
934
+ result["log"].append(
935
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
936
+ )
937
+ compile_log = run_step(
938
+ "chmod +x ./compile.sh && ./compile.sh",
939
+ WORKSPACE,
940
+ timeout=compile_timeout,
941
+ step="compile",
942
+ accept_failure=True,
943
+ )
944
+ result["log"].append(compile_log)
945
+ if compile_log["returncode"]:
946
+ return fail_all("compile_failed", compile_log["output"])
947
+ executable = WORKSPACE / "executable"
948
+ if not executable.exists():
949
+ return fail_all(
950
+ "missing_executable",
951
+ "compile.sh completed but did not create ./executable",
952
+ )
953
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
954
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
955
+ # the agent's executable during the stash→restore window. Mirrors
956
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
957
+ shutil.move(str(executable), STASHED_EXECUTABLE)
958
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
959
+ result["log"].append(
960
+ run_step(
961
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
962
+ WORKSPACE,
963
+ timeout=120,
964
+ step="install_rerunfailures",
965
+ accept_failure=True,
966
+ )
967
+ )
968
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
969
+ handoff_removed = remove_oracle_handoff_artifacts()
970
+ if handoff_removed:
971
+ result["log"].append(
972
+ {
973
+ "step": "remove_oracle_handoff",
974
+ "command": "remove oracle handoff artifacts from workspace",
975
+ "wall_time": 0.0,
976
+ "output": "".join(
977
+ f"removed '{name}'\n" for name in handoff_removed
978
+ ),
979
+ "returncode": 0,
980
+ "exception_info": "",
981
+ }
982
+ )
983
+ snapshot_workspace(compiled_snapshot)
984
+ except Exception as exc:
985
+ return fail_all(type(exc).__name__, str(exc))
986
+
987
+ try:
988
+ blob_dir = resolve_blob_dir(instance_id, metadata)
989
+ except Exception as exc:
990
+ details = f"{type(exc).__name__}: {exc}"
991
+ for branch, info in active_branch_items:
992
+ result["test_branch_errors"][branch] = [
993
+ {
994
+ "error_code": "blob_resolution_failed",
995
+ "error_details": details,
996
+ }
997
+ ]
998
+ inject_not_run(
999
+ result, branch, branch_tests(info), "blob_resolution_failed"
1000
+ )
1001
+ return result
1002
+
1003
+ for branch, info in active_branch_items:
1004
+ tests = branch_tests(info)
1005
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
1006
+ if not blob.exists():
1007
+ result["test_branch_errors"][branch] = [
1008
+ {"error_code": "missing_test_blob", "error_details": blob.name}
1009
+ ]
1010
+ inject_not_run(result, branch, tests, "missing_test_blob")
1011
+ continue
1012
+
1013
+ best_xml = ""
1014
+ # Prefer a complete, clean XML result, then the result covering the
1015
+ # most expected tests, and only then the one with the most passes.
1016
+ # Pass-count-only ranking can retain a partial xdist result over a
1017
+ # complete serial result.
1018
+ best_quality = (-1, -1, -1)
1019
+ serial = bool(metadata.get("force_serial_branches"))
1020
+ branch_log: list[dict[str, Any]] = []
1021
+ branch_ignored = {
1022
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
1023
+ }
1024
+ n_expected = len([name for name in tests if name not in branch_ignored])
1025
+
1026
+ def merge_best_xml(raw_xml: str) -> None:
1027
+ try:
1028
+ parsed, warnings = parse_junit(
1029
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
1030
+ )
1031
+ except Exception as exc:
1032
+ result["test_branch_errors"][branch] = [
1033
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
1034
+ ]
1035
+ inject_not_run(result, branch, tests, "xml_parse_error")
1036
+ else:
1037
+ result["test_results"].extend(parsed)
1038
+ result["warnings"].extend(warnings)
1039
+
1040
+ while True:
1041
+ branch_log.append(cleanup_lingering_processes())
1042
+ restore_workspace(compiled_snapshot)
1043
+ extract_trusted_blob(blob, WORKSPACE)
1044
+ restore_reference_executable()
1045
+ actual_hash = sha256(WORKSPACE / "executable")
1046
+ if actual_hash != result["executable_hash"]:
1047
+ result["test_branch_errors"][branch] = [
1048
+ {
1049
+ "error_code": "executable_hash_mismatch",
1050
+ "error_details": (
1051
+ f"expected {result['executable_hash']}, got {actual_hash}"
1052
+ ),
1053
+ }
1054
+ ]
1055
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
1056
+ break
1057
+ run_sh = WORKSPACE / "eval" / "run.sh"
1058
+ if not run_sh.exists():
1059
+ result["test_branch_errors"][branch] = [
1060
+ {
1061
+ "error_code": "missing_run_sh",
1062
+ "error_details": "eval/run.sh missing",
1063
+ }
1064
+ ]
1065
+ inject_not_run(result, branch, tests, "missing_run_sh")
1066
+ break
1067
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
1068
+ # instead of os._exit(1) on timeout. That works in fresh
1069
+ # containers per branch; here we reuse one container and
1070
+ # signal timeouts leave TUI/log-watcher subprocesses alive
1071
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
1072
+ # branch_timeout. Keep the blob's thread method and rely on
1073
+ # cleanup_lingering_processes + serial fallback after crashes.
1074
+ env = branch_env(
1075
+ serial=serial,
1076
+ has_rerunfailures=has_rerunfailures,
1077
+ extras=metadata.get("branch_env"),
1078
+ )
1079
+ branch_log.append(
1080
+ run_step(
1081
+ "rm -f eval/results.xml results.xml",
1082
+ WORKSPACE,
1083
+ timeout=120,
1084
+ step="clean_stale_results",
1085
+ accept_failure=True,
1086
+ )
1087
+ )
1088
+ if serial:
1089
+ prepare_serial_run_sh(run_sh)
1090
+ run_entry = run_step(
1091
+ run_tests_command(serial=serial),
1092
+ WORKSPACE,
1093
+ timeout=branch_timeout,
1094
+ env=env,
1095
+ step="run_tests",
1096
+ accept_failure=True,
1097
+ )
1098
+ branch_log.append(run_entry)
1099
+ branch_log.append(cleanup_lingering_processes())
1100
+ xml_path = find_results_xml()
1101
+ if xml_path is None:
1102
+ if best_xml:
1103
+ merge_best_xml(best_xml)
1104
+ break
1105
+ if serial:
1106
+ result["test_branch_errors"][branch] = [
1107
+ {
1108
+ "error_code": "missing_results_xml",
1109
+ "error_details": "eval/results.xml was not produced",
1110
+ }
1111
+ ]
1112
+ inject_not_run(result, branch, tests, "missing_results_xml")
1113
+ break
1114
+ serial = True
1115
+ continue
1116
+ raw_xml = xml_path.read_text(errors="replace")
1117
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
1118
+ raw_xml,
1119
+ run_output=run_entry.get("output", ""),
1120
+ expected_tests=n_expected,
1121
+ )
1122
+ useful = count_junit_passed(raw_xml)
1123
+ quality = (
1124
+ int(crashes == 0 and missing == 0),
1125
+ n_tests,
1126
+ useful,
1127
+ )
1128
+ if quality > best_quality:
1129
+ best_xml = raw_xml
1130
+ best_quality = quality
1131
+ retry = needs_serial_retry(
1132
+ serial=serial,
1133
+ crashes=crashes,
1134
+ missing=missing,
1135
+ failures=failures,
1136
+ n_tests=n_tests,
1137
+ expected_tests=n_expected,
1138
+ run_output=run_entry.get("output", ""),
1139
+ )
1140
+ if not retry:
1141
+ merge_best_xml(best_xml)
1142
+ break
1143
+ serial = True
1144
+ for entry in branch_log:
1145
+ entry["branch"] = branch
1146
+ result["log"].extend(branch_log)
1147
+
1148
+ return result
1149
+
1150
+
1151
+ def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
1152
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
1153
+ write_json(LOG_DIR / "programgym_eval.json", result)
1154
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
1155
+ rewards = summarize(result, metadata)
1156
+ write_json(LOG_DIR / "reward.json", rewards)
1157
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
1158
+
1159
+
1160
+ def main() -> None:
1161
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
1162
+ log_path = LOG_DIR / "programgym_eval.log"
1163
+ metadata = json.loads(METADATA_PATH.read_text())
1164
+ branches = metadata.get("branches", {})
1165
+ try:
1166
+ result = evaluate(metadata)
1167
+ except Exception as exc:
1168
+ error_code = type(exc).__name__
1169
+ result = {
1170
+ "test_results": [],
1171
+ "error_code": error_code,
1172
+ "error_details": str(exc),
1173
+ "log": [
1174
+ {
1175
+ "step": "evaluator_exception",
1176
+ "exception_info": traceback.format_exc(),
1177
+ "returncode": 1,
1178
+ }
1179
+ ],
1180
+ "solution_branch": "submission",
1181
+ "test_branches": [
1182
+ name for name, info in branches.items() if not info.get("ignored")
1183
+ ],
1184
+ "test_branch_errors": {
1185
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
1186
+ },
1187
+ "executable_hash": None,
1188
+ "warnings": [],
1189
+ }
1190
+ for branch, info in branches.items():
1191
+ if info.get("ignored"):
1192
+ continue
1193
+ inject_not_run(result, branch, branch_tests(info), error_code)
1194
+ log_path.write_text(traceback.format_exc())
1195
+ else:
1196
+ log_path.write_text("")
1197
+ write_outputs(result, metadata)
1198
+
1199
+
1200
+ if __name__ == "__main__":
1201
+ main()
mobilefirstllc--social-media-hac/tests/programgym_task.json ADDED
@@ -0,0 +1,1052 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "branches": {
3
+ "generated_module_01": {
4
+ "ignore_reason": "",
5
+ "ignored": false,
6
+ "ignored_tests": [
7
+ {
8
+ "name": "eval.tests.test_check_url.test_502_on_plain_path_is_not_accepted_even_with_reddit_suffix_segment",
9
+ "reasons": [
10
+ {
11
+ "id": "all_assertions_weak",
12
+ "message": "pytest test uses only weak assertions",
13
+ "path": "eval/tests/test_check_url.py",
14
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
15
+ "severity": "error",
16
+ "stage": "static_lint"
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "name": "eval.tests.test_check_url.test_head_then_get_order_is_head_first",
22
+ "reasons": [
23
+ {
24
+ "id": "short_substring",
25
+ "message": "pytest test uses a too-short substring oracle",
26
+ "path": "eval/tests/test_check_url.py",
27
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
28
+ "severity": "error",
29
+ "stage": "static_lint"
30
+ },
31
+ {
32
+ "id": "test_network_dependency",
33
+ "message": "test appears to depend on networking",
34
+ "path": "eval/tests/test_check_url.py",
35
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
36
+ "severity": "error",
37
+ "stage": "static_lint"
38
+ }
39
+ ]
40
+ },
41
+ {
42
+ "name": "eval.tests.test_check_url.test_redirect_to_bad_target_fails_with_target_status",
43
+ "reasons": [
44
+ {
45
+ "id": "short_substring",
46
+ "message": "pytest test uses a too-short substring oracle",
47
+ "path": "eval/tests/test_check_url.py",
48
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
49
+ "severity": "error",
50
+ "stage": "static_lint"
51
+ },
52
+ {
53
+ "id": "generic_keyword_oracle",
54
+ "message": "pytest test uses a generic keyword oracle",
55
+ "path": "eval/tests/test_check_url.py",
56
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
57
+ "severity": "error",
58
+ "stage": "static_lint"
59
+ }
60
+ ]
61
+ },
62
+ {
63
+ "name": "eval.tests.test_check_url.test_status_200_passes",
64
+ "reasons": [
65
+ {
66
+ "id": "generic_keyword_oracle",
67
+ "message": "pytest test uses a generic keyword oracle",
68
+ "path": "eval/tests/test_check_url.py",
69
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
70
+ "severity": "error",
71
+ "stage": "static_lint"
72
+ }
73
+ ]
74
+ },
75
+ {
76
+ "name": "eval.tests.test_check_url.test_status_404_is_failure",
77
+ "reasons": [
78
+ {
79
+ "id": "short_substring",
80
+ "message": "pytest test uses a too-short substring oracle",
81
+ "path": "eval/tests/test_check_url.py",
82
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
83
+ "severity": "error",
84
+ "stage": "static_lint"
85
+ },
86
+ {
87
+ "id": "generic_keyword_oracle",
88
+ "message": "pytest test uses a generic keyword oracle",
89
+ "path": "eval/tests/test_check_url.py",
90
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
91
+ "severity": "error",
92
+ "stage": "static_lint"
93
+ }
94
+ ]
95
+ },
96
+ {
97
+ "name": "eval.tests.test_check_url.test_success_only_issues_head_not_get",
98
+ "reasons": [
99
+ {
100
+ "id": "short_substring",
101
+ "message": "pytest test uses a too-short substring oracle",
102
+ "path": "eval/tests/test_check_url.py",
103
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
104
+ "severity": "error",
105
+ "stage": "static_lint"
106
+ },
107
+ {
108
+ "id": "test_network_dependency",
109
+ "message": "test appears to depend on networking",
110
+ "path": "eval/tests/test_check_url.py",
111
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
112
+ "severity": "error",
113
+ "stage": "static_lint"
114
+ }
115
+ ]
116
+ },
117
+ {
118
+ "name": "eval.tests.test_check_url_redirects.test_multi_hop_redirect_landing_on_404_fails",
119
+ "reasons": [
120
+ {
121
+ "id": "short_substring",
122
+ "message": "pytest test uses a too-short substring oracle",
123
+ "path": "eval/tests/test_check_url_redirects.py",
124
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
125
+ "severity": "error",
126
+ "stage": "static_lint"
127
+ },
128
+ {
129
+ "id": "generic_keyword_oracle",
130
+ "message": "pytest test uses a generic keyword oracle",
131
+ "path": "eval/tests/test_check_url_redirects.py",
132
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
133
+ "severity": "error",
134
+ "stage": "static_lint"
135
+ }
136
+ ]
137
+ },
138
+ {
139
+ "name": "eval.tests.test_check_url_redirects.test_redirect_follow_request_reaches_final_target",
140
+ "reasons": [
141
+ {
142
+ "id": "short_substring",
143
+ "message": "pytest test uses a too-short substring oracle",
144
+ "path": "eval/tests/test_check_url_redirects.py",
145
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
146
+ "severity": "error",
147
+ "stage": "static_lint"
148
+ },
149
+ {
150
+ "id": "test_network_dependency",
151
+ "message": "test appears to depend on networking",
152
+ "path": "eval/tests/test_check_url_redirects.py",
153
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
154
+ "severity": "error",
155
+ "stage": "static_lint"
156
+ }
157
+ ]
158
+ },
159
+ {
160
+ "name": "eval.tests.test_check_url_redirects.test_status_201_created_is_failure",
161
+ "reasons": [
162
+ {
163
+ "id": "short_substring",
164
+ "message": "pytest test uses a too-short substring oracle",
165
+ "path": "eval/tests/test_check_url_redirects.py",
166
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
167
+ "severity": "error",
168
+ "stage": "static_lint"
169
+ },
170
+ {
171
+ "id": "generic_keyword_oracle",
172
+ "message": "pytest test uses a generic keyword oracle",
173
+ "path": "eval/tests/test_check_url_redirects.py",
174
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
175
+ "severity": "error",
176
+ "stage": "static_lint"
177
+ }
178
+ ]
179
+ },
180
+ {
181
+ "name": "eval.tests.test_check_url_redirects.test_status_300_multiple_choices_is_failure",
182
+ "reasons": [
183
+ {
184
+ "id": "short_substring",
185
+ "message": "pytest test uses a too-short substring oracle",
186
+ "path": "eval/tests/test_check_url_redirects.py",
187
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
188
+ "severity": "error",
189
+ "stage": "static_lint"
190
+ },
191
+ {
192
+ "id": "generic_keyword_oracle",
193
+ "message": "pytest test uses a generic keyword oracle",
194
+ "path": "eval/tests/test_check_url_redirects.py",
195
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
196
+ "severity": "error",
197
+ "stage": "static_lint"
198
+ }
199
+ ]
200
+ },
201
+ {
202
+ "name": "eval.tests.test_env_and_input.test_crlf_line_endings_do_not_break_extraction",
203
+ "reasons": [
204
+ {
205
+ "id": "generic_keyword_oracle",
206
+ "message": "pytest test uses a generic keyword oracle",
207
+ "path": "eval/tests/test_env_and_input.py",
208
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
209
+ "severity": "error",
210
+ "stage": "static_lint"
211
+ }
212
+ ]
213
+ },
214
+ {
215
+ "name": "eval.tests.test_env_and_input.test_empty_github_token_env_is_tolerated",
216
+ "reasons": [
217
+ {
218
+ "id": "sole_returncode",
219
+ "message": "pytest test only asserts returncode == 0",
220
+ "path": "eval/tests/test_env_and_input.py",
221
+ "repair_hint": "Check stdout, stderr, generated files, or structured output in addition to exit code.",
222
+ "severity": "error",
223
+ "stage": "static_lint"
224
+ },
225
+ {
226
+ "id": "all_assertions_weak",
227
+ "message": "pytest test uses only weak assertions",
228
+ "path": "eval/tests/test_env_and_input.py",
229
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
230
+ "severity": "error",
231
+ "stage": "static_lint"
232
+ }
233
+ ]
234
+ },
235
+ {
236
+ "name": "eval.tests.test_env_and_input.test_url_interleaved_with_markdown_link_syntax",
237
+ "reasons": [
238
+ {
239
+ "id": "generic_keyword_oracle",
240
+ "message": "pytest test uses a generic keyword oracle",
241
+ "path": "eval/tests/test_env_and_input.py",
242
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
243
+ "severity": "error",
244
+ "stage": "static_lint"
245
+ }
246
+ ]
247
+ },
248
+ {
249
+ "name": "eval.tests.test_env_and_input.test_url_surrounded_by_parentheses_extracted",
250
+ "reasons": [
251
+ {
252
+ "id": "generic_keyword_oracle",
253
+ "message": "pytest test uses a generic keyword oracle",
254
+ "path": "eval/tests/test_env_and_input.py",
255
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
256
+ "severity": "error",
257
+ "stage": "static_lint"
258
+ }
259
+ ]
260
+ },
261
+ {
262
+ "name": "eval.tests.test_extraction.test_duplicate_urls_deduped_to_one_entry",
263
+ "reasons": [
264
+ {
265
+ "id": "generic_keyword_oracle",
266
+ "message": "pytest test uses a generic keyword oracle",
267
+ "path": "eval/tests/test_extraction.py",
268
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
269
+ "severity": "error",
270
+ "stage": "static_lint"
271
+ }
272
+ ]
273
+ },
274
+ {
275
+ "name": "eval.tests.test_extraction.test_duplicate_urls_in_markdown_deduped_to_one_entry",
276
+ "reasons": [
277
+ {
278
+ "id": "generic_keyword_oracle",
279
+ "message": "pytest test uses a generic keyword oracle",
280
+ "path": "eval/tests/test_extraction.py",
281
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
282
+ "severity": "error",
283
+ "stage": "static_lint"
284
+ }
285
+ ]
286
+ },
287
+ {
288
+ "name": "eval.tests.test_extraction.test_single_url_prints_checking_one_entry",
289
+ "reasons": [
290
+ {
291
+ "id": "generic_keyword_oracle",
292
+ "message": "pytest test uses a generic keyword oracle",
293
+ "path": "eval/tests/test_extraction.py",
294
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
295
+ "severity": "error",
296
+ "stage": "static_lint"
297
+ }
298
+ ]
299
+ },
300
+ {
301
+ "name": "eval.tests.test_extraction.test_url_after_hashtag_comment_is_extracted",
302
+ "reasons": [
303
+ {
304
+ "id": "generic_keyword_oracle",
305
+ "message": "pytest test uses a generic keyword oracle",
306
+ "path": "eval/tests/test_extraction.py",
307
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
308
+ "severity": "error",
309
+ "stage": "static_lint"
310
+ }
311
+ ]
312
+ },
313
+ {
314
+ "name": "eval.tests.test_extraction.test_url_embedded_in_prose_is_extracted",
315
+ "reasons": [
316
+ {
317
+ "id": "generic_keyword_oracle",
318
+ "message": "pytest test uses a generic keyword oracle",
319
+ "path": "eval/tests/test_extraction.py",
320
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
321
+ "severity": "error",
322
+ "stage": "static_lint"
323
+ }
324
+ ]
325
+ },
326
+ {
327
+ "name": "eval.tests.test_extraction.test_url_with_query_string_is_extracted",
328
+ "reasons": [
329
+ {
330
+ "id": "generic_keyword_oracle",
331
+ "message": "pytest test uses a generic keyword oracle",
332
+ "path": "eval/tests/test_extraction.py",
333
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
334
+ "severity": "error",
335
+ "stage": "static_lint"
336
+ }
337
+ ]
338
+ },
339
+ {
340
+ "name": "eval.tests.test_extraction_routing_edges.test_back_to_back_urls_collapse_into_one_extraction",
341
+ "reasons": [
342
+ {
343
+ "id": "returncode_in_list",
344
+ "message": "pytest test accepts multiple return codes",
345
+ "path": "eval/tests/test_extraction_routing_edges.py",
346
+ "repair_hint": "Assert the exact expected exit code and the corresponding observable output.",
347
+ "severity": "error",
348
+ "stage": "static_lint"
349
+ },
350
+ {
351
+ "id": "generic_keyword_oracle",
352
+ "message": "pytest test uses a generic keyword oracle",
353
+ "path": "eval/tests/test_extraction_routing_edges.py",
354
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
355
+ "severity": "error",
356
+ "stage": "static_lint"
357
+ }
358
+ ]
359
+ },
360
+ {
361
+ "name": "eval.tests.test_extraction_routing_edges.test_failed_url_among_passing_is_isolated",
362
+ "reasons": [
363
+ {
364
+ "id": "short_substring",
365
+ "message": "pytest test uses a too-short substring oracle",
366
+ "path": "eval/tests/test_extraction_routing_edges.py",
367
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
368
+ "severity": "error",
369
+ "stage": "static_lint"
370
+ },
371
+ {
372
+ "id": "generic_keyword_oracle",
373
+ "message": "pytest test uses a generic keyword oracle",
374
+ "path": "eval/tests/test_extraction_routing_edges.py",
375
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
376
+ "severity": "error",
377
+ "stage": "static_lint"
378
+ }
379
+ ]
380
+ },
381
+ {
382
+ "name": "eval.tests.test_extraction_routing_edges.test_matching_host_path_with_scheme_only_extracts_bare_url",
383
+ "reasons": [
384
+ {
385
+ "id": "generic_keyword_oracle",
386
+ "message": "pytest test uses a generic keyword oracle",
387
+ "path": "eval/tests/test_extraction_routing_edges.py",
388
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
389
+ "severity": "error",
390
+ "stage": "static_lint"
391
+ }
392
+ ]
393
+ },
394
+ {
395
+ "name": "eval.tests.test_extraction_routing_edges.test_three_urls_show_only_hundred_progress",
396
+ "reasons": [
397
+ {
398
+ "id": "short_substring",
399
+ "message": "pytest test uses a too-short substring oracle",
400
+ "path": "eval/tests/test_extraction_routing_edges.py",
401
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
402
+ "severity": "error",
403
+ "stage": "static_lint"
404
+ }
405
+ ]
406
+ },
407
+ {
408
+ "name": "eval.tests.test_extraction_routing_edges.test_url_inside_quotes_is_extracted",
409
+ "reasons": [
410
+ {
411
+ "id": "generic_keyword_oracle",
412
+ "message": "pytest test uses a generic keyword oracle",
413
+ "path": "eval/tests/test_extraction_routing_edges.py",
414
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
415
+ "severity": "error",
416
+ "stage": "static_lint"
417
+ }
418
+ ]
419
+ },
420
+ {
421
+ "name": "eval.tests.test_extraction_routing_edges.test_url_with_query_and_fragment_plus_anchor_text",
422
+ "reasons": [
423
+ {
424
+ "id": "generic_keyword_oracle",
425
+ "message": "pytest test uses a generic keyword oracle",
426
+ "path": "eval/tests/test_extraction_routing_edges.py",
427
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
428
+ "severity": "error",
429
+ "stage": "static_lint"
430
+ }
431
+ ]
432
+ },
433
+ {
434
+ "name": "eval.tests.test_extraction_routing_edges.test_url_with_trailing_period_is_extracted",
435
+ "reasons": [
436
+ {
437
+ "id": "generic_keyword_oracle",
438
+ "message": "pytest test uses a generic keyword oracle",
439
+ "path": "eval/tests/test_extraction_routing_edges.py",
440
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
441
+ "severity": "error",
442
+ "stage": "static_lint"
443
+ }
444
+ ]
445
+ },
446
+ {
447
+ "name": "eval.tests.test_github_repo_api.test_duplicate_github_repo_lines_dedup_to_one",
448
+ "reasons": [
449
+ {
450
+ "id": "short_substring",
451
+ "message": "pytest test uses a too-short substring oracle",
452
+ "path": "eval/tests/test_github_repo_api.py",
453
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
454
+ "severity": "error",
455
+ "stage": "static_lint"
456
+ },
457
+ {
458
+ "id": "generic_keyword_oracle",
459
+ "message": "pytest test uses a generic keyword oracle",
460
+ "path": "eval/tests/test_github_repo_api.py",
461
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
462
+ "severity": "error",
463
+ "stage": "static_lint"
464
+ }
465
+ ]
466
+ },
467
+ {
468
+ "name": "eval.tests.test_github_repo_api.test_github_owner_repo_is_routed_to_api",
469
+ "reasons": [
470
+ {
471
+ "id": "no_assertions",
472
+ "message": "pytest test contains no assert statements",
473
+ "path": "eval/tests/test_github_repo_api.py",
474
+ "repair_hint": "Add concrete assert statements over observable executable behavior.",
475
+ "severity": "error",
476
+ "stage": "static_lint"
477
+ }
478
+ ]
479
+ },
480
+ {
481
+ "name": "eval.tests.test_github_repo_api.test_github_repo_extra_path_segment_still_uses_first_two_segments",
482
+ "reasons": [
483
+ {
484
+ "id": "no_assertions",
485
+ "message": "pytest test contains no assert statements",
486
+ "path": "eval/tests/test_github_repo_api.py",
487
+ "repair_hint": "Add concrete assert statements over observable executable behavior.",
488
+ "severity": "error",
489
+ "stage": "static_lint"
490
+ }
491
+ ]
492
+ },
493
+ {
494
+ "name": "eval.tests.test_github_repo_api.test_github_repo_mixed_with_ok_http_url_fails_for_repo_only",
495
+ "reasons": [
496
+ {
497
+ "id": "short_substring",
498
+ "message": "pytest test uses a too-short substring oracle",
499
+ "path": "eval/tests/test_github_repo_api.py",
500
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
501
+ "severity": "error",
502
+ "stage": "static_lint"
503
+ },
504
+ {
505
+ "id": "generic_keyword_oracle",
506
+ "message": "pytest test uses a generic keyword oracle",
507
+ "path": "eval/tests/test_github_repo_api.py",
508
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
509
+ "severity": "error",
510
+ "stage": "static_lint"
511
+ }
512
+ ]
513
+ },
514
+ {
515
+ "name": "eval.tests.test_github_repo_api.test_github_repo_with_dashes_in_owner_and_repo",
516
+ "reasons": [
517
+ {
518
+ "id": "no_assertions",
519
+ "message": "pytest test contains no assert statements",
520
+ "path": "eval/tests/test_github_repo_api.py",
521
+ "repair_hint": "Add concrete assert statements over observable executable behavior.",
522
+ "severity": "error",
523
+ "stage": "static_lint"
524
+ }
525
+ ]
526
+ },
527
+ {
528
+ "name": "eval.tests.test_github_repo_api.test_github_repo_with_fragment_and_query",
529
+ "reasons": [
530
+ {
531
+ "id": "no_assertions",
532
+ "message": "pytest test contains no assert statements",
533
+ "path": "eval/tests/test_github_repo_api.py",
534
+ "repair_hint": "Add concrete assert statements over observable executable behavior.",
535
+ "severity": "error",
536
+ "stage": "static_lint"
537
+ }
538
+ ]
539
+ },
540
+ {
541
+ "name": "eval.tests.test_github_repo_api.test_github_repo_with_numeric_owner",
542
+ "reasons": [
543
+ {
544
+ "id": "no_assertions",
545
+ "message": "pytest test contains no assert statements",
546
+ "path": "eval/tests/test_github_repo_api.py",
547
+ "repair_hint": "Add concrete assert statements over observable executable behavior.",
548
+ "severity": "error",
549
+ "stage": "static_lint"
550
+ }
551
+ ]
552
+ },
553
+ {
554
+ "name": "eval.tests.test_github_repo_api.test_two_github_repos_processed_and_both_fail",
555
+ "reasons": [
556
+ {
557
+ "id": "short_substring",
558
+ "message": "pytest test uses a too-short substring oracle",
559
+ "path": "eval/tests/test_github_repo_api.py",
560
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
561
+ "severity": "error",
562
+ "stage": "static_lint"
563
+ },
564
+ {
565
+ "id": "generic_keyword_oracle",
566
+ "message": "pytest test uses a generic keyword oracle",
567
+ "path": "eval/tests/test_github_repo_api.py",
568
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
569
+ "severity": "error",
570
+ "stage": "static_lint"
571
+ }
572
+ ]
573
+ },
574
+ {
575
+ "name": "eval.tests.test_repo_routing.test_github_repo_with_query_and_fragment_is_processed",
576
+ "reasons": [
577
+ {
578
+ "id": "generic_keyword_oracle",
579
+ "message": "pytest test uses a generic keyword oracle",
580
+ "path": "eval/tests/test_repo_routing.py",
581
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
582
+ "severity": "error",
583
+ "stage": "static_lint"
584
+ }
585
+ ]
586
+ },
587
+ {
588
+ "name": "eval.tests.test_repo_routing.test_github_root_path_is_extracted_and_processed",
589
+ "reasons": [
590
+ {
591
+ "id": "returncode_in_list",
592
+ "message": "pytest test accepts multiple return codes",
593
+ "path": "eval/tests/test_repo_routing.py",
594
+ "repair_hint": "Assert the exact expected exit code and the corresponding observable output.",
595
+ "severity": "error",
596
+ "stage": "static_lint"
597
+ },
598
+ {
599
+ "id": "generic_keyword_oracle",
600
+ "message": "pytest test uses a generic keyword oracle",
601
+ "path": "eval/tests/test_repo_routing.py",
602
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
603
+ "severity": "error",
604
+ "stage": "static_lint"
605
+ }
606
+ ]
607
+ },
608
+ {
609
+ "name": "eval.tests.test_repo_routing.test_three_segment_github_path_is_treated_as_repo",
610
+ "reasons": [
611
+ {
612
+ "id": "generic_keyword_oracle",
613
+ "message": "pytest test uses a generic keyword oracle",
614
+ "path": "eval/tests/test_repo_routing.py",
615
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
616
+ "severity": "error",
617
+ "stage": "static_lint"
618
+ }
619
+ ]
620
+ },
621
+ {
622
+ "name": "eval.tests.test_repo_routing.test_two_segment_github_host_is_not_repo_path",
623
+ "reasons": [
624
+ {
625
+ "id": "returncode_in_list",
626
+ "message": "pytest test accepts multiple return codes",
627
+ "path": "eval/tests/test_repo_routing.py",
628
+ "repair_hint": "Assert the exact expected exit code and the corresponding observable output.",
629
+ "severity": "error",
630
+ "stage": "static_lint"
631
+ },
632
+ {
633
+ "id": "generic_keyword_oracle",
634
+ "message": "pytest test uses a generic keyword oracle",
635
+ "path": "eval/tests/test_repo_routing.py",
636
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
637
+ "severity": "error",
638
+ "stage": "static_lint"
639
+ }
640
+ ]
641
+ },
642
+ {
643
+ "name": "eval.tests.test_repo_routing.test_www_github_host_routed_identically",
644
+ "reasons": [
645
+ {
646
+ "id": "returncode_in_list",
647
+ "message": "pytest test accepts multiple return codes",
648
+ "path": "eval/tests/test_repo_routing.py",
649
+ "repair_hint": "Assert the exact expected exit code and the corresponding observable output.",
650
+ "severity": "error",
651
+ "stage": "static_lint"
652
+ },
653
+ {
654
+ "id": "generic_keyword_oracle",
655
+ "message": "pytest test uses a generic keyword oracle",
656
+ "path": "eval/tests/test_repo_routing.py",
657
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
658
+ "severity": "error",
659
+ "stage": "static_lint"
660
+ }
661
+ ]
662
+ },
663
+ {
664
+ "name": "eval.tests.test_reporting.test_failure_exit_code_is_one",
665
+ "reasons": [
666
+ {
667
+ "id": "all_assertions_weak",
668
+ "message": "pytest test uses only weak assertions",
669
+ "path": "eval/tests/test_reporting.py",
670
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
671
+ "severity": "error",
672
+ "stage": "static_lint"
673
+ }
674
+ ]
675
+ },
676
+ {
677
+ "name": "eval.tests.test_reporting.test_four_urls_progress_reports_only_multiples_of_ten",
678
+ "reasons": [
679
+ {
680
+ "id": "short_substring",
681
+ "message": "pytest test uses a too-short substring oracle",
682
+ "path": "eval/tests/test_reporting.py",
683
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
684
+ "severity": "error",
685
+ "stage": "static_lint"
686
+ }
687
+ ]
688
+ },
689
+ {
690
+ "name": "eval.tests.test_reporting.test_mixed_pass_and_fail_counts_failures_only",
691
+ "reasons": [
692
+ {
693
+ "id": "short_substring",
694
+ "message": "pytest test uses a too-short substring oracle",
695
+ "path": "eval/tests/test_reporting.py",
696
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
697
+ "severity": "error",
698
+ "stage": "static_lint"
699
+ },
700
+ {
701
+ "id": "generic_keyword_oracle",
702
+ "message": "pytest test uses a generic keyword oracle",
703
+ "path": "eval/tests/test_reporting.py",
704
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
705
+ "severity": "error",
706
+ "stage": "static_lint"
707
+ }
708
+ ]
709
+ },
710
+ {
711
+ "name": "eval.tests.test_reporting.test_progress_reports_failure_count_accumulation",
712
+ "reasons": [
713
+ {
714
+ "id": "short_substring",
715
+ "message": "pytest test uses a too-short substring oracle",
716
+ "path": "eval/tests/test_reporting.py",
717
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
718
+ "severity": "error",
719
+ "stage": "static_lint"
720
+ },
721
+ {
722
+ "id": "generic_keyword_oracle",
723
+ "message": "pytest test uses a generic keyword oracle",
724
+ "path": "eval/tests/test_reporting.py",
725
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
726
+ "severity": "error",
727
+ "stage": "static_lint"
728
+ }
729
+ ]
730
+ },
731
+ {
732
+ "name": "eval.tests.test_reporting.test_progress_steps_only_when_percent_increments",
733
+ "reasons": [
734
+ {
735
+ "id": "short_substring",
736
+ "message": "pytest test uses a too-short substring oracle",
737
+ "path": "eval/tests/test_reporting.py",
738
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
739
+ "severity": "error",
740
+ "stage": "static_lint"
741
+ }
742
+ ]
743
+ },
744
+ {
745
+ "name": "eval.tests.test_reporting.test_single_failure_prints_one_failure_line",
746
+ "reasons": [
747
+ {
748
+ "id": "short_substring",
749
+ "message": "pytest test uses a too-short substring oracle",
750
+ "path": "eval/tests/test_reporting.py",
751
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
752
+ "severity": "error",
753
+ "stage": "static_lint"
754
+ },
755
+ {
756
+ "id": "generic_keyword_oracle",
757
+ "message": "pytest test uses a generic keyword oracle",
758
+ "path": "eval/tests/test_reporting.py",
759
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
760
+ "severity": "error",
761
+ "stage": "static_lint"
762
+ }
763
+ ]
764
+ },
765
+ {
766
+ "name": "eval.tests.test_reporting.test_two_failures_prints_two_lines_in_order",
767
+ "reasons": [
768
+ {
769
+ "id": "short_substring",
770
+ "message": "pytest test uses a too-short substring oracle",
771
+ "path": "eval/tests/test_reporting.py",
772
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
773
+ "severity": "error",
774
+ "stage": "static_lint"
775
+ },
776
+ {
777
+ "id": "generic_keyword_oracle",
778
+ "message": "pytest test uses a generic keyword oracle",
779
+ "path": "eval/tests/test_reporting.py",
780
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
781
+ "severity": "error",
782
+ "stage": "static_lint"
783
+ }
784
+ ]
785
+ },
786
+ {
787
+ "name": "eval.tests.test_reporting.test_two_urls_progress_shows_50_then_100",
788
+ "reasons": [
789
+ {
790
+ "id": "short_substring",
791
+ "message": "pytest test uses a too-short substring oracle",
792
+ "path": "eval/tests/test_reporting.py",
793
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
794
+ "severity": "error",
795
+ "stage": "static_lint"
796
+ }
797
+ ]
798
+ }
799
+ ],
800
+ "tests": [
801
+ "eval.tests.test_check_url.test_429_on_path_containing_apps_apple_com_is_accepted",
802
+ "eval.tests.test_check_url.test_429_on_plain_path_is_failure",
803
+ "eval.tests.test_check_url.test_502_on_path_containing_reddit_com_is_accepted",
804
+ "eval.tests.test_check_url.test_502_on_plain_path_is_not_accepted_even_with_reddit_suffix_segment",
805
+ "eval.tests.test_check_url.test_accepted_status_passes[200]",
806
+ "eval.tests.test_check_url.test_accepted_status_passes[403]",
807
+ "eval.tests.test_check_url.test_accepted_status_passes[406]",
808
+ "eval.tests.test_check_url.test_connection_refused_reports_generic_error",
809
+ "eval.tests.test_check_url.test_edge_status_accepted_when_url_substring_present[429-apps.apple.com/]",
810
+ "eval.tests.test_check_url.test_edge_status_accepted_when_url_substring_present[502-reddit.com/]",
811
+ "eval.tests.test_check_url.test_head_failure_and_get_failure_reports_four_o_four",
812
+ "eval.tests.test_check_url.test_head_failure_and_get_failure_reports_get_status",
813
+ "eval.tests.test_check_url.test_head_failure_then_get_success_passes",
814
+ "eval.tests.test_check_url.test_head_success_shortcircuits_get",
815
+ "eval.tests.test_check_url.test_head_then_get_order_is_head_first",
816
+ "eval.tests.test_check_url.test_ok_status_is_preferred_over_body_presence",
817
+ "eval.tests.test_check_url.test_permanent_redirect_followed_to_ok_passes",
818
+ "eval.tests.test_check_url.test_reason_line_matches_url_dash_reason_pattern",
819
+ "eval.tests.test_check_url.test_redirect_followed_to_ok_passes",
820
+ "eval.tests.test_check_url.test_redirect_loop_reports_generic_error",
821
+ "eval.tests.test_check_url.test_redirect_to_bad_target_fails_with_target_status",
822
+ "eval.tests.test_check_url.test_rejected_status_is_failure[400]",
823
+ "eval.tests.test_check_url.test_rejected_status_is_failure[404]",
824
+ "eval.tests.test_check_url.test_rejected_status_is_failure[410]",
825
+ "eval.tests.test_check_url.test_rejected_status_is_failure[418]",
826
+ "eval.tests.test_check_url.test_rejected_status_is_failure[429]",
827
+ "eval.tests.test_check_url.test_rejected_status_is_failure[500]",
828
+ "eval.tests.test_check_url.test_rejected_status_is_failure[502]",
829
+ "eval.tests.test_check_url.test_rejected_status_is_failure[503]",
830
+ "eval.tests.test_check_url.test_rejected_status_is_failure[504]",
831
+ "eval.tests.test_check_url.test_short_body_is_fetched_on_get_only",
832
+ "eval.tests.test_check_url.test_status_200_passes",
833
+ "eval.tests.test_check_url.test_status_403_is_accepted",
834
+ "eval.tests.test_check_url.test_status_404_is_failure",
835
+ "eval.tests.test_check_url.test_status_406_is_accepted",
836
+ "eval.tests.test_check_url.test_status_410_is_failure_with_reason",
837
+ "eval.tests.test_check_url.test_status_500_is_failure_with_reason",
838
+ "eval.tests.test_check_url.test_status_502_without_reddit_is_failure",
839
+ "eval.tests.test_check_url.test_status_503_is_failure_with_reason",
840
+ "eval.tests.test_check_url.test_success_only_issues_head_not_get",
841
+ "eval.tests.test_check_url_redirects.test_301_permanent_redirect_followed_to_ok",
842
+ "eval.tests.test_check_url_redirects.test_303_see_other_redirect_followed_to_ok",
843
+ "eval.tests.test_check_url_redirects.test_307_temporary_redirect_followed_to_ok",
844
+ "eval.tests.test_check_url_redirects.test_multi_hop_redirect_chain_followed_to_ok",
845
+ "eval.tests.test_check_url_redirects.test_multi_hop_redirect_landing_on_404_fails",
846
+ "eval.tests.test_check_url_redirects.test_redirect_follow_request_reaches_final_target",
847
+ "eval.tests.test_check_url_redirects.test_redirect_with_body_target_still_passes",
848
+ "eval.tests.test_check_url_redirects.test_status_201_created_is_failure",
849
+ "eval.tests.test_check_url_redirects.test_status_206_partial_content_is_failure",
850
+ "eval.tests.test_check_url_redirects.test_status_300_multiple_choices_is_failure",
851
+ "eval.tests.test_check_url_redirects.test_status_424_failed_dependency_is_failure",
852
+ "eval.tests.test_env_and_input.test_crlf_line_endings_do_not_break_extraction",
853
+ "eval.tests.test_env_and_input.test_empty_github_token_env_is_tolerated",
854
+ "eval.tests.test_env_and_input.test_github_token_env_does_not_break_http_path",
855
+ "eval.tests.test_env_and_input.test_large_bounded_input_with_no_urls_reports_no_urls",
856
+ "eval.tests.test_env_and_input.test_many_urls_processed_to_completion",
857
+ "eval.tests.test_env_and_input.test_no_url_regardless_of_github_token",
858
+ "eval.tests.test_env_and_input.test_url_interleaved_with_markdown_link_syntax",
859
+ "eval.tests.test_env_and_input.test_url_split_across_lines_is_two_urls",
860
+ "eval.tests.test_env_and_input.test_url_surrounded_by_parentheses_extracted",
861
+ "eval.tests.test_extraction.test_bare_scheme_without_host_is_not_extracted",
862
+ "eval.tests.test_extraction.test_duplicate_urls_deduped_to_one_entry",
863
+ "eval.tests.test_extraction.test_duplicate_urls_in_markdown_deduped_to_one_entry",
864
+ "eval.tests.test_extraction.test_empty_stdin_reports_no_urls_and_exits_zero",
865
+ "eval.tests.test_extraction.test_http_and_https_are_distinct_urls",
866
+ "eval.tests.test_extraction.test_http_prefix_not_followed_by_domain_reports_no_urls",
867
+ "eval.tests.test_extraction.test_markdown_table_without_urls_reports_no_urls",
868
+ "eval.tests.test_extraction.test_multiple_urls_prints_checking_total_count",
869
+ "eval.tests.test_extraction.test_prose_without_urls_reports_no_urls",
870
+ "eval.tests.test_extraction.test_single_url_prints_checking_one_entry",
871
+ "eval.tests.test_extraction.test_url_after_hashtag_comment_is_extracted",
872
+ "eval.tests.test_extraction.test_url_embedded_in_prose_is_extracted",
873
+ "eval.tests.test_extraction.test_url_with_query_string_is_extracted",
874
+ "eval.tests.test_extraction.test_whitespace_only_stdin_reports_no_urls",
875
+ "eval.tests.test_extraction_routing_edges.test_back_to_back_urls_collapse_into_one_extraction",
876
+ "eval.tests.test_extraction_routing_edges.test_failed_url_among_passing_is_isolated",
877
+ "eval.tests.test_extraction_routing_edges.test_five_urls_show_20_40_60_80_progress",
878
+ "eval.tests.test_extraction_routing_edges.test_github_two_segment_path_is_not_repo_via_http_fallback",
879
+ "eval.tests.test_extraction_routing_edges.test_http_and_https_variants_of_same_host_are_distinct",
880
+ "eval.tests.test_extraction_routing_edges.test_matching_host_path_with_scheme_only_extracts_bare_url",
881
+ "eval.tests.test_extraction_routing_edges.test_nested_owner_repo_path_on_loopback_is_http",
882
+ "eval.tests.test_extraction_routing_edges.test_owner_repo_path_on_loopback_is_routed_to_http",
883
+ "eval.tests.test_extraction_routing_edges.test_single_url_no_progress_lines_besides_banner_and_check",
884
+ "eval.tests.test_extraction_routing_edges.test_three_urls_show_only_hundred_progress",
885
+ "eval.tests.test_extraction_routing_edges.test_uppercase_http_scheme_is_extracted",
886
+ "eval.tests.test_extraction_routing_edges.test_url_inside_quotes_is_extracted",
887
+ "eval.tests.test_extraction_routing_edges.test_url_with_query_and_fragment_plus_anchor_text",
888
+ "eval.tests.test_extraction_routing_edges.test_url_with_trailing_period_is_extracted",
889
+ "eval.tests.test_github_repo_api.test_duplicate_github_repo_lines_dedup_to_one",
890
+ "eval.tests.test_github_repo_api.test_github_owner_repo_is_routed_to_api",
891
+ "eval.tests.test_github_repo_api.test_github_repo_extra_path_segment_still_uses_first_two_segments",
892
+ "eval.tests.test_github_repo_api.test_github_repo_mixed_with_ok_http_url_fails_for_repo_only",
893
+ "eval.tests.test_github_repo_api.test_github_repo_with_dashes_in_owner_and_repo",
894
+ "eval.tests.test_github_repo_api.test_github_repo_with_fragment_and_query",
895
+ "eval.tests.test_github_repo_api.test_github_repo_with_numeric_owner",
896
+ "eval.tests.test_github_repo_api.test_two_github_repos_processed_and_both_fail",
897
+ "eval.tests.test_repo_routing.test_github_repo_failure_reports_reason",
898
+ "eval.tests.test_repo_routing.test_github_repo_with_query_and_fragment_is_processed",
899
+ "eval.tests.test_repo_routing.test_github_root_path_is_extracted_and_processed",
900
+ "eval.tests.test_repo_routing.test_non_github_url_is_routed_to_http_checker",
901
+ "eval.tests.test_repo_routing.test_owner_repo_looking_path_on_non_github_host_is_http",
902
+ "eval.tests.test_repo_routing.test_three_segment_github_path_is_treated_as_repo",
903
+ "eval.tests.test_repo_routing.test_two_segment_github_host_is_not_repo_path",
904
+ "eval.tests.test_repo_routing.test_www_github_host_routed_identically",
905
+ "eval.tests.test_reporting.test_all_pass_prints_checkmark_only_once",
906
+ "eval.tests.test_reporting.test_banner_printed_before_results",
907
+ "eval.tests.test_reporting.test_failure_exit_code_is_one",
908
+ "eval.tests.test_reporting.test_four_urls_progress_reports_only_multiples_of_ten",
909
+ "eval.tests.test_reporting.test_mixed_pass_and_fail_counts_failures_only",
910
+ "eval.tests.test_reporting.test_no_stderr_on_clean_pass",
911
+ "eval.tests.test_reporting.test_no_stderr_on_http_failure",
912
+ "eval.tests.test_reporting.test_progress_reports_failure_count_accumulation",
913
+ "eval.tests.test_reporting.test_progress_steps_only_when_percent_increments",
914
+ "eval.tests.test_reporting.test_single_failure_prints_one_failure_line",
915
+ "eval.tests.test_reporting.test_single_pass_prints_no_failure_block",
916
+ "eval.tests.test_reporting.test_two_failures_prints_two_lines_in_order",
917
+ "eval.tests.test_reporting.test_two_urls_progress_shows_50_then_100"
918
+ ]
919
+ }
920
+ },
921
+ "commit": "1df041709a374396deae2af6b0c1b4cbcac307e9",
922
+ "data_source": "synthetic_programgym",
923
+ "difficulty": "easy",
924
+ "difficulty_score": 0.19589965240923357,
925
+ "eval_clean_hashes": [
926
+ "f82f841551ad9e5bb1967eabaa0888cb2afd23b72409441664dae247588fcf6c"
927
+ ],
928
+ "input_record": {
929
+ "codeql_db_mb": 83.57,
930
+ "codeql_status": true,
931
+ "codeql_time": 54.19330782908946,
932
+ "commit": "1df041709a374396deae2af6b0c1b4cbcac307e9",
933
+ "commits": 513,
934
+ "contributors": 37,
935
+ "difficulty": "easy",
936
+ "difficulty_code_lines": 157,
937
+ "difficulty_has_tests": false,
938
+ "difficulty_product_code_lines": 157,
939
+ "difficulty_runtime_deps": 0,
940
+ "difficulty_score": 0.19589965240923357,
941
+ "difficulty_test_code_lines": 0,
942
+ "full_name": "MobileFirstLLC/social-media-hacker-list",
943
+ "github_stars": 2135,
944
+ "input_codeql_db": "rust_codeql/MobileFirstLLC__social-media-hacker-list",
945
+ "language": "rs",
946
+ "pb_match": [
947
+ {
948
+ "pb_fullname": "BurntSushi/xsv",
949
+ "rank": 679,
950
+ "similarity": 0.4745450019836426
951
+ },
952
+ {
953
+ "pb_fullname": "AmmarAbouZor/tui-journal",
954
+ "rank": 433,
955
+ "similarity": 0.5045328736305237
956
+ },
957
+ {
958
+ "pb_fullname": "svenstaro/genact",
959
+ "rank": 730,
960
+ "similarity": 0.5200799703598022
961
+ },
962
+ {
963
+ "pb_fullname": "jhspetersson/fselect",
964
+ "rank": 705,
965
+ "similarity": 0.4312956929206848
966
+ },
967
+ {
968
+ "pb_fullname": "rust-lang/mdBook",
969
+ "rank": 999,
970
+ "similarity": 0.4344298839569092
971
+ },
972
+ {
973
+ "pb_fullname": "orf/gping",
974
+ "rank": 886,
975
+ "similarity": 0.4424475431442261
976
+ },
977
+ {
978
+ "pb_fullname": "axodotdev/oranda",
979
+ "rank": 972,
980
+ "similarity": 0.4732702672481537
981
+ },
982
+ {
983
+ "pb_fullname": "Lymphatus/caesium-clt",
984
+ "rank": 641,
985
+ "similarity": 0.44828253984451294
986
+ },
987
+ {
988
+ "pb_fullname": "Isona/dirble",
989
+ "rank": 653,
990
+ "similarity": 0.45801252126693726
991
+ },
992
+ {
993
+ "pb_fullname": "eudoxia0/hashcards",
994
+ "rank": 878,
995
+ "similarity": 0.49238309264183044
996
+ },
997
+ {
998
+ "pb_fullname": "chmln/handlr",
999
+ "rank": 945,
1000
+ "similarity": 0.4689372777938843
1001
+ },
1002
+ {
1003
+ "pb_fullname": "mgdm/htmlq",
1004
+ "rank": 783,
1005
+ "similarity": 0.44168585538864136
1006
+ },
1007
+ {
1008
+ "pb_fullname": "rochacbruno/marmite",
1009
+ "rank": 397,
1010
+ "similarity": 0.4402519762516022
1011
+ },
1012
+ {
1013
+ "pb_fullname": "Canop/broot",
1014
+ "rank": 911,
1015
+ "similarity": 0.4759100675582886
1016
+ },
1017
+ {
1018
+ "pb_fullname": "pier-cli/pier",
1019
+ "rank": 993,
1020
+ "similarity": 0.4790833592414856
1021
+ },
1022
+ {
1023
+ "pb_fullname": "Y2Z/monolith",
1024
+ "rank": 494,
1025
+ "similarity": 0.4758451581001282
1026
+ }
1027
+ ],
1028
+ "repo_age": 5.83,
1029
+ "repo_path": "rust/MobileFirstLLC__social-media-hacker-list",
1030
+ "rust_channel": "stable",
1031
+ "rust_edition": "2024",
1032
+ "rust_release_date": "2025-02-20",
1033
+ "rust_version": "1.85.0",
1034
+ "rust_version_source": "edition",
1035
+ "source": "commit:1df041709a374396deae2af6b0c1b4cbcac307e9",
1036
+ "status": "done",
1037
+ "url": "https://github.com/MobileFirstLLC/social-media-hacker-list"
1038
+ },
1039
+ "instance_id": "MobileFirstLLC__social-media-hacker-list.1df0417",
1040
+ "language": "rust",
1041
+ "module_iterations": [
1042
+ {
1043
+ "actual_iterations": 5,
1044
+ "branch_name": "generated_module_01",
1045
+ "iteration_limit": 5,
1046
+ "module_index": 1,
1047
+ "module_kind": "source",
1048
+ "termination_reason": "max_iterations"
1049
+ }
1050
+ ],
1051
+ "repository": "MobileFirstLLC/social-media-hacker-list"
1052
+ }
mobilefirstllc--social-media-hac/tests/test.sh ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ # Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
5
+ export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
6
+
7
+ mkdir -p /logs/verifier /logs/artifacts
8
+
9
+ write_failure() {
10
+ local code="$1"
11
+ local details="$2"
12
+ python3 - "$code" "$details" <<'PY'
13
+ import json
14
+ import sys
15
+ from pathlib import Path
16
+
17
+ code, details = sys.argv[1:3]
18
+ try:
19
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
20
+ n_tests = sum(
21
+ len([
22
+ name for name in info.get("tests", [])
23
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
24
+ ])
25
+ for branch, info in metadata.get("branches", {}).items()
26
+ if not info.get("ignored")
27
+ )
28
+ except Exception:
29
+ n_tests = 0
30
+ result = {
31
+ "test_results": [],
32
+ "error_code": code,
33
+ "error_details": details,
34
+ "log": [],
35
+ "solution_branch": "submission",
36
+ "test_branches": [],
37
+ "test_branch_errors": {
38
+ "__infra__": [{"error_code": code, "error_details": details}]
39
+ },
40
+ "executable_hash": None,
41
+ "warnings": [],
42
+ }
43
+ diagnostics = {
44
+ "pass_rate": 0.0,
45
+ "resolved": 0,
46
+ "n_passed": 0,
47
+ "n_tests": n_tests,
48
+ "n_branch_errors": 1,
49
+ "infra_error": 1,
50
+ "executable_hash_present": 0,
51
+ }
52
+ Path("/logs/verifier/programgym_eval.json").write_text(
53
+ json.dumps(result, indent=2, sort_keys=True)
54
+ )
55
+ Path("/logs/verifier/harbor_diagnostics.json").write_text(
56
+ json.dumps(diagnostics, indent=2, sort_keys=True)
57
+ )
58
+ Path("/logs/verifier/reward.json").write_text(
59
+ json.dumps(
60
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
61
+ indent=2,
62
+ sort_keys=True,
63
+ )
64
+ )
65
+ Path("/logs/verifier/reward.txt").write_text("0.0")
66
+ Path("/logs/verifier/programgym_eval.log").write_text(details)
67
+ PY
68
+ }
69
+
70
+ if ! command -v python3 >/dev/null 2>&1; then
71
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
72
+ exit 0
73
+ fi
74
+
75
+ if ! python3 /tests/programgym_evaluator.py; then
76
+ if [ ! -s /logs/verifier/reward.txt ]; then
77
+ write_failure "evaluator_crashed" \
78
+ "programgym_evaluator.py exited non-zero with no reward written"
79
+ fi
80
+ fi
81
+
82
+ exit 0
mobilefirstllc--social-media-hac/tests/workspace.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a8c61467282d5d518bd059061c2b9b0ad16bc55cb405573286e2a1b437ab982
3
+ size 9650
mobius3--tweeny.d50d96d/environment/Dockerfile ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:22.04
2
+ ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
3
+ ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
4
+ ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
5
+ ARG PROGRAMGYM_NPM_STRICT_SSL="true"
6
+ ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
7
+ ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
8
+ ARG PROGRAMGYM_UV_INSECURE_HOST=""
9
+ ENV GOPROXY=${PROGRAMGYM_GOPROXY}
10
+ ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
11
+ ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
12
+ ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
13
+ ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
14
+ ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
15
+ ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
16
+ COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
17
+ RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
18
+ && /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
19
+ && rm -f /tmp/harbor_configure_apt_mirror.sh
20
+ ENV DEBIAN_FRONTEND=noninteractive
21
+ ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
22
+ ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
23
+ ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
24
+ ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
25
+ ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
26
+ ENV GOSUMDB=sum.golang.google.cn
27
+ ENV GOTOOLCHAIN=auto
28
+ ENV UV_CACHE_DIR=/workspace/.cache/uv
29
+ ENV npm_config_cache=/workspace/.cache/npm
30
+ ENV HOME=/workspace
31
+ ENV XDG_CACHE_HOME=/workspace/.cache
32
+ ENV PIP_CACHE_DIR=/workspace/.cache/pip
33
+ ENV PYTHONUSERBASE=/workspace/.local
34
+ ENV PAGER=cat
35
+ ENV MANPAGER=cat
36
+ ENV LESS=-R
37
+ ENV TQDM_DISABLE=1
38
+ RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip autoconf automake gettext file binutils g++ libtool libncurses-dev meson ninja-build unzip wget curl xz-utils bzip2 zip zstd patch python3-pytest python3-pytest-xdist python3-coverage tar && rm -rf /var/lib/apt/lists/*
39
+ ARG CMAKE_VERSION=3.31.12
40
+ RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) CMAKE_ARCH="x86_64" ;; arm64) CMAKE_ARCH="aarch64" ;; *) echo "unsupported architecture for CMake: ${ARCH}" >&2; exit 1 ;; esac; curl -fsSL -o /tmp/cmake.tar.gz "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-${CMAKE_ARCH}.tar.gz"; rm -rf /opt/cmake; mkdir -p /opt/cmake; tar -xzf /tmp/cmake.tar.gz --strip-components=1 -C /opt/cmake; ln -sf /opt/cmake/bin/cmake /usr/local/bin/cmake; ln -sf /opt/cmake/bin/ctest /usr/local/bin/ctest; ln -sf /opt/cmake/bin/cpack /usr/local/bin/cpack; rm -f /tmp/cmake.tar.gz; cmake --version
41
+ ARG GCC_VERSION=13.3.0
42
+ RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) GCC_ARCH="x64" ;; arm64) GCC_ARCH="arm64" ;; *) echo "unsupported architecture for GCC 13: ${ARCH}" >&2; exit 1 ;; esac; wget -O /tmp/gcc.tar.gz "https://github.com/xpack-dev-tools/gcc-xpack/releases/download/v13.3.0-2/xpack-gcc-13.3.0-2-linux-${GCC_ARCH}.tar.gz"; rm -rf /opt/gcc-13; mkdir -p /opt/gcc-13; tar -xzf /tmp/gcc.tar.gz --strip-components=1 -C /opt/gcc-13; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/c++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc-13; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++-13; for PROGRAMGYM_GCOV_TOOL in gcov gcov-dump gcov-tool; do if [ -x "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" ]; then ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}-13"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/bin/${PROGRAMGYM_GCOV_TOOL}"; fi; done; ln -sf /opt/gcc-13/bin/gcc /usr/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/c++; rm -f /tmp/gcc.tar.gz; gcc --version; g++ --version; gcov --version; command -v gcov-dump >/dev/null && gcov-dump --version | head -n 1 || true
43
+ WORKDIR /workspace
44
+ ADD workspace.tar.gz /workspace/
45
+ COPY executable /workspace/executable
46
+ COPY download.sh /workspace/download.sh
47
+ RUN chmod 755 /workspace/download.sh
48
+ COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
49
+ RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
50
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
51
+ && rm -f /workspace/download.sh \
52
+ && rm -f /tmp/harbor_prepare_download_env.sh
53
+ ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
54
+ RUN chmod 111 /workspace/executable
55
+ WORKDIR /workspace
56
+ # Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
57
+ # Keep tool/runtime state under /home/agent and reserve /workspace for the
58
+ # submission handed to the separate verifier. Keep the reference executable
59
+ # execute-only; the oracle temporarily restores owner read permission.
60
+ RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
61
+ RUN mkdir -p /home/agent \
62
+ && chown -R agent:agent /home/agent /workspace \
63
+ && chown agent:agent /workspace/executable \
64
+ && chmod 111 /workspace/executable
65
+ ENV HOME=/home/agent
66
+ WORKDIR /workspace
mobius3--tweeny.d50d96d/environment/docker-compose.yaml ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ services:
2
+ main:
3
+ build:
4
+ args:
5
+ PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
6
+ PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
7
+ PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
8
+ PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
9
+ PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
10
+ PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
11
+ PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
mobius3--tweeny.d50d96d/environment/download.sh ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # ProgramGym download stage for Tweeny (header-only C++ library).
3
+ #
4
+ # This script is `source`d (not executed) by the ProgramGym pipeline during
5
+ # the networked download stage. It must not read any repository file and must
6
+ # not build/compile anything. It only exports the environment variables that
7
+ # build.sh relies on.
8
+ #
9
+ # Tweeny's sandbox demo is a single header-only translation unit. The ProgramGym
10
+ # C/C++ base image already provides g++ (GCC 13.3.0) and cmake (3.31.12), and the
11
+ # demo links only against the standard C++ runtime. There are no third-party
12
+ # packages to fetch, no apt packages beyond the image, and no caches to prepare.
13
+ # This stage is therefore intentionally minimal and safe to source repeatedly.
14
+
15
+ # Build configuration used by build.sh: enable the repository's sandbox demo
16
+ # executable (default is OFF in CMakeLists.txt).
17
+ export TWEENY_BUILD_CONFIG="-DTWEENY_BUILD_SANDBOX=ON"
18
+
19
+ # Informational marker that the download stage completed successfully.
20
+ export PROGRAMGYM_DOWNLOAD_STAGE_DONE=1
mobius3--tweeny.d50d96d/environment/executable ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:156f361b26e7e4e28b4645964fe68113e070f2b5c991fe8a1ce04f99f41a842f
3
+ size 143704
mobius3--tweeny.d50d96d/environment/harbor_configure_apt_mirror.sh ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ repository_base="${1%/}"
5
+ if [[ -z "$repository_base" ]]; then
6
+ exit 0
7
+ fi
8
+
9
+ . /etc/os-release
10
+ codename="${VERSION_CODENAME:-}"
11
+ if [[ -z "$codename" ]]; then
12
+ echo "VERSION_CODENAME is not set" >&2
13
+ exit 1
14
+ fi
15
+
16
+ if [[ "$ID" == "ubuntu" ]]; then
17
+ repository_name="apt-proxy"
18
+ components="main universe restricted multiverse"
19
+ else
20
+ repository_name="debian-proxy"
21
+ components="main contrib non-free non-free-firmware"
22
+ fi
23
+
24
+ install -d /etc/apt/sources.list.d
25
+ rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
26
+ printf 'deb [trusted=yes] %s/%s %s %s\n' \
27
+ "$repository_base" "$repository_name" "$codename" "$components" \
28
+ >/etc/apt/sources.list
29
+ printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
30
+ "$repository_base" "$repository_name" "$codename" "$components" \
31
+ >>/etc/apt/sources.list
32
+
33
+ if [[ "$ID" != "ubuntu" ]]; then
34
+ printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
35
+ "$repository_base" "debian-proxy-security" "$codename" "$components" \
36
+ >>/etc/apt/sources.list
37
+ fi
mobius3--tweeny.d50d96d/environment/harbor_prepare_download_env.sh ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ cd /workspace
4
+ set -a
5
+ source /workspace/download.sh
6
+ set +a
7
+ python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
8
+ import os
9
+ import shlex
10
+
11
+ ignored = {
12
+ "ALL_PROXY",
13
+ "HTTP_PROXY",
14
+ "HTTPS_PROXY",
15
+ "NO_PROXY",
16
+ "OLDPWD",
17
+ "PIP_PROXY",
18
+ "PWD",
19
+ "SHLVL",
20
+ "_",
21
+ "all_proxy",
22
+ "http_proxy",
23
+ "https_proxy",
24
+ "no_proxy",
25
+ "pip_proxy",
26
+ }
27
+ for key in sorted(os.environ):
28
+ if key in ignored or key.startswith("BASH_FUNC_"):
29
+ continue
30
+ value = os.environ[key]
31
+ if "\n" in value:
32
+ continue
33
+ print(f"export {key}={shlex.quote(value)}")
34
+ PY
mobius3--tweeny.d50d96d/environment/workspace.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ec16c01db6ea42b112f6a74f8add15d31783a79727dd6cf5d24728ac1eb23f6
3
+ size 24869
mobius3--tweeny.d50d96d/instruction.md ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ You are a helpful assistant that can interact with a computer.
2
+
3
+ This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
4
+ Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
5
+ You must figure out the behavior solely by running and interacting with the provided binary.
6
+ Writing original code based on observed behavior is the entire point of this benchmark.
7
+
8
+ Any approach that shortcuts this — finding existing source code, wrapping the binary,
9
+ or installing the original tool — does not count as a solution. It will be detected by an
10
+ automated judge, marked as a disqualification, and scored as a failure.
11
+ The trace will be posted to an online wall of shame.
12
+
13
+ <RULES>
14
+ ## What is not allowed
15
+
16
+ ### 1. Obtaining source code
17
+
18
+ The only source of truth about what the executable does is the executable itself and its
19
+ bundled documentation. You must not search the internet, package registries, or any external
20
+ source for information about this project's source code. Even if you recognize what the
21
+ executable is, you must reimplement it from behavioral observation alone.
22
+
23
+ This includes but is not limited to:
24
+ - Cloning or browsing the original GitHub repository, its forks, or mirrors
25
+ - Downloading the project from package registries: `cargo install <project>`, `go get github.com/<org>/<project>`, `pip install <project>`, `apt-get source <project>`, `npm install <project>`, etc.
26
+ - Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
27
+ - Using a package manager to download the project as a dependency and then reading its cached source (e.g., navigating into `~/.cargo/registry/src/` or `$(go env GOPATH)/pkg/mod/`)
28
+ - Searching the web for the project's source code or implementation details
29
+
30
+ ### 2. Wrapping or reusing the original binary
31
+
32
+ Your submission must be a genuine reimplementation. The provided `./executable` is for
33
+ observation only — your final solution must not depend on it or any other pre-built version
34
+ of the same tool at runtime.
35
+
36
+ This includes but is not limited to:
37
+ - Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
38
+ - Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
39
+ - Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
40
+ - Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
41
+ - Re-linking prebuilt `.o` object files found in the workspace without writing new source code
42
+
43
+ ### 3. Binary analysis of the provided executable
44
+
45
+ All information about the provided `./executable` must be obtained by interacting with it
46
+ through its normal user interface (CLI flags, stdin/stdout, etc.).
47
+ - You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
48
+ - You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
49
+
50
+ Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
51
+ analysis tools on binaries that you produce yourself during development.
52
+
53
+ ## What IS allowed
54
+
55
+ - Running the executable with any inputs, flags, and arguments to observe its behavior
56
+ - Reading any documentation files bundled in the workspace
57
+ </RULES>
58
+
59
+ ## Task context
60
+
61
+ We want to write the source code for a given executable.
62
+ The executable is located at `./executable` in the workspace root.
63
+
64
+ You also have access to the existing documentation.
65
+
66
+ ## Your task
67
+
68
+ Implement the source code to generate an executable of exactly identical behavior as the original.
69
+
70
+ No project-specific dependencies are pre-installed.
71
+ You do NOT have access to the internet.
72
+ **IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
73
+ Finally, commit your changes.
74
+
75
+ Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
76
+ `compile.sh` should be executable and should install any dependencies needed to compile the executable.
77
+ If your compile.sh fails to compile on a fresh checkout, your task has failed.
78
+
79
+ ## Important: This is a reverse-engineering benchmark
80
+
81
+ Your goal is to write original code from scratch that reproduces the executable's behavior.
82
+ The only way to learn what the executable does is to run it and read its bundled documentation.
83
+
84
+ Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
85
+ provided binary will be detected by an automated judge, disqualified, and scored as zero.
86
+ See the full rules in the system prompt above. Key points:
87
+
88
+ - Do NOT search the internet, clone repos, or download the project from any package registry
89
+ - Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
90
+ - Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
91
+ - You SHOULD extensively test the executable to understand its behavior before writing code.
92
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
93
+
94
+ ## Recommended Workflow
95
+
96
+ 1. Explore all documentation files
97
+ 2. Play with the executable to understand its behavior (however, you MUST NOT decompile `./executable` or perform any other form of binary or strace/ltrace analysis on it)
98
+ 3. Write the source code to implement the behavior
mobius3--tweeny.d50d96d/solution/solve.sh ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # Oracle-only ceiling check. The reference is execute-only for normal agents;
3
+ # because the oracle runs as the owning `agent` user it can temporarily add read
4
+ # permission and encode the binary for Harbor's normal artifact handoff.
5
+ set -euo pipefail
6
+ test -f ./executable
7
+ chmod u+r ./executable
8
+ python3 - <<'PY'
9
+ import base64
10
+ from pathlib import Path
11
+
12
+ Path(".programgym_oracle_reference").write_bytes(
13
+ base64.b64encode(Path("executable").read_bytes())
14
+ )
15
+ PY
16
+ chmod u-r ./executable
17
+ cat > compile.sh <<'EOF'
18
+ #!/usr/bin/env bash
19
+ set -euo pipefail
20
+ if [ -f ./.programgym_oracle_reference ]; then
21
+ python3 - <<'PY'
22
+ import base64
23
+ from pathlib import Path
24
+
25
+ Path("executable").write_bytes(
26
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
27
+ )
28
+ PY
29
+ fi
30
+ test -f ./executable
31
+ chmod +x ./executable
32
+ EOF
33
+ chmod +x compile.sh
mobius3--tweeny.d50d96d/task.toml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.3"
2
+ source = "ProgramGym"
3
+ artifacts = [
4
+ "/logs/verifier/programgym_eval.json",
5
+ "/logs/verifier/harbor_diagnostics.json",
6
+ "/logs/verifier/programgym_eval.log",
7
+ "/logs/verifier/reward.json",
8
+ "/logs/verifier/reward.txt",
9
+ # Keep agent/runtime state out of the submission handoff. In particular,
10
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
11
+ # makes Python's safe tar extraction reject the entire workspace archive.
12
+ { source = "/workspace", exclude = [
13
+ "executable",
14
+ ".git",
15
+ ".bashrc",
16
+ ".cache",
17
+ ".cc-switch",
18
+ ".claude",
19
+ ".local",
20
+ ] },
21
+ ]
22
+
23
+ [task]
24
+ name = "programgym/mobius3--tweeny.d50d96d"
25
+ description = "Synthetic ProgramGym cleanroom reconstruction task for mobius3/tweeny"
26
+ authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
27
+ keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "cpp"]
28
+
29
+ [metadata]
30
+ source = "ProgramGym"
31
+ instance_id = "mobius3__tweeny.d50d96d"
32
+ repository = "mobius3/tweeny"
33
+ commit = "d50d96dfa61b115fb0d9fce59f7bbe4488f9b9b0"
34
+ language = "cpp"
35
+ difficulty = "easy"
36
+ difficulty_score = 1.2595938788859486
37
+ test_branches = 3
38
+ test_count = 724
39
+
40
+ [agent]
41
+ timeout_sec = 14400
42
+ user = "agent"
43
+ network_mode = "allowlist"
44
+ allowed_hosts = ["api.anthropic.com", "api.openai.com"]
45
+
46
+ [verifier]
47
+ timeout_sec = 7200
48
+ user = "root"
49
+ environment_mode = "separate"
50
+
51
+ [verifier.env]
52
+ PROGRAMGYM_XDIST_WORKERS = "8"
53
+
54
+ [verifier.environment]
55
+ build_timeout_sec = 1800
56
+ cpus = 8
57
+ memory_mb = 16384
58
+ storage_mb = 30720
59
+ gpus = 0
60
+ workdir = "/workspace"
61
+
62
+ [environment]
63
+ network_mode = "public"
64
+ build_timeout_sec = 1800
65
+ cpus = 8
66
+ memory_mb = 16384
67
+ storage_mb = 30720
68
+ gpus = 0
69
+ workdir = "/workspace"
mobius3--tweeny.d50d96d/tests/Dockerfile ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:22.04
2
+ ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
3
+ ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
4
+ ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
5
+ ARG PROGRAMGYM_NPM_STRICT_SSL="true"
6
+ ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
7
+ ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
8
+ ARG PROGRAMGYM_UV_INSECURE_HOST=""
9
+ ENV GOPROXY=${PROGRAMGYM_GOPROXY}
10
+ ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
11
+ ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
12
+ ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
13
+ ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
14
+ ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
15
+ ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
16
+ COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
17
+ RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
18
+ && /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
19
+ && rm -f /tmp/harbor_configure_apt_mirror.sh
20
+ ENV DEBIAN_FRONTEND=noninteractive
21
+ ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
22
+ ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
23
+ ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
24
+ ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
25
+ ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
26
+ ENV GOSUMDB=sum.golang.google.cn
27
+ ENV GOTOOLCHAIN=auto
28
+ ENV UV_CACHE_DIR=/workspace/.cache/uv
29
+ ENV npm_config_cache=/workspace/.cache/npm
30
+ ENV HOME=/workspace
31
+ ENV XDG_CACHE_HOME=/workspace/.cache
32
+ ENV PIP_CACHE_DIR=/workspace/.cache/pip
33
+ ENV PYTHONUSERBASE=/workspace/.local
34
+ ENV PAGER=cat
35
+ ENV MANPAGER=cat
36
+ ENV LESS=-R
37
+ ENV TQDM_DISABLE=1
38
+ RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip autoconf automake gettext file binutils g++ libtool libncurses-dev meson ninja-build unzip wget curl xz-utils bzip2 zip zstd patch python3-pytest python3-pytest-xdist python3-coverage tar && rm -rf /var/lib/apt/lists/*
39
+ ARG CMAKE_VERSION=3.31.12
40
+ RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) CMAKE_ARCH="x86_64" ;; arm64) CMAKE_ARCH="aarch64" ;; *) echo "unsupported architecture for CMake: ${ARCH}" >&2; exit 1 ;; esac; curl -fsSL -o /tmp/cmake.tar.gz "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-${CMAKE_ARCH}.tar.gz"; rm -rf /opt/cmake; mkdir -p /opt/cmake; tar -xzf /tmp/cmake.tar.gz --strip-components=1 -C /opt/cmake; ln -sf /opt/cmake/bin/cmake /usr/local/bin/cmake; ln -sf /opt/cmake/bin/ctest /usr/local/bin/ctest; ln -sf /opt/cmake/bin/cpack /usr/local/bin/cpack; rm -f /tmp/cmake.tar.gz; cmake --version
41
+ ARG GCC_VERSION=13.3.0
42
+ RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) GCC_ARCH="x64" ;; arm64) GCC_ARCH="arm64" ;; *) echo "unsupported architecture for GCC 13: ${ARCH}" >&2; exit 1 ;; esac; wget -O /tmp/gcc.tar.gz "https://github.com/xpack-dev-tools/gcc-xpack/releases/download/v13.3.0-2/xpack-gcc-13.3.0-2-linux-${GCC_ARCH}.tar.gz"; rm -rf /opt/gcc-13; mkdir -p /opt/gcc-13; tar -xzf /tmp/gcc.tar.gz --strip-components=1 -C /opt/gcc-13; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/c++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc-13; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++-13; for PROGRAMGYM_GCOV_TOOL in gcov gcov-dump gcov-tool; do if [ -x "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" ]; then ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}-13"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/bin/${PROGRAMGYM_GCOV_TOOL}"; fi; done; ln -sf /opt/gcc-13/bin/gcc /usr/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/c++; rm -f /tmp/gcc.tar.gz; gcc --version; g++ --version; gcov --version; command -v gcov-dump >/dev/null && gcov-dump --version | head -n 1 || true
43
+ WORKDIR /workspace
44
+ ADD workspace.tar.gz /workspace/
45
+ COPY executable /workspace/executable
46
+ COPY download.sh /workspace/download.sh
47
+ RUN chmod 755 /workspace/download.sh
48
+ COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
49
+ RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
50
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
51
+ && rm -f /workspace/download.sh \
52
+ && rm -f /tmp/harbor_prepare_download_env.sh
53
+ ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
54
+ RUN chmod 111 /workspace/executable
55
+ WORKDIR /workspace
56
+ # Harbor uses tests/ as the separate verifier build context. Start with the
57
+ # same toolchain as the agent, then remove every cleanroom workspace artifact.
58
+ RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
59
+ && mkdir -p /workspace /tests
60
+
61
+ # Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
62
+ # Installing a newer pytest alone leaves that apt package importable and creates
63
+ # an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
64
+ # Install and constrain the verifier test runner as one coherent pip toolchain.
65
+ RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
66
+ ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
67
+ RUN python3 -m pip install --no-cache-dir --disable-pip-version-check \
68
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
69
+
70
+ COPY test.sh /tests/test.sh
71
+ COPY programgym_evaluator.py /tests/programgym_evaluator.py
72
+ COPY programgym_task.json /tests/programgym_task.json
73
+ COPY blobs/ /tests/blobs/
74
+ RUN chmod +x /tests/test.sh
mobius3--tweeny.d50d96d/tests/blobs/tests/generated_module_02.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e86bc23b21e9265e032015f4edc3ff7bf5211d51b394d38c344e224fd3067fbb
3
+ size 58156
mobius3--tweeny.d50d96d/tests/blobs/tests/generated_module_03.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c11aeb479536055a21df9f07316c18fe100a1a744e4315bcebf880043f4a4b59
3
+ size 11691
mobius3--tweeny.d50d96d/tests/blobs/tests/generated_module_04.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a889149eea151944acfb7fcc666a0bbcfb326e1f7a136dfb75ae5be3e7a2eee
3
+ size 14505
mobius3--tweeny.d50d96d/tests/docker-compose.yaml ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ services:
2
+ main:
3
+ build:
4
+ args:
5
+ PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
6
+ PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
7
+ PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
8
+ PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
9
+ PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
10
+ PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
11
+ PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
mobius3--tweeny.d50d96d/tests/download.sh ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # ProgramGym download stage for Tweeny (header-only C++ library).
3
+ #
4
+ # This script is `source`d (not executed) by the ProgramGym pipeline during
5
+ # the networked download stage. It must not read any repository file and must
6
+ # not build/compile anything. It only exports the environment variables that
7
+ # build.sh relies on.
8
+ #
9
+ # Tweeny's sandbox demo is a single header-only translation unit. The ProgramGym
10
+ # C/C++ base image already provides g++ (GCC 13.3.0) and cmake (3.31.12), and the
11
+ # demo links only against the standard C++ runtime. There are no third-party
12
+ # packages to fetch, no apt packages beyond the image, and no caches to prepare.
13
+ # This stage is therefore intentionally minimal and safe to source repeatedly.
14
+
15
+ # Build configuration used by build.sh: enable the repository's sandbox demo
16
+ # executable (default is OFF in CMakeLists.txt).
17
+ export TWEENY_BUILD_CONFIG="-DTWEENY_BUILD_SANDBOX=ON"
18
+
19
+ # Informational marker that the download stage completed successfully.
20
+ export PROGRAMGYM_DOWNLOAD_STAGE_DONE=1
mobius3--tweeny.d50d96d/tests/executable ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:156f361b26e7e4e28b4645964fe68113e070f2b5c991fe8a1ce04f99f41a842f
3
+ size 143704
mobius3--tweeny.d50d96d/tests/harbor_configure_apt_mirror.sh ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ repository_base="${1%/}"
5
+ if [[ -z "$repository_base" ]]; then
6
+ exit 0
7
+ fi
8
+
9
+ . /etc/os-release
10
+ codename="${VERSION_CODENAME:-}"
11
+ if [[ -z "$codename" ]]; then
12
+ echo "VERSION_CODENAME is not set" >&2
13
+ exit 1
14
+ fi
15
+
16
+ if [[ "$ID" == "ubuntu" ]]; then
17
+ repository_name="apt-proxy"
18
+ components="main universe restricted multiverse"
19
+ else
20
+ repository_name="debian-proxy"
21
+ components="main contrib non-free non-free-firmware"
22
+ fi
23
+
24
+ install -d /etc/apt/sources.list.d
25
+ rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
26
+ printf 'deb [trusted=yes] %s/%s %s %s\n' \
27
+ "$repository_base" "$repository_name" "$codename" "$components" \
28
+ >/etc/apt/sources.list
29
+ printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
30
+ "$repository_base" "$repository_name" "$codename" "$components" \
31
+ >>/etc/apt/sources.list
32
+
33
+ if [[ "$ID" != "ubuntu" ]]; then
34
+ printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
35
+ "$repository_base" "debian-proxy-security" "$codename" "$components" \
36
+ >>/etc/apt/sources.list
37
+ fi
mobius3--tweeny.d50d96d/tests/harbor_prepare_download_env.sh ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ cd /workspace
4
+ set -a
5
+ source /workspace/download.sh
6
+ set +a
7
+ python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
8
+ import os
9
+ import shlex
10
+
11
+ ignored = {
12
+ "ALL_PROXY",
13
+ "HTTP_PROXY",
14
+ "HTTPS_PROXY",
15
+ "NO_PROXY",
16
+ "OLDPWD",
17
+ "PIP_PROXY",
18
+ "PWD",
19
+ "SHLVL",
20
+ "_",
21
+ "all_proxy",
22
+ "http_proxy",
23
+ "https_proxy",
24
+ "no_proxy",
25
+ "pip_proxy",
26
+ }
27
+ for key in sorted(os.environ):
28
+ if key in ignored or key.startswith("BASH_FUNC_"):
29
+ continue
30
+ value = os.environ[key]
31
+ if "\n" in value:
32
+ continue
33
+ print(f"export {key}={shlex.quote(value)}")
34
+ PY
mobius3--tweeny.d50d96d/tests/programgym_evaluator.py ADDED
@@ -0,0 +1,1201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """In-place ProgramGym evaluator.
3
+
4
+ Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
5
+ no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
6
+ cleanroom container after Harbor flips the verifier-phase network policy.
7
+
8
+ Differences from ``programgym.eval.eval.Evaluator`` that are structural to
9
+ running in one container:
10
+
11
+ * No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
12
+ copy a post-compile workspace snapshot to a temp directory and restore it
13
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
14
+ processes between attempts to approximate the fresh-container boundary.
15
+ * No ``docker commit``. The post-compile workspace snapshot serves the same
16
+ role as the committed image upstream.
17
+ * Hidden test blobs are fetched on demand from HuggingFace via
18
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
19
+ rather than being pre-staged into ``/tests/blobs/``. Override with
20
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
21
+
22
+ Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
23
+ ``compile.sh`` then stash + hash the executable, best-effort
24
+ ``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
25
+ ``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
26
+ best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
27
+ preserved.
28
+ """
29
+
30
+ from __future__ import annotations
31
+
32
+ import hashlib
33
+ import json
34
+ import os
35
+ import re
36
+ import shlex
37
+ import shutil
38
+ import signal
39
+ import subprocess
40
+ import tempfile
41
+ import time
42
+ import traceback
43
+ import xml.etree.ElementTree as ET
44
+ from pathlib import Path
45
+ from typing import Any
46
+
47
+ WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
48
+ STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
49
+ METADATA_PATH = Path(
50
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
51
+ )
52
+ LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
53
+ WORKER_CRASH_PHRASE = "worker '"
54
+ XDIST_COLLAPSE_MARKERS = (
55
+ "maximum crashed workers reached",
56
+ "xdist: maximum crashed",
57
+ )
58
+
59
+ DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
60
+ DEFAULT_HF_REVISION = "main"
61
+
62
+ # Oracle agent handoff files (see solution/solve.sh). Must not appear in the
63
+ # post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
64
+ _ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
65
+
66
+ _TOOLCHAIN_BIN_DIR_CANDIDATES = (
67
+ "/usr/local/go/bin",
68
+ "/go/bin",
69
+ "/usr/local/cargo/bin",
70
+ "/root/.cargo/bin",
71
+ "/root/.ghcup/bin",
72
+ )
73
+
74
+
75
+ def toolchain_bin_dirs() -> list[str]:
76
+ """Return toolchain bin directories that exist on this image."""
77
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
78
+ candidates.extend(
79
+ str(path)
80
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
81
+ if _is_accessible_dir(path)
82
+ )
83
+ seen: set[str] = set()
84
+ present: list[str] = []
85
+ for path in candidates:
86
+ if path in seen:
87
+ continue
88
+ seen.add(path)
89
+ if _is_accessible_dir(path):
90
+ present.append(path)
91
+ return present
92
+
93
+
94
+ def _is_accessible_dir(path: str | Path) -> bool:
95
+ """Return whether path is a directory without failing on protected homes."""
96
+ try:
97
+ return Path(path).is_dir()
98
+ except OSError:
99
+ return False
100
+
101
+
102
+ def bootstrap_toolchain_path() -> str:
103
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
104
+ prepend = toolchain_bin_dirs()
105
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
106
+ merged: list[str] = []
107
+ for path in prepend + current_parts:
108
+ if path not in merged:
109
+ merged.append(path)
110
+ new_path = ":".join(merged)
111
+ os.environ["PATH"] = new_path
112
+ return new_path
113
+
114
+
115
+ def _bash_login_command(command: str) -> str:
116
+ """Run ``command`` under bash -lc with an explicit PATH export."""
117
+ path = bootstrap_toolchain_path()
118
+ return f"export PATH={shlex.quote(path)}; {command}"
119
+
120
+
121
+ def sha256(path: Path) -> str:
122
+ h = hashlib.sha256()
123
+ with path.open("rb") as f:
124
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
125
+ h.update(chunk)
126
+ return h.hexdigest()
127
+
128
+
129
+ def write_json(path: Path, data: dict[str, Any]) -> None:
130
+ tmp = path.with_suffix(path.suffix + ".tmp")
131
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
132
+ tmp.replace(path)
133
+
134
+
135
+ def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
136
+ if path is None or not path.exists():
137
+ return ""
138
+ data = path.read_bytes()
139
+ if len(data) <= max_bytes:
140
+ return data.decode(errors="replace")
141
+ return data[-max_bytes:].decode(errors="replace")
142
+
143
+
144
+ def _close_pipes(proc: subprocess.Popen[Any]) -> None:
145
+ for stream in (proc.stdout, proc.stderr):
146
+ if stream is not None:
147
+ try:
148
+ stream.close()
149
+ except OSError:
150
+ pass
151
+
152
+
153
+ def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
154
+ try:
155
+ os.killpg(proc.pid, signal.SIGKILL)
156
+ except ProcessLookupError:
157
+ pass
158
+ try:
159
+ proc.kill()
160
+ except ProcessLookupError:
161
+ pass
162
+
163
+
164
+ _PKILL_PATTERNS = (
165
+ f"{WORKSPACE}/eval/",
166
+ f"{WORKSPACE}/tests/",
167
+ "tail -f",
168
+ "development.log",
169
+ " less ",
170
+ " less$",
171
+ "/less ",
172
+ )
173
+
174
+
175
+ def _pkill_aggressive() -> str:
176
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
177
+ notes: list[str] = []
178
+ workspace = str(WORKSPACE)
179
+ patterns = list(_PKILL_PATTERNS) + [
180
+ f"pytest.*{workspace}",
181
+ f"xdist.*{workspace}",
182
+ ]
183
+ for pattern in patterns:
184
+ result = subprocess.run(
185
+ ["pkill", "-9", "-f", pattern],
186
+ capture_output=True,
187
+ text=True,
188
+ )
189
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
190
+ return "\n".join(notes)
191
+
192
+
193
+ def run_step(
194
+ command: str,
195
+ cwd: Path,
196
+ *,
197
+ timeout: int,
198
+ env: dict[str, str] | None = None,
199
+ step: str,
200
+ accept_failure: bool = False,
201
+ log_output: bool | None = None,
202
+ max_output_bytes: int = 65536,
203
+ ) -> dict[str, Any]:
204
+ if log_output is None:
205
+ log_output = step == "run_tests" or timeout >= 60
206
+
207
+ started = time.monotonic()
208
+ stdout_path: Path | None = None
209
+ stderr_path: Path | None = None
210
+ stdout_f = None
211
+ stderr_f = None
212
+
213
+ if log_output:
214
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
215
+ log_id = f"{step}-{int(started * 1000)}"
216
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
217
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
218
+ stdout_f = stdout_path.open("w", encoding="utf-8")
219
+ stderr_f = stderr_path.open("w", encoding="utf-8")
220
+ popen_stdout: Any = stdout_f
221
+ popen_stderr: Any = stderr_f
222
+ else:
223
+ popen_stdout = subprocess.PIPE
224
+ popen_stderr = subprocess.PIPE
225
+
226
+ proc = subprocess.Popen(
227
+ ["bash", "-lc", _bash_login_command(command)],
228
+ cwd=cwd,
229
+ env={**os.environ, **(env or {})},
230
+ stdout=popen_stdout,
231
+ stderr=popen_stderr,
232
+ start_new_session=True,
233
+ text=True,
234
+ )
235
+ timed_out = False
236
+ stdout = ""
237
+ stderr = ""
238
+ try:
239
+ if log_output:
240
+ proc.wait(timeout=timeout)
241
+ else:
242
+ stdout, stderr = proc.communicate(timeout=timeout)
243
+ except subprocess.TimeoutExpired:
244
+ timed_out = True
245
+ _terminate_process_tree(proc)
246
+ cleanup_lingering_processes(aggressive=True)
247
+ try:
248
+ proc.wait(timeout=5)
249
+ except subprocess.TimeoutExpired:
250
+ proc.kill()
251
+ if not log_output:
252
+ _close_pipes(proc)
253
+ finally:
254
+ if stdout_f is not None:
255
+ stdout_f.close()
256
+ if stderr_f is not None:
257
+ stderr_f.close()
258
+
259
+ if timed_out:
260
+ if log_output:
261
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
262
+ stderr_path, max_output_bytes
263
+ )
264
+ else:
265
+ output = ""
266
+ entry = {
267
+ "step": step,
268
+ "command": command,
269
+ "wall_time": time.monotonic() - started,
270
+ "output": output,
271
+ "returncode": 124,
272
+ "exception_info": f"timed out after {timeout}s",
273
+ }
274
+ else:
275
+ if log_output:
276
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
277
+ stderr_path, max_output_bytes
278
+ )
279
+ else:
280
+ output = stdout + stderr
281
+ entry = {
282
+ "step": step,
283
+ "command": command,
284
+ "wall_time": time.monotonic() - started,
285
+ "output": output,
286
+ "returncode": proc.returncode,
287
+ "exception_info": "",
288
+ }
289
+ if entry["returncode"] and not accept_failure:
290
+ raise RuntimeError(
291
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
292
+ )
293
+ return entry
294
+
295
+
296
+ def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
297
+ started = time.monotonic()
298
+ patterns = [
299
+ str(WORKSPACE / "executable"),
300
+ f"{WORKSPACE}/eval/",
301
+ f"{WORKSPACE}/tests/",
302
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
303
+ "tail -f",
304
+ "development.log",
305
+ ]
306
+ killed: list[int] = []
307
+ proc_root = Path("/proc")
308
+ proc_available = proc_root.exists()
309
+ if proc_available:
310
+ for proc_dir in proc_root.iterdir():
311
+ if not proc_dir.name.isdigit():
312
+ continue
313
+ pid = int(proc_dir.name)
314
+ if pid in {os.getpid(), os.getppid()}:
315
+ continue
316
+ try:
317
+ raw = (proc_dir / "cmdline").read_bytes()
318
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
319
+ continue
320
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
321
+ if not any(pattern in cmdline for pattern in patterns):
322
+ continue
323
+ try:
324
+ os.kill(pid, signal.SIGKILL)
325
+ except (PermissionError, ProcessLookupError):
326
+ continue
327
+ killed.append(pid)
328
+ pkill_output = ""
329
+ if aggressive or not proc_available:
330
+ pkill_output = _pkill_aggressive()
331
+ output_parts = []
332
+ if killed:
333
+ output_parts.append("\n".join(str(pid) for pid in killed))
334
+ if pkill_output:
335
+ output_parts.append(pkill_output)
336
+ return {
337
+ "step": "cleanup_lingering_processes",
338
+ "command": "kill leftover branch processes referencing the workspace",
339
+ "wall_time": time.monotonic() - started,
340
+ "output": "\n".join(output_parts),
341
+ "returncode": 0,
342
+ "exception_info": "",
343
+ }
344
+
345
+
346
+ def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
347
+ import tarfile
348
+
349
+ with tarfile.open(tar_path, "r:gz") as tf:
350
+ try:
351
+ tf.extractall(dest, filter="fully_trusted")
352
+ except TypeError:
353
+ tf.extractall(dest)
354
+
355
+
356
+ def find_results_xml() -> Path | None:
357
+ """Return the junit xml path if pytest wrote one."""
358
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
359
+ if candidate.exists():
360
+ return candidate
361
+ return None
362
+
363
+
364
+ def remove_oracle_handoff_artifacts() -> list[str]:
365
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
366
+ removed: list[str] = []
367
+ for name in _ORACLE_HANDOFF_NAMES:
368
+ path = WORKSPACE / name
369
+ if path.exists():
370
+ if path.is_dir():
371
+ shutil.rmtree(path)
372
+ else:
373
+ path.unlink()
374
+ removed.append(name)
375
+ return removed
376
+
377
+
378
+ def _remove_tree(path: Path) -> None:
379
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
380
+ if path.is_symlink() or path.is_file():
381
+ path.unlink(missing_ok=True)
382
+ return
383
+ if not path.is_dir():
384
+ path.unlink(missing_ok=True)
385
+ return
386
+ for attempt in range(3):
387
+ try:
388
+ shutil.rmtree(path)
389
+ if not path.exists():
390
+ return
391
+ except OSError:
392
+ if attempt == 2:
393
+ run_step(
394
+ f"rm -rf {shlex.quote(str(path))}",
395
+ path.parent,
396
+ timeout=120,
397
+ step="clear_workspace_fallback",
398
+ accept_failure=True,
399
+ )
400
+ if not path.exists():
401
+ return
402
+ raise
403
+
404
+
405
+ def ensure_workspace_dir() -> None:
406
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
407
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
408
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
409
+ WORKSPACE.unlink()
410
+ else:
411
+ shutil.rmtree(WORKSPACE)
412
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
413
+
414
+
415
+ def clear_workspace() -> None:
416
+ ensure_workspace_dir()
417
+ for path in list(WORKSPACE.iterdir()):
418
+ _remove_tree(path)
419
+
420
+
421
+ def restore_reference_executable() -> None:
422
+ """Write the stashed reference binary into /workspace after a branch overlay.
423
+
424
+ Branch blobs may ship ``executable`` as a dangling symlink into
425
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
426
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
427
+ reference as a regular file.
428
+ """
429
+ ensure_workspace_dir()
430
+ if not STASHED_EXECUTABLE.is_file():
431
+ raise FileNotFoundError(
432
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
433
+ )
434
+ dest = WORKSPACE / "executable"
435
+ if dest.exists() or dest.is_symlink():
436
+ if dest.is_dir():
437
+ shutil.rmtree(dest)
438
+ else:
439
+ dest.unlink(missing_ok=True)
440
+ shutil.copy2(STASHED_EXECUTABLE, dest)
441
+ dest.chmod(0o755)
442
+
443
+
444
+ def snapshot_workspace(dest: Path) -> None:
445
+ if dest.exists():
446
+ shutil.rmtree(dest)
447
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
448
+
449
+
450
+ def restore_workspace(source: Path) -> None:
451
+ clear_workspace()
452
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
453
+ ensure_workspace_dir()
454
+
455
+
456
+ def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
457
+ removed: list[str] = []
458
+ for path in root.rglob("*"):
459
+ if path.is_file() and not path.is_symlink():
460
+ try:
461
+ if sha256(path) in hashes:
462
+ path.unlink()
463
+ removed.append(str(path.relative_to(root)))
464
+ except OSError:
465
+ continue
466
+ return removed
467
+
468
+
469
+ def branch_tests(branch_info: dict[str, Any]) -> list[str]:
470
+ ignored = {
471
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
472
+ }
473
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
474
+
475
+
476
+ def ignored_tests(metadata: dict[str, Any]) -> set[str]:
477
+ result: set[str] = set()
478
+ for branch, info in metadata.get("branches", {}).items():
479
+ result.update(
480
+ f"{branch}/{item['name']}"
481
+ for item in info.get("ignored_tests", [])
482
+ if "name" in item
483
+ )
484
+ return result
485
+
486
+
487
+ def active_tests(metadata: dict[str, Any]) -> set[str]:
488
+ active: set[str] = set()
489
+ for branch, info in metadata.get("branches", {}).items():
490
+ if info.get("ignored"):
491
+ continue
492
+ ignored = {
493
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
494
+ }
495
+ active.update(
496
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
497
+ )
498
+ return active
499
+
500
+
501
+ def inject_not_run(
502
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
503
+ ) -> None:
504
+ result["test_results"].extend(
505
+ {
506
+ "name": name,
507
+ "branch": branch,
508
+ "status": "not_run",
509
+ "extra": {"error_code": error_code},
510
+ }
511
+ for name in tests
512
+ )
513
+
514
+
515
+ def testcase_name(case: ET.Element) -> str:
516
+ classname = case.attrib.get("classname", "")
517
+ name = case.attrib.get("name", "")
518
+ return f"{classname}.{name}" if classname else name
519
+
520
+
521
+ # Only these tags under <testcase> represent a result. <system-out> /
522
+ # <system-err> are stdout/stderr captures and must not be treated as results
523
+ # (a leading <system-out> followed by <failure> would otherwise be classified
524
+ # as a stdout-only "passed").
525
+ JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
526
+
527
+
528
+ def parse_junit(
529
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
530
+ ) -> tuple[list[dict[str, Any]], list[str]]:
531
+ root = ET.fromstring(raw_xml)
532
+ got: set[str] = set()
533
+ results: list[dict[str, Any]] = []
534
+ for case in root.iter("testcase"):
535
+ name = testcase_name(case)
536
+ got.add(name)
537
+ extra: dict[str, Any] = {}
538
+ if "time" in case.attrib:
539
+ try:
540
+ extra["time"] = float(case.attrib["time"])
541
+ except ValueError:
542
+ extra["time"] = case.attrib["time"]
543
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
544
+ # Collapse duplicate same-tag result children. Pytest's
545
+ # "pytest.internal" pseudo-test sometimes emits two identical <error>
546
+ # entries; treating that as a system_error would over-flag a real
547
+ # single failure. Mirrors upstream eval.py:816-820.
548
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
549
+ result_children = [result_children[0]]
550
+ if not result_children:
551
+ status = "passed"
552
+ elif len(result_children) != 1:
553
+ status = "system_error"
554
+ extra["error_details"] = (
555
+ f"Expected 1 result for {name}, got {len(result_children)}: "
556
+ f"{[c.tag for c in result_children]}"
557
+ )
558
+ else:
559
+ first = result_children[0]
560
+ status = first.tag # "skipped" | "failure" | "error"
561
+ extra["message"] = first.attrib.get("message") or ""
562
+ if first.text:
563
+ extra["text"] = first.text
564
+ results.append(
565
+ {"name": name, "branch": branch, "status": status, "extra": extra}
566
+ )
567
+
568
+ active_expected = [name for name in expected if name not in ignored]
569
+ missing = [name for name in active_expected if name not in got]
570
+ results.extend(
571
+ {
572
+ "name": name,
573
+ "branch": branch,
574
+ "status": "not_run",
575
+ "extra": {"error_code": "missing_from_junit_xml"},
576
+ }
577
+ for name in missing
578
+ )
579
+ unexpected = got - set(expected) - ignored
580
+ warnings = (
581
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
582
+ if unexpected
583
+ else []
584
+ )
585
+ return results, warnings
586
+
587
+
588
+ def count_worker_crashes(raw_xml: str) -> int:
589
+ if WORKER_CRASH_PHRASE not in raw_xml:
590
+ return 0
591
+ try:
592
+ root = ET.fromstring(raw_xml)
593
+ except ET.ParseError:
594
+ return 0
595
+ crashes = 0
596
+ for case in root.iter("testcase"):
597
+ for child in case:
598
+ text = (child.get("message") or "") + " " + (child.text or "")
599
+ if (
600
+ child.tag in {"error", "failure"}
601
+ and WORKER_CRASH_PHRASE in text
602
+ and "crashed" in text
603
+ ):
604
+ crashes += 1
605
+ break
606
+ return crashes
607
+
608
+
609
+ def run_output_indicates_xdist_collapse(output: str) -> bool:
610
+ lower = output.lower()
611
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
612
+
613
+
614
+ def count_junit_failures(raw_xml: str) -> int:
615
+ try:
616
+ root = ET.fromstring(raw_xml)
617
+ except ET.ParseError:
618
+ return 0
619
+ failures = 0
620
+ for case in root.iter("testcase"):
621
+ for child in case:
622
+ if child.tag in {"failure", "error"}:
623
+ failures += 1
624
+ break
625
+ return failures
626
+
627
+
628
+ def count_junit_passed(raw_xml: str) -> int:
629
+ try:
630
+ root = ET.fromstring(raw_xml)
631
+ except ET.ParseError:
632
+ return 0
633
+ passed = 0
634
+ for case in root.iter("testcase"):
635
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
636
+ passed += 1
637
+ return passed
638
+
639
+
640
+ def branch_attempt_metrics(
641
+ raw_xml: str, *, run_output: str, expected_tests: int
642
+ ) -> tuple[int, int, int, int]:
643
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
644
+ crashes = count_worker_crashes(raw_xml)
645
+ if run_output_indicates_xdist_collapse(run_output):
646
+ crashes = max(crashes, 1)
647
+ n_tests = count_testcases(raw_xml)
648
+ failures = count_junit_failures(raw_xml)
649
+ missing = max(0, expected_tests - n_tests)
650
+ return crashes, n_tests, failures, missing
651
+
652
+
653
+ def needs_serial_retry(
654
+ *,
655
+ serial: bool,
656
+ crashes: int,
657
+ missing: int,
658
+ failures: int,
659
+ n_tests: int,
660
+ expected_tests: int,
661
+ run_output: str,
662
+ ) -> bool:
663
+ if serial:
664
+ return False
665
+ high_failure_rate = (
666
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
667
+ )
668
+ return (
669
+ crashes > 0
670
+ or missing > 0
671
+ or high_failure_rate
672
+ or run_output_indicates_xdist_collapse(run_output)
673
+ )
674
+
675
+
676
+ def count_testcases(raw_xml: str) -> int:
677
+ try:
678
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
679
+ except ET.ParseError:
680
+ return 0
681
+
682
+
683
+ def scored_results(
684
+ result: dict[str, Any], metadata: dict[str, Any]
685
+ ) -> list[dict[str, Any]]:
686
+ active = active_tests(metadata)
687
+ by_key = {
688
+ f"{test['branch']}/{test['name']}": test
689
+ for test in result["test_results"]
690
+ if f"{test['branch']}/{test['name']}" in active
691
+ }
692
+ return [
693
+ by_key.get(
694
+ key,
695
+ {
696
+ "branch": key.split("/", 1)[0],
697
+ "name": key.split("/", 1)[1],
698
+ "status": "not_run",
699
+ "extra": {"error_code": "missing_from_results"},
700
+ },
701
+ )
702
+ for key in sorted(active)
703
+ ]
704
+
705
+
706
+ def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
707
+ scored = scored_results(result, metadata)
708
+ n_passed = sum(t["status"] == "passed" for t in scored)
709
+ n_tests = len(scored)
710
+ pass_rate = n_passed / n_tests if n_tests else 0.0
711
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
712
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
713
+ # the proportion of tasks scoring a perfect pass-rate and mean of
714
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
715
+ # per-task pass-rate whose mean is the overall mean reward.
716
+ return {
717
+ "reward": pass_rate,
718
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
719
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
720
+ }
721
+
722
+
723
+ def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
724
+ scored = scored_results(result, metadata)
725
+ n_passed = sum(t["status"] == "passed" for t in scored)
726
+ n_tests = len(scored)
727
+ pass_rate = n_passed / n_tests if n_tests else 0.0
728
+ return {
729
+ "pass_rate": pass_rate,
730
+ "resolved": int(
731
+ bool(
732
+ n_tests
733
+ and n_passed == n_tests
734
+ and not result["test_branch_errors"]
735
+ and not result["error_code"]
736
+ )
737
+ ),
738
+ "n_passed": n_passed,
739
+ "n_tests": n_tests,
740
+ "n_branch_errors": len(result["test_branch_errors"]),
741
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
742
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
743
+ }
744
+
745
+
746
+ def use_script_pty() -> bool:
747
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
748
+
749
+
750
+ def script_pty_available() -> bool:
751
+ return shutil.which("script") is not None
752
+
753
+
754
+ def branch_env(
755
+ *,
756
+ serial: bool,
757
+ has_rerunfailures: bool,
758
+ extras: dict[str, str] | None = None,
759
+ ) -> dict[str, str]:
760
+ addopts = ["--max-worker-restart=4"]
761
+ # A serial fallback is already a complete second execution. Re-running each
762
+ # failing test two more times makes large, failure-heavy suites prohibitively
763
+ # slow and adds little signal.
764
+ if has_rerunfailures and not serial:
765
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
766
+ env = {
767
+ "PYTEST_ADDOPTS": " ".join(addopts),
768
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
769
+ "NO_COLOR": "1",
770
+ "TERM": "dumb",
771
+ "CLICOLOR": "0",
772
+ "CLICOLOR_FORCE": "0",
773
+ "COLORTERM": "",
774
+ }
775
+ if extras:
776
+ env.update(extras)
777
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
778
+ if serial:
779
+ xdist_workers = "1"
780
+ if xdist_workers:
781
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
782
+ return env
783
+
784
+
785
+ _SERIAL_RUN_SH = ".programgym_run_serial.sh"
786
+ # ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
787
+ # ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
788
+ _RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
789
+
790
+
791
+ def prepare_serial_run_sh(run_sh: Path) -> Path:
792
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
793
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
794
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
795
+ serial_sh.write_text(patched)
796
+ serial_sh.chmod(0o755)
797
+ return serial_sh
798
+
799
+
800
+ def run_tests_command(*, serial: bool) -> str:
801
+ if serial:
802
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
803
+ else:
804
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
805
+ if use_script_pty() and script_pty_available():
806
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
807
+ return inner
808
+
809
+
810
+ BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
811
+
812
+
813
+ def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
814
+ """Locate the per-instance blob directory.
815
+
816
+ Resolution order:
817
+
818
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
819
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
820
+ agent never sees these.
821
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
822
+ tree on disk (``<dir>/<instance_id>/tests/<branch>.tar.gz``). Useful
823
+ for offline reruns sharing a cache across many tasks.
824
+ 3. ``huggingface_hub.snapshot_download`` from
825
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
826
+
827
+ The returned directory contains ``tests/<branch>.tar.gz`` per active
828
+ branch — same shape as ``programgym/ProgramGym-Tests/<instance_id>/``
829
+ on HF.
830
+ """
831
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
832
+ return BAKED_BLOB_DIR
833
+
834
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
835
+ if local:
836
+ candidate = Path(local) / instance_id
837
+ if candidate.exists():
838
+ return candidate
839
+ raise FileNotFoundError(
840
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
841
+ )
842
+
843
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
844
+ "hf_repo_id", DEFAULT_HF_REPO_ID
845
+ )
846
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
847
+ "hf_revision", DEFAULT_HF_REVISION
848
+ )
849
+
850
+ from huggingface_hub import snapshot_download
851
+
852
+ cache_root = Path(
853
+ snapshot_download(
854
+ repo_id,
855
+ repo_type="dataset",
856
+ revision=revision,
857
+ allow_patterns=f"{instance_id}/**",
858
+ )
859
+ )
860
+ blob_dir = cache_root / instance_id
861
+ if not blob_dir.exists():
862
+ raise FileNotFoundError(
863
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
864
+ )
865
+ return blob_dir
866
+
867
+
868
+ def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
869
+ bootstrap_toolchain_path()
870
+ branches = metadata.get("branches", {})
871
+ active_branch_items = [
872
+ (name, info) for name, info in branches.items() if not info.get("ignored")
873
+ ]
874
+ result: dict[str, Any] = {
875
+ "test_results": [],
876
+ "error_code": None,
877
+ "error_details": None,
878
+ "log": [],
879
+ "solution_branch": "submission",
880
+ "test_branches": [name for name, _ in active_branch_items],
881
+ "test_branch_errors": {},
882
+ "executable_hash": None,
883
+ "warnings": [],
884
+ }
885
+
886
+ instance_id = metadata["instance_id"]
887
+
888
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
889
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
890
+
891
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
892
+ result["error_code"] = error_code
893
+ result["error_details"] = details
894
+ for branch, info in active_branch_items:
895
+ inject_not_run(result, branch, branch_tests(info), error_code)
896
+ return result
897
+
898
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
899
+ compiled_snapshot = Path(tmp) / "compiled"
900
+
901
+ started = time.monotonic()
902
+ removed = remove_hashed_files(
903
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
904
+ )
905
+ result["log"].append(
906
+ {
907
+ "step": "remove_hashed_files",
908
+ "command": "remove files matching eval_clean_hashes",
909
+ "wall_time": time.monotonic() - started,
910
+ "output": "".join(f"removed '{path}'\n" for path in removed),
911
+ "returncode": 0,
912
+ "exception_info": "",
913
+ }
914
+ )
915
+
916
+ compile_sh = WORKSPACE / "compile.sh"
917
+ if not compile_sh.exists():
918
+ return fail_all(
919
+ "missing_compile_sh", "submission did not contain compile.sh"
920
+ )
921
+
922
+ seed = (
923
+ "if [ ! -d .git ]; then "
924
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
925
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
926
+ "git -c init.defaultBranch=gold init -q && "
927
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
928
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
929
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
930
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
931
+ "fi"
932
+ )
933
+ try:
934
+ result["log"].append(
935
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
936
+ )
937
+ compile_log = run_step(
938
+ "chmod +x ./compile.sh && ./compile.sh",
939
+ WORKSPACE,
940
+ timeout=compile_timeout,
941
+ step="compile",
942
+ accept_failure=True,
943
+ )
944
+ result["log"].append(compile_log)
945
+ if compile_log["returncode"]:
946
+ return fail_all("compile_failed", compile_log["output"])
947
+ executable = WORKSPACE / "executable"
948
+ if not executable.exists():
949
+ return fail_all(
950
+ "missing_executable",
951
+ "compile.sh completed but did not create ./executable",
952
+ )
953
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
954
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
955
+ # the agent's executable during the stash→restore window. Mirrors
956
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
957
+ shutil.move(str(executable), STASHED_EXECUTABLE)
958
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
959
+ result["log"].append(
960
+ run_step(
961
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
962
+ WORKSPACE,
963
+ timeout=120,
964
+ step="install_rerunfailures",
965
+ accept_failure=True,
966
+ )
967
+ )
968
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
969
+ handoff_removed = remove_oracle_handoff_artifacts()
970
+ if handoff_removed:
971
+ result["log"].append(
972
+ {
973
+ "step": "remove_oracle_handoff",
974
+ "command": "remove oracle handoff artifacts from workspace",
975
+ "wall_time": 0.0,
976
+ "output": "".join(
977
+ f"removed '{name}'\n" for name in handoff_removed
978
+ ),
979
+ "returncode": 0,
980
+ "exception_info": "",
981
+ }
982
+ )
983
+ snapshot_workspace(compiled_snapshot)
984
+ except Exception as exc:
985
+ return fail_all(type(exc).__name__, str(exc))
986
+
987
+ try:
988
+ blob_dir = resolve_blob_dir(instance_id, metadata)
989
+ except Exception as exc:
990
+ details = f"{type(exc).__name__}: {exc}"
991
+ for branch, info in active_branch_items:
992
+ result["test_branch_errors"][branch] = [
993
+ {
994
+ "error_code": "blob_resolution_failed",
995
+ "error_details": details,
996
+ }
997
+ ]
998
+ inject_not_run(
999
+ result, branch, branch_tests(info), "blob_resolution_failed"
1000
+ )
1001
+ return result
1002
+
1003
+ for branch, info in active_branch_items:
1004
+ tests = branch_tests(info)
1005
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
1006
+ if not blob.exists():
1007
+ result["test_branch_errors"][branch] = [
1008
+ {"error_code": "missing_test_blob", "error_details": blob.name}
1009
+ ]
1010
+ inject_not_run(result, branch, tests, "missing_test_blob")
1011
+ continue
1012
+
1013
+ best_xml = ""
1014
+ # Prefer a complete, clean XML result, then the result covering the
1015
+ # most expected tests, and only then the one with the most passes.
1016
+ # Pass-count-only ranking can retain a partial xdist result over a
1017
+ # complete serial result.
1018
+ best_quality = (-1, -1, -1)
1019
+ serial = bool(metadata.get("force_serial_branches"))
1020
+ branch_log: list[dict[str, Any]] = []
1021
+ branch_ignored = {
1022
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
1023
+ }
1024
+ n_expected = len([name for name in tests if name not in branch_ignored])
1025
+
1026
+ def merge_best_xml(raw_xml: str) -> None:
1027
+ try:
1028
+ parsed, warnings = parse_junit(
1029
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
1030
+ )
1031
+ except Exception as exc:
1032
+ result["test_branch_errors"][branch] = [
1033
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
1034
+ ]
1035
+ inject_not_run(result, branch, tests, "xml_parse_error")
1036
+ else:
1037
+ result["test_results"].extend(parsed)
1038
+ result["warnings"].extend(warnings)
1039
+
1040
+ while True:
1041
+ branch_log.append(cleanup_lingering_processes())
1042
+ restore_workspace(compiled_snapshot)
1043
+ extract_trusted_blob(blob, WORKSPACE)
1044
+ restore_reference_executable()
1045
+ actual_hash = sha256(WORKSPACE / "executable")
1046
+ if actual_hash != result["executable_hash"]:
1047
+ result["test_branch_errors"][branch] = [
1048
+ {
1049
+ "error_code": "executable_hash_mismatch",
1050
+ "error_details": (
1051
+ f"expected {result['executable_hash']}, got {actual_hash}"
1052
+ ),
1053
+ }
1054
+ ]
1055
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
1056
+ break
1057
+ run_sh = WORKSPACE / "eval" / "run.sh"
1058
+ if not run_sh.exists():
1059
+ result["test_branch_errors"][branch] = [
1060
+ {
1061
+ "error_code": "missing_run_sh",
1062
+ "error_details": "eval/run.sh missing",
1063
+ }
1064
+ ]
1065
+ inject_not_run(result, branch, tests, "missing_run_sh")
1066
+ break
1067
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
1068
+ # instead of os._exit(1) on timeout. That works in fresh
1069
+ # containers per branch; here we reuse one container and
1070
+ # signal timeouts leave TUI/log-watcher subprocesses alive
1071
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
1072
+ # branch_timeout. Keep the blob's thread method and rely on
1073
+ # cleanup_lingering_processes + serial fallback after crashes.
1074
+ env = branch_env(
1075
+ serial=serial,
1076
+ has_rerunfailures=has_rerunfailures,
1077
+ extras=metadata.get("branch_env"),
1078
+ )
1079
+ branch_log.append(
1080
+ run_step(
1081
+ "rm -f eval/results.xml results.xml",
1082
+ WORKSPACE,
1083
+ timeout=120,
1084
+ step="clean_stale_results",
1085
+ accept_failure=True,
1086
+ )
1087
+ )
1088
+ if serial:
1089
+ prepare_serial_run_sh(run_sh)
1090
+ run_entry = run_step(
1091
+ run_tests_command(serial=serial),
1092
+ WORKSPACE,
1093
+ timeout=branch_timeout,
1094
+ env=env,
1095
+ step="run_tests",
1096
+ accept_failure=True,
1097
+ )
1098
+ branch_log.append(run_entry)
1099
+ branch_log.append(cleanup_lingering_processes())
1100
+ xml_path = find_results_xml()
1101
+ if xml_path is None:
1102
+ if best_xml:
1103
+ merge_best_xml(best_xml)
1104
+ break
1105
+ if serial:
1106
+ result["test_branch_errors"][branch] = [
1107
+ {
1108
+ "error_code": "missing_results_xml",
1109
+ "error_details": "eval/results.xml was not produced",
1110
+ }
1111
+ ]
1112
+ inject_not_run(result, branch, tests, "missing_results_xml")
1113
+ break
1114
+ serial = True
1115
+ continue
1116
+ raw_xml = xml_path.read_text(errors="replace")
1117
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
1118
+ raw_xml,
1119
+ run_output=run_entry.get("output", ""),
1120
+ expected_tests=n_expected,
1121
+ )
1122
+ useful = count_junit_passed(raw_xml)
1123
+ quality = (
1124
+ int(crashes == 0 and missing == 0),
1125
+ n_tests,
1126
+ useful,
1127
+ )
1128
+ if quality > best_quality:
1129
+ best_xml = raw_xml
1130
+ best_quality = quality
1131
+ retry = needs_serial_retry(
1132
+ serial=serial,
1133
+ crashes=crashes,
1134
+ missing=missing,
1135
+ failures=failures,
1136
+ n_tests=n_tests,
1137
+ expected_tests=n_expected,
1138
+ run_output=run_entry.get("output", ""),
1139
+ )
1140
+ if not retry:
1141
+ merge_best_xml(best_xml)
1142
+ break
1143
+ serial = True
1144
+ for entry in branch_log:
1145
+ entry["branch"] = branch
1146
+ result["log"].extend(branch_log)
1147
+
1148
+ return result
1149
+
1150
+
1151
+ def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
1152
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
1153
+ write_json(LOG_DIR / "programgym_eval.json", result)
1154
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
1155
+ rewards = summarize(result, metadata)
1156
+ write_json(LOG_DIR / "reward.json", rewards)
1157
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
1158
+
1159
+
1160
+ def main() -> None:
1161
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
1162
+ log_path = LOG_DIR / "programgym_eval.log"
1163
+ metadata = json.loads(METADATA_PATH.read_text())
1164
+ branches = metadata.get("branches", {})
1165
+ try:
1166
+ result = evaluate(metadata)
1167
+ except Exception as exc:
1168
+ error_code = type(exc).__name__
1169
+ result = {
1170
+ "test_results": [],
1171
+ "error_code": error_code,
1172
+ "error_details": str(exc),
1173
+ "log": [
1174
+ {
1175
+ "step": "evaluator_exception",
1176
+ "exception_info": traceback.format_exc(),
1177
+ "returncode": 1,
1178
+ }
1179
+ ],
1180
+ "solution_branch": "submission",
1181
+ "test_branches": [
1182
+ name for name, info in branches.items() if not info.get("ignored")
1183
+ ],
1184
+ "test_branch_errors": {
1185
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
1186
+ },
1187
+ "executable_hash": None,
1188
+ "warnings": [],
1189
+ }
1190
+ for branch, info in branches.items():
1191
+ if info.get("ignored"):
1192
+ continue
1193
+ inject_not_run(result, branch, branch_tests(info), error_code)
1194
+ log_path.write_text(traceback.format_exc())
1195
+ else:
1196
+ log_path.write_text("")
1197
+ write_outputs(result, metadata)
1198
+
1199
+
1200
+ if __name__ == "__main__":
1201
+ main()
mobius3--tweeny.d50d96d/tests/programgym_task.json ADDED
@@ -0,0 +1,856 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "branches": {
3
+ "generated_module_02": {
4
+ "ignore_reason": "",
5
+ "ignored": false,
6
+ "ignored_tests": [
7
+ {
8
+ "name": "eval.tests.test_shipped_executable.test_executable_is_deterministic_across_runs",
9
+ "reasons": [
10
+ {
11
+ "id": "golden_no_equality",
12
+ "message": "pytest test references golden data without equality comparison",
13
+ "path": "eval/tests/test_shipped_executable.py",
14
+ "repair_hint": "Compare observed output to golden data with equality after any explicit normalization.",
15
+ "severity": "error",
16
+ "stage": "static_lint"
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "name": "eval.tests.test_shipped_executable.test_executable_link_against_expected_libraries",
22
+ "reasons": [
23
+ {
24
+ "id": "short_substring",
25
+ "message": "pytest test uses a too-short substring oracle",
26
+ "path": "eval/tests/test_shipped_executable.py",
27
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
28
+ "severity": "error",
29
+ "stage": "static_lint"
30
+ },
31
+ {
32
+ "id": "generic_keyword_oracle",
33
+ "message": "pytest test uses a generic keyword oracle",
34
+ "path": "eval/tests/test_shipped_executable.py",
35
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
36
+ "severity": "error",
37
+ "stage": "static_lint"
38
+ }
39
+ ]
40
+ }
41
+ ],
42
+ "tests": [
43
+ "eval.tests.test_easing_boundaries.test_elastic_clamps_to_end[elasticInOut]",
44
+ "eval.tests.test_easing_boundaries.test_elastic_clamps_to_end[elasticIn]",
45
+ "eval.tests.test_easing_boundaries.test_elastic_clamps_to_end[elasticOut]",
46
+ "eval.tests.test_easing_boundaries.test_elastic_clamps_to_start[elasticInOut]",
47
+ "eval.tests.test_easing_boundaries.test_elastic_clamps_to_start[elasticIn]",
48
+ "eval.tests.test_easing_boundaries.test_elastic_clamps_to_start[elasticOut]",
49
+ "eval.tests.test_easing_boundaries.test_elastic_near_clamp_boundaries[0.998]",
50
+ "eval.tests.test_easing_boundaries.test_elastic_near_clamp_boundaries[0.99999]",
51
+ "eval.tests.test_easing_boundaries.test_elastic_near_clamp_boundaries[0.999]",
52
+ "eval.tests.test_easing_boundaries.test_elastic_near_clamp_boundaries[1e-05]",
53
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.49-backInOut]",
54
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.49-circularInOut]",
55
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.49-cubicInOut]",
56
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.49-exponentialInOut]",
57
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.49-quadraticInOut]",
58
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.49-quarticInOut]",
59
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.49-quinticInOut]",
60
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.49-sinusoidalInOut]",
61
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.499-backInOut]",
62
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.499-circularInOut]",
63
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.499-cubicInOut]",
64
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.499-exponentialInOut]",
65
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.499-quadraticInOut]",
66
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.499-quarticInOut]",
67
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.499-quinticInOut]",
68
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.499-sinusoidalInOut]",
69
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.5-backInOut]",
70
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.5-circularInOut]",
71
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.5-cubicInOut]",
72
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.5-exponentialInOut]",
73
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.5-quadraticInOut]",
74
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.5-quarticInOut]",
75
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.5-quinticInOut]",
76
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.5-sinusoidalInOut]",
77
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.501-backInOut]",
78
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.501-circularInOut]",
79
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.501-cubicInOut]",
80
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.501-exponentialInOut]",
81
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.501-quadraticInOut]",
82
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.501-quarticInOut]",
83
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.501-quinticInOut]",
84
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.501-sinusoidalInOut]",
85
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.51-backInOut]",
86
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.51-circularInOut]",
87
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.51-cubicInOut]",
88
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.51-exponentialInOut]",
89
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.51-quadraticInOut]",
90
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.51-quarticInOut]",
91
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.51-quinticInOut]",
92
+ "eval.tests.test_easing_boundaries.test_inout_branch_boundary_is_continuous[0.51-sinusoidalInOut]",
93
+ "eval.tests.test_easing_boundaries.test_sensitive_start_boundary[bounceIn]",
94
+ "eval.tests.test_easing_boundaries.test_sensitive_start_boundary[bounceOut]",
95
+ "eval.tests.test_easing_boundaries.test_sensitive_start_boundary[exponentialInOut]",
96
+ "eval.tests.test_easing_boundaries.test_sensitive_start_boundary[exponentialIn]",
97
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_editing_easings_truncate_own_float[backOut]",
98
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_editing_easings_truncate_own_float[cubicOut]",
99
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_editing_easings_truncate_own_float[elasticInOut]",
100
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_editing_easings_truncate_own_float[quadraticIn]",
101
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_grid_tracks_own_float_stably[backInOut]",
102
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_grid_tracks_own_float_stably[bounceIn]",
103
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_grid_tracks_own_float_stably[bounceOut]",
104
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_grid_tracks_own_float_stably[circularInOut]",
105
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_grid_tracks_own_float_stably[cubicIn]",
106
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_grid_tracks_own_float_stably[def]",
107
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_grid_tracks_own_float_stably[exponentialOut]",
108
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_grid_tracks_own_float_stably[linear]",
109
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_grid_tracks_own_float_stably[quadraticInOut]",
110
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_grid_tracks_own_float_stably[quinticOut]",
111
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_grid_tracks_own_float_stably[sinusoidalIn]",
112
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_linear_is_roundf_of_own_float[def]",
113
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_linear_is_roundf_of_own_float[linear]",
114
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_peek_out_of_domain_is_end[backOut]",
115
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_peek_out_of_domain_is_end[cubicIn]",
116
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_peek_out_of_domain_is_end[elasticInOut]",
117
+ "eval.tests.test_easing_dispatch_and_domain.test_integral_peek_out_of_domain_is_end[linear]",
118
+ "eval.tests.test_easing_dispatch_and_domain.test_multi_out_of_domain_saturates_all_components[elasticInOut]",
119
+ "eval.tests.test_easing_dispatch_and_domain.test_multi_out_of_domain_saturates_all_components[linear]",
120
+ "eval.tests.test_easing_dispatch_and_domain.test_multi_out_of_domain_saturates_all_components[quadraticInOut]",
121
+ "eval.tests.test_easing_dispatch_and_domain.test_name_dispatch_is_case_sensitive[ linear]",
122
+ "eval.tests.test_easing_dispatch_and_domain.test_name_dispatch_is_case_sensitive[LiNeAr]",
123
+ "eval.tests.test_easing_dispatch_and_domain.test_name_dispatch_is_case_sensitive[STEPPED]",
124
+ "eval.tests.test_easing_dispatch_and_domain.test_name_dispatch_is_case_sensitive[Stepped]",
125
+ "eval.tests.test_easing_dispatch_and_domain.test_name_dispatch_is_case_sensitive[linear ]",
126
+ "eval.tests.test_easing_dispatch_and_domain.test_name_dispatch_is_case_sensitive[quadraticIN]",
127
+ "eval.tests.test_easing_dispatch_and_domain.test_name_dispatch_unknown_defaults_to_linear[ ]",
128
+ "eval.tests.test_easing_dispatch_and_domain.test_name_dispatch_unknown_defaults_to_linear[]",
129
+ "eval.tests.test_easing_dispatch_and_domain.test_name_dispatch_unknown_defaults_to_linear[cubic_in_out]",
130
+ "eval.tests.test_easing_dispatch_and_domain.test_name_dispatch_unknown_defaults_to_linear[notReAL]",
131
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-backInOut]",
132
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-backIn]",
133
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-backOut]",
134
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-bounceInOut]",
135
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-bounceIn]",
136
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-bounceOut]",
137
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-circularInOut]",
138
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-circularIn]",
139
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-circularOut]",
140
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-cubicInOut]",
141
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-cubicIn]",
142
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-cubicOut]",
143
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-def]",
144
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-elasticInOut]",
145
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-elasticIn]",
146
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-elasticOut]",
147
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-exponentialInOut]",
148
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-exponentialIn]",
149
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-exponentialOut]",
150
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-linear]",
151
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-quadraticInOut]",
152
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-quadraticIn]",
153
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-quadraticOut]",
154
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-quarticInOut]",
155
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-quarticIn]",
156
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-quarticOut]",
157
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-quinticInOut]",
158
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-quinticIn]",
159
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-quinticOut]",
160
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-sinusoidalInOut]",
161
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-sinusoidalIn]",
162
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.1-sinusoidalOut]",
163
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-backInOut]",
164
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-backIn]",
165
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-backOut]",
166
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-bounceInOut]",
167
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-bounceIn]",
168
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-bounceOut]",
169
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-circularInOut]",
170
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-circularIn]",
171
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-circularOut]",
172
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-cubicInOut]",
173
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-cubicIn]",
174
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-cubicOut]",
175
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-def]",
176
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-elasticInOut]",
177
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-elasticIn]",
178
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-elasticOut]",
179
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-exponentialInOut]",
180
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-exponentialIn]",
181
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-exponentialOut]",
182
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-linear]",
183
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-quadraticInOut]",
184
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-quadraticIn]",
185
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-quadraticOut]",
186
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-quarticInOut]",
187
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-quarticIn]",
188
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-quarticOut]",
189
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-quinticInOut]",
190
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-quinticIn]",
191
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-quinticOut]",
192
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-sinusoidalInOut]",
193
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-sinusoidalIn]",
194
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-0.5-sinusoidalOut]",
195
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-backInOut]",
196
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-backIn]",
197
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-backOut]",
198
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-bounceInOut]",
199
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-bounceIn]",
200
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-bounceOut]",
201
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-circularInOut]",
202
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-circularIn]",
203
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-circularOut]",
204
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-cubicInOut]",
205
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-cubicIn]",
206
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-cubicOut]",
207
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-def]",
208
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-elasticInOut]",
209
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-elasticIn]",
210
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-elasticOut]",
211
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-exponentialInOut]",
212
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-exponentialIn]",
213
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-exponentialOut]",
214
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-linear]",
215
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-quadraticInOut]",
216
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-quadraticIn]",
217
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-quadraticOut]",
218
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-quarticInOut]",
219
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-quarticIn]",
220
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-quarticOut]",
221
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-quinticInOut]",
222
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-quinticIn]",
223
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-quinticOut]",
224
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-sinusoidalInOut]",
225
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-sinusoidalIn]",
226
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[-1.0-sinusoidalOut]",
227
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-backInOut]",
228
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-backIn]",
229
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-backOut]",
230
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-bounceInOut]",
231
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-bounceIn]",
232
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-bounceOut]",
233
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-circularInOut]",
234
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-circularIn]",
235
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-circularOut]",
236
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-cubicInOut]",
237
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-cubicIn]",
238
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-cubicOut]",
239
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-def]",
240
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-elasticInOut]",
241
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-elasticIn]",
242
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-elasticOut]",
243
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-exponentialInOut]",
244
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-exponentialIn]",
245
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-exponentialOut]",
246
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-linear]",
247
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-quadraticInOut]",
248
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-quadraticIn]",
249
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-quadraticOut]",
250
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-quarticInOut]",
251
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-quarticIn]",
252
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-quarticOut]",
253
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-quinticInOut]",
254
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-quinticIn]",
255
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-quinticOut]",
256
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-sinusoidalInOut]",
257
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-sinusoidalIn]",
258
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.0001-sinusoidalOut]",
259
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-backInOut]",
260
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-backIn]",
261
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-backOut]",
262
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-bounceInOut]",
263
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-bounceIn]",
264
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-bounceOut]",
265
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-circularInOut]",
266
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-circularIn]",
267
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-circularOut]",
268
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-cubicInOut]",
269
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-cubicIn]",
270
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-cubicOut]",
271
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-def]",
272
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-elasticInOut]",
273
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-elasticIn]",
274
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-elasticOut]",
275
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-exponentialInOut]",
276
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-exponentialIn]",
277
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-exponentialOut]",
278
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-linear]",
279
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-quadraticInOut]",
280
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-quadraticIn]",
281
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-quadraticOut]",
282
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-quarticInOut]",
283
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-quarticIn]",
284
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-quarticOut]",
285
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-quinticInOut]",
286
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-quinticIn]",
287
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-quinticOut]",
288
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-sinusoidalInOut]",
289
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-sinusoidalIn]",
290
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[1.5-sinusoidalOut]",
291
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-backInOut]",
292
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-backIn]",
293
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-backOut]",
294
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-bounceInOut]",
295
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-bounceIn]",
296
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-bounceOut]",
297
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-circularInOut]",
298
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-circularIn]",
299
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-circularOut]",
300
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-cubicInOut]",
301
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-cubicIn]",
302
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-cubicOut]",
303
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-def]",
304
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-elasticInOut]",
305
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-elasticIn]",
306
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-elasticOut]",
307
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-exponentialInOut]",
308
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-exponentialIn]",
309
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-exponentialOut]",
310
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-linear]",
311
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-quadraticInOut]",
312
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-quadraticIn]",
313
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-quadraticOut]",
314
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-quarticInOut]",
315
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-quarticIn]",
316
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-quarticOut]",
317
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-quinticInOut]",
318
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-quinticIn]",
319
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-quinticOut]",
320
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-sinusoidalInOut]",
321
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-sinusoidalIn]",
322
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_matches_progress_one[2.0-sinusoidalOut]",
323
+ "eval.tests.test_easing_dispatch_and_domain.test_peek_out_of_domain_stepped_is_start",
324
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[backInOut]",
325
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[backIn]",
326
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[backOut]",
327
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[bounceInOut]",
328
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[bounceIn]",
329
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[bounceOut]",
330
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[circularInOut]",
331
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[circularIn]",
332
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[circularOut]",
333
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[cubicInOut]",
334
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[cubicIn]",
335
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[cubicOut]",
336
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[def]",
337
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[elasticInOut]",
338
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[elasticIn]",
339
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[elasticOut]",
340
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[exponentialInOut]",
341
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[exponentialIn]",
342
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[exponentialOut]",
343
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[linear]",
344
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[quadraticInOut]",
345
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[quadraticIn]",
346
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[quadraticOut]",
347
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[quarticInOut]",
348
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[quarticIn]",
349
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[quarticOut]",
350
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[quinticInOut]",
351
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[quinticIn]",
352
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[quinticOut]",
353
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[sinusoidalInOut]",
354
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[sinusoidalIn]",
355
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[sinusoidalOut]",
356
+ "eval.tests.test_easing_golden.test_float_grid_matches_golden[stepped]",
357
+ "eval.tests.test_easing_golden.test_grid_errors_on_unknown_easing_name",
358
+ "eval.tests.test_easing_golden.test_grid_has_full_resolution",
359
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[backInOut]",
360
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[backIn]",
361
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[backOut]",
362
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[bounceInOut]",
363
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[bounceIn]",
364
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[bounceOut]",
365
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[circularInOut]",
366
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[circularIn]",
367
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[circularOut]",
368
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[cubicInOut]",
369
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[cubicIn]",
370
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[cubicOut]",
371
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[def]",
372
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[elasticInOut]",
373
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[elasticIn]",
374
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[elasticOut]",
375
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[exponentialInOut]",
376
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[exponentialIn]",
377
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[exponentialOut]",
378
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[linear]",
379
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[quadraticInOut]",
380
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[quadraticIn]",
381
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[quadraticOut]",
382
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[quarticInOut]",
383
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[quarticIn]",
384
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[quarticOut]",
385
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[quinticInOut]",
386
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[quinticIn]",
387
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[quinticOut]",
388
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[sinusoidalInOut]",
389
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[sinusoidalIn]",
390
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[sinusoidalOut]",
391
+ "eval.tests.test_easing_golden.test_integral_grid_matches_golden[stepped]",
392
+ "eval.tests.test_easing_golden.test_linear_grid_is_exactly_proportional[-10]",
393
+ "eval.tests.test_easing_golden.test_linear_grid_is_exactly_proportional[1000]",
394
+ "eval.tests.test_easing_golden.test_linear_grid_is_exactly_proportional[10]",
395
+ "eval.tests.test_easing_semantics.test_endpoints[circularInOut]",
396
+ "eval.tests.test_easing_semantics.test_endpoints[circularIn]",
397
+ "eval.tests.test_easing_semantics.test_endpoints[circularOut]",
398
+ "eval.tests.test_easing_semantics.test_endpoints[cubicInOut]",
399
+ "eval.tests.test_easing_semantics.test_endpoints[cubicIn]",
400
+ "eval.tests.test_easing_semantics.test_endpoints[cubicOut]",
401
+ "eval.tests.test_easing_semantics.test_endpoints[def]",
402
+ "eval.tests.test_easing_semantics.test_endpoints[linear]",
403
+ "eval.tests.test_easing_semantics.test_endpoints[quadraticInOut]",
404
+ "eval.tests.test_easing_semantics.test_endpoints[quadraticIn]",
405
+ "eval.tests.test_easing_semantics.test_endpoints[quadraticOut]",
406
+ "eval.tests.test_easing_semantics.test_endpoints[quarticInOut]",
407
+ "eval.tests.test_easing_semantics.test_endpoints[quarticIn]",
408
+ "eval.tests.test_easing_semantics.test_endpoints[quarticOut]",
409
+ "eval.tests.test_easing_semantics.test_endpoints[quinticInOut]",
410
+ "eval.tests.test_easing_semantics.test_endpoints[quinticIn]",
411
+ "eval.tests.test_easing_semantics.test_endpoints[quinticOut]",
412
+ "eval.tests.test_easing_semantics.test_endpoints[sinusoidalInOut]",
413
+ "eval.tests.test_easing_semantics.test_endpoints[sinusoidalOut]",
414
+ "eval.tests.test_easing_semantics.test_exponential_in_out_stops_short_of_end",
415
+ "eval.tests.test_easing_semantics.test_exponential_in_starts_short_of_zero",
416
+ "eval.tests.test_easing_semantics.test_exponential_out_stops_short_of_end",
417
+ "eval.tests.test_easing_semantics.test_in_out_relation_reversed_span[backOut]",
418
+ "eval.tests.test_easing_semantics.test_in_out_relation_reversed_span[bounceOut]",
419
+ "eval.tests.test_easing_semantics.test_inout_midpoint_symmetric[circularInOut]",
420
+ "eval.tests.test_easing_semantics.test_inout_midpoint_symmetric[cubicInOut]",
421
+ "eval.tests.test_easing_semantics.test_inout_midpoint_symmetric[exponentialInOut]",
422
+ "eval.tests.test_easing_semantics.test_inout_midpoint_symmetric[quadraticInOut]",
423
+ "eval.tests.test_easing_semantics.test_inout_midpoint_symmetric[quarticInOut]",
424
+ "eval.tests.test_easing_semantics.test_inout_midpoint_symmetric[quinticInOut]",
425
+ "eval.tests.test_easing_semantics.test_inout_midpoint_symmetric[sinusoidalInOut]",
426
+ "eval.tests.test_easing_semantics.test_integral_rounding_bounded[cubicIn]",
427
+ "eval.tests.test_easing_semantics.test_integral_rounding_bounded[linear]",
428
+ "eval.tests.test_easing_semantics.test_integral_rounding_bounded[quadraticIn]",
429
+ "eval.tests.test_easing_semantics.test_integral_rounding_bounded[quadraticOut]",
430
+ "eval.tests.test_easing_semantics.test_integral_rounding_bounded[quinticIn]",
431
+ "eval.tests.test_easing_semantics.test_integral_rounding_half_away",
432
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[circularInOut]",
433
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[circularIn]",
434
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[circularOut]",
435
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[cubicInOut]",
436
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[cubicIn]",
437
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[cubicOut]",
438
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[def]",
439
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[exponentialInOut]",
440
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[exponentialIn]",
441
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[exponentialOut]",
442
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[linear]",
443
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[quadraticInOut]",
444
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[quadraticIn]",
445
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[quadraticOut]",
446
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[quarticIn]",
447
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[quarticOut]",
448
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[quinticIn]",
449
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[quinticOut]",
450
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[sinusoidalInOut]",
451
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[sinusoidalIn]",
452
+ "eval.tests.test_easing_semantics.test_monotonic_increasing[sinusoidalOut]",
453
+ "eval.tests.test_easing_semantics.test_overshoot_dips_below_start[backInOut]",
454
+ "eval.tests.test_easing_semantics.test_overshoot_dips_below_start[backIn]",
455
+ "eval.tests.test_easing_semantics.test_overshoot_dips_below_start[elasticInOut]",
456
+ "eval.tests.test_easing_semantics.test_overshoot_dips_below_start[elasticIn]",
457
+ "eval.tests.test_easing_semantics.test_overshoot_rises_above_end[backInOut]",
458
+ "eval.tests.test_easing_semantics.test_overshoot_rises_above_end[backOut]",
459
+ "eval.tests.test_easing_semantics.test_overshoot_rises_above_end[elasticInOut]",
460
+ "eval.tests.test_easing_semantics.test_overshoot_rises_above_end[elasticOut]",
461
+ "eval.tests.test_easing_semantics.test_quadratic_in_shape_non_degenerate[0-100]",
462
+ "eval.tests.test_easing_semantics.test_quadratic_in_shape_non_degenerate[100-1000]",
463
+ "eval.tests.test_easing_semantics.test_quadratic_in_shape_non_degenerate[250-10]",
464
+ "eval.tests.test_easing_semantics.test_quadratic_in_zero_span_returns_start[backInOut]",
465
+ "eval.tests.test_easing_semantics.test_quadratic_in_zero_span_returns_start[exponentialOut]",
466
+ "eval.tests.test_easing_semantics.test_quadratic_in_zero_span_returns_start[linear]",
467
+ "eval.tests.test_easing_semantics.test_quadratic_in_zero_span_returns_start[quadraticIn]",
468
+ "eval.tests.test_easing_semantics.test_stepped_endpoint_stays_start",
469
+ "eval.tests.test_easing_step_transitions.test_multi_value_same_easing_scales_each_component[cubicInOut]",
470
+ "eval.tests.test_easing_step_transitions.test_multi_value_same_easing_scales_each_component[linear]",
471
+ "eval.tests.test_easing_step_transitions.test_multi_value_same_easing_scales_each_component[quadraticIn]",
472
+ "eval.tests.test_easing_step_transitions.test_step_back_out_overshoots_then_settles",
473
+ "eval.tests.test_easing_step_transitions.test_step_finishes_within_bounds",
474
+ "eval.tests.test_easing_step_transitions.test_step_hits_ignored_for_stepped",
475
+ "eval.tests.test_easing_step_transitions.test_step_linear_is_proportional",
476
+ "eval.tests.test_easing_step_transitions.test_step_quadratic_in_is_convex",
477
+ "eval.tests.test_easing_values.test_def_matches_linear_for_double",
478
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-backInOut]",
479
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-backIn]",
480
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-backOut]",
481
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-bounceInOut]",
482
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-bounceIn]",
483
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-bounceOut]",
484
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-circularInOut]",
485
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-circularIn]",
486
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-circularOut]",
487
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-cubicInOut]",
488
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-cubicIn]",
489
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-cubicOut]",
490
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-def]",
491
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-elasticInOut]",
492
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-elasticIn]",
493
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-elasticOut]",
494
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-exponentialInOut]",
495
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-exponentialIn]",
496
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-exponentialOut]",
497
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-linear]",
498
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-quadraticInOut]",
499
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-quadraticIn]",
500
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-quadraticOut]",
501
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-quarticInOut]",
502
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-quarticIn]",
503
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-quarticOut]",
504
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-quinticInOut]",
505
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-quinticIn]",
506
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-quinticOut]",
507
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-sinusoidalInOut]",
508
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-sinusoidalIn]",
509
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-sinusoidalOut]",
510
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span0-stepped]",
511
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-backInOut]",
512
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-backIn]",
513
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-backOut]",
514
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-bounceInOut]",
515
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-bounceIn]",
516
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-bounceOut]",
517
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-circularInOut]",
518
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-circularIn]",
519
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-circularOut]",
520
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-cubicInOut]",
521
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-cubicIn]",
522
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-cubicOut]",
523
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-def]",
524
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-elasticInOut]",
525
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-elasticIn]",
526
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-elasticOut]",
527
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-exponentialInOut]",
528
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-exponentialIn]",
529
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-exponentialOut]",
530
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-linear]",
531
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-quadraticInOut]",
532
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-quadraticIn]",
533
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-quadraticOut]",
534
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-quarticInOut]",
535
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-quarticIn]",
536
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-quarticOut]",
537
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-quinticInOut]",
538
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-quinticIn]",
539
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-quinticOut]",
540
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-sinusoidalInOut]",
541
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-sinusoidalIn]",
542
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-sinusoidalOut]",
543
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span1-stepped]",
544
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-backInOut]",
545
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-backIn]",
546
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-backOut]",
547
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-bounceInOut]",
548
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-bounceIn]",
549
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-bounceOut]",
550
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-circularInOut]",
551
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-circularIn]",
552
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-circularOut]",
553
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-cubicInOut]",
554
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-cubicIn]",
555
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-cubicOut]",
556
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-def]",
557
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-elasticInOut]",
558
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-elasticIn]",
559
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-elasticOut]",
560
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-exponentialInOut]",
561
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-exponentialIn]",
562
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-exponentialOut]",
563
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-linear]",
564
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-quadraticInOut]",
565
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-quadraticIn]",
566
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-quadraticOut]",
567
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-quarticInOut]",
568
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-quarticIn]",
569
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-quarticOut]",
570
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-quinticInOut]",
571
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-quinticIn]",
572
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-quinticOut]",
573
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-sinusoidalInOut]",
574
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-sinusoidalIn]",
575
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-sinusoidalOut]",
576
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span2-stepped]",
577
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-backInOut]",
578
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-backIn]",
579
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-backOut]",
580
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-bounceInOut]",
581
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-bounceIn]",
582
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-bounceOut]",
583
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-circularInOut]",
584
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-circularIn]",
585
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-circularOut]",
586
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-cubicInOut]",
587
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-cubicIn]",
588
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-cubicOut]",
589
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-def]",
590
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-elasticInOut]",
591
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-elasticIn]",
592
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-elasticOut]",
593
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-exponentialInOut]",
594
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-exponentialIn]",
595
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-exponentialOut]",
596
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-linear]",
597
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-quadraticInOut]",
598
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-quadraticIn]",
599
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-quadraticOut]",
600
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-quarticInOut]",
601
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-quarticIn]",
602
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-quarticOut]",
603
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-quinticInOut]",
604
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-quinticIn]",
605
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-quinticOut]",
606
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-sinusoidalInOut]",
607
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-sinusoidalIn]",
608
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-sinusoidalOut]",
609
+ "eval.tests.test_easing_values.test_easing_value_matches_reference[span3-stepped]",
610
+ "eval.tests.test_easing_values.test_float_from_equal_to[backInOut]",
611
+ "eval.tests.test_easing_values.test_float_from_equal_to[cubicInOut]",
612
+ "eval.tests.test_easing_values.test_float_from_equal_to[def]",
613
+ "eval.tests.test_easing_values.test_float_from_equal_to[linear]",
614
+ "eval.tests.test_easing_values.test_float_from_equal_to[quadraticIn]",
615
+ "eval.tests.test_easing_values.test_stepped_is_always_start[0.0]",
616
+ "eval.tests.test_easing_values.test_stepped_is_always_start[0.3333333]",
617
+ "eval.tests.test_easing_values.test_stepped_is_always_start[0.5]",
618
+ "eval.tests.test_easing_values.test_stepped_is_always_start[0.7777777]",
619
+ "eval.tests.test_easing_values.test_stepped_is_always_start[1.0]",
620
+ "eval.tests.test_executable_and_usage.test_executable_present_and_runnable",
621
+ "eval.tests.test_executable_and_usage.test_executable_programgym_env",
622
+ "eval.tests.test_executable_and_usage.test_probe_odd_progress_safe",
623
+ "eval.tests.test_executable_and_usage.test_probe_reports_bad_usage",
624
+ "eval.tests.test_executable_and_usage.test_probe_value_mode_well_formed",
625
+ "eval.tests.test_shipped_executable.test_executable_does_not_signal_on_kill_forward_input_pipe",
626
+ "eval.tests.test_shipped_executable.test_executable_elf_object_matches_minimal_sandbox",
627
+ "eval.tests.test_shipped_executable.test_executable_exits_zero_for_any_argv[argv0]",
628
+ "eval.tests.test_shipped_executable.test_executable_exits_zero_for_any_argv[argv1]",
629
+ "eval.tests.test_shipped_executable.test_executable_exits_zero_for_any_argv[argv2]",
630
+ "eval.tests.test_shipped_executable.test_executable_exits_zero_for_any_argv[argv3]",
631
+ "eval.tests.test_shipped_executable.test_executable_exits_zero_for_any_argv[argv4]",
632
+ "eval.tests.test_shipped_executable.test_executable_exits_zero_for_any_argv[argv5]",
633
+ "eval.tests.test_shipped_executable.test_executable_exits_zero_for_any_argv[argv6]",
634
+ "eval.tests.test_shipped_executable.test_executable_has_interpreter_and_mark_loaded",
635
+ "eval.tests.test_shipped_executable.test_executable_ignores_stdin[1\\n2\\n3\\n4\\n5\\n]",
636
+ "eval.tests.test_shipped_executable.test_executable_ignores_stdin[]",
637
+ "eval.tests.test_shipped_executable.test_executable_ignores_stdin[hello\\n]",
638
+ "eval.tests.test_shipped_executable.test_executable_ignores_stdin[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]",
639
+ "eval.tests.test_shipped_executable.test_executable_is_64_bit_lsb_dynamic",
640
+ "eval.tests.test_shipped_executable.test_executable_is_a_nonempty_elf",
641
+ "eval.tests.test_shipped_executable.test_executable_is_deterministic_across_runs",
642
+ "eval.tests.test_shipped_executable.test_executable_link_against_expected_libraries",
643
+ "eval.tests.test_shipped_executable.test_executable_no_stderr",
644
+ "eval.tests.test_shipped_executable.test_executable_no_stdout",
645
+ "eval.tests.test_shipped_executable.test_executable_runs_under_cwd_independence",
646
+ "eval.tests.test_shipped_executable.test_executable_survives_closed_stdout",
647
+ "eval.tests.test_shipped_executable.test_executable_terminates_promptly"
648
+ ]
649
+ },
650
+ "generated_module_03": {
651
+ "ignore_reason": "",
652
+ "ignored": false,
653
+ "ignored_tests": [],
654
+ "tests": [
655
+ "eval.tests.test_executable.test_artifact_creates_directory_tree",
656
+ "eval.tests.test_executable.test_artifact_deterministic_for_fresh_prefix",
657
+ "eval.tests.test_executable.test_artifact_has_gcov_magic_header",
658
+ "eval.tests.test_executable.test_artifact_not_written_to_plain_cwd",
659
+ "eval.tests.test_executable.test_artifact_path_follows_strip_value[0-workspace/source/build/CMakeFiles/sandbox.dir/src/sandbox.cc.gcda]",
660
+ "eval.tests.test_executable.test_artifact_path_follows_strip_value[1-source/build/CMakeFiles/sandbox.dir/src/sandbox.cc.gcda]",
661
+ "eval.tests.test_executable.test_artifact_path_follows_strip_value[2-build/CMakeFiles/sandbox.dir/src/sandbox.cc.gcda]",
662
+ "eval.tests.test_executable.test_artifact_path_follows_strip_value[3-CMakeFiles/sandbox.dir/src/sandbox.cc.gcda]",
663
+ "eval.tests.test_executable.test_artifact_single_translation_unit",
664
+ "eval.tests.test_executable.test_artifact_stable_under_rerun",
665
+ "eval.tests.test_executable.test_artifact_written_under_gcov_prefix",
666
+ "eval.tests.test_executable.test_create_dir_failure_note_follows_stripped_path",
667
+ "eval.tests.test_executable.test_explicit_blank_gcov_prefix_is_nonfatal",
668
+ "eval.tests.test_executable.test_gcda_header_has_fixed_version_stamp_and_checksum",
669
+ "eval.tests.test_executable.test_gcov_cannot_create_dir_prints_diagnostics_but_exits_zero",
670
+ "eval.tests.test_executable.test_gcov_error_file_absent_content_on_success",
671
+ "eval.tests.test_executable.test_gcov_error_file_appends_on_every_failure",
672
+ "eval.tests.test_executable.test_gcov_error_file_records_flush_failure",
673
+ "eval.tests.test_executable.test_gcov_exit_at_error_deterministic",
674
+ "eval.tests.test_executable.test_gcov_exit_at_error_makes_flush_failure_fatal",
675
+ "eval.tests.test_executable.test_gcov_exit_at_error_nonfatal_on_success",
676
+ "eval.tests.test_executable.test_gcov_flush_failure_is_deterministic",
677
+ "eval.tests.test_executable.test_gcov_no_verify_flush_unchanged",
678
+ "eval.tests.test_executable.test_gcov_target_occupied_cannot_open_is_nonfatal",
679
+ "eval.tests.test_executable.test_help_like_flags_are_plain_arguments[--help]",
680
+ "eval.tests.test_executable.test_help_like_flags_are_plain_arguments[--usage]",
681
+ "eval.tests.test_executable.test_help_like_flags_are_plain_arguments[--version]",
682
+ "eval.tests.test_executable.test_help_like_flags_are_plain_arguments[-V]",
683
+ "eval.tests.test_executable.test_help_like_flags_are_plain_arguments[-h]",
684
+ "eval.tests.test_executable.test_ignores_piped_stdin",
685
+ "eval.tests.test_executable.test_large_strip_does_not_crash",
686
+ "eval.tests.test_executable.test_many_workers_independent",
687
+ "eval.tests.test_executable.test_non_numeric_strip_value_is_tolerated",
688
+ "eval.tests.test_executable.test_normal_run_outputs_nothing",
689
+ "eval.tests.test_executable.test_plain_invocation_exits_zero_without_output[args0]",
690
+ "eval.tests.test_executable.test_plain_invocation_exits_zero_without_output[args1]",
691
+ "eval.tests.test_executable.test_plain_invocation_exits_zero_without_output[args2]",
692
+ "eval.tests.test_executable.test_plain_invocation_exits_zero_without_output[args3]",
693
+ "eval.tests.test_executable.test_plain_invocation_exits_zero_without_output[args4]",
694
+ "eval.tests.test_executable.test_plain_invocation_exits_zero_without_output[args5]",
695
+ "eval.tests.test_executable.test_plain_invocation_exits_zero_without_output[args6]",
696
+ "eval.tests.test_executable.test_plain_invocation_exits_zero_without_output[args7]",
697
+ "eval.tests.test_executable.test_plain_invocation_exits_zero_without_output[args8]",
698
+ "eval.tests.test_executable.test_prefix_as_file_flush_failure_is_nonfatal",
699
+ "eval.tests.test_executable.test_programgym_executable_envvar_is_executable",
700
+ "eval.tests.test_executable.test_programgym_executable_is_not_stub",
701
+ "eval.tests.test_executable.test_recursive_scan_finds_single_valid_profile",
702
+ "eval.tests.test_executable.test_relative_gcov_prefix_is_resolved",
703
+ "eval.tests.test_executable.test_repeated_runs_consistent_contract",
704
+ "eval.tests.test_executable.test_rerun_into_same_prefix_increments_run_counters",
705
+ "eval.tests.test_executable.test_runs_with_clean_environment",
706
+ "eval.tests.test_executable.test_runs_with_closed_stdin",
707
+ "eval.tests.test_executable.test_runs_with_cluttered_environment",
708
+ "eval.tests.test_executable.test_sha256_of_profile_is_stable",
709
+ "eval.tests.test_executable.test_strip_relocates_flush_ignoring_blocked_stripped_component",
710
+ "eval.tests.test_executable.test_strip_removes_one_leading_component_apiece"
711
+ ]
712
+ },
713
+ "generated_module_04": {
714
+ "ignore_reason": "",
715
+ "ignored": false,
716
+ "ignored_tests": [],
717
+ "tests": [
718
+ "eval.tests.test_contract_run.test_binary_stdin_never_echoes_or_crashes[empty]",
719
+ "eval.tests.test_contract_run.test_binary_stdin_never_echoes_or_crashes[high_bytes]",
720
+ "eval.tests.test_contract_run.test_binary_stdin_never_echoes_or_crashes[long_text]",
721
+ "eval.tests.test_contract_run.test_binary_stdin_never_echoes_or_crashes[many_lines]",
722
+ "eval.tests.test_contract_run.test_binary_stdin_never_echoes_or_crashes[nul_bytes]",
723
+ "eval.tests.test_contract_run.test_dash_help_and_dash_version_do_not_print_usage",
724
+ "eval.tests.test_contract_run.test_environment_variables_are_tolerated",
725
+ "eval.tests.test_contract_run.test_exit_code_is_precisely_zero",
726
+ "eval.tests.test_contract_run.test_invocation_exits_zero_and_emits_nothing[empty_string_arg]",
727
+ "eval.tests.test_contract_run.test_invocation_exits_zero_and_emits_nothing[long_single_arg]",
728
+ "eval.tests.test_contract_run.test_invocation_exits_zero_and_emits_nothing[many_args]",
729
+ "eval.tests.test_contract_run.test_invocation_exits_zero_and_emits_nothing[multiple_args_and_flags]",
730
+ "eval.tests.test_contract_run.test_invocation_exits_zero_and_emits_nothing[no_args]",
731
+ "eval.tests.test_contract_run.test_invocation_exits_zero_and_emits_nothing[numeric_arg]",
732
+ "eval.tests.test_contract_run.test_invocation_exits_zero_and_emits_nothing[one_positional_arg]",
733
+ "eval.tests.test_contract_run.test_invocation_exits_zero_and_emits_nothing[single_dash]",
734
+ "eval.tests.test_contract_run.test_invocation_exits_zero_and_emits_nothing[stdin_empty]",
735
+ "eval.tests.test_contract_run.test_invocation_exits_zero_and_emits_nothing[stdin_piped_text]",
736
+ "eval.tests.test_contract_run.test_run_via_renamed_symlink_keeps_contract",
737
+ "eval.tests.test_contract_run.test_runs_to_completion_without_hanging",
738
+ "eval.tests.test_determinism_no_side_effects.test_behavior_is_independent_of_working_directory",
739
+ "eval.tests.test_determinism_no_side_effects.test_interleaved_background_runs_do_not_interfere",
740
+ "eval.tests.test_determinism_no_side_effects.test_many_consecutive_runs_stay_identical",
741
+ "eval.tests.test_determinism_no_side_effects.test_no_files_created_in_working_directory",
742
+ "eval.tests.test_determinism_no_side_effects.test_redirected_stdout_file_stays_empty",
743
+ "eval.tests.test_determinism_no_side_effects.test_repeated_invocations_are_deterministic",
744
+ "eval.tests.test_device_and_env_boundaries.test_huge_single_environment_value",
745
+ "eval.tests.test_device_and_env_boundaries.test_many_environment_variables_near_exec_limit",
746
+ "eval.tests.test_device_and_env_boundaries.test_runs_from_branch_root_that_contains_the_executable",
747
+ "eval.tests.test_device_and_env_boundaries.test_stderr_to_named_fifo_with_active_reader",
748
+ "eval.tests.test_device_and_env_boundaries.test_stdin_from_fifo_with_active_producer",
749
+ "eval.tests.test_device_and_env_boundaries.test_stdout_and_stderr_to_a_single_fifo",
750
+ "eval.tests.test_device_and_env_boundaries.test_stdout_to_fifo_with_no_reader_never_blocks",
751
+ "eval.tests.test_device_and_env_boundaries.test_stdout_to_named_fifo_with_active_reader",
752
+ "eval.tests.test_process_environment.test_completes_well_under_a_wall_clock_deadline",
753
+ "eval.tests.test_process_environment.test_identical_empty_output_when_stdout_and_stderr_share_a_file",
754
+ "eval.tests.test_process_environment.test_runs_from_read_only_working_directory",
755
+ "eval.tests.test_process_environment.test_runs_from_whitespace_and_unicode_cwd[dash_prefix]",
756
+ "eval.tests.test_process_environment.test_runs_from_whitespace_and_unicode_cwd[spaces]",
757
+ "eval.tests.test_process_environment.test_runs_from_whitespace_and_unicode_cwd[unicode]",
758
+ "eval.tests.test_process_environment.test_runs_when_cwd_is_a_symlink",
759
+ "eval.tests.test_process_environment.test_runs_with_minimal_environment",
760
+ "eval.tests.test_process_environment.test_tolerates_maximum_size_single_argument",
761
+ "eval.tests.test_process_environment.test_upstream_tolerates_early_closed_pipe[cat_consumes_fully]",
762
+ "eval.tests.test_process_environment.test_upstream_tolerates_early_closed_pipe[head_closes_read_end]",
763
+ "eval.tests.test_process_environment.test_upstream_tolerates_early_closed_pipe[true_immediate_exit]",
764
+ "eval.tests.test_resource_robustness.test_many_concurrent_runs_share_cwd_without_side_effects",
765
+ "eval.tests.test_resource_robustness.test_runs_from_cwd_with_shell_metacharacters",
766
+ "eval.tests.test_resource_robustness.test_runs_from_deeply_nested_long_cwd_path",
767
+ "eval.tests.test_resource_robustness.test_runs_under_various_locales[c_utf8]",
768
+ "eval.tests.test_resource_robustness.test_runs_under_various_locales[c_utf8_lc_all]",
769
+ "eval.tests.test_resource_robustness.test_runs_under_various_locales[posix]",
770
+ "eval.tests.test_resource_robustness.test_runs_under_various_locales[posix_c]",
771
+ "eval.tests.test_resource_robustness.test_runs_with_all_three_standard_descriptors_closed",
772
+ "eval.tests.test_resource_robustness.test_runs_with_lc_all_cleared",
773
+ "eval.tests.test_resource_robustness.test_runs_with_stdin_closed_and_output_dev_null",
774
+ "eval.tests.test_resource_robustness.test_tolerates_unusable_tmpdir",
775
+ "eval.tests.test_resource_robustness.test_tolerates_unusable_tmpdir_and_empty_home",
776
+ "eval.tests.test_resource_robustness.test_writes_nothing_to_a_write_failing_dev_full",
777
+ "eval.tests.test_resource_robustness.test_writes_nothing_to_dev_full_combined_into_stdout",
778
+ "eval.tests.test_runtime_asset.test_runtime_binary_actually_executes_and_succeeds",
779
+ "eval.tests.test_runtime_asset.test_runtime_binary_is_elf_class64",
780
+ "eval.tests.test_runtime_asset.test_runtime_binary_is_little_endian_elf",
781
+ "eval.tests.test_runtime_asset.test_runtime_binary_is_nonempty_program",
782
+ "eval.tests.test_runtime_asset.test_runtime_binary_is_real_elf"
783
+ ]
784
+ }
785
+ },
786
+ "commit": "d50d96dfa61b115fb0d9fce59f7bbe4488f9b9b0",
787
+ "data_source": "synthetic_programgym",
788
+ "difficulty": "easy",
789
+ "difficulty_score": 1.2595938788859486,
790
+ "eval_clean_hashes": [
791
+ "156f361b26e7e4e28b4645964fe68113e070f2b5c991fe8a1ce04f99f41a842f"
792
+ ],
793
+ "input_record": {
794
+ "commit": "d50d96dfa61b115fb0d9fce59f7bbe4488f9b9b0",
795
+ "difficulty": "easy",
796
+ "difficulty_code_lines": 1818,
797
+ "difficulty_has_tests": false,
798
+ "difficulty_product_code_lines": 1818,
799
+ "difficulty_runtime_deps": 0,
800
+ "difficulty_score": 1.2595938788859486,
801
+ "difficulty_test_code_lines": 0,
802
+ "full_name": "mobius3/tweeny",
803
+ "input_joern_zip": "cpp_joern/mobius3__tweeny.zip",
804
+ "joern_status": true,
805
+ "joern_time": 8.666380521841347,
806
+ "language": "cpp",
807
+ "pb_match": [
808
+ {
809
+ "pb_fullname": "OSGeo/PROJ",
810
+ "rank": 353,
811
+ "similarity": 0.4177298843860626
812
+ }
813
+ ],
814
+ "repo_path": "cpp/mobius3__tweeny",
815
+ "source": "commit:d50d96dfa61b115fb0d9fce59f7bbe4488f9b9b0",
816
+ "status": "done",
817
+ "url": "https://github.com/mobius3/tweeny"
818
+ },
819
+ "instance_id": "mobius3__tweeny.d50d96d",
820
+ "language": "cpp",
821
+ "module_iterations": [
822
+ {
823
+ "actual_iterations": 5,
824
+ "branch_name": "generated_module_01",
825
+ "iteration_limit": 5,
826
+ "module_index": 1,
827
+ "module_kind": "source",
828
+ "termination_reason": "early_stopping"
829
+ },
830
+ {
831
+ "actual_iterations": 5,
832
+ "branch_name": "generated_module_02",
833
+ "iteration_limit": 5,
834
+ "module_index": 2,
835
+ "module_kind": "source",
836
+ "termination_reason": "max_iterations"
837
+ },
838
+ {
839
+ "actual_iterations": 5,
840
+ "branch_name": "generated_module_03",
841
+ "iteration_limit": 5,
842
+ "module_index": 3,
843
+ "module_kind": "source",
844
+ "termination_reason": "early_stopping"
845
+ },
846
+ {
847
+ "actual_iterations": 5,
848
+ "branch_name": "generated_module_04",
849
+ "iteration_limit": 5,
850
+ "module_index": 4,
851
+ "module_kind": "source",
852
+ "termination_reason": "early_stopping"
853
+ }
854
+ ],
855
+ "repository": "mobius3/tweeny"
856
+ }