Marquis03 commited on
Commit
9cc0bb9
·
verified ·
1 Parent(s): 8a710d8

commit (part 12)

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 +11 -0
  2. autopawn--3d-ascii-viewer.d122eb6/tests/blobs/tests/generated_module_02.tar.gz +3 -0
  3. autopawn--3d-ascii-viewer.d122eb6/tests/blobs/tests/generated_module_03.tar.gz +3 -0
  4. autopawn--3d-ascii-viewer.d122eb6/tests/blobs/tests/generated_module_04.tar.gz +3 -0
  5. autopawn--3d-ascii-viewer.d122eb6/tests/download.sh +49 -0
  6. autopawn--3d-ascii-viewer.d122eb6/tests/executable +0 -0
  7. autopawn--3d-ascii-viewer.d122eb6/tests/harbor_prepare_download_env.sh +34 -0
  8. autopawn--3d-ascii-viewer.d122eb6/tests/programgym_evaluator.py +1201 -0
  9. autopawn--3d-ascii-viewer.d122eb6/tests/programgym_task.json +935 -0
  10. autopawn--3d-ascii-viewer.d122eb6/tests/test.sh +82 -0
  11. autopawn--3d-ascii-viewer.d122eb6/tests/workspace.tar.gz +3 -0
  12. autotag-dev--autotag.d0176cb/environment/Dockerfile +1 -0
  13. autotag-dev--autotag.d0176cb/tests/Dockerfile +1 -0
  14. auxten--go-sqldb.bbea46d/environment/Dockerfile +1 -0
  15. auxten--go-sqldb.bbea46d/tests/Dockerfile +1 -0
  16. auyer--steganography.4290c10/environment/Dockerfile +1 -0
  17. auyer--steganography.4290c10/tests/Dockerfile +1 -0
  18. avtechscientific--asl.f3b739c/environment/Dockerfile +1 -0
  19. avtechscientific--asl.f3b739c/tests/Dockerfile +1 -0
  20. awalsh128--cache-apt-pkgs-action.5513791/environment/Dockerfile +59 -0
  21. awalsh128--cache-apt-pkgs-action.5513791/environment/download.sh +31 -0
  22. awalsh128--cache-apt-pkgs-action.5513791/environment/executable +3 -0
  23. awalsh128--cache-apt-pkgs-action.5513791/environment/programgym-go.tar.gz +3 -0
  24. awalsh128--cache-apt-pkgs-action.5513791/environment/workspace.tar.gz +3 -0
  25. awalsh128--cache-apt-pkgs-action.5513791/instruction.md +98 -0
  26. awalsh128--cache-apt-pkgs-action.5513791/solution/solve.sh +33 -0
  27. awalsh128--cache-apt-pkgs-action.5513791/task.toml +69 -0
  28. awalsh128--cache-apt-pkgs-action.5513791/tests/Dockerfile +67 -0
  29. awalsh128--cache-apt-pkgs-action.5513791/tests/blobs/tests/generated_module_01.tar.gz +3 -0
  30. awalsh128--cache-apt-pkgs-action.5513791/tests/blobs/tests/generated_module_02.tar.gz +3 -0
  31. awalsh128--cache-apt-pkgs-action.5513791/tests/blobs/tests/generated_module_03.tar.gz +3 -0
  32. awalsh128--cache-apt-pkgs-action.5513791/tests/blobs/tests/generated_module_04.tar.gz +3 -0
  33. awalsh128--cache-apt-pkgs-action.5513791/tests/download.sh +31 -0
  34. awalsh128--cache-apt-pkgs-action.5513791/tests/executable +3 -0
  35. awalsh128--cache-apt-pkgs-action.5513791/tests/programgym-go.tar.gz +3 -0
  36. awalsh128--cache-apt-pkgs-action.5513791/tests/programgym_evaluator.py +1201 -0
  37. awalsh128--cache-apt-pkgs-action.5513791/tests/programgym_task.json +318 -0
  38. awalsh128--cache-apt-pkgs-action.5513791/tests/test.sh +82 -0
  39. awalsh128--cache-apt-pkgs-action.5513791/tests/workspace.tar.gz +3 -0
  40. aws--amazon-eks-pod-identity-webhook.7bb1792/environment/Dockerfile +98 -0
  41. aws--amazon-eks-pod-identity-webhook.7bb1792/environment/docker-compose.yaml +22 -0
  42. aws--amazon-eks-pod-identity-webhook.7bb1792/environment/download.sh +828 -0
  43. aws--amazon-eks-pod-identity-webhook.7bb1792/environment/executable +3 -0
  44. aws--amazon-eks-pod-identity-webhook.7bb1792/environment/harbor_configure_apt_mirror.sh +37 -0
  45. aws--amazon-eks-pod-identity-webhook.7bb1792/environment/harbor_configure_java_mirrors.sh +50 -0
  46. aws--amazon-eks-pod-identity-webhook.7bb1792/environment/harbor_prepare_download_env.sh +44 -0
  47. aws--amazon-eks-pod-identity-webhook.7bb1792/environment/programgym-go.tar.gz +3 -0
  48. aws--amazon-eks-pod-identity-webhook.7bb1792/environment/workspace.tar.gz +3 -0
  49. aws--amazon-eks-pod-identity-webhook.7bb1792/instruction.md +98 -0
  50. aws--amazon-eks-pod-identity-webhook.7bb1792/solution/solve.sh +33 -0
.gitattributes CHANGED
@@ -3052,3 +3052,14 @@ automata-labs-team--code-sandbox-mcp.0f0b8d6/environment/executable filter=lfs d
3052
  automata-labs-team--code-sandbox-mcp.0f0b8d6/tests/executable filter=lfs diff=lfs merge=lfs -text
3053
  autometrics-dev--autometrics-rs.dec7c0d/environment/executable filter=lfs diff=lfs merge=lfs -text
3054
  autometrics-dev--autometrics-rs.dec7c0d/tests/executable filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
3052
  automata-labs-team--code-sandbox-mcp.0f0b8d6/tests/executable filter=lfs diff=lfs merge=lfs -text
3053
  autometrics-dev--autometrics-rs.dec7c0d/environment/executable filter=lfs diff=lfs merge=lfs -text
3054
  autometrics-dev--autometrics-rs.dec7c0d/tests/executable filter=lfs diff=lfs merge=lfs -text
3055
+ awalsh128--cache-apt-pkgs-action.5513791/environment/executable filter=lfs diff=lfs merge=lfs -text
3056
+ awalsh128--cache-apt-pkgs-action.5513791/tests/executable filter=lfs diff=lfs merge=lfs -text
3057
+ aws--amazon-eks-pod-identity-webhook.7bb1792/environment/executable filter=lfs diff=lfs merge=lfs -text
3058
+ aws--amazon-eks-pod-identity-webhook.7bb1792/tests/executable filter=lfs diff=lfs merge=lfs -text
3059
+ aws--secrets-store-csi-driver-provider-aws.0d35d4f/environment/executable filter=lfs diff=lfs merge=lfs -text
3060
+ aws--secrets-store-csi-driver-provider-aws.0d35d4f/tests/executable filter=lfs diff=lfs merge=lfs -text
3061
+ aws--session-manager-plugin.930a08e/environment/executable filter=lfs diff=lfs merge=lfs -text
3062
+ aws--session-manager-plugin.930a08e/tests/executable filter=lfs diff=lfs merge=lfs -text
3063
+ awslabs--amazon-ecr-credential-helper.37f5cc9/environment/executable filter=lfs diff=lfs merge=lfs -text
3064
+ awslabs--amazon-ecr-credential-helper.37f5cc9/tests/executable filter=lfs diff=lfs merge=lfs -text
3065
+ axllent--wireguard-vanity-keygen.d417aaa/environment/executable filter=lfs diff=lfs merge=lfs -text
autopawn--3d-ascii-viewer.d122eb6/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:b31bca58ad4e324041e5e04bd5b27ae4ecc5a07b29f1fab37c4e9a363ac1c3b0
3
+ size 15806
autopawn--3d-ascii-viewer.d122eb6/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:cd3a49b66abd055af8f1af9245b155019440b290d6b8c631139cdb4ba4bc1c7e
3
+ size 22626
autopawn--3d-ascii-viewer.d122eb6/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:ca4d197a3d220ae58677b5c4975532d66504ac0f7f80c415c64b0dae37fbf83e
3
+ size 39786
autopawn--3d-ascii-viewer.d122eb6/tests/download.sh ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # ProgramGym download stage for autopawn/3d-ascii-viewer.
3
+ # This script is SOURCED (source /source_ro/download.sh) from a read-only
4
+ # repository mount. It must be standalone and source-safe:
5
+ # - exported variables persist in the current shell
6
+ # - no build / compile / link / test steps
7
+ # - no reading of any repository file
8
+ # - idempotent
9
+ #
10
+ # The product (3d-ascii-viewer) is a single C executable that needs only
11
+ # ncurses. The base image already ships libncurses-dev@6.3 and libncurses6;
12
+ # we install it explicitly only when the header is absent, so we avoid
13
+ # unnecessary apt work on an already-provisioned image.
14
+
15
+ # --- helper to fail safely while being sourced ---
16
+ fail_download() {
17
+ printf 'download.sh: error: %s\n' "$1" >&2
18
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
19
+ return 1
20
+ else
21
+ exit 1
22
+ fi
23
+ }
24
+
25
+ # Prefer apt-get update only if we actually need to install. ncurses header.
26
+ if [ ! -f /usr/include/ncurses.h ]; then
27
+ if command -v apt-get; then
28
+ apt-get update -y || fail_download "apt-get update failed"
29
+ apt-get install -y libncurses-dev || fail_download "could not install libncurses-dev"
30
+ else
31
+ fail_download "apt-get is not available and ncurses development header is missing"
32
+ fi
33
+ fi
34
+
35
+ if [ ! -f /usr/include/ncurses.h ]; then
36
+ fail_download "ncurses development header /usr/include/ncurses.h is still missing after setup"
37
+ fi
38
+
39
+ # Export any environment expected by build.sh. The build has no external
40
+ # configuration, so we only pin the toolchain vars the build relies on.
41
+ export CC="${CC:-gcc}"
42
+ export MAKE="${MAKE:-make}"
43
+
44
+ printf 'download.sh: ncurses development headers present; build environment ready.\n'
45
+ # Source-safe exit; the script may be sourced or executed.
46
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
47
+ return 0
48
+ fi
49
+ exit 0
autopawn--3d-ascii-viewer.d122eb6/tests/executable ADDED
Binary file (63.1 kB). View file
 
autopawn--3d-ascii-viewer.d122eb6/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
autopawn--3d-ascii-viewer.d122eb6/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()
autopawn--3d-ascii-viewer.d122eb6/tests/programgym_task.json ADDED
@@ -0,0 +1,935 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "branches": {
3
+ "generated_module_01": {
4
+ "ignore_reason": "",
5
+ "ignored": false,
6
+ "ignored_tests": [],
7
+ "tests": [
8
+ "eval.tests.test_arg_errors.test_empty_luminescence_rejected",
9
+ "eval.tests.test_arg_errors.test_invalid_numeric_option[-a--2.5]",
10
+ "eval.tests.test_arg_errors.test_invalid_numeric_option[-a-0]",
11
+ "eval.tests.test_arg_errors.test_invalid_numeric_option[-a-abc]",
12
+ "eval.tests.test_arg_errors.test_invalid_numeric_option[-f--7]",
13
+ "eval.tests.test_arg_errors.test_invalid_numeric_option[-f-0]",
14
+ "eval.tests.test_arg_errors.test_invalid_numeric_option[-f-notanint]",
15
+ "eval.tests.test_arg_errors.test_invalid_numeric_option[-h--3]",
16
+ "eval.tests.test_arg_errors.test_invalid_numeric_option[-h-0]",
17
+ "eval.tests.test_arg_errors.test_invalid_numeric_option[-h-xyz]",
18
+ "eval.tests.test_arg_errors.test_invalid_numeric_option[-w--1]",
19
+ "eval.tests.test_arg_errors.test_invalid_numeric_option[-w-0]",
20
+ "eval.tests.test_arg_errors.test_invalid_numeric_option[-w-abc]",
21
+ "eval.tests.test_arg_errors.test_invalid_numeric_option[-z--100.5]",
22
+ "eval.tests.test_arg_errors.test_invalid_numeric_option[-z--5]",
23
+ "eval.tests.test_arg_errors.test_invalid_numeric_option[-z-0]",
24
+ "eval.tests.test_arg_errors.test_invalid_numeric_option[-z-abc]",
25
+ "eval.tests.test_arg_errors.test_negative_duration_rejected",
26
+ "eval.tests.test_arg_errors.test_option_with_missing_value[a_dangling]",
27
+ "eval.tests.test_arg_errors.test_option_with_missing_value[c_dangling]",
28
+ "eval.tests.test_arg_errors.test_option_with_missing_value[f_dangling]",
29
+ "eval.tests.test_arg_errors.test_option_with_missing_value[h_dangling]",
30
+ "eval.tests.test_arg_errors.test_option_with_missing_value[w_dangling]",
31
+ "eval.tests.test_arg_errors.test_option_with_missing_value[z_dangling]",
32
+ "eval.tests.test_arg_errors.test_snap_missing_angle_values[snap_one_arg]",
33
+ "eval.tests.test_arg_errors.test_snap_missing_angle_values[snap_zero_args]",
34
+ "eval.tests.test_arg_errors.test_too_many_input_files[flag_then_two_inputs]",
35
+ "eval.tests.test_arg_errors.test_too_many_input_files[two_inputs]",
36
+ "eval.tests.test_arg_errors.test_unknown_option_rejected[digit]",
37
+ "eval.tests.test_arg_errors.test_unknown_option_rejected[double_dash]",
38
+ "eval.tests.test_arg_errors.test_unknown_option_rejected[k]",
39
+ "eval.tests.test_arg_errors.test_unknown_option_rejected[long_bogus]",
40
+ "eval.tests.test_arg_errors.test_unknown_option_rejected[q]",
41
+ "eval.tests.test_color_term.test_color_capable_term_reaches_start_color",
42
+ "eval.tests.test_color_term.test_color_frame_draws_colored_material_characters",
43
+ "eval.tests.test_color_term.test_color_ok_on_stl_without_color",
44
+ "eval.tests.test_color_term.test_monochrome_term_reports_no_colors",
45
+ "eval.tests.test_color_term.test_multi_material_color_renders_across_palettes[linux_palette]",
46
+ "eval.tests.test_color_term.test_multi_material_color_renders_across_palettes[xterm256_palette]",
47
+ "eval.tests.test_color_term.test_obj_color_requires_can_change_color",
48
+ "eval.tests.test_color_term.test_ok_on_minimal_term_type",
49
+ "eval.tests.test_color_term.test_palette_too_small_warns_not_enough_colors",
50
+ "eval.tests.test_color_term.test_snap_without_TERM_reports_terminal_open_error",
51
+ "eval.tests.test_color_term.test_stl_color_warns_and_then_fails",
52
+ "eval.tests.test_color_term.test_various_term_types_render[ansi]",
53
+ "eval.tests.test_color_term.test_various_term_types_render[screen]",
54
+ "eval.tests.test_color_term.test_various_term_types_render[vt100]",
55
+ "eval.tests.test_color_term.test_various_term_types_render[xterm-256color]",
56
+ "eval.tests.test_color_term.test_various_term_types_render[xterm]",
57
+ "eval.tests.test_edge_cases.test_all_flag_forms_parse_without_error",
58
+ "eval.tests.test_edge_cases.test_altitude_overflow_rejected[-1e999]",
59
+ "eval.tests.test_edge_cases.test_altitude_overflow_rejected[1e40]",
60
+ "eval.tests.test_edge_cases.test_altitude_overflow_rejected[1e999]",
61
+ "eval.tests.test_edge_cases.test_azimuth_overflow_rejected[-1e999]",
62
+ "eval.tests.test_edge_cases.test_azimuth_overflow_rejected[1e40]",
63
+ "eval.tests.test_edge_cases.test_azimuth_overflow_rejected[1e999]",
64
+ "eval.tests.test_edge_cases.test_dangling_d_option_prints_usage",
65
+ "eval.tests.test_edge_cases.test_dangling_value_options_print_usage[dangling_a]",
66
+ "eval.tests.test_edge_cases.test_dangling_value_options_print_usage[dangling_c]",
67
+ "eval.tests.test_edge_cases.test_dangling_value_options_print_usage[dangling_d]",
68
+ "eval.tests.test_edge_cases.test_dangling_value_options_print_usage[dangling_f]",
69
+ "eval.tests.test_edge_cases.test_duration_and_fps_flags_combined_with_snap",
70
+ "eval.tests.test_edge_cases.test_extreme_aspect_ratio_render[0.001]",
71
+ "eval.tests.test_edge_cases.test_extreme_aspect_ratio_render[0.1]",
72
+ "eval.tests.test_edge_cases.test_extreme_aspect_ratio_render[100]",
73
+ "eval.tests.test_edge_cases.test_extreme_aspect_ratio_render[50.0]",
74
+ "eval.tests.test_edge_cases.test_extreme_zoom_values_render[z0p1]",
75
+ "eval.tests.test_edge_cases.test_extreme_zoom_values_render[z10000]",
76
+ "eval.tests.test_edge_cases.test_extreme_zoom_values_render[z1]",
77
+ "eval.tests.test_edge_cases.test_flag_like_numeric_value_rejected[f_letter]",
78
+ "eval.tests.test_edge_cases.test_flag_like_numeric_value_rejected[h_flag_val]",
79
+ "eval.tests.test_edge_cases.test_flag_like_numeric_value_rejected[w_flag_val]",
80
+ "eval.tests.test_edge_cases.test_flag_like_numeric_value_rejected[z_flag_val]",
81
+ "eval.tests.test_edge_cases.test_narrow_single_column_surface",
82
+ "eval.tests.test_edge_cases.test_opaque_nonnumeric_az_alt_do_not_error",
83
+ "eval.tests.test_edge_cases.test_option_after_input_file_still_parsed",
84
+ "eval.tests.test_edge_cases.test_out_of_range_snap_angles_do_not_crash[huge_al]",
85
+ "eval.tests.test_edge_cases.test_out_of_range_snap_angles_do_not_crash[huge_az]",
86
+ "eval.tests.test_edge_cases.test_out_of_range_snap_angles_do_not_crash[huge_both]",
87
+ "eval.tests.test_edge_cases.test_out_of_range_snap_angles_do_not_crash[huge_neg]",
88
+ "eval.tests.test_edge_cases.test_repeated_height_last_wins",
89
+ "eval.tests.test_edge_cases.test_repeated_width_last_wins",
90
+ "eval.tests.test_edge_cases.test_single_row_surface",
91
+ "eval.tests.test_edge_cases.test_varied_ramp_lengths_render[*#%]",
92
+ "eval.tests.test_edge_cases.test_varied_ramp_lengths_render[1234567890]",
93
+ "eval.tests.test_edge_cases.test_varied_ramp_lengths_render[a]",
94
+ "eval.tests.test_edge_cases.test_varied_ramp_lengths_render[ab]",
95
+ "eval.tests.test_edge_cases.test_varied_ramp_lengths_render[abcde]",
96
+ "eval.tests.test_edge_cases.test_zero_byte_obj_reports_no_vertexes",
97
+ "eval.tests.test_extension_edge_and_angle_tokens.test_case_5char_extension_still_rejected_after_dispatch",
98
+ "eval.tests.test_extension_edge_and_angle_tokens.test_extension_classifier_edge_cases[STLX4up]",
99
+ "eval.tests.test_extension_edge_and_angle_tokens.test_extension_classifier_edge_cases[no_dot]",
100
+ "eval.tests.test_extension_edge_and_angle_tokens.test_extension_classifier_edge_cases[objX4]",
101
+ "eval.tests.test_extension_edge_and_angle_tokens.test_extension_classifier_edge_cases[objjj5]",
102
+ "eval.tests.test_extension_edge_and_angle_tokens.test_extension_classifier_edge_cases[stlxx5]",
103
+ "eval.tests.test_extension_edge_and_angle_tokens.test_extension_classifier_edge_cases[trailing_dot]",
104
+ "eval.tests.test_extension_edge_and_angle_tokens.test_extension_classifier_edge_cases[verlong8]",
105
+ "eval.tests.test_extension_edge_and_angle_tokens.test_flag_like_altitude_token_parses_as_zero",
106
+ "eval.tests.test_extension_edge_and_angle_tokens.test_flag_like_azimuth_token_parses_as_zero",
107
+ "eval.tests.test_extension_edge_and_angle_tokens.test_leading_dot_basename_extension_branch",
108
+ "eval.tests.test_extension_edge_and_angle_tokens.test_leading_plus_angles_equal_clean_form",
109
+ "eval.tests.test_extension_errors.test_empty_obj_rejected",
110
+ "eval.tests.test_extension_errors.test_extension_case_normalized_uppercase",
111
+ "eval.tests.test_extension_errors.test_file_with_no_extension_rejected",
112
+ "eval.tests.test_extension_errors.test_missing_obj_file_reports_load_failure",
113
+ "eval.tests.test_extension_errors.test_missing_stl_file_reports_load_failure",
114
+ "eval.tests.test_extension_errors.test_obj_with_no_faces_rejected",
115
+ "eval.tests.test_extension_errors.test_other_unsupported_extensions[gif]",
116
+ "eval.tests.test_extension_errors.test_other_unsupported_extensions[png]",
117
+ "eval.tests.test_extension_errors.test_other_unsupported_extensions[stla]",
118
+ "eval.tests.test_extension_errors.test_unsupported_extension_rejected",
119
+ "eval.tests.test_extension_errors.test_valid_model_accepts_boundary_snap_angles[tiny.obj]",
120
+ "eval.tests.test_extension_errors.test_valid_model_accepts_boundary_snap_angles[tiny.stl]",
121
+ "eval.tests.test_help.test_help_advertises_option[line0]",
122
+ "eval.tests.test_help.test_help_advertises_option[line10]",
123
+ "eval.tests.test_help.test_help_advertises_option[line11]",
124
+ "eval.tests.test_help.test_help_advertises_option[line12]",
125
+ "eval.tests.test_help.test_help_advertises_option[line13]",
126
+ "eval.tests.test_help.test_help_advertises_option[line14]",
127
+ "eval.tests.test_help.test_help_advertises_option[line15]",
128
+ "eval.tests.test_help.test_help_advertises_option[line16]",
129
+ "eval.tests.test_help.test_help_advertises_option[line17]",
130
+ "eval.tests.test_help.test_help_advertises_option[line1]",
131
+ "eval.tests.test_help.test_help_advertises_option[line2]",
132
+ "eval.tests.test_help.test_help_advertises_option[line3]",
133
+ "eval.tests.test_help.test_help_advertises_option[line4]",
134
+ "eval.tests.test_help.test_help_advertises_option[line5]",
135
+ "eval.tests.test_help.test_help_advertises_option[line6]",
136
+ "eval.tests.test_help.test_help_advertises_option[line7]",
137
+ "eval.tests.test_help.test_help_advertises_option[line8]",
138
+ "eval.tests.test_help.test_help_advertises_option[line9]",
139
+ "eval.tests.test_help.test_help_exists_and_exits_one[help]",
140
+ "eval.tests.test_help.test_help_exists_and_exits_one[qmark]",
141
+ "eval.tests.test_help.test_help_mentions_each_flag[F]",
142
+ "eval.tests.test_help.test_help_mentions_each_flag[X]",
143
+ "eval.tests.test_help.test_help_mentions_each_flag[Y]",
144
+ "eval.tests.test_help.test_help_mentions_each_flag[Z]",
145
+ "eval.tests.test_help.test_help_mentions_each_flag[a]",
146
+ "eval.tests.test_help.test_help_mentions_each_flag[c]",
147
+ "eval.tests.test_help.test_help_mentions_each_flag[color]",
148
+ "eval.tests.test_help.test_help_mentions_each_flag[d]",
149
+ "eval.tests.test_help.test_help_mentions_each_flag[f]",
150
+ "eval.tests.test_help.test_help_mentions_each_flag[h]",
151
+ "eval.tests.test_help.test_help_mentions_each_flag[help]",
152
+ "eval.tests.test_help.test_help_mentions_each_flag[interactive]",
153
+ "eval.tests.test_help.test_help_mentions_each_flag[l]",
154
+ "eval.tests.test_help.test_help_mentions_each_flag[s]",
155
+ "eval.tests.test_help.test_help_mentions_each_flag[snap]",
156
+ "eval.tests.test_help.test_help_mentions_each_flag[t]",
157
+ "eval.tests.test_help.test_help_mentions_each_flag[w]",
158
+ "eval.tests.test_help.test_help_mentions_each_flag[z]",
159
+ "eval.tests.test_help.test_help_via_flag_works_even_after_input",
160
+ "eval.tests.test_help.test_help_without_term_no_terminal_required",
161
+ "eval.tests.test_help.test_no_arguments_description_without_term",
162
+ "eval.tests.test_help.test_no_arguments_prints_description_and_exits_one",
163
+ "eval.tests.test_help.test_orientation_flags_advertised",
164
+ "eval.tests.test_loop_and_resize.test_finite_loop_default_fps_draws_and_terminates",
165
+ "eval.tests.test_loop_and_resize.test_finite_loop_high_fps_falls_behind_tick[f100000]",
166
+ "eval.tests.test_loop_and_resize.test_finite_loop_high_fps_falls_behind_tick[f10000]",
167
+ "eval.tests.test_loop_and_resize.test_finite_loop_high_fps_falls_behind_tick[f1000]",
168
+ "eval.tests.test_loop_and_resize.test_finite_loop_high_fps_falls_behind_tick[f2000]",
169
+ "eval.tests.test_loop_and_resize.test_finite_loop_high_fps_falls_behind_tick[f500]",
170
+ "eval.tests.test_loop_and_resize.test_finite_loop_key_resize_recreates_surface",
171
+ "eval.tests.test_loop_and_resize.test_interactive_key_resize_recreates_surface",
172
+ "eval.tests.test_loop_timing_extra.test_finite_loop_with_top_elevation_runs_and_draws",
173
+ "eval.tests.test_loop_timing_extra.test_help_wins_at_any_position[p_leading]",
174
+ "eval.tests.test_loop_timing_extra.test_help_wins_at_any_position[p_mid]",
175
+ "eval.tests.test_loop_timing_extra.test_help_wins_at_any_position[p_trailing]",
176
+ "eval.tests.test_loop_timing_extra.test_repeated_lum_chars_last_wins[to_digits]",
177
+ "eval.tests.test_loop_timing_extra.test_repeated_lum_chars_last_wins[to_hash_at]",
178
+ "eval.tests.test_loop_timing_extra.test_repeated_lum_chars_last_wins[to_single_a]",
179
+ "eval.tests.test_loop_timing_extra.test_snap_without_input_file_prints_usage",
180
+ "eval.tests.test_parser_prefixes_and_stl.test_combined_axis_inversion_distinct_from_default",
181
+ "eval.tests.test_parser_prefixes_and_stl.test_duration_negative_prefix_still_rejected",
182
+ "eval.tests.test_parser_prefixes_and_stl.test_duration_non_numeric_accepted_runs_zero_length",
183
+ "eval.tests.test_parser_prefixes_and_stl.test_duration_positive_prefix_runs_briefly",
184
+ "eval.tests.test_parser_prefixes_and_stl.test_fps_prefix_accepted_with_snap",
185
+ "eval.tests.test_parser_prefixes_and_stl.test_height_prefix_truncates_to_valid_height",
186
+ "eval.tests.test_parser_prefixes_and_stl.test_numeric_prefix_accepted_equals_clean[aspect_suffix]",
187
+ "eval.tests.test_parser_prefixes_and_stl.test_numeric_prefix_accepted_equals_clean[height_suffix]",
188
+ "eval.tests.test_parser_prefixes_and_stl.test_numeric_prefix_accepted_equals_clean[width_float]",
189
+ "eval.tests.test_parser_prefixes_and_stl.test_numeric_prefix_accepted_equals_clean[zoom_suffix]",
190
+ "eval.tests.test_parser_prefixes_and_stl.test_static_light_exact_frame",
191
+ "eval.tests.test_parser_prefixes_and_stl.test_stl_snap_exact_frame[stl_10_50_8x5]",
192
+ "eval.tests.test_parser_prefixes_and_stl.test_stl_snap_exact_frame[stl_30_20_6x4]",
193
+ "eval.tests.test_parser_prefixes_and_stl.test_stretch_exact_frame",
194
+ "eval.tests.test_parser_prefixes_and_stl.test_width_prefix_truncates_to_one_tile",
195
+ "eval.tests.test_snap_rendering.test_aspect_ratio_changes_surface[0.5]",
196
+ "eval.tests.test_snap_rendering.test_aspect_ratio_changes_surface[1.0]",
197
+ "eval.tests.test_snap_rendering.test_aspect_ratio_changes_surface[2.0]",
198
+ "eval.tests.test_snap_rendering.test_aspect_ratio_changes_surface[4.0]",
199
+ "eval.tests.test_snap_rendering.test_coordinate_ordering_zxy_framedex_yzx",
200
+ "eval.tests.test_snap_rendering.test_custom_luminescence_chars_are_used[abcd]",
201
+ "eval.tests.test_snap_rendering.test_custom_luminescence_chars_are_used[at]",
202
+ "eval.tests.test_snap_rendering.test_custom_luminescence_chars_are_used[dot_hash]",
203
+ "eval.tests.test_snap_rendering.test_custom_luminescence_chars_are_used[dupe]",
204
+ "eval.tests.test_snap_rendering.test_custom_luminescence_chars_are_used[q_plus]",
205
+ "eval.tests.test_snap_rendering.test_custom_luminescence_chars_are_used[star_hash]",
206
+ "eval.tests.test_snap_rendering.test_custom_luminescence_chars_are_used[ten]",
207
+ "eval.tests.test_snap_rendering.test_custom_luminescence_chars_are_used[xy]",
208
+ "eval.tests.test_snap_rendering.test_default_orientation_xyz_matches_no_flag",
209
+ "eval.tests.test_snap_rendering.test_default_zoom_matches_baseline",
210
+ "eval.tests.test_snap_rendering.test_invert_and_flip_flags_change_frame[flip_faces]",
211
+ "eval.tests.test_snap_rendering.test_invert_and_flip_flags_change_frame[invert_x]",
212
+ "eval.tests.test_snap_rendering.test_invert_and_flip_flags_change_frame[invert_y]",
213
+ "eval.tests.test_snap_rendering.test_invert_and_flip_flags_change_frame[invert_z]",
214
+ "eval.tests.test_snap_rendering.test_large_zoom_clips_to_surface",
215
+ "eval.tests.test_snap_rendering.test_option_combinations_render_without_error[all_invert]",
216
+ "eval.tests.test_snap_rendering.test_option_combinations_render_without_error[combo]",
217
+ "eval.tests.test_snap_rendering.test_option_combinations_render_without_error[orient_and_flip]",
218
+ "eval.tests.test_snap_rendering.test_option_combinations_render_without_error[ramp_zoom]",
219
+ "eval.tests.test_snap_rendering.test_option_combinations_render_without_error[stretch_static_zoom]",
220
+ "eval.tests.test_snap_rendering.test_orientation_permutations_yield_varied_frames",
221
+ "eval.tests.test_snap_rendering.test_snap_frame_uses_luminance_ramp_chars",
222
+ "eval.tests.test_snap_rendering.test_snap_frames_differ_across_angles",
223
+ "eval.tests.test_snap_rendering.test_snap_produces_deterministic_frame[-40_-10]",
224
+ "eval.tests.test_snap_rendering.test_snap_produces_deterministic_frame[0_-180]",
225
+ "eval.tests.test_snap_rendering.test_snap_produces_deterministic_frame[0_0]",
226
+ "eval.tests.test_snap_rendering.test_snap_produces_deterministic_frame[0_180]",
227
+ "eval.tests.test_snap_rendering.test_snap_produces_deterministic_frame[120_60]",
228
+ "eval.tests.test_snap_rendering.test_snap_produces_deterministic_frame[180_-45]",
229
+ "eval.tests.test_snap_rendering.test_snap_produces_deterministic_frame[200_100]",
230
+ "eval.tests.test_snap_rendering.test_snap_produces_deterministic_frame[270_15]",
231
+ "eval.tests.test_snap_rendering.test_snap_produces_deterministic_frame[30_-80]",
232
+ "eval.tests.test_snap_rendering.test_snap_produces_deterministic_frame[360_0]",
233
+ "eval.tests.test_snap_rendering.test_snap_produces_deterministic_frame[45_20]",
234
+ "eval.tests.test_snap_rendering.test_snap_produces_deterministic_frame[90_90]",
235
+ "eval.tests.test_snap_rendering.test_snap_produces_full_frame_dimensions[12x6]",
236
+ "eval.tests.test_snap_rendering.test_snap_produces_full_frame_dimensions[16x8]",
237
+ "eval.tests.test_snap_rendering.test_snap_produces_full_frame_dimensions[1x1]",
238
+ "eval.tests.test_snap_rendering.test_snap_produces_full_frame_dimensions[24x10]",
239
+ "eval.tests.test_snap_rendering.test_snap_produces_full_frame_dimensions[40x5]",
240
+ "eval.tests.test_snap_rendering.test_snap_produces_full_frame_dimensions[4x3]",
241
+ "eval.tests.test_snap_rendering.test_snap_produces_full_frame_dimensions[8x4]",
242
+ "eval.tests.test_snap_rendering.test_static_light_differs_from_dynamic_default",
243
+ "eval.tests.test_snap_rendering.test_stretch_option_changes_layout",
244
+ "eval.tests.test_snap_rendering.test_top_elevation_is_accepted_in_snap",
245
+ "eval.tests.test_snap_rendering.test_zoom_300_matches_golden",
246
+ "eval.tests.test_snap_rendering.test_zoom_changes_scale[z150]",
247
+ "eval.tests.test_snap_rendering.test_zoom_changes_scale[z25]",
248
+ "eval.tests.test_snap_rendering.test_zoom_changes_scale[z300]",
249
+ "eval.tests.test_snap_rendering.test_zoom_changes_scale[z500]",
250
+ "eval.tests.test_snap_rendering.test_zoom_changes_scale[z50]",
251
+ "eval.tests.test_surface_grid.test_surface_frame_matches_golden[w10_h10_a300_60]",
252
+ "eval.tests.test_surface_grid.test_surface_frame_matches_golden[w18_h7_a120_-20]",
253
+ "eval.tests.test_surface_grid.test_surface_frame_matches_golden[w20_h10_a15_30]",
254
+ "eval.tests.test_surface_grid.test_surface_frame_matches_golden[w24_h24_a210_-45]",
255
+ "eval.tests.test_surface_grid.test_surface_frame_matches_golden[w30_h15_a0_90]",
256
+ "eval.tests.test_surface_grid.test_surface_frame_matches_golden[w40_h20_a55_25]",
257
+ "eval.tests.test_surface_grid.test_surface_frame_matches_golden[w6_h9_a45_45]",
258
+ "eval.tests.test_surface_grid.test_surface_frame_matches_golden[w8_h12_a90_0]",
259
+ "eval.tests.test_surface_grid.test_surface_rows_all_render_nonempty_cube",
260
+ "eval.tests.test_tui_pty.test_default_loop_finite_termination_not_required",
261
+ "eval.tests.test_tui_pty.test_default_loop_terminal_resize_then_quit",
262
+ "eval.tests.test_tui_pty.test_default_loop_terminates_on_keypress",
263
+ "eval.tests.test_tui_pty.test_finite_duration_brief_runs_and_exits",
264
+ "eval.tests.test_tui_pty.test_finite_duration_with_flags",
265
+ "eval.tests.test_tui_pty.test_finite_duration_zero_exits_quickly",
266
+ "eval.tests.test_tui_pty.test_finite_loop_runs_many_frames_and_terminates[d0p1]",
267
+ "eval.tests.test_tui_pty.test_finite_loop_runs_many_frames_and_terminates[d0p3]",
268
+ "eval.tests.test_tui_pty.test_finite_loop_terminal_resize_continues",
269
+ "eval.tests.test_tui_pty.test_interactive_bounded_runtime_does_not_hang",
270
+ "eval.tests.test_tui_pty.test_interactive_flags_are_respected_without_error",
271
+ "eval.tests.test_tui_pty.test_interactive_high_zoom_still_bounded_initial[z450]",
272
+ "eval.tests.test_tui_pty.test_interactive_high_zoom_still_bounded_initial[z750]",
273
+ "eval.tests.test_tui_pty.test_interactive_hud_initial_angles_all_zero",
274
+ "eval.tests.test_tui_pty.test_interactive_hud_shows_initial_zoom_value[z150]",
275
+ "eval.tests.test_tui_pty.test_interactive_hud_shows_initial_zoom_value[z350]",
276
+ "eval.tests.test_tui_pty.test_interactive_hud_shows_initial_zoom_value[z7]",
277
+ "eval.tests.test_tui_pty.test_interactive_hud_shows_initial_zoom_value[z999]",
278
+ "eval.tests.test_tui_pty.test_interactive_hud_toggle_off_keeps_rendering",
279
+ "eval.tests.test_tui_pty.test_interactive_hud_toggle_still_exits_cleanly",
280
+ "eval.tests.test_tui_pty.test_interactive_other_frame_sizes_render[q]",
281
+ "eval.tests.test_tui_pty.test_interactive_quit_via_q_returns_zero",
282
+ "eval.tests.test_tui_pty.test_interactive_repeated_keys_drive_wrap_and_clamp[alt_clamp_high]",
283
+ "eval.tests.test_tui_pty.test_interactive_repeated_keys_drive_wrap_and_clamp[alt_clamp_low]",
284
+ "eval.tests.test_tui_pty.test_interactive_repeated_keys_drive_wrap_and_clamp[azim_wrap_over]",
285
+ "eval.tests.test_tui_pty.test_interactive_repeated_keys_drive_wrap_and_clamp[azim_wrap_under]",
286
+ "eval.tests.test_tui_pty.test_interactive_single_control_key_processed[alt_down]",
287
+ "eval.tests.test_tui_pty.test_interactive_single_control_key_processed[alt_up]",
288
+ "eval.tests.test_tui_pty.test_interactive_single_control_key_processed[azim_left]",
289
+ "eval.tests.test_tui_pty.test_interactive_single_control_key_processed[azim_right]",
290
+ "eval.tests.test_tui_pty.test_interactive_single_control_key_processed[zoom_alt_minus]",
291
+ "eval.tests.test_tui_pty.test_interactive_single_control_key_processed[zoom_alt_plus]",
292
+ "eval.tests.test_tui_pty.test_interactive_single_control_key_processed[zoom_minus]",
293
+ "eval.tests.test_tui_pty.test_interactive_single_control_key_processed[zoom_plus]",
294
+ "eval.tests.test_tui_pty.test_interactive_snap_combination_prefers_snap",
295
+ "eval.tests.test_tui_pty.test_interactive_terminal_resize_continues_rendering",
296
+ "eval.tests.test_tui_pty.test_interactive_with_rendering_flags_reaches_hud",
297
+ "eval.tests.test_tui_pty.test_interactive_zoom_clamp_max_and_min",
298
+ "eval.tests.test_tui_pty.test_snap_never_opens_interactive_loop"
299
+ ]
300
+ },
301
+ "generated_module_02": {
302
+ "ignore_reason": "",
303
+ "ignored": false,
304
+ "ignored_tests": [],
305
+ "tests": [
306
+ "eval.tests.test_entry_points.test_dash_q_exits_with_usage",
307
+ "eval.tests.test_entry_points.test_double_extension_uses_last_suffix",
308
+ "eval.tests.test_entry_points.test_help_exits_with_usage",
309
+ "eval.tests.test_entry_points.test_invalid_options_prevent_loading[badflag0-Invalid width]",
310
+ "eval.tests.test_entry_points.test_invalid_options_prevent_loading[badflag1-Invalid width]",
311
+ "eval.tests.test_entry_points.test_invalid_options_prevent_loading[badflag2-Invalid height]",
312
+ "eval.tests.test_entry_points.test_invalid_options_prevent_loading[badflag3-Invalid FPS]",
313
+ "eval.tests.test_entry_points.test_invalid_options_prevent_loading[badflag4-Invalid duration]",
314
+ "eval.tests.test_entry_points.test_invalid_options_prevent_loading[badflag5-Invalid aspect-ratio]",
315
+ "eval.tests.test_entry_points.test_invalid_options_prevent_loading[badflag6-Invalid zoom]",
316
+ "eval.tests.test_entry_points.test_missing_luminance_characters_error[args0-3d-ascii-viewer -- an OBJ 3D model format viewer for the terminal]",
317
+ "eval.tests.test_entry_points.test_missing_luminance_characters_error[args1-At least one luminescence]",
318
+ "eval.tests.test_entry_points.test_no_arguments_prints_description",
319
+ "eval.tests.test_entry_points.test_obj_and_stl_load_distinct_content",
320
+ "eval.tests.test_entry_points.test_object_file_with_no_extension_errors",
321
+ "eval.tests.test_entry_points.test_supported_extensions_load[tri.stl]",
322
+ "eval.tests.test_entry_points.test_supported_extensions_load[triangle.obj]",
323
+ "eval.tests.test_entry_points.test_unexpected_second_input_argument_rejects",
324
+ "eval.tests.test_entry_points.test_unknown_option_rejected",
325
+ "eval.tests.test_entry_points.test_unsupported_extension_errors[3ds]",
326
+ "eval.tests.test_entry_points.test_unsupported_extension_errors[OFF]",
327
+ "eval.tests.test_entry_points.test_unsupported_extension_errors[ply]",
328
+ "eval.tests.test_entry_points.test_unsupported_extension_errors[txt]",
329
+ "eval.tests.test_entry_points.test_uppercase_extension_normalised",
330
+ "eval.tests.test_materials.test_color_on_non_color_terminal_errors_exact",
331
+ "eval.tests.test_materials.test_commented_mtl_skips_comments",
332
+ "eval.tests.test_materials.test_crlf_mtl_lines_parse",
333
+ "eval.tests.test_materials.test_kd_before_newmtl_warns_exact",
334
+ "eval.tests.test_materials.test_kd_with_missing_float_warns_exact",
335
+ "eval.tests.test_materials.test_mtllib_echoes_resolved_mtl_path",
336
+ "eval.tests.test_materials.test_mtllib_missing_companion_warns_exact",
337
+ "eval.tests.test_materials.test_newmtl_and_kd_loads_material",
338
+ "eval.tests.test_materials.test_newmtl_without_kd_uses_defaults",
339
+ "eval.tests.test_materials.test_usemtl_unknown_material_silent",
340
+ "eval.tests.test_materials.test_usemtl_with_loaded_material",
341
+ "eval.tests.test_materials.test_usemtl_without_mtllib_silent",
342
+ "eval.tests.test_obj_parsing.test_comment_only_obj_has_no_vertexes",
343
+ "eval.tests.test_obj_parsing.test_crlf_and_tab_renders_match_space_split",
344
+ "eval.tests.test_obj_parsing.test_crlf_terminated_lines_parse",
345
+ "eval.tests.test_obj_parsing.test_face_record_with_no_indices_errors",
346
+ "eval.tests.test_obj_parsing.test_face_references_vertex_defined_after_face",
347
+ "eval.tests.test_obj_parsing.test_face_with_fewer_than_three_indices_errors[bad_f_one.obj]",
348
+ "eval.tests.test_obj_parsing.test_face_with_fewer_than_three_indices_errors[bad_f_two.obj]",
349
+ "eval.tests.test_obj_parsing.test_face_with_slashes_ignores_texcoord_and_normal",
350
+ "eval.tests.test_obj_parsing.test_invalid_v_instruction_errors",
351
+ "eval.tests.test_obj_parsing.test_missing_input_file_errors[does_not_exist.obj]",
352
+ "eval.tests.test_obj_parsing.test_missing_input_file_errors[missing.stl]",
353
+ "eval.tests.test_obj_parsing.test_missing_input_file_errors[nope.obj]",
354
+ "eval.tests.test_obj_parsing.test_negative_coordinate_vertex_renders",
355
+ "eval.tests.test_obj_parsing.test_negative_indices_are_made_relative",
356
+ "eval.tests.test_obj_parsing.test_obj_with_vertexes_but_no_faces_rejected",
357
+ "eval.tests.test_obj_parsing.test_out_of_range_vertex_index_warns_and_recovers",
358
+ "eval.tests.test_obj_parsing.test_pentagon_face_triangularized",
359
+ "eval.tests.test_obj_parsing.test_quad_face_triangularized",
360
+ "eval.tests.test_obj_parsing.test_tab_separated_coordinates_parse",
361
+ "eval.tests.test_obj_parsing.test_tiny_geometry_still_fills_viewport",
362
+ "eval.tests.test_obj_parsing.test_valid_obj_renders[pentagon.obj]",
363
+ "eval.tests.test_obj_parsing.test_valid_obj_renders[quad.obj]",
364
+ "eval.tests.test_obj_parsing.test_valid_obj_renders[triangle.obj]",
365
+ "eval.tests.test_obj_parsing.test_vertex_only_line_short_aborts",
366
+ "eval.tests.test_obj_parsing.test_zero_vertex_index_rejected",
367
+ "eval.tests.test_read_line_long_lines.test_long_comment_line_then_more_content",
368
+ "eval.tests.test_read_line_long_lines.test_long_face_line_spans_buffer_boundary",
369
+ "eval.tests.test_read_line_long_lines.test_long_trailing_comment_ends_at_eof",
370
+ "eval.tests.test_read_line_long_lines.test_long_vertex_line_spanning_buffer_boundary",
371
+ "eval.tests.test_stl_parsing.test_ascii_stl_invalid_vertex_errors",
372
+ "eval.tests.test_stl_parsing.test_ascii_stl_multi_facet_renders",
373
+ "eval.tests.test_stl_parsing.test_ascii_stl_renders",
374
+ "eval.tests.test_stl_parsing.test_ascii_stl_vertex_block_below_triangle_warns",
375
+ "eval.tests.test_stl_parsing.test_binary_stl_facet_count_mismatch_warns",
376
+ "eval.tests.test_stl_parsing.test_binary_stl_header_solid_but_not_ascii",
377
+ "eval.tests.test_stl_parsing.test_binary_stl_multi_facet_renders",
378
+ "eval.tests.test_stl_parsing.test_binary_stl_renders",
379
+ "eval.tests.test_stl_parsing.test_binary_stl_truncated_facet_errors",
380
+ "eval.tests.test_stl_parsing.test_binary_stl_zero_facets_no_vertexes",
381
+ "eval.tests.test_stl_parsing.test_color_option_warns_unsupported_for_stl",
382
+ "eval.tests.test_stl_parsing.test_missing_stl_file_errors",
383
+ "eval.tests.test_transforms.test_axis_inversion_changes_render[-X]",
384
+ "eval.tests.test_transforms.test_axis_inversion_changes_render[-Y]",
385
+ "eval.tests.test_transforms.test_axis_inversion_changes_render[-Z]",
386
+ "eval.tests.test_transforms.test_combined_axis_inversion_changes_render",
387
+ "eval.tests.test_transforms.test_custom_luminance_characters_used",
388
+ "eval.tests.test_transforms.test_flip_faces_changes_render",
389
+ "eval.tests.test_transforms.test_nondefault_orientations_differ_from_default",
390
+ "eval.tests.test_transforms.test_orientation_orders_reorder_axes[-XYZ]",
391
+ "eval.tests.test_transforms.test_orientation_orders_reorder_axes[-XZY]",
392
+ "eval.tests.test_transforms.test_orientation_orders_reorder_axes[-YXZ]",
393
+ "eval.tests.test_transforms.test_orientation_orders_reorder_axes[-YZX]",
394
+ "eval.tests.test_transforms.test_orientation_orders_reorder_axes[-ZXY]",
395
+ "eval.tests.test_transforms.test_orientation_orders_reorder_axes[-ZYX]",
396
+ "eval.tests.test_transforms.test_single_custom_luminance_char",
397
+ "eval.tests.test_transforms.test_static_light_changes_render",
398
+ "eval.tests.test_transforms.test_zoom_changes_projection"
399
+ ]
400
+ },
401
+ "generated_module_03": {
402
+ "ignore_reason": "",
403
+ "ignored": false,
404
+ "ignored_tests": [],
405
+ "tests": [
406
+ "eval.tests.test_mtl_color_and_render_options.test_aspect_ratio_changes_render[0.5]",
407
+ "eval.tests.test_mtl_color_and_render_options.test_aspect_ratio_changes_render[1.5]",
408
+ "eval.tests.test_mtl_color_and_render_options.test_aspect_ratio_changes_render[2.0]",
409
+ "eval.tests.test_mtl_color_and_render_options.test_aspect_ratio_changes_render[3.0]",
410
+ "eval.tests.test_mtl_color_and_render_options.test_color_mtllib_reads_material",
411
+ "eval.tests.test_mtl_color_and_render_options.test_color_mtllib_unknown_usemtl_still_loads",
412
+ "eval.tests.test_mtl_color_and_render_options.test_kd_before_newmtl_reports_warning",
413
+ "eval.tests.test_mtl_color_and_render_options.test_missing_mtl_file_notes_and_warns",
414
+ "eval.tests.test_mtl_color_and_render_options.test_mtllib_without_color_ignores_material",
415
+ "eval.tests.test_mtl_color_and_render_options.test_short_luminance_charset_changes_render[ .*]",
416
+ "eval.tests.test_mtl_color_and_render_options.test_short_luminance_charset_changes_render[*]",
417
+ "eval.tests.test_mtl_color_and_render_options.test_short_luminance_charset_changes_render[.#]",
418
+ "eval.tests.test_mtl_color_and_render_options.test_short_luminance_charset_changes_render[@]",
419
+ "eval.tests.test_normalization_trigonometry.test_bounding_center_negative_coords_invariant[shift0]",
420
+ "eval.tests.test_normalization_trigonometry.test_bounding_center_negative_coords_invariant[shift1]",
421
+ "eval.tests.test_normalization_trigonometry.test_centroid_of_extreme_coords[3.0]",
422
+ "eval.tests.test_normalization_trigonometry.test_centroid_of_extreme_coords[7.5]",
423
+ "eval.tests.test_normalization_trigonometry.test_concave_lshape_translate_scale_invariance[0.5-2.0--2.0--2.0]",
424
+ "eval.tests.test_normalization_trigonometry.test_concave_lshape_translate_scale_invariance[1.0-0.0-0.0-0.0]",
425
+ "eval.tests.test_normalization_trigonometry.test_concave_lshape_translate_scale_invariance[2.0-6.0-0.0-0.0]",
426
+ "eval.tests.test_normalization_trigonometry.test_concave_lshape_translate_scale_invariance[5.0--8.0-11.0-3.0]",
427
+ "eval.tests.test_normalization_trigonometry.test_degenerate_single_point_no_crash[-2.0--2.0--2.0]",
428
+ "eval.tests.test_normalization_trigonometry.test_degenerate_single_point_no_crash[0.0-0.0-0.0]",
429
+ "eval.tests.test_normalization_trigonometry.test_degenerate_single_point_no_crash[3.0-4.0-5.0]",
430
+ "eval.tests.test_normalization_trigonometry.test_far_vertex_scales_the_rest_down[2.0]",
431
+ "eval.tests.test_normalization_trigonometry.test_far_vertex_scales_the_rest_down[64.0]",
432
+ "eval.tests.test_normalization_trigonometry.test_far_vertex_scales_the_rest_down[8.0]",
433
+ "eval.tests.test_normalization_trigonometry.test_lone_vertex_dominates_bounding_box[single_out-100.0]",
434
+ "eval.tests.test_normalization_trigonometry.test_lone_vertex_dominates_bounding_box[single_out-20.0]",
435
+ "eval.tests.test_normalization_trigonometry.test_lone_vertex_dominates_bounding_box[single_out-6.0]",
436
+ "eval.tests.test_normalization_trigonometry.test_non_uniform_scale_changes_render[1.0-3.0]",
437
+ "eval.tests.test_normalization_trigonometry.test_non_uniform_scale_changes_render[3.0-1.0]",
438
+ "eval.tests.test_normalization_trigonometry.test_non_uniform_scale_changes_render[4.0-0.5]",
439
+ "eval.tests.test_normalization_trigonometry.test_plane_rotation_deterministic[30.0-False]",
440
+ "eval.tests.test_normalization_trigonometry.test_plane_rotation_deterministic[45.0-False]",
441
+ "eval.tests.test_normalization_trigonometry.test_plane_rotation_deterministic[90.0-True]",
442
+ "eval.tests.test_normalization_trigonometry.test_positive_and_negative_z_vertex_differ[-1.0]",
443
+ "eval.tests.test_normalization_trigonometry.test_positive_and_negative_z_vertex_differ[1.0]",
444
+ "eval.tests.test_normalization_trigonometry.test_quad_combined_translation_scale_invariance[0.25--4.0-7.0--1.0]",
445
+ "eval.tests.test_normalization_trigonometry.test_quad_combined_translation_scale_invariance[12.0-0.0-0.0-30.0]",
446
+ "eval.tests.test_normalization_trigonometry.test_quad_combined_translation_scale_invariance[3.0-10.0--5.0-2.0]",
447
+ "eval.tests.test_normalization_trigonometry.test_quad_translation_invariants[-9.0-5.0--4.0]",
448
+ "eval.tests.test_normalization_trigonometry.test_quad_translation_invariants[0.0-0.0-0.0]",
449
+ "eval.tests.test_normalization_trigonometry.test_quad_translation_invariants[1.5--0.5-0.25]",
450
+ "eval.tests.test_normalization_trigonometry.test_quad_translation_invariants[7.0--3.0-2.0]",
451
+ "eval.tests.test_normalization_trigonometry.test_quad_uniform_scale_invariance[0.25]",
452
+ "eval.tests.test_normalization_trigonometry.test_quad_uniform_scale_invariance[0.5]",
453
+ "eval.tests.test_normalization_trigonometry.test_quad_uniform_scale_invariance[10.0]",
454
+ "eval.tests.test_normalization_trigonometry.test_quad_uniform_scale_invariance[100.0]",
455
+ "eval.tests.test_normalization_trigonometry.test_quad_uniform_scale_invariance[2.0]",
456
+ "eval.tests.test_normalization_trigonometry.test_regular_polygon_normalization_stable[3]",
457
+ "eval.tests.test_normalization_trigonometry.test_regular_polygon_normalization_stable[4]",
458
+ "eval.tests.test_normalization_trigonometry.test_regular_polygon_normalization_stable[5]",
459
+ "eval.tests.test_normalization_trigonometry.test_regular_polygon_normalization_stable[6]",
460
+ "eval.tests.test_normalization_trigonometry.test_regular_polygon_normalization_stable[7]",
461
+ "eval.tests.test_normalization_trigonometry.test_regular_polygon_normalization_stable[8]",
462
+ "eval.tests.test_normalization_trigonometry.test_two_point_coincident_no_crash[0.0-0.0-0.0]",
463
+ "eval.tests.test_normalization_trigonometry.test_two_point_coincident_no_crash[5.0--5.0-5.0]",
464
+ "eval.tests.test_orientation_axes.test_far_vertex_close_to_origin_recenters_and_scales[coord0]",
465
+ "eval.tests.test_orientation_axes.test_far_vertex_close_to_origin_recenters_and_scales[coord1]",
466
+ "eval.tests.test_orientation_axes.test_far_vertex_close_to_origin_recenters_and_scales[coord2]",
467
+ "eval.tests.test_orientation_axes.test_far_vertex_close_to_origin_recenters_and_scales[coord3]",
468
+ "eval.tests.test_orientation_axes.test_nonidentity_permutation_changes_3d_render[-XZY]",
469
+ "eval.tests.test_orientation_axes.test_nonidentity_permutation_changes_3d_render[-YZX]",
470
+ "eval.tests.test_orientation_axes.test_nonidentity_permutation_changes_3d_render[-ZXY]",
471
+ "eval.tests.test_orientation_axes.test_nonidentity_permutation_changes_3d_render[-ZYX]",
472
+ "eval.tests.test_orientation_axes.test_permutation_noops_identity_xyz_yxz_3d",
473
+ "eval.tests.test_orientation_axes.test_square_with_out_of_plane_vertex_renders[-5.0]",
474
+ "eval.tests.test_orientation_axes.test_square_with_out_of_plane_vertex_renders[5.0]",
475
+ "eval.tests.test_orientation_axes.test_xzy_yzx_permutation_culls_flat_arm",
476
+ "eval.tests.test_orientation_axes.test_zxy_zyx_permutation_renders_filled_3d",
477
+ "eval.tests.test_reachability_cli.test_altitude_edge_on_culls_flat_square",
478
+ "eval.tests.test_reachability_cli.test_altitude_variation_changes_shading",
479
+ "eval.tests.test_reachability_cli.test_axis_inversion_changes_lshape_render[X--X]",
480
+ "eval.tests.test_reachability_cli.test_axis_inversion_changes_lshape_render[Y--Y]",
481
+ "eval.tests.test_reachability_cli.test_axis_inversion_z_culls_flat_lshape",
482
+ "eval.tests.test_reachability_cli.test_axis_inversion_z_culls_flat_model",
483
+ "eval.tests.test_reachability_cli.test_azimuth_period_360_is_identical",
484
+ "eval.tests.test_reachability_cli.test_azimuth_variation_changes_shading[0-90]",
485
+ "eval.tests.test_reachability_cli.test_azimuth_variation_changes_shading[20-70]",
486
+ "eval.tests.test_reachability_cli.test_azimuth_variation_changes_shading[45-135]",
487
+ "eval.tests.test_reachability_cli.test_binary_stl_loads_and_renders",
488
+ "eval.tests.test_reachability_cli.test_binary_stl_winding_present_or_culled",
489
+ "eval.tests.test_reachability_cli.test_custom_luminescence_chars_change_render",
490
+ "eval.tests.test_reachability_cli.test_empty_obj_rejected_no_vertices_or_faces",
491
+ "eval.tests.test_reachability_cli.test_help_mentions_snap_and_zoom_options",
492
+ "eval.tests.test_reachability_cli.test_help_prints_usage[--help]",
493
+ "eval.tests.test_reachability_cli.test_help_prints_usage[-?]",
494
+ "eval.tests.test_reachability_cli.test_help_prints_usage[-h]",
495
+ "eval.tests.test_reachability_cli.test_invalid_numeric_option_rejected[args0-ERROR: Invalid width: 0]",
496
+ "eval.tests.test_reachability_cli.test_invalid_numeric_option_rejected[args1-ERROR: Invalid height: -3]",
497
+ "eval.tests.test_reachability_cli.test_invalid_numeric_option_rejected[args2-ERROR: Invalid FPS: 0]",
498
+ "eval.tests.test_reachability_cli.test_invalid_numeric_option_rejected[args3-ERROR: Invalid duration: -1]",
499
+ "eval.tests.test_reachability_cli.test_invalid_numeric_option_rejected[args4-ERROR: Invalid aspect-ratio: 0]",
500
+ "eval.tests.test_reachability_cli.test_invalid_numeric_option_rejected[args5-ERROR: Invalid zoom: 0]",
501
+ "eval.tests.test_reachability_cli.test_invalid_numeric_option_rejected[args6-ERROR: At least one luminescence character must be provided.]",
502
+ "eval.tests.test_reachability_cli.test_invalid_option_rejected[--nope]",
503
+ "eval.tests.test_reachability_cli.test_invalid_option_rejected[-Q]",
504
+ "eval.tests.test_reachability_cli.test_invalid_option_rejected[-wxyz]",
505
+ "eval.tests.test_reachability_cli.test_invalid_vertex_index_reports_warning[-8-WARN: Invalid vertex index -8.]",
506
+ "eval.tests.test_reachability_cli.test_invalid_vertex_index_reports_warning[0-WARN: Invalid vertex index 0.]",
507
+ "eval.tests.test_reachability_cli.test_invalid_vertex_index_reports_warning[9-WARN: Invalid vertex index 8.]",
508
+ "eval.tests.test_reachability_cli.test_invalid_width_non_numeric[]",
509
+ "eval.tests.test_reachability_cli.test_invalid_width_non_numeric[abc]",
510
+ "eval.tests.test_reachability_cli.test_invalid_width_non_numeric[notANum]",
511
+ "eval.tests.test_reachability_cli.test_malformed_obj_face_rejected[v 0 0 5\\nv 4 0 5\\nf 1 2\\n-ERROR: invalid \"f\" instruction.]",
512
+ "eval.tests.test_reachability_cli.test_malformed_obj_face_rejected[v 0 0\\nv 1 1\\nv 2 2\\nf 1 2 3\\n-ERROR: invalid \"v\" instruction.]",
513
+ "eval.tests.test_reachability_cli.test_no_args_prints_program_description",
514
+ "eval.tests.test_reachability_cli.test_no_faces_rejected",
515
+ "eval.tests.test_reachability_cli.test_no_vertices_rejected",
516
+ "eval.tests.test_reachability_cli.test_option_missing_value_falls_back_to_usage",
517
+ "eval.tests.test_reachability_cli.test_orientation_identity_permutations[-XYZ]",
518
+ "eval.tests.test_reachability_cli.test_orientation_identity_permutations[-YXZ]",
519
+ "eval.tests.test_reachability_cli.test_rejects_non_model_extensions[model.txt-v 0 0 0\\n-ERROR: Input file has unsupported extension.]",
520
+ "eval.tests.test_reachability_cli.test_rejects_non_model_extensions[noext-# comment only\\n-ERROR: Input file has no extension.]",
521
+ "eval.tests.test_reachability_cli.test_static_light_changes_shading",
522
+ "eval.tests.test_reachability_cli.test_stl_uniform_scale_not_relevant_but_loads",
523
+ "eval.tests.test_reachability_cli.test_stretch_flag_changes_render",
524
+ "eval.tests.test_reachability_cli.test_surface_height_changes_output_size",
525
+ "eval.tests.test_reachability_cli.test_surface_width_changes_output_shape",
526
+ "eval.tests.test_reachability_cli.test_too_many_input_files_usage",
527
+ "eval.tests.test_reachability_cli.test_unsupported_extension_error",
528
+ "eval.tests.test_reachability_cli.test_zoom_changes_render[25-300]",
529
+ "eval.tests.test_reachability_cli.test_zoom_changes_render[50-100]",
530
+ "eval.tests.test_reachability_cli.test_zoom_changes_render[50-200]",
531
+ "eval.tests.test_reachability_cli.test_zoom_default_equals_explicit_100",
532
+ "eval.tests.test_reachability_cli.test_zoom_identity_is_length_preserving",
533
+ "eval.tests.test_triangularization.test_collinear_polygon_does_not_crash",
534
+ "eval.tests.test_triangularization.test_concave_arrow_shape_less_than_hull",
535
+ "eval.tests.test_triangularization.test_concave_lshape_concavity_persists_under_scale[0.5]",
536
+ "eval.tests.test_triangularization.test_concave_lshape_concavity_persists_under_scale[1.5]",
537
+ "eval.tests.test_triangularization.test_concave_lshape_concavity_persists_under_scale[3.0]",
538
+ "eval.tests.test_triangularization.test_concave_lshape_preserves_notch",
539
+ "eval.tests.test_triangularization.test_duplicate_vertices_does_not_crash",
540
+ "eval.tests.test_triangularization.test_flip_faces_flag_culls_forward_winding",
541
+ "eval.tests.test_triangularization.test_flip_faces_flag_redeems_reversed_winding",
542
+ "eval.tests.test_triangularization.test_high_vertex_concave_complexity_not_crash[6]",
543
+ "eval.tests.test_triangularization.test_high_vertex_concave_complexity_not_crash[8]",
544
+ "eval.tests.test_triangularization.test_mixed_positive_negative_indices_equivalent",
545
+ "eval.tests.test_triangularization.test_n_gon_not_filled_convex_hull_only[5]",
546
+ "eval.tests.test_triangularization.test_n_gon_not_filled_convex_hull_only[6]",
547
+ "eval.tests.test_triangularization.test_n_gon_not_filled_convex_hull_only[7]",
548
+ "eval.tests.test_triangularization.test_n_gon_not_filled_convex_hull_only[8]",
549
+ "eval.tests.test_triangularization.test_n_vertex_convex_polygon_renders[5]",
550
+ "eval.tests.test_triangularization.test_n_vertex_convex_polygon_renders[6]",
551
+ "eval.tests.test_triangularization.test_n_vertex_convex_polygon_renders[7]",
552
+ "eval.tests.test_triangularization.test_n_vertex_convex_polygon_renders[8]",
553
+ "eval.tests.test_triangularization.test_negative_faces_winding_and_flip",
554
+ "eval.tests.test_triangularization.test_negative_relative_indices_concave",
555
+ "eval.tests.test_triangularization.test_negative_relative_indices_equivalent",
556
+ "eval.tests.test_triangularization.test_ngon_winding_culls_when_reversed[5]",
557
+ "eval.tests.test_triangularization.test_ngon_winding_culls_when_reversed[6]",
558
+ "eval.tests.test_triangularization.test_ngon_winding_culls_when_reversed[7]",
559
+ "eval.tests.test_triangularization.test_quad_face_equals_manual_split",
560
+ "eval.tests.test_triangularization.test_quad_renders_fully_filled[verts0]",
561
+ "eval.tests.test_triangularization.test_quad_renders_fully_filled[verts1]",
562
+ "eval.tests.test_triangularization.test_quad_renders_fully_filled[verts2]",
563
+ "eval.tests.test_triangularization.test_quad_winding_orientation[winding0-True]",
564
+ "eval.tests.test_triangularization.test_quad_winding_orientation[winding1-False]",
565
+ "eval.tests.test_triangularization.test_triangle_face_renders_filled",
566
+ "eval.tests.test_triangulation_invariants.test_comb_serpentine_does_not_crash",
567
+ "eval.tests.test_triangulation_invariants.test_concave_chevron_preserves_notch",
568
+ "eval.tests.test_triangulation_invariants.test_concave_l_index_rotation_invariant[1]",
569
+ "eval.tests.test_triangulation_invariants.test_concave_l_index_rotation_invariant[2]",
570
+ "eval.tests.test_triangulation_invariants.test_concave_l_index_rotation_invariant[3]",
571
+ "eval.tests.test_triangulation_invariants.test_concave_w_shape_preserves_notches",
572
+ "eval.tests.test_triangulation_invariants.test_deep_recursion_concave_star_no_crash[10]",
573
+ "eval.tests.test_triangulation_invariants.test_deep_recursion_concave_star_no_crash[12]",
574
+ "eval.tests.test_triangulation_invariants.test_deep_recursion_concave_star_no_crash[14]",
575
+ "eval.tests.test_triangulation_invariants.test_deep_recursion_concave_star_no_crash[16]",
576
+ "eval.tests.test_triangulation_invariants.test_face_index_list_rotation_invariance[4-6.0-1]",
577
+ "eval.tests.test_triangulation_invariants.test_face_index_list_rotation_invariance[4-6.0-2]",
578
+ "eval.tests.test_triangulation_invariants.test_face_index_list_rotation_invariance[5-4.5-1]",
579
+ "eval.tests.test_triangulation_invariants.test_face_index_list_rotation_invariance[5-4.5-2]",
580
+ "eval.tests.test_triangulation_invariants.test_face_index_list_rotation_invariance[6-4.5-1]",
581
+ "eval.tests.test_triangulation_invariants.test_face_index_list_rotation_invariance[6-4.5-2]",
582
+ "eval.tests.test_triangulation_invariants.test_face_index_list_rotation_invariance[7-4.5-1]",
583
+ "eval.tests.test_triangulation_invariants.test_face_index_list_rotation_invariance[7-4.5-2]",
584
+ "eval.tests.test_triangulation_invariants.test_multiple_disjoint_faces_each_triangulated",
585
+ "eval.tests.test_triangulation_invariants.test_plus_cross_concave_shape_renders[False]",
586
+ "eval.tests.test_triangulation_invariants.test_plus_cross_concave_shape_renders[True]",
587
+ "eval.tests.test_triangulation_invariants.test_reversed_rotated_winding_culls[winding0]",
588
+ "eval.tests.test_triangulation_invariants.test_reversed_rotated_winding_culls[winding1]",
589
+ "eval.tests.test_triangulation_invariants.test_reversed_rotated_winding_culls[winding2]",
590
+ "eval.tests.test_triangulation_invariants.test_self_intersecting_bowtie_quad_no_crash"
591
+ ]
592
+ },
593
+ "generated_module_04": {
594
+ "ignore_reason": "",
595
+ "ignored": false,
596
+ "ignored_tests": [],
597
+ "tests": [
598
+ "eval.tests.test_surface_args.test_empty_lum_chars_rejected",
599
+ "eval.tests.test_surface_args.test_extension_case_insensitive_stl_rejected",
600
+ "eval.tests.test_surface_args.test_help_prints_usage[cmd0]",
601
+ "eval.tests.test_surface_args.test_help_prints_usage[cmd1]",
602
+ "eval.tests.test_surface_args.test_invalid_option_rejected[--badopt]",
603
+ "eval.tests.test_surface_args.test_invalid_option_rejected[-Q]",
604
+ "eval.tests.test_surface_args.test_invalid_option_rejected[-unknown]",
605
+ "eval.tests.test_surface_args.test_invalid_surface_numeric_args_error[-a-0-Invalid aspect-ratio: 0]",
606
+ "eval.tests.test_surface_args.test_invalid_surface_numeric_args_error[-f-0-Invalid FPS: 0]",
607
+ "eval.tests.test_surface_args.test_invalid_surface_numeric_args_error[-h-0-Invalid height: 0]",
608
+ "eval.tests.test_surface_args.test_invalid_surface_numeric_args_error[-w--5-Invalid width: -5]",
609
+ "eval.tests.test_surface_args.test_invalid_surface_numeric_args_error[-w-0-Invalid width: 0]",
610
+ "eval.tests.test_surface_args.test_invalid_surface_numeric_args_error[-w-abc-Invalid width: abc]",
611
+ "eval.tests.test_surface_args.test_invalid_surface_numeric_args_error[-z--1-Invalid zoom: -1]",
612
+ "eval.tests.test_surface_args.test_invalid_surface_numeric_args_error[-z-0-Invalid zoom: 0]",
613
+ "eval.tests.test_surface_args.test_larger_surfaces_allocate_and_render[120-40]",
614
+ "eval.tests.test_surface_args.test_larger_surfaces_allocate_and_render[40-15]",
615
+ "eval.tests.test_surface_args.test_larger_surfaces_allocate_and_render[80-5]",
616
+ "eval.tests.test_surface_args.test_missing_input_file_reports_io_error",
617
+ "eval.tests.test_surface_args.test_no_args_prints_description",
618
+ "eval.tests.test_surface_args.test_no_extension_rejected",
619
+ "eval.tests.test_surface_args.test_snap_stdout_has_exact_number_of_newlines[\\n]",
620
+ "eval.tests.test_surface_args.test_stl_input_renders",
621
+ "eval.tests.test_surface_args.test_unsupported_extension_rejected[foo.bin]",
622
+ "eval.tests.test_surface_args.test_unsupported_extension_rejected[foo.png]",
623
+ "eval.tests.test_surface_args.test_unsupported_extension_rejected[foo.txt]",
624
+ "eval.tests.test_surface_args.test_unsupported_extension_rejected[foo.xyz]",
625
+ "eval.tests.test_surface_args.test_valid_snap_renders_for_good_args[box-in-box.obj]",
626
+ "eval.tests.test_surface_args.test_valid_snap_renders_for_good_args[fox.obj]",
627
+ "eval.tests.test_surface_color.test_box_inbox_uses_two_material_colors",
628
+ "eval.tests.test_surface_color.test_box_materials_emit_expected_rgb[mat_expected0]",
629
+ "eval.tests.test_surface_color.test_box_materials_emit_expected_rgb[mat_expected1]",
630
+ "eval.tests.test_surface_color.test_color_and_noncolor_grid_dimensions_match",
631
+ "eval.tests.test_surface_color.test_color_boost_low_material_sum_not_needed_for_full_sat",
632
+ "eval.tests.test_surface_color.test_color_on_model_without_materials_stays_plain",
633
+ "eval.tests.test_surface_color.test_color_render_is_deterministic",
634
+ "eval.tests.test_surface_color.test_color_requires_can_change_color",
635
+ "eval.tests.test_surface_color.test_color_requires_has_colors",
636
+ "eval.tests.test_surface_color.test_color_sequences_carry_reset_after_each_pixel",
637
+ "eval.tests.test_surface_color.test_noncolor_mode_emits_no_ansi_color",
638
+ "eval.tests.test_surface_color.test_nonconvex_gray_dominated_by_material",
639
+ "eval.tests.test_surface_combinations.test_model_color_escapes_deterministic[box-in-box.obj]",
640
+ "eval.tests.test_surface_combinations.test_model_color_escapes_deterministic[fox.obj]",
641
+ "eval.tests.test_surface_combinations.test_model_color_escapes_deterministic[non-convex.obj]",
642
+ "eval.tests.test_surface_combinations.test_model_lum_char_boundary[box-in-box.obj-ab-allowed1]",
643
+ "eval.tests.test_surface_combinations.test_model_lum_char_boundary[fox.obj-@-allowed0]",
644
+ "eval.tests.test_surface_combinations.test_model_lum_char_boundary[non-convex.obj-.x:-allowed2]",
645
+ "eval.tests.test_surface_combinations.test_model_render_silhouettes_differ_by_azimuth[box-in-box.obj]",
646
+ "eval.tests.test_surface_combinations.test_model_render_silhouettes_differ_by_azimuth[fox.obj]",
647
+ "eval.tests.test_surface_combinations.test_model_render_silhouettes_differ_by_azimuth[non-convex.obj]",
648
+ "eval.tests.test_surface_combinations.test_model_render_silhouettes_differ_by_azimuth[shiba-inu.obj]",
649
+ "eval.tests.test_surface_combinations.test_model_size_grid_height_matches_request[box-in-box.obj-20-10]",
650
+ "eval.tests.test_surface_combinations.test_model_size_grid_height_matches_request[box-in-box.obj-30-15]",
651
+ "eval.tests.test_surface_combinations.test_model_size_grid_height_matches_request[box-in-box.obj-40-20]",
652
+ "eval.tests.test_surface_combinations.test_model_size_grid_height_matches_request[box-in-box.obj-7-9]",
653
+ "eval.tests.test_surface_combinations.test_model_size_grid_height_matches_request[fox.obj-20-10]",
654
+ "eval.tests.test_surface_combinations.test_model_size_grid_height_matches_request[fox.obj-30-15]",
655
+ "eval.tests.test_surface_combinations.test_model_size_grid_height_matches_request[fox.obj-40-20]",
656
+ "eval.tests.test_surface_combinations.test_model_size_grid_height_matches_request[fox.obj-7-9]",
657
+ "eval.tests.test_surface_combinations.test_model_size_grid_height_matches_request[non-convex.obj-20-10]",
658
+ "eval.tests.test_surface_combinations.test_model_size_grid_height_matches_request[non-convex.obj-30-15]",
659
+ "eval.tests.test_surface_combinations.test_model_size_grid_height_matches_request[non-convex.obj-40-20]",
660
+ "eval.tests.test_surface_combinations.test_model_size_grid_height_matches_request[non-convex.obj-7-9]",
661
+ "eval.tests.test_surface_combinations.test_model_size_grid_height_matches_request[shiba-inu.obj-20-10]",
662
+ "eval.tests.test_surface_combinations.test_model_size_grid_height_matches_request[shiba-inu.obj-30-15]",
663
+ "eval.tests.test_surface_combinations.test_model_size_grid_height_matches_request[shiba-inu.obj-40-20]",
664
+ "eval.tests.test_surface_combinations.test_model_size_grid_height_matches_request[shiba-inu.obj-7-9]",
665
+ "eval.tests.test_surface_combinations.test_model_static_light_changes_frame[box-in-box.obj]",
666
+ "eval.tests.test_surface_combinations.test_model_static_light_changes_frame[fox.obj]",
667
+ "eval.tests.test_surface_combinations.test_model_static_light_changes_frame[non-convex.obj]",
668
+ "eval.tests.test_surface_combinations.test_model_static_light_changes_frame[shiba-inu.obj]",
669
+ "eval.tests.test_surface_combinations.test_model_zoom_monotone_fill[box-in-box.obj]",
670
+ "eval.tests.test_surface_combinations.test_model_zoom_monotone_fill[fox.obj]",
671
+ "eval.tests.test_surface_combinations.test_model_zoom_monotone_fill[non-convex.obj]",
672
+ "eval.tests.test_surface_combinations.test_model_zoom_monotone_fill[shiba-inu.obj]",
673
+ "eval.tests.test_surface_combinations.test_tiny_surface_with_large_zoom_does_not_crash[box-in-box.obj-4-8]",
674
+ "eval.tests.test_surface_combinations.test_tiny_surface_with_large_zoom_does_not_crash[fox.obj-3-3]",
675
+ "eval.tests.test_surface_combinations.test_tiny_surface_with_large_zoom_does_not_crash[fox.obj-5-5]",
676
+ "eval.tests.test_surface_combinations.test_tiny_surface_with_large_zoom_does_not_crash[non-convex.obj-8-4]",
677
+ "eval.tests.test_surface_golden.test_snap_matches_golden[fox_40x15_0_0.txt-args0]",
678
+ "eval.tests.test_surface_golden.test_snap_matches_golden[fox_40x15_0_45_stretch.txt-args3]",
679
+ "eval.tests.test_surface_golden.test_snap_matches_golden[fox_40x15_30_20.txt-args1]",
680
+ "eval.tests.test_surface_golden.test_snap_matches_golden[fox_40x15_30_20_cab.txt-args4]",
681
+ "eval.tests.test_surface_golden.test_snap_matches_golden[fox_40x15_90_0_X.txt-args2]",
682
+ "eval.tests.test_surface_grid.test_aspect_ratio_changes_render_but_keeps_grid_shape[0.5]",
683
+ "eval.tests.test_surface_grid.test_aspect_ratio_changes_render_but_keeps_grid_shape[1.0]",
684
+ "eval.tests.test_surface_grid.test_aspect_ratio_changes_render_but_keeps_grid_shape[1.8]",
685
+ "eval.tests.test_surface_grid.test_aspect_ratio_changes_render_but_keeps_grid_shape[3.0]",
686
+ "eval.tests.test_surface_grid.test_clean_surface_cleared_background_is_blank",
687
+ "eval.tests.test_surface_grid.test_custom_luminescence_chars_restrict_alphabet[#@-expected_allowed2]",
688
+ "eval.tests.test_surface_grid.test_custom_luminescence_chars_restrict_alphabet[.x-expected_allowed1]",
689
+ "eval.tests.test_surface_grid.test_custom_luminescence_chars_restrict_alphabet[01-expected_allowed4]",
690
+ "eval.tests.test_surface_grid.test_custom_luminescence_chars_restrict_alphabet[@-expected_allowed3]",
691
+ "eval.tests.test_surface_grid.test_custom_luminescence_chars_restrict_alphabet[ABC-expected_allowed5]",
692
+ "eval.tests.test_surface_grid.test_custom_luminescence_chars_restrict_alphabet[ab-expected_allowed0]",
693
+ "eval.tests.test_surface_grid.test_each_model_renders_nonempty_for_default_angle[box-in-box.obj]",
694
+ "eval.tests.test_surface_grid.test_each_model_renders_nonempty_for_default_angle[fox.obj]",
695
+ "eval.tests.test_surface_grid.test_each_model_renders_nonempty_for_default_angle[non-convex.obj]",
696
+ "eval.tests.test_surface_grid.test_lum_chars_count_affects_output[.-.,-.~]",
697
+ "eval.tests.test_surface_grid.test_lum_chars_count_affects_output[@-01-#$%&]",
698
+ "eval.tests.test_surface_grid.test_lum_chars_count_affects_output[X-ab-.:-=+*#%@]",
699
+ "eval.tests.test_surface_grid.test_render_dimensions_scale_filled_area",
700
+ "eval.tests.test_surface_grid.test_render_is_deterministic",
701
+ "eval.tests.test_surface_grid.test_snap_produces_height_rows_of_width_chars[10-5]",
702
+ "eval.tests.test_surface_grid.test_snap_produces_height_rows_of_width_chars[100-20]",
703
+ "eval.tests.test_surface_grid.test_snap_produces_height_rows_of_width_chars[12-40]",
704
+ "eval.tests.test_surface_grid.test_snap_produces_height_rows_of_width_chars[16-30]",
705
+ "eval.tests.test_surface_grid.test_snap_produces_height_rows_of_width_chars[20-10]",
706
+ "eval.tests.test_surface_grid.test_snap_produces_height_rows_of_width_chars[25-25]",
707
+ "eval.tests.test_surface_grid.test_snap_produces_height_rows_of_width_chars[32-17]",
708
+ "eval.tests.test_surface_grid.test_snap_produces_height_rows_of_width_chars[40-15]",
709
+ "eval.tests.test_surface_grid.test_snap_produces_height_rows_of_width_chars[48-12]",
710
+ "eval.tests.test_surface_grid.test_snap_produces_height_rows_of_width_chars[5-5]",
711
+ "eval.tests.test_surface_grid.test_snap_produces_height_rows_of_width_chars[60-20]",
712
+ "eval.tests.test_surface_grid.test_snap_produces_height_rows_of_width_chars[80-10]",
713
+ "eval.tests.test_surface_printw_color.test_interactive_color_emits_sgr_pairs",
714
+ "eval.tests.test_surface_printw_color.test_printw_color_box_renders_both_material_pairs",
715
+ "eval.tests.test_surface_printw_color.test_printw_color_deterministic_across_runs",
716
+ "eval.tests.test_surface_printw_color.test_printw_color_emits_sgr_pairs_for_material_models[box-in-box.obj]",
717
+ "eval.tests.test_surface_printw_color.test_printw_color_emits_sgr_pairs_for_material_models[fox.obj]",
718
+ "eval.tests.test_surface_printw_color.test_printw_color_emits_sgr_pairs_for_material_models[non-convex.obj]",
719
+ "eval.tests.test_surface_printw_color.test_printw_color_fox_includes_foreground_pairs[\\x1b[31m]",
720
+ "eval.tests.test_surface_printw_color.test_printw_color_fox_includes_foreground_pairs[\\x1b[32m]",
721
+ "eval.tests.test_surface_printw_color.test_printw_color_fox_includes_foreground_pairs[\\x1b[33m]",
722
+ "eval.tests.test_surface_printw_color.test_printw_color_models_differ_in_material_pairs",
723
+ "eval.tests.test_surface_printw_color.test_printw_color_no_material_model_produces_no_real_pairs",
724
+ "eval.tests.test_surface_printw_color.test_printw_color_parameter_variants_render_with_color[extra0]",
725
+ "eval.tests.test_surface_printw_color.test_printw_color_parameter_variants_render_with_color[extra1]",
726
+ "eval.tests.test_surface_printw_color.test_printw_color_parameter_variants_render_with_color[extra2]",
727
+ "eval.tests.test_surface_printw_color.test_printw_color_parameter_variants_render_with_color[extra3]",
728
+ "eval.tests.test_surface_printw_color.test_printw_color_parameter_variants_render_with_color[extra4]",
729
+ "eval.tests.test_surface_printw_color.test_printw_color_parameter_variants_render_with_color[extra5]",
730
+ "eval.tests.test_surface_printw_color.test_printw_color_parameter_variants_render_with_color[extra6]",
731
+ "eval.tests.test_surface_printw_color.test_printw_color_parameter_variants_render_with_color[extra7]",
732
+ "eval.tests.test_surface_printw_color.test_printw_color_parameters_produce_distinct_frames",
733
+ "eval.tests.test_surface_printw_color.test_printw_color_zoom_and_size_change_colored_pixel_count[probe0-compare0]",
734
+ "eval.tests.test_surface_printw_color.test_printw_color_zoom_and_size_change_colored_pixel_count[probe1-compare1]",
735
+ "eval.tests.test_surface_printw_color.test_printw_no_color_uses_plain_printw",
736
+ "eval.tests.test_surface_printw_color.test_snap_color_uses_surface_print_truecolor_not_printw",
737
+ "eval.tests.test_surface_rasterization.test_aspect_ratio_changes_rendered_frame[0.2]",
738
+ "eval.tests.test_surface_rasterization.test_aspect_ratio_changes_rendered_frame[0.5]",
739
+ "eval.tests.test_surface_rasterization.test_aspect_ratio_changes_rendered_frame[1.0]",
740
+ "eval.tests.test_surface_rasterization.test_aspect_ratio_changes_rendered_frame[3.0]",
741
+ "eval.tests.test_surface_rasterization.test_aspect_ratio_changes_rendered_frame[6.0]",
742
+ "eval.tests.test_surface_rasterization.test_axis_inversion_and_flip_changes_render[-F]",
743
+ "eval.tests.test_surface_rasterization.test_axis_inversion_and_flip_changes_render[-X]",
744
+ "eval.tests.test_surface_rasterization.test_axis_inversion_and_flip_changes_render[-Y]",
745
+ "eval.tests.test_surface_rasterization.test_axis_inversion_and_flip_changes_render[-Z]",
746
+ "eval.tests.test_surface_rasterization.test_azimuth_altitude_rotation_is_observable[0-0]",
747
+ "eval.tests.test_surface_rasterization.test_azimuth_altitude_rotation_is_observable[0-45]",
748
+ "eval.tests.test_surface_rasterization.test_azimuth_altitude_rotation_is_observable[0-90]",
749
+ "eval.tests.test_surface_rasterization.test_azimuth_altitude_rotation_is_observable[120-60]",
750
+ "eval.tests.test_surface_rasterization.test_azimuth_altitude_rotation_is_observable[180-0]",
751
+ "eval.tests.test_surface_rasterization.test_azimuth_altitude_rotation_is_observable[270-30]",
752
+ "eval.tests.test_surface_rasterization.test_azimuth_altitude_rotation_is_observable[360-0]",
753
+ "eval.tests.test_surface_rasterization.test_azimuth_altitude_rotation_is_observable[45-0]",
754
+ "eval.tests.test_surface_rasterization.test_azimuth_altitude_rotation_is_observable[90-0]",
755
+ "eval.tests.test_surface_rasterization.test_backfacing_triangle_is_culled_by_default",
756
+ "eval.tests.test_surface_rasterization.test_backfacing_triangle_renders_after_flip[-F]",
757
+ "eval.tests.test_surface_rasterization.test_backfacing_triangle_renders_after_flip[-Z]",
758
+ "eval.tests.test_surface_rasterization.test_combined_flags_render_consistently",
759
+ "eval.tests.test_surface_rasterization.test_distinct_flag_combos_render_distinct_frames[oldest0-newest0]",
760
+ "eval.tests.test_surface_rasterization.test_distinct_flag_combos_render_distinct_frames[oldest1-newest1]",
761
+ "eval.tests.test_surface_rasterization.test_distinct_flag_combos_render_distinct_frames[oldest2-newest2]",
762
+ "eval.tests.test_surface_rasterization.test_distinct_flag_combos_render_distinct_frames[oldest3-newest3]",
763
+ "eval.tests.test_surface_rasterization.test_distinct_flag_combos_render_distinct_frames[oldest4-newest4]",
764
+ "eval.tests.test_surface_rasterization.test_large_surface_rasterizes_fully[120-40]",
765
+ "eval.tests.test_surface_rasterization.test_large_surface_rasterizes_fully[150-60]",
766
+ "eval.tests.test_surface_rasterization.test_large_surface_rasterizes_fully[16-8]",
767
+ "eval.tests.test_surface_rasterization.test_large_surface_rasterizes_fully[40-60]",
768
+ "eval.tests.test_surface_rasterization.test_minimal_triangle_fills_region",
769
+ "eval.tests.test_surface_rasterization.test_models_render_at_multiple_zooms[box-in-box.obj]",
770
+ "eval.tests.test_surface_rasterization.test_models_render_at_multiple_zooms[non-convex.obj]",
771
+ "eval.tests.test_surface_rasterization.test_models_render_at_multiple_zooms[shiba-inu.obj]",
772
+ "eval.tests.test_surface_rasterization.test_nonconvex_face_fills_completely",
773
+ "eval.tests.test_surface_rasterization.test_nonidentity_axismaps_change_render[-XZY]",
774
+ "eval.tests.test_surface_rasterization.test_nonidentity_axismaps_change_render[-YXZ]",
775
+ "eval.tests.test_surface_rasterization.test_nonidentity_axismaps_change_render[-YZX]",
776
+ "eval.tests.test_surface_rasterization.test_nonidentity_axismaps_change_render[-ZXY]",
777
+ "eval.tests.test_surface_rasterization.test_nonidentity_axismaps_change_render[-ZYX]",
778
+ "eval.tests.test_surface_rasterization.test_rotation_across_full_azimuth_never_crashes[box-in-box.obj]",
779
+ "eval.tests.test_surface_rasterization.test_rotation_across_full_azimuth_never_crashes[fox.obj]",
780
+ "eval.tests.test_surface_rasterization.test_rotation_across_full_azimuth_never_crashes[non-convex.obj]",
781
+ "eval.tests.test_surface_rasterization.test_rotation_angles_produce_mostly_distinct_frames",
782
+ "eval.tests.test_surface_rasterization.test_static_light_changes_frame",
783
+ "eval.tests.test_surface_rasterization.test_stretch_keeps_grid_shape[-s]",
784
+ "eval.tests.test_surface_rasterization.test_xyz_default_orientation_is_noop",
785
+ "eval.tests.test_surface_rasterization.test_zoom_extremes_still_rasterize[box-in-box.obj-1000]",
786
+ "eval.tests.test_surface_rasterization.test_zoom_extremes_still_rasterize[box-in-box.obj-40]",
787
+ "eval.tests.test_surface_rasterization.test_zoom_extremes_still_rasterize[fox.obj-1500]",
788
+ "eval.tests.test_surface_rasterization.test_zoom_extremes_still_rasterize[fox.obj-20]",
789
+ "eval.tests.test_surface_rasterization.test_zoom_extremes_still_rasterize[non-convex.obj-60]",
790
+ "eval.tests.test_surface_rasterization.test_zoom_extremes_still_rasterize[shiba-inu.obj-500]",
791
+ "eval.tests.test_surface_rasterization.test_zoom_range_renders_without_crash[1000]",
792
+ "eval.tests.test_surface_rasterization.test_zoom_range_renders_without_crash[100]",
793
+ "eval.tests.test_surface_rasterization.test_zoom_range_renders_without_crash[200]",
794
+ "eval.tests.test_surface_rasterization.test_zoom_range_renders_without_crash[300]",
795
+ "eval.tests.test_surface_rasterization.test_zoom_range_renders_without_crash[30]",
796
+ "eval.tests.test_surface_rasterization.test_zoom_range_renders_without_crash[50]",
797
+ "eval.tests.test_surface_rasterization.test_zoom_scales_filled_pixels",
798
+ "eval.tests.test_surface_tui.test_auto_mode_renders_more_than_one_frame_for_duration",
799
+ "eval.tests.test_surface_tui.test_interactive_clean_exit_leaves_alt_screen",
800
+ "eval.tests.test_surface_tui.test_interactive_quit_key_terminates",
801
+ "eval.tests.test_surface_tui.test_interactive_zoom_keys_change_screen_state[+]",
802
+ "eval.tests.test_surface_tui.test_interactive_zoom_keys_change_screen_state[-]",
803
+ "eval.tests.test_surface_tui.test_tui_finite_duration_exits_cleanly",
804
+ "eval.tests.test_surface_tui.test_tui_lum_chars_change_rendered_frames",
805
+ "eval.tests.test_surface_tui.test_tui_mode_runs_and_enters_alt_screen[mode_flag0]",
806
+ "eval.tests.test_surface_tui.test_tui_mode_runs_and_enters_alt_screen[mode_flag1]",
807
+ "eval.tests.test_surface_tui.test_tui_zoom_alters_screen_state"
808
+ ]
809
+ }
810
+ },
811
+ "commit": "d122eb600e58d79ced65ec20eb49a56fcdcf5693",
812
+ "data_source": "synthetic_programgym",
813
+ "difficulty": "easy",
814
+ "difficulty_score": 1.3571722577230334,
815
+ "eval_clean_hashes": [
816
+ "dd2c37f29f6817270063e209df791f156ae5a5b06bea34686f92d5c8e2ea97f0"
817
+ ],
818
+ "input_record": {
819
+ "commit": "d122eb600e58d79ced65ec20eb49a56fcdcf5693",
820
+ "commits": 85,
821
+ "contributors": 3,
822
+ "difficulty": "easy",
823
+ "difficulty_code_lines": 2276,
824
+ "difficulty_has_tests": false,
825
+ "difficulty_product_code_lines": 2276,
826
+ "difficulty_runtime_deps": 0,
827
+ "difficulty_score": 1.3571722577230334,
828
+ "difficulty_test_code_lines": 0,
829
+ "full_name": "autopawn/3d-ascii-viewer",
830
+ "github_stars": 241,
831
+ "input_joern_zip": "c_joern/autopawn__3d-ascii-viewer.zip",
832
+ "joern_status": true,
833
+ "joern_time": 3.0508516050176695,
834
+ "language": "c",
835
+ "pb_match": [
836
+ {
837
+ "pb_fullname": "jqlang/jq",
838
+ "rank": 486,
839
+ "similarity": 0.379340261220932
840
+ },
841
+ {
842
+ "pb_fullname": "doxygen/doxygen",
843
+ "rank": 910,
844
+ "similarity": 0.4127739667892456
845
+ },
846
+ {
847
+ "pb_fullname": "abishekvashok/cmatrix",
848
+ "rank": 211,
849
+ "similarity": 0.5292565226554871
850
+ },
851
+ {
852
+ "pb_fullname": "cslarsen/jp2a",
853
+ "rank": 8,
854
+ "similarity": 0.5846302509307861
855
+ },
856
+ {
857
+ "pb_fullname": "jarun/nnn",
858
+ "rank": 874,
859
+ "similarity": 0.4748835861682892
860
+ },
861
+ {
862
+ "pb_fullname": "FFmpeg/FFmpeg",
863
+ "rank": 957,
864
+ "similarity": 0.45748138427734375
865
+ },
866
+ {
867
+ "pb_fullname": "cmatsuoka/figlet",
868
+ "rank": 15,
869
+ "similarity": 0.599073588848114
870
+ },
871
+ {
872
+ "pb_fullname": "lh3/seqtk",
873
+ "rank": 666,
874
+ "similarity": 0.391068696975708
875
+ },
876
+ {
877
+ "pb_fullname": "hpjansson/chafa",
878
+ "rank": 38,
879
+ "similarity": 0.5613910555839539
880
+ },
881
+ {
882
+ "pb_fullname": "tukaani-project/xz",
883
+ "rank": 937,
884
+ "similarity": 0.41473039984703064
885
+ },
886
+ {
887
+ "pb_fullname": "zevv/duc",
888
+ "rank": 377,
889
+ "similarity": 0.4813724756240845
890
+ }
891
+ ],
892
+ "repo_age": 3.47,
893
+ "repo_path": "c/autopawn__3d-ascii-viewer",
894
+ "source": "commit:d122eb600e58d79ced65ec20eb49a56fcdcf5693",
895
+ "status": "done",
896
+ "url": "https://github.com/autopawn/3d-ascii-viewer"
897
+ },
898
+ "instance_id": "autopawn__3d-ascii-viewer.d122eb6",
899
+ "language": "c",
900
+ "module_iterations": [
901
+ {
902
+ "actual_iterations": 5,
903
+ "branch_name": "generated_module_01",
904
+ "iteration_limit": 5,
905
+ "module_index": 1,
906
+ "module_kind": "source",
907
+ "termination_reason": "module_coverage_threshold_reached"
908
+ },
909
+ {
910
+ "actual_iterations": 2,
911
+ "branch_name": "generated_module_02",
912
+ "iteration_limit": 5,
913
+ "module_index": 2,
914
+ "module_kind": "source",
915
+ "termination_reason": "module_coverage_threshold_reached"
916
+ },
917
+ {
918
+ "actual_iterations": 3,
919
+ "branch_name": "generated_module_03",
920
+ "iteration_limit": 5,
921
+ "module_index": 3,
922
+ "module_kind": "source",
923
+ "termination_reason": "module_coverage_threshold_reached"
924
+ },
925
+ {
926
+ "actual_iterations": 3,
927
+ "branch_name": "generated_module_04",
928
+ "iteration_limit": 5,
929
+ "module_index": 4,
930
+ "module_kind": "source",
931
+ "termination_reason": "module_coverage_threshold_reached"
932
+ }
933
+ ],
934
+ "repository": "autopawn/3d-ascii-viewer"
935
+ }
autopawn--3d-ascii-viewer.d122eb6/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
autopawn--3d-ascii-viewer.d122eb6/tests/workspace.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c500517adab42ee27c8314566bb729a7818f62a008837eeae39cf5fb18658040
3
+ size 14753
autotag-dev--autotag.d0176cb/environment/Dockerfile CHANGED
@@ -58,3 +58,4 @@ RUN mkdir -p /home/agent \
58
  && chmod 111 /workspace/executable
59
  ENV HOME=/home/agent
60
  WORKDIR /workspace
 
 
58
  && chmod 111 /workspace/executable
59
  ENV HOME=/home/agent
60
  WORKDIR /workspace
61
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
autotag-dev--autotag.d0176cb/tests/Dockerfile CHANGED
@@ -66,3 +66,4 @@ 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
 
 
66
  COPY programgym_task.json /tests/programgym_task.json
67
  COPY blobs/ /tests/blobs/
68
  RUN chmod +x /tests/test.sh
69
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
auxten--go-sqldb.bbea46d/environment/Dockerfile CHANGED
@@ -62,3 +62,4 @@ RUN mkdir -p /home/agent \
62
  && chmod 111 /workspace/executable
63
  ENV HOME=/home/agent
64
  WORKDIR /workspace
 
 
62
  && chmod 111 /workspace/executable
63
  ENV HOME=/home/agent
64
  WORKDIR /workspace
65
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
auxten--go-sqldb.bbea46d/tests/Dockerfile CHANGED
@@ -71,3 +71,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
71
  COPY programgym_task.json /tests/programgym_task.json
72
  COPY blobs/ /tests/blobs/
73
  RUN chmod +x /tests/test.sh
 
 
71
  COPY programgym_task.json /tests/programgym_task.json
72
  COPY blobs/ /tests/blobs/
73
  RUN chmod +x /tests/test.sh
74
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
auyer--steganography.4290c10/environment/Dockerfile CHANGED
@@ -58,3 +58,4 @@ RUN mkdir -p /home/agent \
58
  && chmod 111 /workspace/executable
59
  ENV HOME=/home/agent
60
  WORKDIR /workspace
 
 
58
  && chmod 111 /workspace/executable
59
  ENV HOME=/home/agent
60
  WORKDIR /workspace
61
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
auyer--steganography.4290c10/tests/Dockerfile CHANGED
@@ -66,3 +66,4 @@ 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
 
 
66
  COPY programgym_task.json /tests/programgym_task.json
67
  COPY blobs/ /tests/blobs/
68
  RUN chmod +x /tests/test.sh
69
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
avtechscientific--asl.f3b739c/environment/Dockerfile CHANGED
@@ -62,3 +62,4 @@ RUN mkdir -p /home/agent \
62
  && chmod 111 /workspace/executable
63
  ENV HOME=/home/agent
64
  WORKDIR /workspace
 
 
62
  && chmod 111 /workspace/executable
63
  ENV HOME=/home/agent
64
  WORKDIR /workspace
65
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
avtechscientific--asl.f3b739c/tests/Dockerfile CHANGED
@@ -70,3 +70,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
70
  COPY programgym_task.json /tests/programgym_task.json
71
  COPY blobs/ /tests/blobs/
72
  RUN chmod +x /tests/test.sh
 
 
70
  COPY programgym_task.json /tests/programgym_task.json
71
  COPY blobs/ /tests/blobs/
72
  RUN chmod +x /tests/test.sh
73
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
awalsh128--cache-apt-pkgs-action.5513791/environment/Dockerfile ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:24.04
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_EXTRA_INDEX_URL=https://pypi.org/simple
14
+ ENV UV_CACHE_DIR=/workspace/.cache/uv
15
+ ENV npm_config_registry="https://registry.npmjs.org/"
16
+ ENV npm_config_strict_ssl=false
17
+ ENV npm_config_cache=/workspace/.cache/npm
18
+ ENV PIP_INDEX_URL="https://pypi.org/simple"
19
+ ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
20
+ ENV PIP_TRUSTED_HOST=""
21
+ ENV HOME=/workspace
22
+ ENV XDG_CACHE_HOME=/workspace/.cache
23
+ ENV PIP_CACHE_DIR=/workspace/.cache/pip
24
+ ENV PYTHONUSERBASE=/workspace/.local
25
+ ENV GOROOT=/usr/local/go
26
+ ENV GOPATH=/workspace/.go
27
+ ENV GOCACHE=/workspace/.cache/go-build
28
+ ENV PIP_BREAK_SYSTEM_PACKAGES=1
29
+ ENV PATH=/opt/programgym-venv/bin:/usr/local/go/bin:/workspace/.go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
30
+ ENV PAGER=cat
31
+ ENV MANPAGER=cat
32
+ ENV LESS=-R
33
+ ENV TQDM_DISABLE=1
34
+ ENV VIRTUAL_ENV=/opt/programgym-venv
35
+ RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip curl wget xz-utils unzip zip bzip2 zstd patch file binutils python3-venv tar && rm -rf /var/lib/apt/lists/*
36
+ COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
37
+ RUN set -eux; rm -rf /usr/local/go; tar -C /usr/local -xzf /tmp/programgym-go.tar.gz; rm -f /tmp/programgym-go.tar.gz; if [ ! -x /usr/local/go/bin/go ]; then echo "official Go tarball did not create /usr/local/go/bin/go" >&2; exit 1; fi; /usr/local/go/bin/go version
38
+ RUN python3 -m venv /opt/programgym-venv && /opt/programgym-venv/bin/python -m pip install --no-cache-dir --only-binary=:all: pytest pytest-xdist coverage
39
+ WORKDIR /workspace
40
+ ADD workspace.tar.gz /workspace/
41
+ COPY executable /workspace/executable
42
+ COPY download.sh /workspace/download.sh
43
+ RUN chmod 755 /workspace/download.sh
44
+ RUN ["bash","-lc","set -euo pipefail; cd /workspace; set -a; source /workspace/download.sh; set +a; python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh\nimport os\nimport re\nimport shlex\nignored = {\"OLDPWD\", \"PWD\", \"SHLVL\", \"_\"}\nvalid_name = re.compile(r\"^[A-Za-z_][A-Za-z0-9_]*$\")\nfor key in sorted(os.environ):\n if key in ignored or key.startswith(\"BASH_FUNC_\") or not valid_name.fullmatch(key):\n continue\n value = os.environ[key]\n if \"\\n\" in value:\n continue\n print(f\"export {key}={shlex.quote(value)}\")\nPY\n"]
45
+ ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
46
+ RUN chmod 111 /workspace/executable
47
+ WORKDIR /workspace
48
+ # Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
49
+ # Keep tool/runtime state under /home/agent and reserve /workspace for the
50
+ # submission handed to the separate verifier. Keep the reference executable
51
+ # execute-only; the oracle temporarily restores owner read permission.
52
+ RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
53
+ RUN mkdir -p /home/agent \
54
+ && chown -R agent:agent /home/agent /workspace \
55
+ && chown agent:agent /workspace/executable \
56
+ && chmod 111 /workspace/executable
57
+ ENV HOME=/home/agent
58
+ WORKDIR /workspace
59
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
awalsh128--cache-apt-pkgs-action.5513791/environment/download.sh ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
3
+ # Generated deterministically from repository module metadata; do not edit.
4
+ set -u
5
+ export GOTOOLCHAIN=auto
6
+ mkdir -p /workspace/.programgym_build_env/go-prefetch
7
+ cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
8
+ module awalsh128.com/cache-apt-pkgs-action
9
+
10
+ go 1.20
11
+ PROGRAMGYM_GO_MOD_EOF
12
+ PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
13
+ if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && GOTOOLCHAIN=auto go env GOROOT)"; then
14
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
15
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
16
+ return 1
17
+ else
18
+ exit 1
19
+ fi
20
+ fi
21
+ if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
22
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
23
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
24
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
25
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
26
+ else
27
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
28
+ fi
29
+ export PATH="$GOROOT/bin:$PATH"
30
+ export GOTOOLCHAIN=local
31
+ # No external Go module dependencies to prefetch.
awalsh128--cache-apt-pkgs-action.5513791/environment/executable ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:646cab332af029c2897bd294eac83704905eaf4d6195cac65aebcc6c335a7292
3
+ size 3461464
awalsh128--cache-apt-pkgs-action.5513791/environment/programgym-go.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
3
+ size 59908810
awalsh128--cache-apt-pkgs-action.5513791/environment/workspace.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d76d05b21f2acec1b90263775edd2ef915d396536afe367262bbd0340af202b9
3
+ size 4900
awalsh128--cache-apt-pkgs-action.5513791/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
awalsh128--cache-apt-pkgs-action.5513791/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
awalsh128--cache-apt-pkgs-action.5513791/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/awalsh128--cache-apt-pkgs-action.5513791"
25
+ description = "Synthetic ProgramGym cleanroom reconstruction task for awalsh128/cache-apt-pkgs-action"
26
+ authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
27
+ keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "go"]
28
+
29
+ [metadata]
30
+ source = "ProgramGym"
31
+ instance_id = "awalsh128__cache-apt-pkgs-action.5513791"
32
+ repository = "awalsh128/cache-apt-pkgs-action"
33
+ commit = "5513791f75b039e2a79653b1a92238d3fb8d99b4"
34
+ language = "go"
35
+ difficulty = "easy"
36
+ difficulty_score = 0.8014037100173552
37
+ test_branches = 4
38
+ test_count = 207
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"
awalsh128--cache-apt-pkgs-action.5513791/tests/Dockerfile ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:24.04
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_EXTRA_INDEX_URL=https://pypi.org/simple
14
+ ENV UV_CACHE_DIR=/workspace/.cache/uv
15
+ ENV npm_config_registry="https://registry.npmjs.org/"
16
+ ENV npm_config_strict_ssl=false
17
+ ENV npm_config_cache=/workspace/.cache/npm
18
+ ENV PIP_INDEX_URL="https://pypi.org/simple"
19
+ ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
20
+ ENV PIP_TRUSTED_HOST=""
21
+ ENV HOME=/workspace
22
+ ENV XDG_CACHE_HOME=/workspace/.cache
23
+ ENV PIP_CACHE_DIR=/workspace/.cache/pip
24
+ ENV PYTHONUSERBASE=/workspace/.local
25
+ ENV GOROOT=/usr/local/go
26
+ ENV GOPATH=/workspace/.go
27
+ ENV GOCACHE=/workspace/.cache/go-build
28
+ ENV PIP_BREAK_SYSTEM_PACKAGES=1
29
+ ENV PATH=/opt/programgym-venv/bin:/usr/local/go/bin:/workspace/.go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
30
+ ENV PAGER=cat
31
+ ENV MANPAGER=cat
32
+ ENV LESS=-R
33
+ ENV TQDM_DISABLE=1
34
+ ENV VIRTUAL_ENV=/opt/programgym-venv
35
+ RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip curl wget xz-utils unzip zip bzip2 zstd patch file binutils python3-venv tar && rm -rf /var/lib/apt/lists/*
36
+ COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
37
+ RUN set -eux; rm -rf /usr/local/go; tar -C /usr/local -xzf /tmp/programgym-go.tar.gz; rm -f /tmp/programgym-go.tar.gz; if [ ! -x /usr/local/go/bin/go ]; then echo "official Go tarball did not create /usr/local/go/bin/go" >&2; exit 1; fi; /usr/local/go/bin/go version
38
+ RUN python3 -m venv /opt/programgym-venv && /opt/programgym-venv/bin/python -m pip install --no-cache-dir --only-binary=:all: pytest pytest-xdist coverage
39
+ WORKDIR /workspace
40
+ ADD workspace.tar.gz /workspace/
41
+ COPY executable /workspace/executable
42
+ COPY download.sh /workspace/download.sh
43
+ RUN chmod 755 /workspace/download.sh
44
+ RUN ["bash","-lc","set -euo pipefail; cd /workspace; set -a; source /workspace/download.sh; set +a; python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh\nimport os\nimport re\nimport shlex\nignored = {\"OLDPWD\", \"PWD\", \"SHLVL\", \"_\"}\nvalid_name = re.compile(r\"^[A-Za-z_][A-Za-z0-9_]*$\")\nfor key in sorted(os.environ):\n if key in ignored or key.startswith(\"BASH_FUNC_\") or not valid_name.fullmatch(key):\n continue\n value = os.environ[key]\n if \"\\n\" in value:\n continue\n print(f\"export {key}={shlex.quote(value)}\")\nPY\n"]
45
+ ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
46
+ RUN chmod 111 /workspace/executable
47
+ WORKDIR /workspace
48
+ # Harbor uses tests/ as the separate verifier build context. Start with the
49
+ # same toolchain as the agent, then remove every cleanroom workspace artifact.
50
+ RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
51
+ && mkdir -p /workspace /tests
52
+
53
+ # Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
54
+ # Installing a newer pytest alone leaves that apt package importable and creates
55
+ # an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
56
+ # Install and constrain the verifier test runner as one coherent pip toolchain.
57
+ RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
58
+ ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
59
+ RUN python3 -m pip install --no-cache-dir --disable-pip-version-check \
60
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
61
+
62
+ COPY test.sh /tests/test.sh
63
+ COPY programgym_evaluator.py /tests/programgym_evaluator.py
64
+ COPY programgym_task.json /tests/programgym_task.json
65
+ COPY blobs/ /tests/blobs/
66
+ RUN chmod +x /tests/test.sh
67
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
awalsh128--cache-apt-pkgs-action.5513791/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:151d2dd34b17daa5de1a3533ab68d8a03124f4bbd50f587f0141b97ac748b499
3
+ size 14570
awalsh128--cache-apt-pkgs-action.5513791/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:fed55509d2f75b3ab7856926c6dce95099fdefa6632be32ddb1be41215f1b805
3
+ size 12829
awalsh128--cache-apt-pkgs-action.5513791/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:51ba849699a13df1f076c3e9207654bd6c98933dbb83ae1beda67c79bc1fa6ae
3
+ size 5866
awalsh128--cache-apt-pkgs-action.5513791/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:76931d3d9a7403fe63784ec4b4340f6208ee87311b8216dafb90391d5408f91e
3
+ size 10340
awalsh128--cache-apt-pkgs-action.5513791/tests/download.sh ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
3
+ # Generated deterministically from repository module metadata; do not edit.
4
+ set -u
5
+ export GOTOOLCHAIN=auto
6
+ mkdir -p /workspace/.programgym_build_env/go-prefetch
7
+ cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
8
+ module awalsh128.com/cache-apt-pkgs-action
9
+
10
+ go 1.20
11
+ PROGRAMGYM_GO_MOD_EOF
12
+ PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
13
+ if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && GOTOOLCHAIN=auto go env GOROOT)"; then
14
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
15
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
16
+ return 1
17
+ else
18
+ exit 1
19
+ fi
20
+ fi
21
+ if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
22
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
23
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
24
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
25
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
26
+ else
27
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
28
+ fi
29
+ export PATH="$GOROOT/bin:$PATH"
30
+ export GOTOOLCHAIN=local
31
+ # No external Go module dependencies to prefetch.
awalsh128--cache-apt-pkgs-action.5513791/tests/executable ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:646cab332af029c2897bd294eac83704905eaf4d6195cac65aebcc6c335a7292
3
+ size 3461464
awalsh128--cache-apt-pkgs-action.5513791/tests/programgym-go.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
3
+ size 59908810
awalsh128--cache-apt-pkgs-action.5513791/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()
awalsh128--cache-apt-pkgs-action.5513791/tests/programgym_task.json ADDED
@@ -0,0 +1,318 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "branches": {
3
+ "generated_module_01": {
4
+ "ignore_reason": "",
5
+ "ignored": false,
6
+ "ignored_tests": [],
7
+ "tests": [
8
+ "eval.tests.test_apt_package_common.test_apt_cache_show_nonzero_exit_code_101",
9
+ "eval.tests.test_apt_package_common.test_apt_cache_show_nonzero_exit_is_fatal",
10
+ "eval.tests.test_apt_package_common.test_colon_version_is_preserved_whole",
11
+ "eval.tests.test_apt_package_common.test_duplicate_error_lines_are_deduplicated",
12
+ "eval.tests.test_apt_package_common.test_duplicate_version_lines_last_value_wins",
13
+ "eval.tests.test_apt_package_common.test_empty_apt_cache_output_serializes_to_empty_line",
14
+ "eval.tests.test_apt_package_common.test_empty_replay_file_reports_no_commands",
15
+ "eval.tests.test_apt_package_common.test_extra_fields_are_ignored_in_paragraph",
16
+ "eval.tests.test_apt_package_common.test_help_flag_prints_flag_usage",
17
+ "eval.tests.test_apt_package_common.test_help_short_flag_prints_flag_usage",
18
+ "eval.tests.test_apt_package_common.test_malformed_colon_less_line_is_skipped_in_middle_of_paragraph",
19
+ "eval.tests.test_apt_package_common.test_malformed_lines_before_and_after_package_fields_are_skipped",
20
+ "eval.tests.test_apt_package_common.test_many_packages_sorted_lexicographically",
21
+ "eval.tests.test_apt_package_common.test_missing_replay_file_is_reported",
22
+ "eval.tests.test_apt_package_common.test_missing_version_serializes_empty_value",
23
+ "eval.tests.test_apt_package_common.test_mixed_concrete_and_virtual_resolution_sorted_together",
24
+ "eval.tests.test_apt_package_common.test_mixed_valid_and_error_packages_errors_out_no_partial_output",
25
+ "eval.tests.test_apt_package_common.test_multiple_error_messages_are_joined_exactly",
26
+ "eval.tests.test_apt_package_common.test_multiple_packages_serialize_space_joined",
27
+ "eval.tests.test_apt_package_common.test_no_arguments_reports_argument_mismatch",
28
+ "eval.tests.test_apt_package_common.test_nonzero_exit_with_empty_combined_output",
29
+ "eval.tests.test_apt_package_common.test_packages_sorted_alphabetically_regardless_of_input_order",
30
+ "eval.tests.test_apt_package_common.test_paragraph_with_no_package_and_no_error_produces_empty_output",
31
+ "eval.tests.test_apt_package_common.test_paragraph_with_only_malformed_lines_yields_empty_output",
32
+ "eval.tests.test_apt_package_common.test_same_packages_different_input_order_identical_output",
33
+ "eval.tests.test_apt_package_common.test_showpkg_nonzero_exit_code_is_surfaced_exactly[127]",
34
+ "eval.tests.test_apt_package_common.test_showpkg_nonzero_exit_code_is_surfaced_exactly[1]",
35
+ "eval.tests.test_apt_package_common.test_showpkg_nonzero_exit_is_fatal",
36
+ "eval.tests.test_apt_package_common.test_showpkg_nonzero_exit_surfaces_combined_output",
37
+ "eval.tests.test_apt_package_common.test_single_argument_only_reports_argument_mismatch",
38
+ "eval.tests.test_apt_package_common.test_single_package_error_reports_and_exits_nonzero",
39
+ "eval.tests.test_apt_package_common.test_single_package_serializes_name_equals_version",
40
+ "eval.tests.test_apt_package_common.test_unable_to_locate_error_is_reported",
41
+ "eval.tests.test_apt_package_common.test_unknown_command_is_rejected",
42
+ "eval.tests.test_apt_package_common.test_version_line_without_package_is_a_nil_crash_boundary",
43
+ "eval.tests.test_apt_package_common.test_version_preceding_package_is_a_nil_crash_boundary",
44
+ "eval.tests.test_apt_package_common.test_virtual_message_without_cant_prefix_still_resolves",
45
+ "eval.tests.test_apt_package_common.test_virtual_package_resolves_to_concrete_from_reverse_provides",
46
+ "eval.tests.test_apt_package_common.test_virtual_paragraph_with_error_line_still_resolves",
47
+ "eval.tests.test_apt_package_common.test_virtual_resolution_breaks_on_section_header_before_any_provide[Provides:]",
48
+ "eval.tests.test_apt_package_common.test_virtual_resolution_breaks_on_section_header_before_any_provide[Reverse Conflicts:]",
49
+ "eval.tests.test_apt_package_common.test_virtual_resolution_breaks_on_section_header_before_any_provide[Reverse Depends:]",
50
+ "eval.tests.test_apt_package_common.test_virtual_resolution_requires_showpkg_in_replay",
51
+ "eval.tests.test_apt_package_common.test_virtual_resolution_skips_error_lines",
52
+ "eval.tests.test_apt_package_common.test_virtual_resolution_skips_single_token_lines",
53
+ "eval.tests.test_apt_package_common.test_virtual_resolution_skips_warning_lines",
54
+ "eval.tests.test_apt_package_common.test_virtual_resolution_stops_at_next_section",
55
+ "eval.tests.test_apt_package_common.test_virtual_resolution_takes_first_reverse_provide",
56
+ "eval.tests.test_apt_package_common.test_virtual_resolution_with_no_reverse_provides_reports_error",
57
+ "eval.tests.test_apt_package_common.test_virtual_resolution_with_realistic_showpkg_output",
58
+ "eval.tests.test_apt_package_common.test_whitespace_only_paragraph_is_skipped",
59
+ "eval.tests.test_common_iteration5_distinct_behaviors.test_duplicate_package_name_across_paragraphs_both_emitted",
60
+ "eval.tests.test_common_iteration5_distinct_behaviors.test_duplicate_package_name_versions_kept_per_paragraph",
61
+ "eval.tests.test_common_iteration5_distinct_behaviors.test_e_error_with_empty_message_is_reported_verbatim",
62
+ "eval.tests.test_common_iteration5_distinct_behaviors.test_empty_string_package_name_with_empty_output",
63
+ "eval.tests.test_common_iteration5_distinct_behaviors.test_empty_string_package_name_with_real_output_still_emits",
64
+ "eval.tests.test_common_iteration5_distinct_behaviors.test_prefix_related_names_sort_bytewise",
65
+ "eval.tests.test_common_iteration5_distinct_behaviors.test_requested_subset_of_output_emits_all_sorted",
66
+ "eval.tests.test_common_iteration5_distinct_behaviors.test_reverse_provides_multiple_interior_spaces_collapse_version",
67
+ "eval.tests.test_common_iteration5_distinct_behaviors.test_reverse_provides_provider_name_with_plus_and_digit",
68
+ "eval.tests.test_common_iteration5_distinct_behaviors.test_reverse_provides_row_with_trailing_words_uses_first_two_fields",
69
+ "eval.tests.test_common_iteration5_distinct_behaviors.test_show_output_emits_extra_package_not_requested",
70
+ "eval.tests.test_common_iteration5_distinct_behaviors.test_show_output_with_no_requested_name_match_still_emits_all",
71
+ "eval.tests.test_common_iteration5_distinct_behaviors.test_special_character_package_names_serialize[2to3-3.1-1]",
72
+ "eval.tests.test_common_iteration5_distinct_behaviors.test_special_character_package_names_serialize[a.b-0.1-1]",
73
+ "eval.tests.test_common_iteration5_distinct_behaviors.test_special_character_package_names_serialize[libvips-c++-1.2-3]",
74
+ "eval.tests.test_common_iteration5_distinct_behaviors.test_special_character_package_names_serialize[python3.11-3.11.0-1]",
75
+ "eval.tests.test_common_iteration5_distinct_behaviors.test_two_virtual_and_real_resolve_together_when_separate_paragraphs",
76
+ "eval.tests.test_common_iteration5_distinct_behaviors.test_unable_to_locate_notice_without_name_is_reported",
77
+ "eval.tests.test_common_iteration5_distinct_behaviors.test_virtual_notice_at_start_suppresses_following_real_package",
78
+ "eval.tests.test_common_iteration5_distinct_behaviors.test_virtual_notice_drops_real_package_in_same_paragraph",
79
+ "eval.tests.test_common_reachable_edge_cases.test_carriage_return_line_endings_are_trimmed",
80
+ "eval.tests.test_common_reachable_edge_cases.test_e_error_duplicate_within_one_paragraph_is_deduplicated",
81
+ "eval.tests.test_common_reachable_edge_cases.test_error_line_suppresses_valid_package_in_same_paragraph",
82
+ "eval.tests.test_common_reachable_edge_cases.test_n_message_with_extra_space_after_colon_is_preserved_verbatim",
83
+ "eval.tests.test_common_reachable_edge_cases.test_package_name_value_surrounding_whitespace_is_trimmed",
84
+ "eval.tests.test_common_reachable_edge_cases.test_package_sort_is_bytewise_case_sensitive",
85
+ "eval.tests.test_common_reachable_edge_cases.test_same_e_error_across_three_paragraphs_accumulates",
86
+ "eval.tests.test_common_reachable_edge_cases.test_same_error_across_paragraphs_is_not_deduplicated",
87
+ "eval.tests.test_common_reachable_edge_cases.test_show_output_without_trailing_newline_still_parses",
88
+ "eval.tests.test_common_reachable_edge_cases.test_two_distinct_e_errors_within_one_paragraph_both_reported",
89
+ "eval.tests.test_common_reachable_edge_cases.test_version_token_with_internal_content_is_preserved_whole[1 a b]",
90
+ "eval.tests.test_common_reachable_edge_cases.test_version_token_with_internal_content_is_preserved_whole[1.0~rc1+git]",
91
+ "eval.tests.test_common_reachable_edge_cases.test_version_token_with_internal_content_is_preserved_whole[1:1.2~beta3]",
92
+ "eval.tests.test_common_reachable_edge_cases.test_version_value_surrounding_whitespace_is_trimmed",
93
+ "eval.tests.test_common_reachable_edge_cases.test_version_with_leading_uppercase_sorts_before_lowercase",
94
+ "eval.tests.test_common_splitlines_blank_handling.test_arbitrary_n_notice_message_without_package_yields_empty_output",
95
+ "eval.tests.test_common_splitlines_blank_handling.test_arbitrary_n_notice_with_package_is_ignored",
96
+ "eval.tests.test_common_splitlines_blank_handling.test_blank_line_after_version_field_keeps_version",
97
+ "eval.tests.test_common_splitlines_blank_handling.test_blank_line_inside_one_paragraph_of_multi_package_output",
98
+ "eval.tests.test_common_splitlines_blank_handling.test_consecutive_blank_lines_inside_paragraph_are_skipped",
99
+ "eval.tests.test_common_splitlines_blank_handling.test_mixed_whitespace_lines_within_paragraph_are_all_skipped",
100
+ "eval.tests.test_common_splitlines_blank_handling.test_second_package_line_overrides_first_in_same_paragraph",
101
+ "eval.tests.test_common_splitlines_blank_handling.test_tab_only_line_within_paragraph_is_skipped",
102
+ "eval.tests.test_common_splitlines_blank_handling.test_whitespace_only_line_between_package_fields_is_skipped"
103
+ ]
104
+ },
105
+ "generated_module_02": {
106
+ "ignore_reason": "",
107
+ "ignored": false,
108
+ "ignored_tests": [],
109
+ "tests": [
110
+ "eval.tests.test_bin_executor.test_binexecutor_debug_flag_creates_logfile_side_effect",
111
+ "eval.tests.test_bin_executor.test_binexecutor_debug_flag_writes_serialized_execution_log",
112
+ "eval.tests.test_bin_executor.test_binexecutor_real_missing_package_exits_100",
113
+ "eval.tests.test_bin_executor.test_binexecutor_real_single_package_format",
114
+ "eval.tests.test_bin_executor.test_binexecutor_real_two_packages_sorted_output",
115
+ "eval.tests.test_bin_executor.test_binexecutor_real_virtual_package_dispatch",
116
+ "eval.tests.test_bin_executor.test_binexecutor_serialized_log_roundtrips_through_replay",
117
+ "eval.tests.test_cli_dispatch.test_empty_string_command_reports_name",
118
+ "eval.tests.test_cli_dispatch.test_help_flag_prints_usage_to_stderr",
119
+ "eval.tests.test_cli_dispatch.test_no_nonflag_arguments_fatals_with_count",
120
+ "eval.tests.test_cli_dispatch.test_short_h_flag_prints_usage_to_stderr",
121
+ "eval.tests.test_cli_dispatch.test_single_nonflag_argument_fatals_with_count",
122
+ "eval.tests.test_cli_dispatch.test_unknown_command_reports_name",
123
+ "eval.tests.test_exec_error_edges.test_replay_empty_output_success",
124
+ "eval.tests.test_exec_error_edges.test_replay_partial_mix_suppresses_successful_packages",
125
+ "eval.tests.test_exec_error_edges.test_replay_recorded_exit0_with_E_diagnostic_yields_resolution_error",
126
+ "eval.tests.test_exec_error_edges.test_replay_virtual_showpkg_missing_lists_available",
127
+ "eval.tests.test_replay_executor.test_no_replay_flag_does_not_open_logfile",
128
+ "eval.tests.test_replay_executor.test_replay_empty_log_reports_none_available",
129
+ "eval.tests.test_replay_executor.test_replay_malformed_json_payload_fatals",
130
+ "eval.tests.test_replay_executor.test_replay_missing_logfile_fatals_raw_error",
131
+ "eval.tests.test_replay_executor.test_replay_multi_version_warning",
132
+ "eval.tests.test_replay_executor.test_replay_multiple_packages_alpha_sorted",
133
+ "eval.tests.test_replay_executor.test_replay_nonzero_error_mentions_status_and_cmd",
134
+ "eval.tests.test_replay_executor.test_replay_path_is_directory_fatals",
135
+ "eval.tests.test_replay_executor.test_replay_recorded_nonzero_exit_errors_to_stderr",
136
+ "eval.tests.test_replay_executor.test_replay_records_two_blocks_both_retrievable",
137
+ "eval.tests.test_replay_executor.test_replay_single_package_success",
138
+ "eval.tests.test_replay_executor.test_replay_trailing_noise_outside_blocks_ignored",
139
+ "eval.tests.test_replay_executor.test_replay_two_arg_orders_map_to_distinct_entries",
140
+ "eval.tests.test_replay_executor.test_replay_unknown_command_lists_two_available",
141
+ "eval.tests.test_replay_executor.test_replay_unknown_command_reports_single_available",
142
+ "eval.tests.test_replay_executor.test_replay_unterminated_block_skipped",
143
+ "eval.tests.test_replay_executor.test_replay_version_containing_colon",
144
+ "eval.tests.test_replay_executor.test_replay_virtual_package_dispatches_showpkg"
145
+ ]
146
+ },
147
+ "generated_module_03": {
148
+ "ignore_reason": "",
149
+ "ignored": false,
150
+ "ignored_tests": [],
151
+ "tests": [
152
+ "eval.tests.test_logging_module_03.test_debug_flag_reports_filename_matching_real_logfile",
153
+ "eval.tests.test_logging_module_03.test_debug_flag_writes_debug_created_line_to_logfile",
154
+ "eval.tests.test_logging_module_03.test_debug_lazy_block_wraps_jsonserializable_count",
155
+ "eval.tests.test_logging_module_03.test_debug_lazy_suppressed_when_not_debug_for_real_apt",
156
+ "eval.tests.test_logging_module_03.test_debug_lazy_writes_execution_markers_with_real_apt",
157
+ "eval.tests.test_logging_module_03.test_fatal_missing_replay_file_content_is_exact_os_error",
158
+ "eval.tests.test_logging_module_03.test_fatal_missing_replay_file_writes_open_error_no_trailing_newline",
159
+ "eval.tests.test_logging_module_03.test_fatal_replay_unknown_command_lists_recorded_command",
160
+ "eval.tests.test_logging_module_03.test_fatal_replay_unknown_command_logged_multiline",
161
+ "eval.tests.test_logging_module_03.test_fatal_replay_unknown_command_reports_unable_to_replay",
162
+ "eval.tests.test_logging_module_03.test_fatalf_debug_and_bad_command_order_independent",
163
+ "eval.tests.test_logging_module_03.test_fatalf_more_than_two_args_with_bad_command",
164
+ "eval.tests.test_logging_module_03.test_fatalf_preserves_command_name_verbatim",
165
+ "eval.tests.test_logging_module_03.test_fatalf_single_argument_returns_exit_one",
166
+ "eval.tests.test_logging_module_03.test_fatalf_unrecognized_command_logged_to_file",
167
+ "eval.tests.test_logging_module_03.test_fatalf_unrecognized_command_message",
168
+ "eval.tests.test_logging_module_03.test_fatalf_zero_arguments_returns_exit_one",
169
+ "eval.tests.test_logging_module_03.test_fatalf_zero_arguments_written_to_logfile",
170
+ "eval.tests.test_logging_module_03.test_help_flag_exits_zero_without_logfile",
171
+ "eval.tests.test_logging_module_03.test_help_flag_short_form_exits_zero",
172
+ "eval.tests.test_logging_module_03.test_init_creates_logfile_alongside_binary_even_without_debug",
173
+ "eval.tests.test_logging_module_03.test_init_flushes_preexisting_logfile_content",
174
+ "eval.tests.test_logging_module_03.test_init_logfile_permissions_are_0644",
175
+ "eval.tests.test_logging_module_03.test_init_recent_run_only_keeps_latest_debug_and_fatal",
176
+ "eval.tests.test_logging_module_03.test_replay_success_path_exits_zero_and_prints_serialized",
177
+ "eval.tests.test_logging_module_03.test_two_positional_args_reach_command_dispatch",
178
+ "eval.tests.test_logging_module_03.test_without_debug_no_debug_created_line"
179
+ ]
180
+ },
181
+ "generated_module_04": {
182
+ "ignore_reason": "",
183
+ "ignored": false,
184
+ "ignored_tests": [],
185
+ "tests": [
186
+ "eval.tests.test_00_cli_entry.test_command_is_case_sensitive",
187
+ "eval.tests.test_00_cli_entry.test_debug_banner_has_absolute_filename",
188
+ "eval.tests.test_00_cli_entry.test_debug_flag_accepted_default_off",
189
+ "eval.tests.test_00_cli_entry.test_debug_flag_accepted_with_true_value",
190
+ "eval.tests.test_00_cli_entry.test_double_dash_help_also_documented",
191
+ "eval.tests.test_00_cli_entry.test_double_dash_marker_produces_positional_command",
192
+ "eval.tests.test_00_cli_entry.test_fatal_also_written_to_diagnostic_log",
193
+ "eval.tests.test_00_cli_entry.test_flags_after_subcommand_are_positional_not_flags",
194
+ "eval.tests.test_00_cli_entry.test_help_flag_exits_zero_and_lists_both_flags",
195
+ "eval.tests.test_00_cli_entry.test_no_arguments_errors_partial",
196
+ "eval.tests.test_00_cli_entry.test_one_positional_argument_errors_partial",
197
+ "eval.tests.test_00_cli_entry.test_replayfile_empty_selects_bin_executor_then_arg_check",
198
+ "eval.tests.test_00_cli_entry.test_success_creates_empty_log_without_debug",
199
+ "eval.tests.test_00_cli_entry.test_unknown_command_rejected_with_name_in_error",
200
+ "eval.tests.test_00_cli_entry.test_unknown_command_variants",
201
+ "eval.tests.test_00_cli_entry.test_unknown_flag_prints_flag_error_and_usage",
202
+ "eval.tests.test_01_normalized_list_replay.test_blank_and_whitespace_paragraphs_skipped",
203
+ "eval.tests.test_01_normalized_list_replay.test_empty_command_output_prints_only_newline",
204
+ "eval.tests.test_01_normalized_list_replay.test_multiple_packages_are_alpha_sorted_on_stdout",
205
+ "eval.tests.test_01_normalized_list_replay.test_multiversion_warning_yields_single_versions",
206
+ "eval.tests.test_01_normalized_list_replay.test_package_fields_survive_extra_metadata_lines",
207
+ "eval.tests.test_01_normalized_list_replay.test_same_input_order_independent_stdout",
208
+ "eval.tests.test_01_normalized_list_replay.test_single_package_replays_name_version_stdout",
209
+ "eval.tests.test_01_normalized_list_replay.test_version_containing_colon_preserved_on_stdout",
210
+ "eval.tests.test_01_normalized_list_replay.test_virtual_package_resolves_to_concrete_package",
211
+ "eval.tests.test_02_normalized_list_errors.test_apt_cache_nonzero_exit_also_written_to_log",
212
+ "eval.tests.test_02_normalized_list_errors.test_apt_cache_nonzero_exit_fatals_with_exact_stderr",
213
+ "eval.tests.test_02_normalized_list_errors.test_e_line_in_paragraph_triggers_resolve_error_fatal",
214
+ "eval.tests.test_02_normalized_list_errors.test_missing_replay_file_fatals_with_open_error",
215
+ "eval.tests.test_02_normalized_list_errors.test_n_unable_locate_paragraphs_duplicated_in_fatal",
216
+ "eval.tests.test_02_normalized_list_errors.test_paragraph_with_version_but_no_name_crashes",
217
+ "eval.tests.test_02_normalized_list_errors.test_partial_valid_package_still_fails_on_any_error",
218
+ "eval.tests.test_02_normalized_list_errors.test_unable_to_replay_lists_available_commands",
219
+ "eval.tests.test_02_normalized_list_errors.test_unable_to_replay_missing_command_fatals",
220
+ "eval.tests.test_03_replay_input_classes.test_duplicate_e_lines_deduplicated_within_paragraph",
221
+ "eval.tests.test_03_replay_input_classes.test_empty_error_message_and_pure_error_paragraph",
222
+ "eval.tests.test_03_replay_input_classes.test_error_and_success_paragraph_interleaved",
223
+ "eval.tests.test_03_replay_input_classes.test_execution_output_not_filtered_by_requested_names",
224
+ "eval.tests.test_03_replay_input_classes.test_multiple_package_ordering_matches_name_collation",
225
+ "eval.tests.test_03_replay_input_classes.test_n_plain_line_is_not_accumulated_as_error",
226
+ "eval.tests.test_03_replay_input_classes.test_no_package_and_no_error_is_silent_success",
227
+ "eval.tests.test_03_replay_input_classes.test_package_resolution_and_sort[requested0-pars0-a=1-1 b=2-2 c=3-3\\n]",
228
+ "eval.tests.test_03_replay_input_classes.test_package_resolution_and_sort[requested1-pars1-d=4-4\\n]",
229
+ "eval.tests.test_03_replay_input_classes.test_trailing_newline_only_output_shape",
230
+ "eval.tests.test_03_replay_input_classes.test_version_shape_roundtrip[pkg-0.9~beta1--pkg=0.9~beta1\\n]",
231
+ "eval.tests.test_03_replay_input_classes.test_version_shape_roundtrip[pkg-1.2.3--pkg=1.2.3\\n]",
232
+ "eval.tests.test_03_replay_input_classes.test_version_shape_roundtrip[pkg-1.2.3-4--pkg=1.2.3-4\\n]",
233
+ "eval.tests.test_03_replay_input_classes.test_version_shape_roundtrip[pkg-1:2.3+really3.4.5-1--pkg=1:2.3+really3.4.5-1\\n]",
234
+ "eval.tests.test_03_replay_input_classes.test_version_shape_roundtrip[pkg-5.5-1-MD5sum: abc123\\n-pkg=5.5-1\\n]",
235
+ "eval.tests.test_03_replay_input_classes.test_version_shape_roundtrip[pkg-6.6-1-Provides: libfoo\\n-pkg=6.6-1\\n]"
236
+ ]
237
+ }
238
+ },
239
+ "commit": "5513791f75b039e2a79653b1a92238d3fb8d99b4",
240
+ "data_source": "synthetic_programgym",
241
+ "difficulty": "easy",
242
+ "difficulty_score": 0.8014037100173552,
243
+ "eval_clean_hashes": [
244
+ "646cab332af029c2897bd294eac83704905eaf4d6195cac65aebcc6c335a7292"
245
+ ],
246
+ "input_record": {
247
+ "commit": "5513791f75b039e2a79653b1a92238d3fb8d99b4",
248
+ "commits": 218,
249
+ "contributors": 27,
250
+ "difficulty": "easy",
251
+ "difficulty_code_lines": 633,
252
+ "difficulty_has_tests": false,
253
+ "difficulty_product_code_lines": 633,
254
+ "difficulty_runtime_deps": 0,
255
+ "difficulty_score": 0.8014037100173552,
256
+ "difficulty_test_code_lines": 123,
257
+ "full_name": "awalsh128/cache-apt-pkgs-action",
258
+ "github_stars": 358,
259
+ "input_joern_zip": "go_joern/awalsh128__cache-apt-pkgs-action.zip",
260
+ "joern_status": true,
261
+ "joern_time": 5.674196572974324,
262
+ "language": "go",
263
+ "pb_match": [
264
+ {
265
+ "pb_fullname": "segmentio/chamber",
266
+ "rank": 910,
267
+ "similarity": 0.490326851606369
268
+ },
269
+ {
270
+ "pb_fullname": "jesseduffield/lazygit",
271
+ "rank": 910,
272
+ "similarity": 0.4855652451515198
273
+ }
274
+ ],
275
+ "repo_age": 4.87,
276
+ "repo_path": "go/awalsh128__cache-apt-pkgs-action",
277
+ "source": "commit:5513791f75b039e2a79653b1a92238d3fb8d99b4",
278
+ "status": "done",
279
+ "url": "https://github.com/awalsh128/cache-apt-pkgs-action"
280
+ },
281
+ "instance_id": "awalsh128__cache-apt-pkgs-action.5513791",
282
+ "language": "go",
283
+ "module_iterations": [
284
+ {
285
+ "actual_iterations": 5,
286
+ "branch_name": "generated_module_01",
287
+ "iteration_limit": 5,
288
+ "module_index": 1,
289
+ "module_kind": "source",
290
+ "termination_reason": "max_iterations"
291
+ },
292
+ {
293
+ "actual_iterations": 2,
294
+ "branch_name": "generated_module_02",
295
+ "iteration_limit": 5,
296
+ "module_index": 2,
297
+ "module_kind": "source",
298
+ "termination_reason": "module_coverage_threshold_reached"
299
+ },
300
+ {
301
+ "actual_iterations": 1,
302
+ "branch_name": "generated_module_03",
303
+ "iteration_limit": 5,
304
+ "module_index": 3,
305
+ "module_kind": "source",
306
+ "termination_reason": "module_coverage_threshold_reached"
307
+ },
308
+ {
309
+ "actual_iterations": 2,
310
+ "branch_name": "generated_module_04",
311
+ "iteration_limit": 5,
312
+ "module_index": 4,
313
+ "module_kind": "source",
314
+ "termination_reason": "module_coverage_threshold_reached"
315
+ }
316
+ ],
317
+ "repository": "awalsh128/cache-apt-pkgs-action"
318
+ }
awalsh128--cache-apt-pkgs-action.5513791/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
awalsh128--cache-apt-pkgs-action.5513791/tests/workspace.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d76d05b21f2acec1b90263775edd2ef915d396536afe367262bbd0340af202b9
3
+ size 4900
aws--amazon-eks-pod-identity-webhook.7bb1792/environment/Dockerfile ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:24.04
2
+ ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
3
+ ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
4
+ ARG PROGRAMGYM_GOSUMDB="sum.golang.org"
5
+ ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
6
+ ARG PROGRAMGYM_NPM_STRICT_SSL="true"
7
+ ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
8
+ ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
9
+ ARG PROGRAMGYM_UV_INSECURE_HOST=""
10
+ ARG PROGRAMGYM_RUSTUP_DIST_SERVER="https://static.rust-lang.org"
11
+ ARG PROGRAMGYM_RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
12
+ ARG PROGRAMGYM_CARGO_INDEX="sparse+https://index.crates.io/"
13
+ ARG PROGRAMGYM_CARGO_NET_RETRY="10"
14
+ ARG PROGRAMGYM_CARGO_HTTP_TIMEOUT="600"
15
+ ARG PROGRAMGYM_CARGO_HTTP_MULTIPLEXING="false"
16
+ ARG PROGRAMGYM_MAVEN_MIRROR_URL=""
17
+ ARG PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL=""
18
+ ARG PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL="https://services.gradle.org/distributions"
19
+ ARG PROGRAMGYM_JITPACK_REPOSITORY_URL="https://jitpack.io"
20
+ ENV GOPROXY=${PROGRAMGYM_GOPROXY}
21
+ ENV GOSUMDB=${PROGRAMGYM_GOSUMDB}
22
+ ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
23
+ ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
24
+ ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
25
+ ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
26
+ ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
27
+ ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
28
+ ENV RUSTUP_DIST_SERVER=${PROGRAMGYM_RUSTUP_DIST_SERVER}
29
+ ENV RUSTUP_UPDATE_ROOT=${PROGRAMGYM_RUSTUP_UPDATE_ROOT}
30
+ ENV CARGO_REGISTRIES_CRATES_IO_INDEX=${PROGRAMGYM_CARGO_INDEX}
31
+ ENV CARGO_NET_RETRY=${PROGRAMGYM_CARGO_NET_RETRY}
32
+ ENV CARGO_HTTP_TIMEOUT=${PROGRAMGYM_CARGO_HTTP_TIMEOUT}
33
+ ENV CARGO_HTTP_MULTIPLEXING=${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING}
34
+ ENV PROGRAMGYM_MAVEN_MIRROR_URL=${PROGRAMGYM_MAVEN_MIRROR_URL}
35
+ ENV PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL=${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL}
36
+ ENV PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL=${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL}
37
+ ENV PROGRAMGYM_JITPACK_REPOSITORY_URL=${PROGRAMGYM_JITPACK_REPOSITORY_URL}
38
+ COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
39
+ RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
40
+ && /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
41
+ && rm -f /tmp/harbor_configure_apt_mirror.sh
42
+ COPY harbor_configure_java_mirrors.sh /tmp/harbor_configure_java_mirrors.sh
43
+ RUN chmod 0755 /tmp/harbor_configure_java_mirrors.sh \
44
+ && /bin/bash /tmp/harbor_configure_java_mirrors.sh "${PROGRAMGYM_MAVEN_MIRROR_URL}" "${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL}" "${PROGRAMGYM_JITPACK_REPOSITORY_URL}" \
45
+ && rm -f /tmp/harbor_configure_java_mirrors.sh
46
+ ENV DEBIAN_FRONTEND=noninteractive
47
+ ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
48
+ ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
49
+ ENV GOTOOLCHAIN=auto
50
+ ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
51
+ ENV UV_CACHE_DIR=/workspace/.cache/uv
52
+ ENV npm_config_cache=/workspace/.cache/npm
53
+ ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
54
+ ENV HOME=/workspace
55
+ ENV XDG_CACHE_HOME=/workspace/.cache
56
+ ENV PIP_CACHE_DIR=/workspace/.cache/pip
57
+ ENV PYTHONUSERBASE=/workspace/.local
58
+ ENV GOROOT=/usr/local/go
59
+ ENV GOPATH=/workspace/.go
60
+ ENV GOCACHE=/workspace/.cache/go-build
61
+ ENV PIP_BREAK_SYSTEM_PACKAGES=1
62
+ ENV PATH=/opt/programgym-venv/bin:/usr/local/go/bin:/workspace/.go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
63
+ ENV PAGER=cat
64
+ ENV MANPAGER=cat
65
+ ENV LESS=-R
66
+ ENV TQDM_DISABLE=1
67
+ ENV VIRTUAL_ENV=/opt/programgym-venv
68
+ RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip curl wget xz-utils unzip zip bzip2 zstd patch file binutils python3-venv tar && rm -rf /var/lib/apt/lists/*
69
+ COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
70
+ RUN set -eux; rm -rf /usr/local/go; tar -C /usr/local -xzf /tmp/programgym-go.tar.gz; rm -f /tmp/programgym-go.tar.gz; if [ ! -x /usr/local/go/bin/go ]; then echo "official Go tarball did not create /usr/local/go/bin/go" >&2; exit 1; fi; /usr/local/go/bin/go version
71
+ RUN python3 -m venv /opt/programgym-venv && /opt/programgym-venv/bin/python -m pip install --no-cache-dir --only-binary=:all: pytest pytest-xdist coverage
72
+ WORKDIR /workspace
73
+ ADD workspace.tar.gz /workspace/
74
+ COPY executable /workspace/executable
75
+ COPY download.sh /workspace/download.sh
76
+ RUN chmod 755 /workspace/download.sh
77
+ COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
78
+ RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
79
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
80
+ && rm -f /workspace/download.sh \
81
+ && rm -f /tmp/harbor_prepare_download_env.sh
82
+ ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
83
+ RUN chmod 111 /workspace/executable
84
+ WORKDIR /workspace
85
+ # programgym-runtime-workspace-cleanup: v1
86
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
87
+ # Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
88
+ # Keep tool/runtime state under /home/agent and reserve /workspace for the
89
+ # submission handed to the separate verifier. Keep the reference executable
90
+ # execute-only; the oracle temporarily restores owner read permission.
91
+ RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
92
+ RUN mkdir -p /home/agent \
93
+ && chown -R agent:agent /home/agent /workspace \
94
+ && chown agent:agent /workspace/executable \
95
+ && chmod 111 /workspace/executable
96
+ ENV HOME=/home/agent
97
+ WORKDIR /workspace
98
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
aws--amazon-eks-pod-identity-webhook.7bb1792/environment/docker-compose.yaml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_GOSUMDB: ${PROGRAMGYM_GOSUMDB:-sum.golang.org}
8
+ PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
9
+ PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
10
+ PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
11
+ PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
12
+ PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
13
+ PROGRAMGYM_RUSTUP_DIST_SERVER: ${PROGRAMGYM_RUSTUP_DIST_SERVER:-https://static.rust-lang.org}
14
+ PROGRAMGYM_RUSTUP_UPDATE_ROOT: ${PROGRAMGYM_RUSTUP_UPDATE_ROOT:-https://static.rust-lang.org/rustup}
15
+ PROGRAMGYM_CARGO_INDEX: ${PROGRAMGYM_CARGO_INDEX:-sparse+https://index.crates.io/}
16
+ PROGRAMGYM_CARGO_NET_RETRY: ${PROGRAMGYM_CARGO_NET_RETRY:-10}
17
+ PROGRAMGYM_CARGO_HTTP_TIMEOUT: ${PROGRAMGYM_CARGO_HTTP_TIMEOUT:-600}
18
+ PROGRAMGYM_CARGO_HTTP_MULTIPLEXING: ${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING:-false}
19
+ PROGRAMGYM_MAVEN_MIRROR_URL: ${PROGRAMGYM_MAVEN_MIRROR_URL:-}
20
+ PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL: ${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL:-}
21
+ PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL: ${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-https://services.gradle.org/distributions}
22
+ PROGRAMGYM_JITPACK_REPOSITORY_URL: ${PROGRAMGYM_JITPACK_REPOSITORY_URL:-https://jitpack.io}
aws--amazon-eks-pod-identity-webhook.7bb1792/environment/download.sh ADDED
@@ -0,0 +1,828 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
3
+ # Generated deterministically from repository module metadata; do not edit.
4
+ set -u
5
+ export GOTOOLCHAIN=auto
6
+ mkdir -p /workspace/.programgym_build_env/go-prefetch
7
+ cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
8
+ module github.com/aws/amazon-eks-pod-identity-webhook
9
+
10
+ go 1.26.4
11
+
12
+ require (
13
+ github.com/aws/aws-sdk-go-v2 v1.39.2
14
+ github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.30
15
+ github.com/fsnotify/fsnotify v1.5.4
16
+ github.com/go-jose/go-jose/v4 v4.0.1
17
+ github.com/pkg/errors v0.9.1
18
+ github.com/prometheus/client_golang v1.12.2
19
+ github.com/spf13/pflag v1.0.9
20
+ github.com/stretchr/testify v1.11.1
21
+ golang.org/x/time v0.14.0
22
+ k8s.io/api v0.36.0
23
+ k8s.io/apimachinery v0.36.0
24
+ k8s.io/client-go v0.36.0
25
+ k8s.io/klog/v2 v2.140.0
26
+ sigs.k8s.io/controller-runtime v0.13.0
27
+ sigs.k8s.io/yaml v1.6.0
28
+ )
29
+
30
+ require (
31
+ github.com/aws/smithy-go v1.23.0 // indirect
32
+ github.com/beorn7/perks v1.0.1 // indirect
33
+ github.com/cespare/xxhash/v2 v2.1.2 // indirect
34
+ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
35
+ github.com/emicklei/go-restful/v3 v3.13.0 // indirect
36
+ github.com/fxamacker/cbor/v2 v2.9.0 // indirect
37
+ github.com/go-logr/logr v1.4.3 // indirect
38
+ github.com/go-openapi/jsonpointer v0.21.0 // indirect
39
+ github.com/go-openapi/jsonreference v0.20.2 // indirect
40
+ github.com/go-openapi/swag v0.23.0 // indirect
41
+ github.com/golang/protobuf v1.5.4 // indirect
42
+ github.com/google/gnostic-models v0.7.0 // indirect
43
+ github.com/google/uuid v1.6.0 // indirect
44
+ github.com/josharian/intern v1.0.0 // indirect
45
+ github.com/json-iterator/go v1.1.12 // indirect
46
+ github.com/mailru/easyjson v0.7.7 // indirect
47
+ github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
48
+ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
49
+ github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
50
+ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
51
+ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
52
+ github.com/prometheus/client_model v0.2.0 // indirect
53
+ github.com/prometheus/common v0.32.1 // indirect
54
+ github.com/prometheus/procfs v0.7.3 // indirect
55
+ github.com/stretchr/objx v0.5.2 // indirect
56
+ github.com/x448/float16 v0.8.4 // indirect
57
+ go.yaml.in/yaml/v2 v2.4.3 // indirect
58
+ go.yaml.in/yaml/v3 v3.0.4 // indirect
59
+ golang.org/x/crypto v0.51.0 // indirect
60
+ golang.org/x/net v0.55.0 // indirect
61
+ golang.org/x/oauth2 v0.34.0 // indirect
62
+ golang.org/x/sys v0.45.0 // indirect
63
+ golang.org/x/term v0.43.0 // indirect
64
+ golang.org/x/text v0.37.0 // indirect
65
+ google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af // indirect
66
+ gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect
67
+ gopkg.in/inf.v0 v0.9.1 // indirect
68
+ gopkg.in/yaml.v3 v3.0.1 // indirect
69
+ k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a // indirect
70
+ k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2 // indirect
71
+ sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
72
+ sigs.k8s.io/randfill v1.0.0 // indirect
73
+ sigs.k8s.io/structured-merge-diff/v6 v6.3.2 // indirect
74
+ )
75
+ PROGRAMGYM_GO_MOD_EOF
76
+ cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
77
+ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
78
+ cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
79
+ cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU=
80
+ cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU=
81
+ cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY=
82
+ cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc=
83
+ cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0=
84
+ cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To=
85
+ cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4=
86
+ cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M=
87
+ cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc=
88
+ cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk=
89
+ cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs=
90
+ cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc=
91
+ cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY=
92
+ cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o=
93
+ cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE=
94
+ cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc=
95
+ cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg=
96
+ cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc=
97
+ cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ=
98
+ cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE=
99
+ cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk=
100
+ cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I=
101
+ cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw=
102
+ cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA=
103
+ cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU=
104
+ cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw=
105
+ cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos=
106
+ cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk=
107
+ cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs=
108
+ cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
109
+ dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
110
+ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
111
+ github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
112
+ github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
113
+ github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
114
+ github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
115
+ github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
116
+ github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho=
117
+ github.com/aws/aws-sdk-go-v2 v1.39.2 h1:EJLg8IdbzgeD7xgvZ+I8M1e0fL0ptn/M47lianzth0I=
118
+ github.com/aws/aws-sdk-go-v2 v1.39.2/go.mod h1:sDioUELIUO9Znk23YVmIk86/9DOpkbyyVb1i/gUNFXY=
119
+ github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.30 h1:x793wxmUWVDhshP8WW2mlnXuFrO4cOd3HLBroh1paFw=
120
+ github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.30/go.mod h1:Jpne2tDnYiFascUEs2AWHJL9Yp7A5ZVy3TNyxaAjD6M=
121
+ github.com/aws/smithy-go v1.23.0 h1:8n6I3gXzWJB2DxBDnfxgBaSX6oe0d/t10qGz7OKqMCE=
122
+ github.com/aws/smithy-go v1.23.0/go.mod h1:t1ufH5HMublsJYulve2RKmHDC15xu1f26kHCp/HgceI=
123
+ github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
124
+ github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
125
+ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
126
+ github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
127
+ github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
128
+ github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
129
+ github.com/cespare/xxhash/v2 v2.1.2 h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE=
130
+ github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
131
+ github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
132
+ github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
133
+ github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
134
+ github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
135
+ github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
136
+ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
137
+ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
138
+ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
139
+ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
140
+ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
141
+ github.com/emicklei/go-restful/v3 v3.13.0 h1:C4Bl2xDndpU6nJ4bc1jXd+uTmYPVUwkD6bFY/oTyCes=
142
+ github.com/emicklei/go-restful/v3 v3.13.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc=
143
+ github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
144
+ github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
145
+ github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
146
+ github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
147
+ github.com/evanphx/json-patch v4.12.0+incompatible h1:4onqiflcdA9EOZ4RxV643DvftH5pOlLGNtQ5lPWQu84=
148
+ github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww=
149
+ github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4=
150
+ github.com/fsnotify/fsnotify v1.5.4 h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI=
151
+ github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU=
152
+ github.com/fxamacker/cbor/v2 v2.9.0 h1:NpKPmjDBgUfBms6tr6JZkTHtfFGcMKsw3eGcmD/sapM=
153
+ github.com/fxamacker/cbor/v2 v2.9.0/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ=
154
+ github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
155
+ github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
156
+ github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
157
+ github.com/go-jose/go-jose/v4 v4.0.1 h1:QVEPDE3OluqXBQZDcnNvQrInro2h0e4eqNbnZSWqS6U=
158
+ github.com/go-jose/go-jose/v4 v4.0.1/go.mod h1:WVf9LFMHh/QVrmqrOfqun0C45tMe3RoiKJMPvgWwLfY=
159
+ github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
160
+ github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
161
+ github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY=
162
+ github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE=
163
+ github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk=
164
+ github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A=
165
+ github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI=
166
+ github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
167
+ github.com/go-logr/zapr v1.2.3 h1:a9vnzlIBPQBBkeaR9IuMUfmVOrQlkoC4YfPoFkX3T7A=
168
+ github.com/go-logr/zapr v1.2.3/go.mod h1:eIauM6P8qSvTw5o2ez6UEAfGjQKrxQTl5EoK+Qa2oG4=
169
+ github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs=
170
+ github.com/go-openapi/jsonpointer v0.21.0 h1:YgdVicSA9vH5RiHs9TZW5oyafXZFc6+2Vc1rr/O9oNQ=
171
+ github.com/go-openapi/jsonpointer v0.21.0/go.mod h1:IUyH9l/+uyhIYQ/PXVA41Rexl+kOkAPDdXEYns6fzUY=
172
+ github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2KvnJRumpMGbE=
173
+ github.com/go-openapi/jsonreference v0.20.2/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k=
174
+ github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14=
175
+ github.com/go-openapi/swag v0.23.0 h1:vsEVJDUo2hPJ2tu0/Xc+4noaxyEffXNIs3cOULZ+GrE=
176
+ github.com/go-openapi/swag v0.23.0/go.mod h1:esZ8ITTYEsH1V2trKHjAN8Ai7xHb8RV+YSZ577vPjgQ=
177
+ github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
178
+ github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
179
+ github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
180
+ github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
181
+ github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
182
+ github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
183
+ github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
184
+ github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
185
+ github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
186
+ github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
187
+ github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y=
188
+ github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
189
+ github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
190
+ github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
191
+ github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4=
192
+ github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
193
+ github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
194
+ github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
195
+ github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
196
+ github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
197
+ github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk=
198
+ github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8=
199
+ github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA=
200
+ github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs=
201
+ github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w=
202
+ github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
203
+ github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
204
+ github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
205
+ github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
206
+ github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
207
+ github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
208
+ github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
209
+ github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
210
+ github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
211
+ github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
212
+ github.com/google/gnostic-models v0.7.0 h1:qwTtogB15McXDaNqTZdzPJRHvaVJlAl+HVQnLmJEJxo=
213
+ github.com/google/gnostic-models v0.7.0/go.mod h1:whL5G0m6dmc5cPxKc5bdKdEN3UjI7OUGxBlw57miDrQ=
214
+ github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
215
+ github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
216
+ github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
217
+ github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
218
+ github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
219
+ github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
220
+ github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
221
+ github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
222
+ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
223
+ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
224
+ github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
225
+ github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
226
+ github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
227
+ github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
228
+ github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
229
+ github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
230
+ github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
231
+ github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
232
+ github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
233
+ github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
234
+ github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
235
+ github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
236
+ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
237
+ github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
238
+ github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
239
+ github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
240
+ github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
241
+ github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
242
+ github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
243
+ github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY=
244
+ github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y=
245
+ github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4=
246
+ github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
247
+ github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
248
+ github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
249
+ github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
250
+ github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
251
+ github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
252
+ github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk=
253
+ github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
254
+ github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM=
255
+ github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
256
+ github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
257
+ github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
258
+ github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
259
+ github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
260
+ github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
261
+ github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
262
+ github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
263
+ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
264
+ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
265
+ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
266
+ github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
267
+ github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
268
+ github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
269
+ github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
270
+ github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 h1:I0XW9+e1XWDxdcEniV4rQAIOPUGDq67JSCiRCgGCZLI=
271
+ github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4=
272
+ github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
273
+ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
274
+ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
275
+ github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
276
+ github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
277
+ github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
278
+ github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee h1:W5t00kpgFdJifH4BDsTlE89Zl93FEloxaWZfGcifgq8=
279
+ github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
280
+ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
281
+ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
282
+ github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
283
+ github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
284
+ github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE=
285
+ github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU=
286
+ github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE=
287
+ github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU=
288
+ github.com/onsi/gomega v1.19.0 h1:4ieX6qQjPP/BfC3mpsAtIGGlxTWPeA3Inl/7DtXw1tw=
289
+ github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro=
290
+ github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
291
+ github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
292
+ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
293
+ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
294
+ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
295
+ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
296
+ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
297
+ github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
298
+ github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo=
299
+ github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M=
300
+ github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0=
301
+ github.com/prometheus/client_golang v1.12.2 h1:51L9cDoUHVrXx4zWYlcLQIZ+d+VXHgqnYKkIuq4g/34=
302
+ github.com/prometheus/client_golang v1.12.2/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY=
303
+ github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
304
+ github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
305
+ github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
306
+ github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M=
307
+ github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
308
+ github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
309
+ github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo=
310
+ github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc=
311
+ github.com/prometheus/common v0.32.1 h1:hWIdL3N2HoUx3B8j3YN9mWor0qhY/NlEKZEaXxuIRh4=
312
+ github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls=
313
+ github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
314
+ github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA=
315
+ github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
316
+ github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
317
+ github.com/prometheus/procfs v0.7.3 h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU=
318
+ github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
319
+ github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
320
+ github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
321
+ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
322
+ github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
323
+ github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
324
+ github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88=
325
+ github.com/spf13/pflag v1.0.9 h1:9exaQaMOCwffKiiiYk6/BndUBv+iRViNW+4lEMi0PvY=
326
+ github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
327
+ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
328
+ github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
329
+ github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
330
+ github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
331
+ github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
332
+ github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
333
+ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
334
+ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
335
+ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
336
+ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
337
+ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
338
+ github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
339
+ github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
340
+ github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
341
+ github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
342
+ github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
343
+ github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
344
+ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
345
+ github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
346
+ go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
347
+ go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
348
+ go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
349
+ go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
350
+ go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
351
+ go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw=
352
+ go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
353
+ go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
354
+ go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
355
+ go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4=
356
+ go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU=
357
+ go.uber.org/zap v1.21.0 h1:WefMeulhovoZ2sYXz7st6K0sLj7bBhpiFaud4r4zST8=
358
+ go.uber.org/zap v1.21.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw=
359
+ go.yaml.in/yaml/v2 v2.4.3 h1:6gvOSjQoTB3vt1l+CU+tSyi/HOjfOjRLJ4YwYZGwRO0=
360
+ go.yaml.in/yaml/v2 v2.4.3/go.mod h1:zSxWcmIDjOzPXpjlTTbAsKokqkDNAVtZO0WOMiT90s8=
361
+ go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
362
+ go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
363
+ golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
364
+ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
365
+ golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
366
+ golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
367
+ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
368
+ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
369
+ golang.org/x/crypto v0.51.0 h1:IBPXwPfKxY7cWQZ38ZCIRPI50YLeevDLlLnyC5wRGTI=
370
+ golang.org/x/crypto v0.51.0/go.mod h1:8AdwkbraGNABw2kOX6YFPs3WM22XqI4EXEd8g+x7Oc8=
371
+ golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
372
+ golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
373
+ golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
374
+ golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek=
375
+ golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY=
376
+ golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
377
+ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
378
+ golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
379
+ golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM=
380
+ golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU=
381
+ golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
382
+ golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
383
+ golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
384
+ golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
385
+ golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
386
+ golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
387
+ golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
388
+ golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
389
+ golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
390
+ golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs=
391
+ golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
392
+ golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
393
+ golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE=
394
+ golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o=
395
+ golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc=
396
+ golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY=
397
+ golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
398
+ golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
399
+ golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
400
+ golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
401
+ golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
402
+ golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
403
+ golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
404
+ golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
405
+ golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
406
+ golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
407
+ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
408
+ golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
409
+ golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
410
+ golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
411
+ golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
412
+ golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
413
+ golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
414
+ golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
415
+ golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
416
+ golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
417
+ golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
418
+ golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
419
+ golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
420
+ golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
421
+ golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
422
+ golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
423
+ golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
424
+ golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
425
+ golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
426
+ golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
427
+ golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
428
+ golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
429
+ golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
430
+ golang.org/x/net v0.55.0 h1:bcvxaJn3e1U6InsFWt1JUq1aSjnRxLzT2rtD2KfkDF8=
431
+ golang.org/x/net v0.55.0/go.mod h1:L5U2KuzuOe1lY7Z+aWVIKK6qEeJXnXV9yzGA+WCHJww=
432
+ golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
433
+ golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
434
+ golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
435
+ golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
436
+ golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
437
+ golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
438
+ golang.org/x/oauth2 v0.34.0 h1:hqK/t4AKgbqWkdkcAeI8XLmbK+4m4G5YeQRrmiotGlw=
439
+ golang.org/x/oauth2 v0.34.0/go.mod h1:lzm5WQJQwKZ3nwavOZ3IS5Aulzxi68dUSgRHujetwEA=
440
+ golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
441
+ golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
442
+ golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
443
+ golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
444
+ golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
445
+ golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
446
+ golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
447
+ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
448
+ golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
449
+ golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
450
+ golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
451
+ golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
452
+ golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
453
+ golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
454
+ golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
455
+ golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
456
+ golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
457
+ golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
458
+ golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
459
+ golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
460
+ golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
461
+ golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
462
+ golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
463
+ golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
464
+ golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
465
+ golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
466
+ golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
467
+ golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
468
+ golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
469
+ golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
470
+ golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
471
+ golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
472
+ golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
473
+ golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
474
+ golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
475
+ golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
476
+ golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
477
+ golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
478
+ golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
479
+ golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
480
+ golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
481
+ golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
482
+ golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
483
+ golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
484
+ golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
485
+ golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
486
+ golang.org/x/sys v0.45.0 h1:dO4czNzziLiiXplLQgBCEpCvXQ3dnkn0SdaZSYdQ+FY=
487
+ golang.org/x/sys v0.45.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
488
+ golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
489
+ golang.org/x/term v0.43.0 h1:S4RLU2sB31O/NCl+zFN9Aru9A/Cq2aqKpTZJ6B+DwT4=
490
+ golang.org/x/term v0.43.0/go.mod h1:lrhlHNdQJHO+1qVYiHfFKVuVioJIheAc3fBSMFYEIsk=
491
+ golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
492
+ golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
493
+ golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
494
+ golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
495
+ golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
496
+ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
497
+ golang.org/x/text v0.37.0 h1:Cqjiwd9eSg8e0QAkyCaQTNHFIIzWtidPahFWR83rTrc=
498
+ golang.org/x/text v0.37.0/go.mod h1:a5sjxXGs9hsn/AJVwuElvCAo9v8QYLzvavO5z2PiM38=
499
+ golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
500
+ golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
501
+ golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
502
+ golang.org/x/time v0.14.0 h1:MRx4UaLrDotUKUdCIqzPC48t1Y9hANFKIRpNx+Te8PI=
503
+ golang.org/x/time v0.14.0/go.mod h1:eL/Oa2bBBK0TkX57Fyni+NgnyQQN4LitPmob2Hjnqw4=
504
+ golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
505
+ golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
506
+ golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
507
+ golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
508
+ golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
509
+ golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
510
+ golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
511
+ golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
512
+ golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
513
+ golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
514
+ golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
515
+ golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
516
+ golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
517
+ golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
518
+ golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
519
+ golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
520
+ golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
521
+ golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
522
+ golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
523
+ golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
524
+ golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
525
+ golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
526
+ golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
527
+ golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
528
+ golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
529
+ golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
530
+ golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
531
+ golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
532
+ golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
533
+ golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
534
+ golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw=
535
+ golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw=
536
+ golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8=
537
+ golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
538
+ golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
539
+ golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
540
+ golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
541
+ golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
542
+ golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
543
+ golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
544
+ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
545
+ golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
546
+ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
547
+ golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
548
+ gomodules.xyz/jsonpatch/v2 v2.2.0 h1:4pT439QV83L+G9FkcCriY6EkpcK6r6bK+A5FBUMI7qY=
549
+ gomodules.xyz/jsonpatch/v2 v2.2.0/go.mod h1:WXp+iVDkoLQqPudfQ9GBlwB2eZ5DKOnjQZCYdOS8GPY=
550
+ google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE=
551
+ google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M=
552
+ google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
553
+ google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
554
+ google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
555
+ google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
556
+ google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
557
+ google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
558
+ google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
559
+ google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
560
+ google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
561
+ google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
562
+ google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
563
+ google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
564
+ google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM=
565
+ google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc=
566
+ google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
567
+ google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
568
+ google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
569
+ google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0=
570
+ google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
571
+ google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
572
+ google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
573
+ google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
574
+ google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
575
+ google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
576
+ google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
577
+ google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
578
+ google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
579
+ google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8=
580
+ google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
581
+ google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
582
+ google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
583
+ google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
584
+ google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
585
+ google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
586
+ google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA=
587
+ google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
588
+ google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
589
+ google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
590
+ google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
591
+ google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
592
+ google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
593
+ google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
594
+ google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
595
+ google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U=
596
+ google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
597
+ google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA=
598
+ google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
599
+ google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
600
+ google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
601
+ google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
602
+ google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
603
+ google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
604
+ google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
605
+ google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
606
+ google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
607
+ google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
608
+ google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
609
+ google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60=
610
+ google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk=
611
+ google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
612
+ google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
613
+ google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
614
+ google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
615
+ google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
616
+ google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE=
617
+ google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo=
618
+ google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
619
+ google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
620
+ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
621
+ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4=
622
+ google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
623
+ google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
624
+ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
625
+ google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af h1:+5/Sw3GsDNlEmu7TfklWKPdQ0Ykja5VEmq2i817+jbI=
626
+ google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
627
+ gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
628
+ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
629
+ gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
630
+ gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
631
+ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
632
+ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
633
+ gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
634
+ gopkg.in/evanphx/json-patch.v4 v4.13.0 h1:czT3CmqEaQ1aanPc5SdlgQrrEIb8w/wwCvWWnfEbYzo=
635
+ gopkg.in/evanphx/json-patch.v4 v4.13.0/go.mod h1:p8EYWUEYMpynmqDbY58zCKCFZw8pRWMG4EsWvDvM72M=
636
+ gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
637
+ gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
638
+ gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ=
639
+ gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw=
640
+ gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
641
+ gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
642
+ gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
643
+ gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
644
+ gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
645
+ gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
646
+ gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
647
+ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
648
+ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
649
+ gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
650
+ honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
651
+ honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
652
+ honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
653
+ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
654
+ honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
655
+ honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
656
+ honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
657
+ k8s.io/api v0.36.0 h1:SgqDhZzHdOtMk40xVSvCXkP9ME0H05hPM3p9AB1kL80=
658
+ k8s.io/api v0.36.0/go.mod h1:m1LVrGPNYax5NBHdO+QuAedXyuzTt4RryI/qnmNvs34=
659
+ k8s.io/apiextensions-apiserver v0.25.0 h1:CJ9zlyXAbq0FIW8CD7HHyozCMBpDSiH7EdrSTCZcZFY=
660
+ k8s.io/apiextensions-apiserver v0.25.0/go.mod h1:3pAjZiN4zw7R8aZC5gR0y3/vCkGlAjCazcg1me8iB/E=
661
+ k8s.io/apimachinery v0.36.0 h1:jZyPzhd5Z+3h9vJLt0z9XdzW9VzNzWAUw+P1xZ9PXtQ=
662
+ k8s.io/apimachinery v0.36.0/go.mod h1:FklypaRJt6n5wUIwWXIP6GJlIpUizTgfo1T/As+Tyxc=
663
+ k8s.io/client-go v0.36.0 h1:pOYi7C4RHChYjMiHpZSpSbIM6ZxVbRXBy7CuiIwqA3c=
664
+ k8s.io/client-go v0.36.0/go.mod h1:ZKKcpwF0aLYfkHFCjillCKaTK/yBkEDHTDXCFY6AS9Y=
665
+ k8s.io/component-base v0.25.0 h1:haVKlLkPCFZhkcqB6WCvpVxftrg6+FK5x1ZuaIDaQ5Y=
666
+ k8s.io/component-base v0.25.0/go.mod h1:F2Sumv9CnbBlqrpdf7rKZTmmd2meJq0HizeyY/yAFxk=
667
+ k8s.io/klog/v2 v2.140.0 h1:Tf+J3AH7xnUzZyVVXhTgGhEKnFqye14aadWv7bzXdzc=
668
+ k8s.io/klog/v2 v2.140.0/go.mod h1:o+/RWfJ6PwpnFn7OyAG3QnO47BFsymfEfrz6XyYSSp0=
669
+ k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a h1:xCeOEAOoGYl2jnJoHkC3hkbPJgdATINPMAxaynU2Ovg=
670
+ k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a/go.mod h1:uGBT7iTA6c6MvqUvSXIaYZo9ukscABYi2btjhvgKGZ0=
671
+ k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2 h1:AZYQSJemyQB5eRxqcPky+/7EdBj0xi3g0ZcxxJ7vbWU=
672
+ k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2/go.mod h1:xDxuJ0whA3d0I4mf/C4ppKHxXynQ+fxnkmQH0vTHnuk=
673
+ rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
674
+ rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
675
+ rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
676
+ sigs.k8s.io/controller-runtime v0.13.0 h1:iqa5RNciy7ADWnIc8QxCbOX5FEKVR3uxVxKHRMc2WIQ=
677
+ sigs.k8s.io/controller-runtime v0.13.0/go.mod h1:Zbz+el8Yg31jubvAEyglRZGdLAjplZl+PgtYNI6WNTI=
678
+ sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 h1:IpInykpT6ceI+QxKBbEflcR5EXP7sU1kvOlxwZh5txg=
679
+ sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg=
680
+ sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU=
681
+ sigs.k8s.io/randfill v1.0.0/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY=
682
+ sigs.k8s.io/structured-merge-diff/v6 v6.3.2 h1:kwVWMx5yS1CrnFWA/2QHyRVJ8jM6dBA80uLmm0wJkk8=
683
+ sigs.k8s.io/structured-merge-diff/v6 v6.3.2/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE=
684
+ sigs.k8s.io/yaml v1.6.0 h1:G8fkbMSAFqgEFgh4b1wmtzDnioxFCUgTZhlbj5P9QYs=
685
+ sigs.k8s.io/yaml v1.6.0/go.mod h1:796bPqUfzR/0jLAl6XjHl3Ck7MiyVv8dbTdyT3/pMf4=
686
+ PROGRAMGYM_GO_SUM_EOF
687
+ PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY="${GOPROXY:-direct}"
688
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
689
+ case "$PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY" in
690
+ *"|"*|*","*)
691
+ PROGRAMGYM_INTERNAL_GO_FIRST_PROXY="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY%%[,|]*}"
692
+ PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY#*[,|]}"
693
+ if [[ "$PROGRAMGYM_INTERNAL_GO_FIRST_PROXY" =~ [^[:space:]] ]] && [[ "$PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER" =~ [^[:space:]] ]]; then
694
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY="${PROGRAMGYM_GO_PUBLIC_FALLBACK_PROXY:-${PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER}}"
695
+ fi
696
+ ;;
697
+ esac
698
+ if ! [[ "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" =~ [^[:space:]] ]]; then
699
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
700
+ fi
701
+ cat > /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py <<'PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF'
702
+ import os
703
+ import signal
704
+ import subprocess
705
+ import sys
706
+ import time
707
+
708
+ sentinel_path, timeout_text, grace_text, proxy, *command = sys.argv[1:]
709
+ if not command:
710
+ raise SystemExit(125)
711
+ environment = os.environ.copy()
712
+ environment["GOPROXY"] = proxy
713
+ process = subprocess.Popen(command, env=environment, start_new_session=True)
714
+ try:
715
+ returncode = process.wait(timeout=float(timeout_text))
716
+ except subprocess.TimeoutExpired:
717
+ with open(sentinel_path, "w", encoding="utf-8") as sentinel:
718
+ sentinel.write("expired\n")
719
+ try:
720
+ os.killpg(process.pid, signal.SIGTERM)
721
+ except ProcessLookupError:
722
+ pass
723
+ deadline = time.monotonic() + float(grace_text)
724
+ group_alive = True
725
+ while time.monotonic() < deadline:
726
+ process.poll()
727
+ try:
728
+ os.killpg(process.pid, 0)
729
+ except ProcessLookupError:
730
+ group_alive = False
731
+ break
732
+ time.sleep(0.05)
733
+ if group_alive:
734
+ try:
735
+ os.killpg(process.pid, signal.SIGKILL)
736
+ except ProcessLookupError:
737
+ pass
738
+ process.wait()
739
+ raise SystemExit(124)
740
+ if returncode < 0:
741
+ returncode = 128 - returncode
742
+ raise SystemExit(returncode)
743
+ PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF
744
+ PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS="${PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS:-90}"
745
+ if ! [[ "$PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS" =~ ^[1-9][0-9]*$ ]]; then
746
+ printf '%s\n' "download.sh: invalid PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS=${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}" >&2
747
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
748
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
749
+ return 1
750
+ else
751
+ exit 1
752
+ fi
753
+ fi
754
+ if ! command -v python3 >/dev/null 2>&1; then
755
+ printf '%s\n' 'download.sh: python3 is required for bounded Nexus Go downloads' >&2
756
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
757
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
758
+ return 1
759
+ else
760
+ exit 1
761
+ fi
762
+ fi
763
+ _programgym_go_with_nexus_timeout() {
764
+ local programgym_go_rc
765
+ local programgym_go_timeout_sentinel
766
+ if ! programgym_go_timeout_sentinel="$(mktemp "${TMPDIR:-/tmp}/programgym-go-timeout.XXXXXX")"; then
767
+ return 1
768
+ fi
769
+ if python3 /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py "$programgym_go_timeout_sentinel" "$PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS" "5" "$PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY" "$@"; then
770
+ programgym_go_rc=0
771
+ else
772
+ programgym_go_rc=$?
773
+ fi
774
+ programgym_go_timed_out=0
775
+ if [ -s "$programgym_go_timeout_sentinel" ]; then
776
+ programgym_go_timed_out=1
777
+ fi
778
+ rm -f "$programgym_go_timeout_sentinel"
779
+ if [ "$programgym_go_rc" -eq 0 ]; then
780
+ return 0
781
+ fi
782
+ if [ -z "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" ]; then
783
+ printf '%s\n' "download.sh: primary Go request failed with rc=${programgym_go_rc}; GOPROXY has no explicit non-empty fallback remainder" >&2
784
+ return "$programgym_go_rc"
785
+ fi
786
+ if [ "$programgym_go_timed_out" -eq 1 ]; then
787
+ printf '%s\n' "download.sh: primary Go request exceeded ${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}s; retrying with GOPROXY=${PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY}" >&2
788
+ else
789
+ printf '%s\n' "download.sh: primary Go request failed with rc=${programgym_go_rc}; retrying with GOPROXY=${PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY}" >&2
790
+ fi
791
+ env GOPROXY="$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" "$@"
792
+ }
793
+ PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
794
+ if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && _programgym_go_with_nexus_timeout env GOTOOLCHAIN=auto go env GOROOT)"; then
795
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
796
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
797
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
798
+ return 1
799
+ else
800
+ exit 1
801
+ fi
802
+ fi
803
+ if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
804
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
805
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
806
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
807
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
808
+ else
809
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
810
+ fi
811
+ export PATH="$GOROOT/bin:$PATH"
812
+ export GOTOOLCHAIN=local
813
+ if ! (cd /workspace/.programgym_build_env/go-prefetch && _programgym_go_with_nexus_timeout go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
814
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
815
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
816
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
817
+ return 1
818
+ else
819
+ exit 1
820
+ fi
821
+ fi
822
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
823
+ unset -f _programgym_go_with_nexus_timeout
824
+ unset PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY
825
+ unset PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY
826
+ unset PROGRAMGYM_INTERNAL_GO_FIRST_PROXY
827
+ unset PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER
828
+ unset PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS
aws--amazon-eks-pod-identity-webhook.7bb1792/environment/executable ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:989e6a2fae4aab40138301eeceb26826dbd0be4b6a45b4d3839196f5bed8fcc7
3
+ size 42287690
aws--amazon-eks-pod-identity-webhook.7bb1792/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
aws--amazon-eks-pod-identity-webhook.7bb1792/environment/harbor_configure_java_mirrors.sh ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ maven_url="${1%/}"
5
+ plugin_url="${2%/}"
6
+ jitpack_url="${3%/}"
7
+
8
+ install -d /workspace/.m2 /workspace/.gradle/init.d /opt/programgym/gradle-init
9
+ if [[ -n "$maven_url" ]]; then
10
+ cat >/workspace/.m2/settings.xml <<EOF
11
+ <?xml version="1.0" encoding="UTF-8"?>
12
+ <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
13
+ <mirrors>
14
+ <mirror>
15
+ <id>programgym-maven</id>
16
+ <name>ProgramGym Maven mirror</name>
17
+ <url>${maven_url}</url>
18
+ <mirrorOf>*</mirrorOf>
19
+ </mirror>
20
+ </mirrors>
21
+ </settings>
22
+ EOF
23
+ fi
24
+
25
+ cat >/opt/programgym/gradle-init/programgym-mirrors.gradle <<'EOF'
26
+ def pbMaven = System.getenv('PROGRAMGYM_MAVEN_MIRROR_URL')
27
+ def pbPlugins = System.getenv('PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL')
28
+ def pbJitpack = System.getenv('PROGRAMGYM_JITPACK_REPOSITORY_URL')
29
+
30
+ settingsEvaluated { settings ->
31
+ settings.pluginManagement.repositories {
32
+ if (pbPlugins) { maven { url = uri(pbPlugins) } }
33
+ if (pbMaven) { maven { url = uri(pbMaven) } }
34
+ }
35
+ }
36
+
37
+ allprojects {
38
+ buildscript.repositories {
39
+ if (pbPlugins) { maven { url = uri(pbPlugins) } }
40
+ if (pbMaven) { maven { url = uri(pbMaven) } }
41
+ if (pbJitpack) { maven { url = uri(pbJitpack) } }
42
+ }
43
+ repositories {
44
+ if (pbMaven) { maven { url = uri(pbMaven) } }
45
+ if (pbJitpack) { maven { url = uri(pbJitpack) } }
46
+ }
47
+ }
48
+ EOF
49
+ cp /opt/programgym/gradle-init/programgym-mirrors.gradle \
50
+ /workspace/.gradle/init.d/programgym-mirrors.gradle
aws--amazon-eks-pod-identity-webhook.7bb1792/environment/harbor_prepare_download_env.sh ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ cd /workspace
4
+ set -a
5
+ if [[ -n "${PROGRAMGYM_MAVEN_MIRROR_URL:-}" ]]; then
6
+ sed -i -e "s|https://repo.maven.apache.org/maven2|${PROGRAMGYM_MAVEN_MIRROR_URL%/}|g" -e "s|https://repo1.maven.org/maven2|${PROGRAMGYM_MAVEN_MIRROR_URL%/}|g" /workspace/download.sh
7
+ fi
8
+ if [[ -n "${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-}" ]]; then
9
+ sed -i -e "s|https://services.gradle.org/distributions|${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL%/}|g" -e "s|https://downloads.gradle.org/distributions|${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL%/}|g" /workspace/download.sh
10
+ fi
11
+ if [[ -n "${PROGRAMGYM_JITPACK_REPOSITORY_URL:-}" ]]; then
12
+ sed -i -e "s|https://jitpack.io|${PROGRAMGYM_JITPACK_REPOSITORY_URL%/}|g" /workspace/download.sh
13
+ fi
14
+ source /workspace/download.sh
15
+ set +a
16
+ python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
17
+ import os
18
+ import shlex
19
+
20
+ ignored = {
21
+ "ALL_PROXY",
22
+ "HTTP_PROXY",
23
+ "HTTPS_PROXY",
24
+ "NO_PROXY",
25
+ "OLDPWD",
26
+ "PIP_PROXY",
27
+ "PWD",
28
+ "SHLVL",
29
+ "_",
30
+ "all_proxy",
31
+ "http_proxy",
32
+ "https_proxy",
33
+ "no_proxy",
34
+ "pip_proxy",
35
+ }
36
+ for key in sorted(os.environ):
37
+ if key in ignored or key.startswith("BASH_FUNC_"):
38
+ continue
39
+ value = os.environ[key]
40
+ if "\n" in value:
41
+ continue
42
+ print(f"export {key}={shlex.quote(value)}")
43
+ PY
44
+ chmod 0644 /etc/profile.d/programgym_download_env.sh
aws--amazon-eks-pod-identity-webhook.7bb1792/environment/programgym-go.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
3
+ size 59908810
aws--amazon-eks-pod-identity-webhook.7bb1792/environment/workspace.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3e64c5db007e2b0191042009b79a89f49df64c63f47d1178fe55e72b0ea709e
3
+ size 14526
aws--amazon-eks-pod-identity-webhook.7bb1792/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
aws--amazon-eks-pod-identity-webhook.7bb1792/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