diff --git a/.gitattributes b/.gitattributes
index 662edd9984a564c5251312b5bb482aa49a3d91e0..724cd4bb3beab5c6b1733d51ead178fe6213e3dc 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1482,3 +1482,86 @@ lbcb-sci--racon.a2cfcac/environment/executable filter=lfs diff=lfs merge=lfs -te
lbcb-sci--racon.a2cfcac/tests/executable filter=lfs diff=lfs merge=lfs -text
lbcb-sci--raven.2c3d337/environment/executable filter=lfs diff=lfs merge=lfs -text
lbcb-sci--raven.2c3d337/tests/executable filter=lfs diff=lfs merge=lfs -text
+leaanthony--clir.a8d9462/environment/executable filter=lfs diff=lfs merge=lfs -text
+leaanthony--clir.a8d9462/tests/executable filter=lfs diff=lfs merge=lfs -text
+learning-rust--learning-rust.git/environment/executable filter=lfs diff=lfs merge=lfs -text
+learning-rust--learning-rust.git/tests/executable filter=lfs diff=lfs merge=lfs -text
+leereilly--gh-yule-log.0d88837/environment/executable filter=lfs diff=lfs merge=lfs -text
+leereilly--gh-yule-log.0d88837/tests/executable filter=lfs diff=lfs merge=lfs -text
+leetonidas--demovfuscator.0278f2/environment/executable filter=lfs diff=lfs merge=lfs -text
+leetonidas--demovfuscator.0278f2/tests/executable filter=lfs diff=lfs merge=lfs -text
+lelouchfr--skill-icons.5401d69/environment/executable filter=lfs diff=lfs merge=lfs -text
+lelouchfr--skill-icons.5401d69/tests/executable filter=lfs diff=lfs merge=lfs -text
+lemonade-command--lemonade.fb41f/environment/executable filter=lfs diff=lfs merge=lfs -text
+lemonade-command--lemonade.fb41f/tests/executable filter=lfs diff=lfs merge=lfs -text
+lgug2z--unsubscan.e64ee6d/environment/executable filter=lfs diff=lfs merge=lfs -text
+lgug2z--unsubscan.e64ee6d/tests/executable filter=lfs diff=lfs merge=lfs -text
+liamg--gitjacker.437d37a/environment/executable filter=lfs diff=lfs merge=lfs -text
+liamg--gitjacker.437d37a/tests/executable filter=lfs diff=lfs merge=lfs -text
+liamg--memit.c06b266/environment/executable filter=lfs diff=lfs merge=lfs -text
+liamg--memit.c06b266/tests/executable filter=lfs diff=lfs merge=lfs -text
+liamg--siphon.6a6e402/environment/executable filter=lfs diff=lfs merge=lfs -text
+liamg--siphon.6a6e402/tests/executable filter=lfs diff=lfs merge=lfs -text
+liamg--tml.d3bb484/environment/executable filter=lfs diff=lfs merge=lfs -text
+liamg--tml.d3bb484/tests/executable filter=lfs diff=lfs merge=lfs -text
+libgeos--geos.2c89410/environment/executable filter=lfs diff=lfs merge=lfs -text
+libgeos--geos.2c89410/tests/executable filter=lfs diff=lfs merge=lfs -text
+libigl--libigl.cab0371/environment/executable filter=lfs diff=lfs merge=lfs -text
+libigl--libigl.cab0371/tests/executable filter=lfs diff=lfs merge=lfs -text
+life4--textdistance.rs.0f92088/environment/executable filter=lfs diff=lfs merge=lfs -text
+life4--textdistance.rs.0f92088/tests/executable filter=lfs diff=lfs merge=lfs -text
+lighttpd--weighttp.7eb9b9c/environment/executable filter=lfs diff=lfs merge=lfs -text
+lighttpd--weighttp.7eb9b9c/tests/executable filter=lfs diff=lfs merge=lfs -text
+likexian--whois.804f380/environment/executable filter=lfs diff=lfs merge=lfs -text
+likexian--whois.804f380/tests/executable filter=lfs diff=lfs merge=lfs -text
+lima-vm--sshocker.4c8c2e6/environment/executable filter=lfs diff=lfs merge=lfs -text
+lima-vm--sshocker.4c8c2e6/tests/executable filter=lfs diff=lfs merge=lfs -text
+lintingzhen--commitizen-go.6d605/environment/executable filter=lfs diff=lfs merge=lfs -text
+lintingzhen--commitizen-go.6d605/tests/executable filter=lfs diff=lfs merge=lfs -text
+linuxdeploy--linuxdeploy.a9f929f/environment/executable filter=lfs diff=lfs merge=lfs -text
+linuxdeploy--linuxdeploy.a9f929f/tests/executable filter=lfs diff=lfs merge=lfs -text
+lionsoul2014--friso.b1808a4/environment/executable filter=lfs diff=lfs merge=lfs -text
+lionsoul2014--friso.b1808a4/tests/executable filter=lfs diff=lfs merge=lfs -text
+llnl--blt.b941704/environment/executable filter=lfs diff=lfs merge=lfs -text
+llnl--blt.b941704/tests/executable filter=lfs diff=lfs merge=lfs -text
+llnl--conduit.6471d81/environment/executable filter=lfs diff=lfs merge=lfs -text
+llnl--conduit.6471d81/tests/executable filter=lfs diff=lfs merge=lfs -text
+llnl--smith.292e743/environment/executable filter=lfs diff=lfs merge=lfs -text
+llnl--smith.292e743/tests/executable filter=lfs diff=lfs merge=lfs -text
+localai-org--privacy-filter.cpp/environment/executable filter=lfs diff=lfs merge=lfs -text
+localai-org--privacy-filter.cpp/tests/executable filter=lfs diff=lfs merge=lfs -text
+loderunner--scrt.ca97cd4/environment/executable filter=lfs diff=lfs merge=lfs -text
+loderunner--scrt.ca97cd4/tests/executable filter=lfs diff=lfs merge=lfs -text
+loeffel-io--ls-lint.49b4e7b/environment/executable filter=lfs diff=lfs merge=lfs -text
+loeffel-io--ls-lint.49b4e7b/tests/executable filter=lfs diff=lfs merge=lfs -text
+lohedges--aabbcc.0dad691/environment/executable filter=lfs diff=lfs merge=lfs -text
+lohedges--aabbcc.0dad691/tests/executable filter=lfs diff=lfs merge=lfs -text
+loong--go-concurrency-exercises/environment/executable filter=lfs diff=lfs merge=lfs -text
+loong--go-concurrency-exercises/tests/executable filter=lfs diff=lfs merge=lfs -text
+loov--hrtime.377d394/environment/executable filter=lfs diff=lfs merge=lfs -text
+loov--hrtime.377d394/tests/executable filter=lfs diff=lfs merge=lfs -text
+loov--view-annotated-file.0afc29/environment/executable filter=lfs diff=lfs merge=lfs -text
+loov--view-annotated-file.0afc29/tests/executable filter=lfs diff=lfs merge=lfs -text
+lotabout--rargs.cdeedcc/environment/executable filter=lfs diff=lfs merge=lfs -text
+lotabout--rargs.cdeedcc/tests/executable filter=lfs diff=lfs merge=lfs -text
+lpxxn--rust-design-pattern.d020c/environment/executable filter=lfs diff=lfs merge=lfs -text
+lpxxn--rust-design-pattern.d020c/tests/executable filter=lfs diff=lfs merge=lfs -text
+lu-zero--bmdtools.31205f8/environment/executable filter=lfs diff=lfs merge=lfs -text
+lu-zero--bmdtools.31205f8/tests/executable filter=lfs diff=lfs merge=lfs -text
+lucagrulla--cw.25e8679/environment/executable filter=lfs diff=lfs merge=lfs -text
+lucagrulla--cw.25e8679/tests/executable filter=lfs diff=lfs merge=lfs -text
+lucasb-eyer--libheatmap.0e22cbd/environment/executable filter=lfs diff=lfs merge=lfs -text
+lucasb-eyer--libheatmap.0e22cbd/tests/executable filter=lfs diff=lfs merge=lfs -text
+ludocode--msgpack-tools.dca6aae/environment/executable filter=lfs diff=lfs merge=lfs -text
+ludocode--msgpack-tools.dca6aae/tests/executable filter=lfs diff=lfs merge=lfs -text
+lukasjarosch--go-docx.fe742ed/environment/executable filter=lfs diff=lfs merge=lfs -text
+lukasjarosch--go-docx.fe742ed/tests/executable filter=lfs diff=lfs merge=lfs -text
+lumia431--reaction.721f7f3/environment/executable filter=lfs diff=lfs merge=lfs -text
+lumia431--reaction.721f7f3/tests/executable filter=lfs diff=lfs merge=lfs -text
+lunarvim--colorgen-nvim.03653ce/environment/executable filter=lfs diff=lfs merge=lfs -text
+lunarvim--colorgen-nvim.03653ce/tests/executable filter=lfs diff=lfs merge=lfs -text
+lwhyz--workspace.93d4038/environment/executable filter=lfs diff=lfs merge=lfs -text
+lwhyz--workspace.93d4038/tests/executable filter=lfs diff=lfs merge=lfs -text
+lyraproj--lyra.dfef42a/environment/executable filter=lfs diff=lfs merge=lfs -text
+lyraproj--lyra.dfef42a/tests/executable filter=lfs diff=lfs merge=lfs -text
+lzanini--mdbook-katex.1f63ab8/environment/executable filter=lfs diff=lfs merge=lfs -text
diff --git a/leaanthony--clir.a8d9462/environment/executable b/leaanthony--clir.a8d9462/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..ea7f0b01aee9c03dfd71f6f5e34c36bc92b8339b
--- /dev/null
+++ b/leaanthony--clir.a8d9462/environment/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d19083850cafaba17fd5b6a229d7b0365067f60c865f1c30f4d365e9f2045368
+size 2510389
diff --git a/leaanthony--clir.a8d9462/environment/programgym-go.tar.gz b/leaanthony--clir.a8d9462/environment/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/leaanthony--clir.a8d9462/environment/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/leaanthony--clir.a8d9462/environment/workspace.tar.gz b/leaanthony--clir.a8d9462/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..94787a33f4b1b06eda0f4680b45b0aeacab8b0a5
--- /dev/null
+++ b/leaanthony--clir.a8d9462/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1a18a4dd4cee0ca0ef5b7be34b6aaa0450f335554b50a6d32de43ccc05edd92f
+size 19415
diff --git a/leaanthony--clir.a8d9462/instruction.md b/leaanthony--clir.a8d9462/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/leaanthony--clir.a8d9462/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/leaanthony--clir.a8d9462/solution/solve.sh b/leaanthony--clir.a8d9462/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/leaanthony--clir.a8d9462/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/leaanthony--clir.a8d9462/task.toml b/leaanthony--clir.a8d9462/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..7792a73d629714540ac716e79e3b053a39ac2dd0
--- /dev/null
+++ b/leaanthony--clir.a8d9462/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/leaanthony--clir.a8d9462"
+description = "Synthetic ProgramGym cleanroom reconstruction task for leaanthony/clir"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "go"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "leaanthony__clir.a8d9462"
+repository = "leaanthony/clir"
+commit = "a8d9462bce754819cbd5a5596f22d68b3f318fb6"
+language = "go"
+difficulty = "unknown"
+difficulty_score = 0.0
+test_branches = 4
+test_count = 633
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/leaanthony--clir.a8d9462/tests/Dockerfile b/leaanthony--clir.a8d9462/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..bd5f12bacd787ef39a90a560bc0dec968dcdb06e
--- /dev/null
+++ b/leaanthony--clir.a8d9462/tests/Dockerfile
@@ -0,0 +1,66 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+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"]
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN python3 -m pip install --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/leaanthony--clir.a8d9462/tests/blobs/tests/generated_module_01.tar.gz b/leaanthony--clir.a8d9462/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..7de01801f9ee19a94f3765b113f61a85b62bb49e
--- /dev/null
+++ b/leaanthony--clir.a8d9462/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fa72e595f96c7e2955583587c6e3a84ab6521f45a229c909356f5fca7309e793
+size 14660
diff --git a/leaanthony--clir.a8d9462/tests/blobs/tests/generated_module_02.tar.gz b/leaanthony--clir.a8d9462/tests/blobs/tests/generated_module_02.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..55c937cdb602620b458fb62272a4057d1dd6388b
--- /dev/null
+++ b/leaanthony--clir.a8d9462/tests/blobs/tests/generated_module_02.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6e2c0ed444b58e1cefdc396179e93915122dc29146cfc6ea0477a5092ea18c0b
+size 11173
diff --git a/leaanthony--clir.a8d9462/tests/blobs/tests/generated_module_03.tar.gz b/leaanthony--clir.a8d9462/tests/blobs/tests/generated_module_03.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..90c16235b6d5a25e3ce69566c6995c507938cb5e
--- /dev/null
+++ b/leaanthony--clir.a8d9462/tests/blobs/tests/generated_module_03.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0bcf71f8c9371452dd1a5187c6aa33f5ec672878994f8160b39c08bf1b39a3fd
+size 8125
diff --git a/leaanthony--clir.a8d9462/tests/blobs/tests/generated_module_04.tar.gz b/leaanthony--clir.a8d9462/tests/blobs/tests/generated_module_04.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..1084a7ff443c3d6783eceb0cde61d8a6a167e202
--- /dev/null
+++ b/leaanthony--clir.a8d9462/tests/blobs/tests/generated_module_04.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:44baccb2c9dcba0ea956a8c4bb0ef76dd8ac61bf1903a38b6aff5660cbc95bc6
+size 14969
diff --git a/leaanthony--clir.a8d9462/tests/download.sh b/leaanthony--clir.a8d9462/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..7c80232b6dfe238543a0181e3f7eb89ec28cada5
--- /dev/null
+++ b/leaanthony--clir.a8d9462/tests/download.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-DEFAULT-GO-DOWNLOAD: v1
+# No Go module dependencies to prefetch; the agent may replace this only for required OS/tool dependencies.
+:
diff --git a/leaanthony--clir.a8d9462/tests/executable b/leaanthony--clir.a8d9462/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..ea7f0b01aee9c03dfd71f6f5e34c36bc92b8339b
--- /dev/null
+++ b/leaanthony--clir.a8d9462/tests/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d19083850cafaba17fd5b6a229d7b0365067f60c865f1c30f4d365e9f2045368
+size 2510389
diff --git a/leaanthony--clir.a8d9462/tests/programgym-go.tar.gz b/leaanthony--clir.a8d9462/tests/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/leaanthony--clir.a8d9462/tests/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/leaanthony--clir.a8d9462/tests/programgym_evaluator.py b/leaanthony--clir.a8d9462/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/leaanthony--clir.a8d9462/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/leaanthony--clir.a8d9462/tests/programgym_task.json b/leaanthony--clir.a8d9462/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..c779608991c296cce1616f9a8f67d476a537c5a9
--- /dev/null
+++ b/leaanthony--clir.a8d9462/tests/programgym_task.json
@@ -0,0 +1,1016 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_action_flags.TestAgeFlag.test_age_double_dash",
+ "eval.tests.test_action_flags.TestAgeFlag.test_age_equals_form",
+ "eval.tests.test_action_flags.TestAgeFlag.test_age_large_positive",
+ "eval.tests.test_action_flags.TestAgeFlag.test_age_last_wins",
+ "eval.tests.test_action_flags.TestAgeFlag.test_age_negative_suppresses_line",
+ "eval.tests.test_action_flags.TestAgeFlag.test_age_nonpositive_suppresses_line[-1]",
+ "eval.tests.test_action_flags.TestAgeFlag.test_age_nonpositive_suppresses_line[-5]",
+ "eval.tests.test_action_flags.TestAgeFlag.test_age_nonpositive_suppresses_line[0]",
+ "eval.tests.test_action_flags.TestAgeFlag.test_age_positive_prints_line[100]",
+ "eval.tests.test_action_flags.TestAgeFlag.test_age_positive_prints_line[1]",
+ "eval.tests.test_action_flags.TestAgeFlag.test_age_positive_prints_line[30]",
+ "eval.tests.test_action_flags.TestAgeFlag.test_age_zero_suppresses_line",
+ "eval.tests.test_action_flags.TestAwesomeFlag.test_awesome_absent_is_false",
+ "eval.tests.test_action_flags.TestAwesomeFlag.test_awesome_double_dash",
+ "eval.tests.test_action_flags.TestAwesomeFlag.test_awesome_false_equals",
+ "eval.tests.test_action_flags.TestAwesomeFlag.test_awesome_set_prints_line",
+ "eval.tests.test_action_flags.TestAwesomeFlag.test_awesome_true_equals",
+ "eval.tests.test_action_flags.TestAwesomeFlag.test_awesome_value_token_does_not_consume_next",
+ "eval.tests.test_action_flags.TestCombinedActionOutput.test_age_only",
+ "eval.tests.test_action_flags.TestCombinedActionOutput.test_all_flags_together",
+ "eval.tests.test_action_flags.TestCombinedActionOutput.test_awesome_only",
+ "eval.tests.test_action_flags.TestCombinedActionOutput.test_awesome_true_and_age",
+ "eval.tests.test_action_flags.TestCombinedActionOutput.test_dash_equals_combined",
+ "eval.tests.test_action_flags.TestCombinedActionOutput.test_name_only_no_age_no_awesome",
+ "eval.tests.test_action_flags.TestCombinedActionOutput.test_no_arg_runs_action",
+ "eval.tests.test_action_flags.TestCombinedActionOutput.test_order_of_arguments_does_not_change_action",
+ "eval.tests.test_action_flags.TestNameFlag.test_name_case_sensitive",
+ "eval.tests.test_action_flags.TestNameFlag.test_name_default_is_anonymous",
+ "eval.tests.test_action_flags.TestNameFlag.test_name_double_dash",
+ "eval.tests.test_action_flags.TestNameFlag.test_name_double_dash_equals",
+ "eval.tests.test_action_flags.TestNameFlag.test_name_empty_string_treated_as_unset",
+ "eval.tests.test_action_flags.TestNameFlag.test_name_equals_form",
+ "eval.tests.test_action_flags.TestNameFlag.test_name_last_wins",
+ "eval.tests.test_action_flags.TestNameFlag.test_name_multiple_tokens",
+ "eval.tests.test_action_flags.TestNameFlag.test_name_single_dash_value",
+ "eval.tests.test_action_flags.TestNameFlag.test_name_unicode_value",
+ "eval.tests.test_action_flags.TestNameFlag.test_name_value_resembling_flag_token",
+ "eval.tests.test_distinct_edge_cases.TestBoolEqualsWhitespace.test_bool_equals_form_false_then_empty_positional_runs_action",
+ "eval.tests.test_distinct_edge_cases.TestBoolEqualsWhitespace.test_bool_equals_form_whitespace_value_silent[ TRUE\\t]",
+ "eval.tests.test_distinct_edge_cases.TestBoolEqualsWhitespace.test_bool_equals_form_whitespace_value_silent[ true ]",
+ "eval.tests.test_distinct_edge_cases.TestBoolEqualsWhitespace.test_bool_equals_form_whitespace_value_silent[ true]",
+ "eval.tests.test_distinct_edge_cases.TestBoolEqualsWhitespace.test_bool_equals_form_whitespace_value_silent[true ]",
+ "eval.tests.test_distinct_edge_cases.TestBoolEqualsWhitespace.test_bool_space_form_true_token_then_equals_false",
+ "eval.tests.test_distinct_edge_cases.TestBoolEqualsWhitespace.test_bool_space_form_whitespace_token_sets_flag",
+ "eval.tests.test_distinct_edge_cases.TestCaseSensitiveFlagNames.test_uppercase_flag_name_equals_form_silent[--NAME=Y]",
+ "eval.tests.test_distinct_edge_cases.TestCaseSensitiveFlagNames.test_uppercase_flag_name_equals_form_silent[--Name=Y]",
+ "eval.tests.test_distinct_edge_cases.TestCaseSensitiveFlagNames.test_uppercase_flag_name_equals_form_silent[-NAME=Y]",
+ "eval.tests.test_distinct_edge_cases.TestCaseSensitiveFlagNames.test_uppercase_flag_name_equals_form_silent[-Name=Y]",
+ "eval.tests.test_distinct_edge_cases.TestCaseSensitiveFlagNames.test_uppercase_flag_name_spacing_form_silent[--NAME]",
+ "eval.tests.test_distinct_edge_cases.TestCaseSensitiveFlagNames.test_uppercase_flag_name_spacing_form_silent[--Name]",
+ "eval.tests.test_distinct_edge_cases.TestCaseSensitiveFlagNames.test_uppercase_flag_name_spacing_form_silent[-NAME]",
+ "eval.tests.test_distinct_edge_cases.TestCaseSensitiveFlagNames.test_uppercase_lowercase_mixed_not_case_folded",
+ "eval.tests.test_distinct_edge_cases.TestCaseSensitiveFlagNames.test_uppercase_underscore_variant_silent",
+ "eval.tests.test_distinct_edge_cases.TestEmptyStringPositionalAndFlags.test_empty_positional_then_name_no_terminator",
+ "eval.tests.test_distinct_edge_cases.TestEmptyStringPositionalAndFlags.test_empty_positional_then_terminator_then_name_anonymous",
+ "eval.tests.test_distinct_edge_cases.TestEmptyStringPositionalAndFlags.test_terminator_then_empty_then_name_applies",
+ "eval.tests.test_distinct_edge_cases.TestHelpValueAcrossReparseAfterTerminator.test_empty_bool_value_then_help_silent",
+ "eval.tests.test_distinct_edge_cases.TestHelpValueAcrossReparseAfterTerminator.test_help_chain_split_by_terminator_false_wins",
+ "eval.tests.test_distinct_edge_cases.TestHelpValueAcrossReparseAfterTerminator.test_help_chain_split_by_terminator_true_wins",
+ "eval.tests.test_distinct_edge_cases.TestHelpValueAcrossReparseAfterTerminator.test_help_false_after_terminator_runs_action",
+ "eval.tests.test_distinct_edge_cases.TestHelpValueAcrossReparseAfterTerminator.test_help_true_after_terminator_with_false_positional",
+ "eval.tests.test_distinct_edge_cases.TestHelpWithPositionalSiblings.test_false_help_then_positional_then_true_help_prints_help",
+ "eval.tests.test_distinct_edge_cases.TestHelpWithPositionalSiblings.test_false_help_with_positional_siblings_runs_action[argv0]",
+ "eval.tests.test_distinct_edge_cases.TestHelpWithPositionalSiblings.test_false_help_with_positional_siblings_runs_action[argv1]",
+ "eval.tests.test_distinct_edge_cases.TestHelpWithPositionalSiblings.test_help_true_then_positional_then_false_help_action",
+ "eval.tests.test_distinct_edge_cases.TestHelpWithPositionalSiblings.test_help_wins_with_positionals_on_both_sides[argv0]",
+ "eval.tests.test_distinct_edge_cases.TestHelpWithPositionalSiblings.test_help_wins_with_positionals_on_both_sides[argv1]",
+ "eval.tests.test_distinct_edge_cases.TestHelpWithPositionalSiblings.test_help_wins_with_positionals_on_both_sides[argv2]",
+ "eval.tests.test_distinct_edge_cases.TestHelpWithPositionalSiblings.test_help_wins_with_positionals_on_both_sides[argv3]",
+ "eval.tests.test_distinct_edge_cases.TestIntFormsAcrossReparse.test_hex_int_before_terminator_then_name",
+ "eval.tests.test_distinct_edge_cases.TestIntFormsAcrossReparse.test_negative_hex_int_equals_suppresses_line",
+ "eval.tests.test_distinct_edge_cases.TestIntFormsAcrossReparse.test_octal_int_before_terminator_then_name",
+ "eval.tests.test_distinct_edge_cases.TestIntFormsAcrossReparse.test_plus_and_base_prefix_int_equals_form[+5-5]",
+ "eval.tests.test_distinct_edge_cases.TestIntFormsAcrossReparse.test_plus_and_base_prefix_int_equals_form[0b101-5]",
+ "eval.tests.test_distinct_edge_cases.TestIntFormsAcrossReparse.test_plus_and_base_prefix_int_equals_form[0o17-15]",
+ "eval.tests.test_distinct_edge_cases.TestIntFormsAcrossReparse.test_plus_zero_int_suppresses_line",
+ "eval.tests.test_distinct_edge_cases.TestNameDoubleDashValueAcrossReparse.test_dash_value_then_equals_override",
+ "eval.tests.test_distinct_edge_cases.TestNameDoubleDashValueAcrossReparse.test_double_dash_value_then_two_terminators_then_name",
+ "eval.tests.test_distinct_edge_cases.TestNameDoubleDashValueAcrossReparse.test_equals_value_is_double_dash",
+ "eval.tests.test_distinct_edge_cases.TestNameDoubleDashValueAcrossReparse.test_name_then_two_terminators_then_second_name",
+ "eval.tests.test_error_paths.TestBoolFlagInvalidValue.test_invalid_bool_value_silent[-awesome=1.5]",
+ "eval.tests.test_error_paths.TestBoolFlagInvalidValue.test_invalid_bool_value_silent[-awesome=foo]",
+ "eval.tests.test_error_paths.TestBoolFlagInvalidValue.test_invalid_bool_value_silent[-awesome=xyz]",
+ "eval.tests.test_error_paths.TestBoolFlagInvalidValue.test_valid_bool_truthy_forms[-awesome=1]",
+ "eval.tests.test_error_paths.TestBoolFlagInvalidValue.test_valid_bool_truthy_forms[-awesome=t]",
+ "eval.tests.test_error_paths.TestIntBase0Parsing.test_alternate_int_bases[010-8]",
+ "eval.tests.test_error_paths.TestIntBase0Parsing.test_alternate_int_bases[0x10-16]",
+ "eval.tests.test_error_paths.TestIntBase0Parsing.test_alternate_int_bases[0x1F-31]",
+ "eval.tests.test_error_paths.TestIntBase0Parsing.test_alternate_int_bases[24-24]",
+ "eval.tests.test_error_paths.TestMalformedInt.test_empty_string_age_value_silent",
+ "eval.tests.test_error_paths.TestMalformedInt.test_malformed_age_suppresses_otherwise_valid_flags",
+ "eval.tests.test_error_paths.TestMalformedInt.test_malformed_age_value_silent[+]",
+ "eval.tests.test_error_paths.TestMalformedInt.test_malformed_age_value_silent[--]",
+ "eval.tests.test_error_paths.TestMalformedInt.test_malformed_age_value_silent[0xZZ]",
+ "eval.tests.test_error_paths.TestMalformedInt.test_malformed_age_value_silent[12.5]",
+ "eval.tests.test_error_paths.TestMalformedInt.test_malformed_age_value_silent[1e3]",
+ "eval.tests.test_error_paths.TestMalformedInt.test_malformed_age_value_silent[22.0]",
+ "eval.tests.test_error_paths.TestMalformedInt.test_malformed_age_value_silent[3x]",
+ "eval.tests.test_error_paths.TestMalformedInt.test_malformed_age_value_silent[9999999999999999999999]",
+ "eval.tests.test_error_paths.TestMalformedInt.test_malformed_age_value_silent[abc]",
+ "eval.tests.test_error_paths.TestMalformedInt.test_malformed_age_via_equals_form_silent",
+ "eval.tests.test_error_paths.TestMissingFlagValue.test_missing_value_followed_by_flag_silent",
+ "eval.tests.test_error_paths.TestMissingFlagValue.test_missing_value_silent_no_action[--age]",
+ "eval.tests.test_error_paths.TestMissingFlagValue.test_missing_value_silent_no_action[--name]",
+ "eval.tests.test_error_paths.TestMissingFlagValue.test_missing_value_silent_no_action[-age]",
+ "eval.tests.test_error_paths.TestMissingFlagValue.test_missing_value_silent_no_action[-name]",
+ "eval.tests.test_error_paths.TestUnknownFlag.test_unknown_flag_plus_known_flag_suppresses_action",
+ "eval.tests.test_error_paths.TestUnknownFlag.test_unknown_flag_silent_no_action[--unknown]",
+ "eval.tests.test_error_paths.TestUnknownFlag.test_unknown_flag_silent_no_action[-n]",
+ "eval.tests.test_error_paths.TestUnknownFlag.test_unknown_flag_silent_no_action[-notdef]",
+ "eval.tests.test_error_paths.TestUnknownFlag.test_unknown_flag_silent_no_action[-unknown]",
+ "eval.tests.test_error_paths.TestUnknownFlag.test_unknown_flag_silent_no_action[-x]",
+ "eval.tests.test_error_paths.TestUnknownFlag.test_unknown_flag_silent_no_action[-z]",
+ "eval.tests.test_error_paths.TestUnknownFlag.test_unknown_short_flag_not_interpreted_as_help",
+ "eval.tests.test_flag_grammar_edges.TestEqualsInValue.test_name_equals_form_preserves_embedded_equals[=-Hello =!\\n]",
+ "eval.tests.test_flag_grammar_edges.TestEqualsInValue.test_name_equals_form_preserves_embedded_equals[=x-Hello =x!\\n]",
+ "eval.tests.test_flag_grammar_edges.TestEqualsInValue.test_name_equals_form_preserves_embedded_equals[a=b-Hello a=b!\\n]",
+ "eval.tests.test_flag_grammar_edges.TestEqualsInValue.test_name_equals_form_preserves_embedded_equals[a=b=c-Hello a=b=c!\\n]",
+ "eval.tests.test_flag_grammar_edges.TestEqualsInValue.test_space_form_value_starting_with_equals",
+ "eval.tests.test_flag_grammar_edges.TestLastWinsAcrossSpellings.test_age_last_occurrence_wins_across_spellings[argv0-3]",
+ "eval.tests.test_flag_grammar_edges.TestLastWinsAcrossSpellings.test_age_last_occurrence_wins_across_spellings[argv1-3]",
+ "eval.tests.test_flag_grammar_edges.TestLastWinsAcrossSpellings.test_age_last_occurrence_wins_across_spellings[argv2-11]",
+ "eval.tests.test_flag_grammar_edges.TestLastWinsAcrossSpellings.test_bool_last_occurrence_wins_across_spellings[argv0-Hello Anonymous!\\n]",
+ "eval.tests.test_flag_grammar_edges.TestLastWinsAcrossSpellings.test_bool_last_occurrence_wins_across_spellings[argv1-Hello Anonymous!\\n]",
+ "eval.tests.test_flag_grammar_edges.TestLastWinsAcrossSpellings.test_bool_last_occurrence_wins_across_spellings[argv2-Hello Anonymous!\\nYou are awesome!\\n]",
+ "eval.tests.test_flag_grammar_edges.TestLastWinsAcrossSpellings.test_name_last_occurrence_wins_across_spellings[argv0-Hello C!\\n]",
+ "eval.tests.test_flag_grammar_edges.TestLastWinsAcrossSpellings.test_name_last_occurrence_wins_across_spellings[argv1-Hello C!\\n]",
+ "eval.tests.test_flag_grammar_edges.TestLastWinsAcrossSpellings.test_name_last_occurrence_wins_across_spellings[argv2-Hello Y!\\n]",
+ "eval.tests.test_flag_grammar_edges.TestLastWinsAcrossSpellings.test_name_last_occurrence_wins_across_spellings[argv3-Hello W!\\n]",
+ "eval.tests.test_flag_grammar_edges.TestMixedParseWithTerminatorAndPositional.test_flags_before_terminator_then_flag_and_positional_after",
+ "eval.tests.test_flag_grammar_edges.TestMixedParseWithTerminatorAndPositional.test_positional_then_flag_then_terminator_then_bool",
+ "eval.tests.test_flag_parsing.TestActionStillRuns.test_action_exit_code_zero_with_flags_and_positional",
+ "eval.tests.test_flag_parsing.TestActionStillRuns.test_action_runs_with_positional_present",
+ "eval.tests.test_flag_parsing.TestPositionalAfterFlags.test_all_flags_then_positional",
+ "eval.tests.test_flag_parsing.TestPositionalAfterFlags.test_equals_flag_then_positional",
+ "eval.tests.test_flag_parsing.TestPositionalAfterFlags.test_flag_then_single_positional",
+ "eval.tests.test_flag_parsing.TestPositionalAfterFlags.test_flag_then_two_positionals",
+ "eval.tests.test_flag_parsing.TestPositionalBeforeFlags.test_positional_before_all_flags",
+ "eval.tests.test_flag_parsing.TestPositionalBeforeFlags.test_positional_before_dash_equals_flag",
+ "eval.tests.test_flag_parsing.TestPositionalBeforeFlags.test_positional_then_single_flag",
+ "eval.tests.test_flag_parsing.TestPositionalBeforeFlags.test_two_positionals_then_flag",
+ "eval.tests.test_flag_parsing.TestPositionalBetweenFlags.test_all_positional_no_flags",
+ "eval.tests.test_flag_parsing.TestPositionalBetweenFlags.test_many_positionals_dense",
+ "eval.tests.test_flag_parsing.TestPositionalBetweenFlags.test_multiple_positionals_interleaved",
+ "eval.tests.test_flag_parsing.TestPositionalBetweenFlags.test_positional_between_three_flags",
+ "eval.tests.test_flag_parsing.TestPositionalBetweenFlags.test_positional_between_two_flags",
+ "eval.tests.test_flag_parsing.TestPositionalValueLookahead.test_negative_number_value_for_int_flag",
+ "eval.tests.test_flag_parsing.TestPositionalValueLookahead.test_string_value_looking_like_minus_flag",
+ "eval.tests.test_flag_parsing.TestPositionalValueLookahead.test_string_value_looking_like_negative_number",
+ "eval.tests.test_flag_parsing.TestPositionalWithBoolFlags.test_bool_flags_do_not_consume_following_positional",
+ "eval.tests.test_flag_parsing.TestPositionalWithBoolFlags.test_positional_after_bool_then_string_flag",
+ "eval.tests.test_help.TestHelpContent.test_age_flag_block_exact",
+ "eval.tests.test_help.TestHelpContent.test_awesome_flag_block_exact",
+ "eval.tests.test_help.TestHelpContent.test_first_line_is_banner",
+ "eval.tests.test_help.TestHelpContent.test_flags_are_sorted_alphabetically",
+ "eval.tests.test_help.TestHelpContent.test_flags_header_is_present",
+ "eval.tests.test_help.TestHelpContent.test_golden_matches_live_binary",
+ "eval.tests.test_help.TestHelpContent.test_help_flag_block_exact",
+ "eval.tests.test_help.TestHelpContent.test_name_flag_block_exact",
+ "eval.tests.test_help.TestHelpContent.test_no_subcommands_are_listed",
+ "eval.tests.test_help.TestHelpContent.test_second_line_is_blank_separator",
+ "eval.tests.test_help.TestHelpContent.test_trailing_blank_line",
+ "eval.tests.test_help.TestHelpPrecedence.test_help_does_not_emit_partial_action",
+ "eval.tests.test_help.TestHelpPrecedence.test_help_with_flags_prints_help_not_action[argv0]",
+ "eval.tests.test_help.TestHelpPrecedence.test_help_with_flags_prints_help_not_action[argv1]",
+ "eval.tests.test_help.TestHelpPrecedence.test_help_with_flags_prints_help_not_action[argv2]",
+ "eval.tests.test_help.TestHelpPrecedence.test_help_with_flags_prints_help_not_action[argv3]",
+ "eval.tests.test_help.TestHelpPrecedence.test_help_with_flags_prints_help_not_action[argv4]",
+ "eval.tests.test_help.TestHelpStreams.test_banner_only_printed_as_help_prefix",
+ "eval.tests.test_help.TestHelpStreams.test_help_exit_zero_with_full_output",
+ "eval.tests.test_help.TestHelpStreams.test_help_goes_to_stdout_not_stderr",
+ "eval.tests.test_help.TestHelpTriggers.test_dash_h_is_not_help",
+ "eval.tests.test_help.TestHelpTriggers.test_help_forms_print_exact_golden[argv0]",
+ "eval.tests.test_help.TestHelpTriggers.test_help_forms_print_exact_golden[argv1]",
+ "eval.tests.test_help_bool_forms.TestHelpAfterEndOfFlags.test_flag_value_then_terminator_then_help",
+ "eval.tests.test_help_bool_forms.TestHelpAfterEndOfFlags.test_positional_then_false_help_runs_action",
+ "eval.tests.test_help_bool_forms.TestHelpAfterEndOfFlags.test_positional_then_help_prints_help",
+ "eval.tests.test_help_bool_forms.TestHelpAfterEndOfFlags.test_terminator_then_help_prints_help",
+ "eval.tests.test_help_bool_forms.TestHelpExplicitBoolValue.test_false_help_still_parses_other_flags",
+ "eval.tests.test_help_bool_forms.TestHelpExplicitBoolValue.test_falsy_boolean_value_runs_action[0]",
+ "eval.tests.test_help_bool_forms.TestHelpExplicitBoolValue.test_falsy_boolean_value_runs_action[FALSE]",
+ "eval.tests.test_help_bool_forms.TestHelpExplicitBoolValue.test_falsy_boolean_value_runs_action[F]",
+ "eval.tests.test_help_bool_forms.TestHelpExplicitBoolValue.test_falsy_boolean_value_runs_action[f]",
+ "eval.tests.test_help_bool_forms.TestHelpExplicitBoolValue.test_falsy_boolean_value_runs_action[false]",
+ "eval.tests.test_help_bool_forms.TestHelpExplicitBoolValue.test_true_help_overrides_other_flags",
+ "eval.tests.test_help_bool_forms.TestHelpExplicitBoolValue.test_truthy_boolean_value_prints_help[1]",
+ "eval.tests.test_help_bool_forms.TestHelpExplicitBoolValue.test_truthy_boolean_value_prints_help[TRUE]",
+ "eval.tests.test_help_bool_forms.TestHelpExplicitBoolValue.test_truthy_boolean_value_prints_help[T]",
+ "eval.tests.test_help_bool_forms.TestHelpExplicitBoolValue.test_truthy_boolean_value_prints_help[t]",
+ "eval.tests.test_help_bool_forms.TestHelpExplicitBoolValue.test_truthy_boolean_value_prints_help[true]",
+ "eval.tests.test_help_bool_forms.TestHelpLastValueWins.test_false_then_true_equals_form",
+ "eval.tests.test_help_bool_forms.TestHelpLastValueWins.test_false_then_true_prints_help",
+ "eval.tests.test_help_bool_forms.TestHelpLastValueWins.test_true_then_false_runs_action",
+ "eval.tests.test_help_bool_forms.TestHelpTokenAsStringValue.test_double_dash_help_consumed_as_name_value",
+ "eval.tests.test_help_bool_forms.TestHelpTokenAsStringValue.test_help_after_string_value_is_still_a_flag",
+ "eval.tests.test_help_bool_forms.TestHelpTokenAsStringValue.test_help_consumed_as_name_value",
+ "eval.tests.test_reparse_terminator_edges.TestBareTerminator.test_double_dash_then_flags_reparsed",
+ "eval.tests.test_reparse_terminator_edges.TestBareTerminator.test_flags_before_lone_terminator_run_action",
+ "eval.tests.test_reparse_terminator_edges.TestBareTerminator.test_lone_terminator_with_action_flags",
+ "eval.tests.test_reparse_terminator_edges.TestHelpShadowedByUndefinedFlag.test_undefined_h_shadows_trailing_help",
+ "eval.tests.test_reparse_terminator_edges.TestHelpShadowedByUndefinedFlag.test_undefined_h_with_flags_silent",
+ "eval.tests.test_reparse_terminator_edges.TestLastWinsAcrossTerminator.test_age_last_wins_across_terminator",
+ "eval.tests.test_reparse_terminator_edges.TestLastWinsAcrossTerminator.test_age_last_wins_mixed_spelling_across_terminator",
+ "eval.tests.test_reparse_terminator_edges.TestLastWinsAcrossTerminator.test_awesome_last_false_across_terminator",
+ "eval.tests.test_reparse_terminator_edges.TestLastWinsAcrossTerminator.test_awesome_last_true_across_terminator",
+ "eval.tests.test_reparse_terminator_edges.TestMultiTerminatorReparse.test_name_between_terminators",
+ "eval.tests.test_reparse_terminator_edges.TestMultiTerminatorReparse.test_three_terminators_lose_flag",
+ "eval.tests.test_reparse_terminator_edges.TestMultiTerminatorReparse.test_two_terminators_apply_each_segment_flag",
+ "eval.tests.test_reparse_terminator_edges.TestMultiTerminatorReparse.test_two_terminators_before_flag_applies_age",
+ "eval.tests.test_reparse_terminator_edges.TestMultiTerminatorReparse.test_two_terminators_second_segment_name",
+ "eval.tests.test_reparse_terminator_edges.TestNegativeIntAfterTerminator.test_equals_form_negative_after_terminator_runs_action[-age=-0]",
+ "eval.tests.test_reparse_terminator_edges.TestNegativeIntAfterTerminator.test_equals_form_negative_after_terminator_runs_action[-age=-3]",
+ "eval.tests.test_reparse_terminator_edges.TestNegativeIntAfterTerminator.test_equals_form_negative_after_terminator_runs_action[-age=-4]",
+ "eval.tests.test_reparse_terminator_edges.TestNegativeIntAfterTerminator.test_negative_after_terminator_suppresses_partial_output",
+ "eval.tests.test_reparse_terminator_edges.TestNegativeIntAfterTerminator.test_negative_after_terminator_without_name_silent",
+ "eval.tests.test_reparse_terminator_edges.TestNegativeIntAfterTerminator.test_negative_int_before_terminator_is_fine",
+ "eval.tests.test_reparse_terminator_edges.TestNegativeIntAfterTerminator.test_space_form_negative_after_terminator_silent",
+ "eval.tests.test_terminator_and_extra_parsing.TestDoubleDashTerminator.test_bool_flag_then_terminator_then_flag_ok",
+ "eval.tests.test_terminator_and_extra_parsing.TestDoubleDashTerminator.test_double_dash_consumed_as_string_flag_value",
+ "eval.tests.test_terminator_and_extra_parsing.TestDoubleDashTerminator.test_equals_flag_before_terminator_then_positional",
+ "eval.tests.test_terminator_and_extra_parsing.TestDoubleDashTerminator.test_positional_then_terminator_then_flags_not_reparsed",
+ "eval.tests.test_terminator_and_extra_parsing.TestDoubleDashTerminator.test_terminator_after_flag_then_missing_value_silent",
+ "eval.tests.test_terminator_and_extra_parsing.TestDoubleDashTerminator.test_terminator_then_flag_is_reparsed",
+ "eval.tests.test_terminator_and_extra_parsing.TestDoubleDashTerminator.test_terminator_then_flag_with_missing_value_silent",
+ "eval.tests.test_terminator_and_extra_parsing.TestDoubleDashTerminator.test_unknown_flag_before_terminator_silent",
+ "eval.tests.test_terminator_and_extra_parsing.TestEmptyEqualsFlagForm.test_empty_string_equals_form_leaves_default",
+ "eval.tests.test_terminator_and_extra_parsing.TestEmptyEqualsFlagForm.test_empty_string_equals_then_real_flag",
+ "eval.tests.test_terminator_and_extra_parsing.TestExtraIntBase0Forms.test_base0_int_forms_parse_to_value[+5-5]",
+ "eval.tests.test_terminator_and_extra_parsing.TestExtraIntBase0Forms.test_base0_int_forms_parse_to_value[0b101-5]",
+ "eval.tests.test_terminator_and_extra_parsing.TestExtraIntBase0Forms.test_base0_int_forms_parse_to_value[0o17-15]",
+ "eval.tests.test_terminator_and_extra_parsing.TestExtraIntBase0Forms.test_incomplete_or_invalid_int_prefix_silent[0b]",
+ "eval.tests.test_terminator_and_extra_parsing.TestExtraIntBase0Forms.test_incomplete_or_invalid_int_prefix_silent[0x]",
+ "eval.tests.test_terminator_and_extra_parsing.TestExtraIntBase0Forms.test_incomplete_or_invalid_int_prefix_silent[_123]",
+ "eval.tests.test_terminator_and_extra_parsing.TestExtraIntBase0Forms.test_negative_zero_int_suppresses_line",
+ "eval.tests.test_value_and_help_chains.TestHelpValueChains.test_help_false_equals_chain_runs_action",
+ "eval.tests.test_value_and_help_chains.TestHelpValueChains.test_help_false_then_bare_true_prints_help",
+ "eval.tests.test_value_and_help_chains.TestHelpValueChains.test_help_three_truthy_ends_help",
+ "eval.tests.test_value_and_help_chains.TestHelpValueChains.test_help_true_false_equals_chain_false_wins",
+ "eval.tests.test_value_and_help_chains.TestMultiBoolLastValue.test_awesome_false_then_true_last_true",
+ "eval.tests.test_value_and_help_chains.TestMultiBoolLastValue.test_awesome_then_false_forms_last_false",
+ "eval.tests.test_value_and_help_chains.TestMultiBoolLastValue.test_awesome_true_then_f_forms_last_false",
+ "eval.tests.test_value_and_help_chains.TestStringValueDashEdges.test_empty_equals_name_kept_with_age",
+ "eval.tests.test_value_and_help_chains.TestStringValueDashEdges.test_many_equals_string_value_preserved",
+ "eval.tests.test_value_and_help_chains.TestStringValueDashEdges.test_name_equals_value_is_help_token",
+ "eval.tests.test_value_and_help_chains.TestStringValueDashEdges.test_name_space_form_dashish_then_space_value",
+ "eval.tests.test_value_and_help_chains.TestStringValueDashEdges.test_name_value_is_double_dash_then_real_flag"
+ ]
+ },
+ "generated_module_02": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_cli_flags_app.test_age_assignment_form",
+ "eval.tests.test_cli_flags_app.test_age_flag_alone_leaves_name_anonymous",
+ "eval.tests.test_cli_flags_app.test_age_hex_prefix_with_space_form",
+ "eval.tests.test_cli_flags_app.test_age_int64_below_min_aborts",
+ "eval.tests.test_cli_flags_app.test_age_int64_max_value_is_accepted",
+ "eval.tests.test_cli_flags_app.test_age_int64_min_value_is_valid_but_negative",
+ "eval.tests.test_cli_flags_app.test_age_int64_overflow_aborts",
+ "eval.tests.test_cli_flags_app.test_age_int_base_prefix_spellings[binary_101]",
+ "eval.tests.test_cli_flags_app.test_age_int_base_prefix_spellings[hex_10]",
+ "eval.tests.test_cli_flags_app.test_age_int_base_prefix_spellings[hex_1F]",
+ "eval.tests.test_cli_flags_app.test_age_int_base_prefix_spellings[octal_007]",
+ "eval.tests.test_cli_flags_app.test_age_int_base_prefix_spellings[octal_010]",
+ "eval.tests.test_cli_flags_app.test_age_int_base_prefix_spellings[octal_o_17]",
+ "eval.tests.test_cli_flags_app.test_age_invalid_octal_digit_aborts",
+ "eval.tests.test_cli_flags_app.test_age_leading_zeroes_still_numeric",
+ "eval.tests.test_cli_flags_app.test_age_mixed_assignment_and_spaced_last_wins",
+ "eval.tests.test_cli_flags_app.test_age_negative_zero_is_zero",
+ "eval.tests.test_cli_flags_app.test_age_plus_sign_accepted",
+ "eval.tests.test_cli_flags_app.test_age_single_dash_assignment_form",
+ "eval.tests.test_cli_flags_app.test_age_spaced_then_assignment_last_wins",
+ "eval.tests.test_cli_flags_app.test_age_zero_does_not_print_age_line",
+ "eval.tests.test_cli_flags_app.test_all_flag_classes_interspersed_with_positionals",
+ "eval.tests.test_cli_flags_app.test_all_flags_combined_prints_every_line",
+ "eval.tests.test_cli_flags_app.test_awesome_equals_false_omits_awesome_line",
+ "eval.tests.test_cli_flags_app.test_awesome_equals_true_prints_awesome_line",
+ "eval.tests.test_cli_flags_app.test_awesome_flag_with_positionals_still_runs",
+ "eval.tests.test_cli_flags_app.test_awesome_true_prints_awesome_line",
+ "eval.tests.test_cli_flags_app.test_bool_falsy_value_spellings_emit_only_greeting[capital_f]",
+ "eval.tests.test_cli_flags_app.test_bool_falsy_value_spellings_emit_only_greeting[f]",
+ "eval.tests.test_cli_flags_app.test_bool_falsy_value_spellings_emit_only_greeting[title_false]",
+ "eval.tests.test_cli_flags_app.test_bool_falsy_value_spellings_emit_only_greeting[upper_false]",
+ "eval.tests.test_cli_flags_app.test_bool_falsy_value_spellings_emit_only_greeting[zero]",
+ "eval.tests.test_cli_flags_app.test_bool_flag_does_not_consume_trailing_value",
+ "eval.tests.test_cli_flags_app.test_bool_flag_empty_assignment_aborts",
+ "eval.tests.test_cli_flags_app.test_bool_flag_repeated_last_value_wins_false_then_true",
+ "eval.tests.test_cli_flags_app.test_bool_flag_repeated_last_value_wins_true_then_false",
+ "eval.tests.test_cli_flags_app.test_bool_truthy_value_spellings_emit_awesome_line[capital_t]",
+ "eval.tests.test_cli_flags_app.test_bool_truthy_value_spellings_emit_awesome_line[one]",
+ "eval.tests.test_cli_flags_app.test_bool_truthy_value_spellings_emit_awesome_line[t]",
+ "eval.tests.test_cli_flags_app.test_bool_truthy_value_spellings_emit_awesome_line[title_true]",
+ "eval.tests.test_cli_flags_app.test_bool_truthy_value_spellings_emit_awesome_line[upper_true]",
+ "eval.tests.test_cli_flags_app.test_double_dash_alone_runs_default_action",
+ "eval.tests.test_cli_flags_app.test_double_dash_end_of_flags_preserves_prior_flags",
+ "eval.tests.test_cli_flags_app.test_empty_name_assignment_is_anonymous",
+ "eval.tests.test_cli_flags_app.test_empty_name_assignment_with_repeated_age_combines",
+ "eval.tests.test_cli_flags_app.test_empty_name_is_treated_as_anonymous",
+ "eval.tests.test_cli_flags_app.test_flag_after_double_dash_still_parsed",
+ "eval.tests.test_cli_flags_app.test_flag_after_leading_positional_still_parsed",
+ "eval.tests.test_cli_flags_app.test_flag_after_two_positionals_still_parsed",
+ "eval.tests.test_cli_flags_app.test_flag_before_and_after_positional_both_applied",
+ "eval.tests.test_cli_flags_app.test_help_banner_embeds_version_and_short_description",
+ "eval.tests.test_cli_flags_app.test_help_bool_explicit_false_runs_action",
+ "eval.tests.test_cli_flags_app.test_help_bool_explicit_true_prints_help",
+ "eval.tests.test_cli_flags_app.test_help_bool_flags_render_without_type_suffix",
+ "eval.tests.test_cli_flags_app.test_help_bool_repeated_last_value_wins_false",
+ "eval.tests.test_cli_flags_app.test_help_even_when_other_flags_valid",
+ "eval.tests.test_cli_flags_app.test_help_exact_full_text_matches_golden",
+ "eval.tests.test_cli_flags_app.test_help_exit_status_is_success",
+ "eval.tests.test_cli_flags_app.test_help_goes_to_stdout_not_stderr",
+ "eval.tests.test_cli_flags_app.test_help_has_flags_section_followed_by_first_flag",
+ "eval.tests.test_cli_flags_app.test_help_lists_flag_description[age_desc]",
+ "eval.tests.test_cli_flags_app.test_help_lists_flag_description[awesome_desc]",
+ "eval.tests.test_cli_flags_app.test_help_lists_flag_description[help_desc]",
+ "eval.tests.test_cli_flags_app.test_help_lists_flag_description[name_desc]",
+ "eval.tests.test_cli_flags_app.test_help_lists_int_flag_with_type_and_description",
+ "eval.tests.test_cli_flags_app.test_help_lists_string_flag_with_type_and_description",
+ "eval.tests.test_cli_flags_app.test_help_names_the_app_flags",
+ "eval.tests.test_cli_flags_app.test_help_prints_exact_banner[long_dash_help]",
+ "eval.tests.test_cli_flags_app.test_help_prints_exact_banner[single_dash_help]",
+ "eval.tests.test_cli_flags_app.test_help_takes_precedence_over_action",
+ "eval.tests.test_cli_flags_app.test_help_token_consumed_as_string_value",
+ "eval.tests.test_cli_flags_app.test_help_with_extra_positional_still_prints_help",
+ "eval.tests.test_cli_flags_app.test_help_with_trailing_double_dash_still_prints_help",
+ "eval.tests.test_cli_flags_app.test_int_flag_after_positional_still_parsed",
+ "eval.tests.test_cli_flags_app.test_int_flag_empty_assignment_aborts_even_after_valid",
+ "eval.tests.test_cli_flags_app.test_int_flag_with_double_dash_missing_value_aborts",
+ "eval.tests.test_cli_flags_app.test_int_overflow_aborts_before_action",
+ "eval.tests.test_cli_flags_app.test_invalid_bool_value_aborts_before_action[capital_r]",
+ "eval.tests.test_cli_flags_app.test_invalid_bool_value_aborts_before_action[on]",
+ "eval.tests.test_cli_flags_app.test_invalid_bool_value_aborts_before_action[two]",
+ "eval.tests.test_cli_flags_app.test_invalid_bool_value_aborts_before_action[yes]",
+ "eval.tests.test_cli_flags_app.test_invalid_flag_beats_help_precedence",
+ "eval.tests.test_cli_flags_app.test_invalid_then_valid_int_aborts_before_action",
+ "eval.tests.test_cli_flags_app.test_leading_double_dash_then_flag_and_positional",
+ "eval.tests.test_cli_flags_app.test_leading_double_dash_then_flags_still_parsed",
+ "eval.tests.test_cli_flags_app.test_malformed_int_flag_aborts_before_action[alpha]",
+ "eval.tests.test_cli_flags_app.test_malformed_int_flag_aborts_before_action[empty]",
+ "eval.tests.test_cli_flags_app.test_malformed_int_flag_aborts_before_action[float]",
+ "eval.tests.test_cli_flags_app.test_malformed_int_flag_aborts_before_action[trailing_alpha]",
+ "eval.tests.test_cli_flags_app.test_missing_value_int_flag_aborts_before_action",
+ "eval.tests.test_cli_flags_app.test_missing_value_string_flag_aborts_before_action",
+ "eval.tests.test_cli_flags_app.test_name_consumes_capital_dash_token_as_value",
+ "eval.tests.test_cli_flags_app.test_name_consumes_double_dash_token_as_value",
+ "eval.tests.test_cli_flags_app.test_name_consumes_flag_like_next_token_as_value",
+ "eval.tests.test_cli_flags_app.test_name_equals_assignment_form",
+ "eval.tests.test_cli_flags_app.test_name_flag_like_value_is_consumed",
+ "eval.tests.test_cli_flags_app.test_name_flag_sets_greeting[alice]",
+ "eval.tests.test_cli_flags_app.test_name_flag_sets_greeting[apostrophe]",
+ "eval.tests.test_cli_flags_app.test_name_flag_sets_greeting[bob]",
+ "eval.tests.test_cli_flags_app.test_name_flag_sets_greeting[spaces]",
+ "eval.tests.test_cli_flags_app.test_name_flag_sets_greeting[unicode]",
+ "eval.tests.test_cli_flags_app.test_name_flag_sets_greeting[zoe]",
+ "eval.tests.test_cli_flags_app.test_name_mixed_assignment_and_spaced_last_wins",
+ "eval.tests.test_cli_flags_app.test_name_single_dash_form",
+ "eval.tests.test_cli_flags_app.test_name_value_with_embedded_equals",
+ "eval.tests.test_cli_flags_app.test_name_value_with_embedded_newline_is_echoed",
+ "eval.tests.test_cli_flags_app.test_name_whitespace_only_value_is_not_anonymous",
+ "eval.tests.test_cli_flags_app.test_negative_age_assignment_omits_age_line",
+ "eval.tests.test_cli_flags_app.test_negative_age_does_not_print_age_line",
+ "eval.tests.test_cli_flags_app.test_no_arguments_runs_action_with_anonymous_name",
+ "eval.tests.test_cli_flags_app.test_output_line_order_is_hello_age_awesome",
+ "eval.tests.test_cli_flags_app.test_positional_args_are_ignored_by_action",
+ "eval.tests.test_cli_flags_app.test_positional_before_double_dash_blocks_following_flags",
+ "eval.tests.test_cli_flags_app.test_positional_double_dash_then_bool_is_not_bound",
+ "eval.tests.test_cli_flags_app.test_positional_then_only_bool_flag",
+ "eval.tests.test_cli_flags_app.test_positive_age_prints_age_line[ninety_nine]",
+ "eval.tests.test_cli_flags_app.test_positive_age_prints_age_line[one]",
+ "eval.tests.test_cli_flags_app.test_positive_age_prints_age_line[seven]",
+ "eval.tests.test_cli_flags_app.test_positive_age_prints_age_line[thirty]",
+ "eval.tests.test_cli_flags_app.test_repeated_age_last_value_wins",
+ "eval.tests.test_cli_flags_app.test_repeated_age_with_interleaved_positional_last_wins",
+ "eval.tests.test_cli_flags_app.test_repeated_name_across_interleaved_flags_last_wins",
+ "eval.tests.test_cli_flags_app.test_repeated_name_last_value_wins",
+ "eval.tests.test_cli_flags_app.test_single_dash_h_is_unknown_flag",
+ "eval.tests.test_cli_flags_app.test_unknown_flag_aborts_before_action[another_unknown]",
+ "eval.tests.test_cli_flags_app.test_unknown_flag_aborts_before_action[unknown_after_valid]",
+ "eval.tests.test_cli_flags_app.test_unknown_flag_aborts_before_action[unknown_before_valid]",
+ "eval.tests.test_cli_flags_app.test_unknown_flag_aborts_before_action[unknown_only]",
+ "eval.tests.test_cli_flags_app.test_uppercase_help_flag_is_undefined",
+ "eval.tests.test_cli_flags_app.test_uppercase_name_flag_is_undefined",
+ "eval.tests.test_cli_flags_app.test_valid_flag_then_invalid_int_aborts_before_action",
+ "eval.tests.test_cli_flags_app.test_valid_flags_then_empty_bool_assignment_aborts",
+ "eval.tests.test_cli_flags_app.test_version_flag_not_registered_aborts"
+ ]
+ },
+ "generated_module_03": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_clir_construction_banner.test_action_age_one_prints_singular_age_line",
+ "eval.tests.test_clir_construction_banner.test_action_age_zero_boundary_omits_age_line",
+ "eval.tests.test_clir_construction_banner.test_action_empty_name_falls_back_to_anonymous",
+ "eval.tests.test_clir_construction_banner.test_action_negative_age_omits_age_line",
+ "eval.tests.test_clir_construction_banner.test_action_space_name_preserved_verbatim",
+ "eval.tests.test_clir_construction_banner.test_all_registered_flags_listed_after_banner",
+ "eval.tests.test_clir_construction_banner.test_awesome_flag_alone_prints_awesome_line",
+ "eval.tests.test_clir_construction_banner.test_banner_embeds_name_version_and_description_in_order",
+ "eval.tests.test_clir_construction_banner.test_banner_has_no_leading_double_space_because_version_nonblank",
+ "eval.tests.test_clir_construction_banner.test_banner_is_first_line_of_help[help_equals_true]",
+ "eval.tests.test_clir_construction_banner.test_banner_is_first_line_of_help[help_with_bool_flag]",
+ "eval.tests.test_clir_construction_banner.test_banner_is_first_line_of_help[help_with_int_flag]",
+ "eval.tests.test_clir_construction_banner.test_banner_is_first_line_of_help[help_with_name_flag]",
+ "eval.tests.test_clir_construction_banner.test_banner_is_first_line_of_help[long_help]",
+ "eval.tests.test_clir_construction_banner.test_banner_is_followed_by_blank_line",
+ "eval.tests.test_clir_construction_banner.test_banner_is_line_zero_for_single_space_token_model[awesome_true_help]",
+ "eval.tests.test_clir_construction_banner.test_banner_is_line_zero_for_single_space_token_model[long_true]",
+ "eval.tests.test_clir_construction_banner.test_banner_is_line_zero_for_single_space_token_model[mixed_help]",
+ "eval.tests.test_clir_construction_banner.test_banner_is_line_zero_for_single_space_token_model[name_equals_help]",
+ "eval.tests.test_clir_construction_banner.test_banner_is_line_zero_for_single_space_token_model[zero_age_help]",
+ "eval.tests.test_clir_construction_banner.test_combined_action_run_full_greeting",
+ "eval.tests.test_clir_construction_banner.test_duplicate_help_flags_print_help_once",
+ "eval.tests.test_clir_construction_banner.test_each_accepted_help_form_prints_full_help_body[help_equals_true]",
+ "eval.tests.test_clir_construction_banner.test_each_accepted_help_form_prints_full_help_body[help_with_bool_flag]",
+ "eval.tests.test_clir_construction_banner.test_each_accepted_help_form_prints_full_help_body[help_with_int_flag]",
+ "eval.tests.test_clir_construction_banner.test_each_accepted_help_form_prints_full_help_body[help_with_name_flag]",
+ "eval.tests.test_clir_construction_banner.test_each_accepted_help_form_prints_full_help_body[long_help]",
+ "eval.tests.test_clir_construction_banner.test_empty_name_zero_age_awesome_combined",
+ "eval.tests.test_clir_construction_banner.test_equals_form_age_flag_with_awesome",
+ "eval.tests.test_clir_construction_banner.test_equals_form_name_flag",
+ "eval.tests.test_clir_construction_banner.test_flags_section_follows_banner",
+ "eval.tests.test_clir_construction_banner.test_full_help_body_matches_golden_file",
+ "eval.tests.test_clir_construction_banner.test_golden_contract_banner_first_blank_lines_last",
+ "eval.tests.test_clir_construction_banner.test_help_body_has_golden_byte_length",
+ "eval.tests.test_clir_construction_banner.test_help_body_records_flag_registration_order",
+ "eval.tests.test_clir_construction_banner.test_help_equals_false_does_not_print_banner",
+ "eval.tests.test_clir_construction_banner.test_help_flag_description_references_command_path",
+ "eval.tests.test_clir_construction_banner.test_help_is_written_to_stdout_not_stderr",
+ "eval.tests.test_clir_construction_banner.test_help_position_in_argv_does_not_matter",
+ "eval.tests.test_clir_construction_banner.test_help_takes_precedence_over_bool_flag",
+ "eval.tests.test_clir_construction_banner.test_help_takes_precedence_over_combined_action_flags",
+ "eval.tests.test_clir_construction_banner.test_help_takes_precedence_over_int_flag",
+ "eval.tests.test_clir_construction_banner.test_help_takes_precedence_over_name_flag",
+ "eval.tests.test_clir_construction_banner.test_negative_age_with_awesome_only_awesome_prints",
+ "eval.tests.test_clir_construction_banner.test_normal_action_run_does_not_emit_banner",
+ "eval.tests.test_clir_construction_banner.test_normal_run_custom_name_has_no_banner",
+ "eval.tests.test_clir_construction_banner.test_normal_run_leaves_stderr_empty",
+ "eval.tests.test_clir_construction_banner.test_repeated_help_false_then_false_runs_action_twice_end_to_end",
+ "eval.tests.test_clir_construction_banner.test_repeated_help_false_then_true_emits_banner_and_help_body",
+ "eval.tests.test_clir_construction_banner.test_repeated_help_true_then_false_runs_action_without_banner",
+ "eval.tests.test_clir_construction_banner.test_repeated_help_true_then_true_prints_help_once",
+ "eval.tests.test_clir_construction_banner.test_repeated_name_flag_last_wins",
+ "eval.tests.test_clir_construction_banner.test_single_help_emits_banner_exactly_once_at_position_zero",
+ "eval.tests.test_clir_construction_banner.test_unknown_flag_before_help_suppresses_help",
+ "eval.tests.test_clir_construction_banner.test_unknown_or_malformed_args_silently_fail_with_no_banner[bad_int_value]",
+ "eval.tests.test_clir_construction_banner.test_unknown_or_malformed_args_silently_fail_with_no_banner[unknown_flag]",
+ "eval.tests.test_clir_construction_banner.test_unknown_or_malformed_args_silently_fail_with_no_banner[unregistered_short_h]",
+ "eval.tests.test_clir_construction_banner.test_unregistered_short_h_with_name_still_silent"
+ ]
+ },
+ "generated_module_04": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [
+ {
+ "name": "eval.tests.test_boolaliases2.test_help_camel_True_equals_print",
+ "reasons": [
+ {
+ "id": "no_assertions",
+ "message": "pytest test contains no assert statements",
+ "path": "eval/tests/test_boolaliases2.py",
+ "repair_hint": "Add concrete assert statements over observable executable behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_boolaliases2.test_help_numeric_one_equals_print",
+ "reasons": [
+ {
+ "id": "no_assertions",
+ "message": "pytest test contains no assert statements",
+ "path": "eval/tests/test_boolaliases2.py",
+ "repair_hint": "Add concrete assert statements over observable executable behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_boolaliases2.test_help_upper_TRUE_equals_print",
+ "reasons": [
+ {
+ "id": "no_assertions",
+ "message": "pytest test contains no assert statements",
+ "path": "eval/tests/test_boolaliases2.py",
+ "repair_hint": "Add concrete assert statements over observable executable behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "golden_docstring",
+ "message": "pytest test docstring mentions golden data that is not used in the body",
+ "path": "eval/tests/test_boolaliases2.py",
+ "repair_hint": "Use the golden fixture mentioned in the docstring or remove the misleading claim.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "golden_no_equality",
+ "message": "pytest test references golden data without equality comparison",
+ "path": "eval/tests/test_boolaliases2.py",
+ "repair_hint": "Compare observed output to golden data with equality after any explicit normalization.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_boolaliases2.test_help_upper_T_equals_print",
+ "reasons": [
+ {
+ "id": "no_assertions",
+ "message": "pytest test contains no assert statements",
+ "path": "eval/tests/test_boolaliases2.py",
+ "repair_hint": "Add concrete assert statements over observable executable behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_repack.test_age_bad_literal_after_leading_positional_is_error",
+ "reasons": [
+ {
+ "id": "no_assertions",
+ "message": "pytest test contains no assert statements",
+ "path": "eval/tests/test_repack.py",
+ "repair_hint": "Add concrete assert statements over observable executable behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_repack.test_help_precedence_with_leading_positional",
+ "reasons": [
+ {
+ "id": "no_assertions",
+ "message": "pytest test contains no assert statements",
+ "path": "eval/tests/test_repack.py",
+ "repair_hint": "Add concrete assert statements over observable executable behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "golden_docstring",
+ "message": "pytest test docstring mentions golden data that is not used in the body",
+ "path": "eval/tests/test_repack.py",
+ "repair_hint": "Use the golden fixture mentioned in the docstring or remove the misleading claim.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "golden_no_equality",
+ "message": "pytest test references golden data without equality comparison",
+ "path": "eval/tests/test_repack.py",
+ "repair_hint": "Compare observed output to golden data with equality after any explicit normalization.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_repack.test_help_precedence_with_trailing_positional",
+ "reasons": [
+ {
+ "id": "no_assertions",
+ "message": "pytest test contains no assert statements",
+ "path": "eval/tests/test_repack.py",
+ "repair_hint": "Add concrete assert statements over observable executable behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_repack.test_repacked_positional_does_not_break_error_contract",
+ "reasons": [
+ {
+ "id": "no_assertions",
+ "message": "pytest test contains no assert statements",
+ "path": "eval/tests/test_repack.py",
+ "repair_hint": "Add concrete assert statements over observable executable behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ }
+ ],
+ "tests": [
+ "eval.tests.test_action.test_action_output_line_order",
+ "eval.tests.test_action.test_age_80_boundary_large_value",
+ "eval.tests.test_action.test_age_negative_omits_age_line",
+ "eval.tests.test_action.test_age_positive_prints_age_line",
+ "eval.tests.test_action.test_age_zero_boundary_omits_age_line",
+ "eval.tests.test_action.test_all_flags_together_full_output",
+ "eval.tests.test_action.test_awesome_flag_adds_line",
+ "eval.tests.test_action.test_awesome_one_true",
+ "eval.tests.test_action.test_awesome_separate_value_form",
+ "eval.tests.test_action.test_awesome_true_lowercase",
+ "eval.tests.test_action.test_empty_string_name_falls_back_to_anonymous",
+ "eval.tests.test_action.test_name_equals_form",
+ "eval.tests.test_action.test_name_flag_sets_greeting",
+ "eval.tests.test_action.test_name_with_spaces_preserved",
+ "eval.tests.test_action.test_no_args_uses_default_anonymous",
+ "eval.tests.test_action.test_positional_token_does_not_break_action",
+ "eval.tests.test_boolaliases2.test_awesome_camel_True_with_name",
+ "eval.tests.test_boolaliases2.test_awesome_mixed_case_TruE_invalid",
+ "eval.tests.test_boolaliases2.test_awesome_numeric_one_with_age",
+ "eval.tests.test_boolaliases2.test_awesome_upper_FALSE_then_awesome_off_after_bare",
+ "eval.tests.test_boolaliases2.test_awesome_upper_FALSE_with_age",
+ "eval.tests.test_boolaliases2.test_awesome_upper_TRUE_with_name_and_age",
+ "eval.tests.test_boolaliases2.test_help_camel_False_equals_runs_action",
+ "eval.tests.test_boolaliases2.test_help_camel_True_equals_print",
+ "eval.tests.test_boolaliases2.test_help_camel_True_then_False_last_wins_action",
+ "eval.tests.test_boolaliases2.test_help_mixed_case_TrUe_invalid",
+ "eval.tests.test_boolaliases2.test_help_numeric_one_equals_print",
+ "eval.tests.test_boolaliases2.test_help_upper_FALSE_equals_then_bare_help_last_wins",
+ "eval.tests.test_boolaliases2.test_help_upper_F_equals_runs_action",
+ "eval.tests.test_boolaliases2.test_help_upper_TRUE_equals_print",
+ "eval.tests.test_boolaliases2.test_help_upper_T_equals_print",
+ "eval.tests.test_boolaliases2.test_help_yes_word_invalid",
+ "eval.tests.test_byteseq.test_age_hex_zero_literal_suppressed",
+ "eval.tests.test_byteseq.test_age_incomplete_binary_equals_form_error",
+ "eval.tests.test_byteseq.test_age_lean_octal_seven_boundary",
+ "eval.tests.test_byteseq.test_age_negative_zero_equals_form_suppressed",
+ "eval.tests.test_byteseq.test_age_octal_zero_literal_suppressed",
+ "eval.tests.test_byteseq.test_age_plus_hex_zero_equals_form_suppressed",
+ "eval.tests.test_byteseq.test_age_uppercase_hex_digit",
+ "eval.tests.test_byteseq.test_double_terminator_positional_runs_action",
+ "eval.tests.test_byteseq.test_empty_argv_element_runs_action",
+ "eval.tests.test_byteseq.test_help_equals_empty_value_error",
+ "eval.tests.test_byteseq.test_help_invalid_bool_value_error",
+ "eval.tests.test_byteseq.test_lone_dash_positional_runs_action",
+ "eval.tests.test_byteseq.test_name_preserves_embedded_newline",
+ "eval.tests.test_byteseq.test_name_preserves_embedded_tab",
+ "eval.tests.test_byteseq.test_name_whitespace_only_value",
+ "eval.tests.test_edge.test_age_double_dash_equals_form",
+ "eval.tests.test_edge.test_age_negative_value_equals_form",
+ "eval.tests.test_edge.test_age_plus_signed_value",
+ "eval.tests.test_edge.test_bool_false_alias_F",
+ "eval.tests.test_edge.test_bool_false_alias_False",
+ "eval.tests.test_edge.test_bool_false_alias_f",
+ "eval.tests.test_edge.test_bool_true_alias_True",
+ "eval.tests.test_edge.test_bool_true_alias_t",
+ "eval.tests.test_edge.test_bool_true_alias_upper_T",
+ "eval.tests.test_edge.test_double_dash_double_dash_name_form_equivalent",
+ "eval.tests.test_edge.test_double_dash_mixed_flags_reparse_all",
+ "eval.tests.test_edge.test_double_dash_then_age_reparses",
+ "eval.tests.test_edge.test_double_dash_then_awesome_reparses",
+ "eval.tests.test_edge.test_double_dash_then_help_prints_help",
+ "eval.tests.test_edge.test_double_dash_then_name_reparses",
+ "eval.tests.test_edge.test_double_dash_then_plain_positional_runs_action",
+ "eval.tests.test_edge.test_double_dash_then_single_dash_help_prints_help",
+ "eval.tests.test_edge.test_lone_double_dash_runs_action",
+ "eval.tests.test_edge.test_name_value_is_single_equals",
+ "eval.tests.test_edge.test_string_consumes_double_dash_as_value",
+ "eval.tests.test_edge.test_string_consumes_double_dash_then_other_flags_parse",
+ "eval.tests.test_edge.test_terminator_at_end_keeps_prior_flags",
+ "eval.tests.test_edge.test_terminator_mid_sequence_reparses_tail",
+ "eval.tests.test_edge.test_two_equals_in_name_keeps_tail",
+ "eval.tests.test_errors.test_double_dash_boundary_positional_is_silent",
+ "eval.tests.test_errors.test_double_dash_then_double_dash_flag_is_silent",
+ "eval.tests.test_errors.test_empty_bool_value_equals_form_is_silent",
+ "eval.tests.test_errors.test_empty_int_value_equals_form_is_silent",
+ "eval.tests.test_errors.test_extra_leading_dash_positional_is_silent",
+ "eval.tests.test_errors.test_float_for_int_flag_is_silent",
+ "eval.tests.test_errors.test_invalid_bool_long_word_is_silent",
+ "eval.tests.test_errors.test_invalid_bool_word_in_equals_form_is_silent",
+ "eval.tests.test_errors.test_invalid_int_alphanumeric_is_silent",
+ "eval.tests.test_errors.test_invalid_int_value_is_silent",
+ "eval.tests.test_errors.test_missing_value_for_int_flag_is_silent",
+ "eval.tests.test_errors.test_missing_value_for_string_flag_is_silent",
+ "eval.tests.test_errors.test_parse_error_preempts_help_is_silent",
+ "eval.tests.test_errors.test_unknown_flag_after_valid_flag_is_silent",
+ "eval.tests.test_errors.test_unknown_flag_before_help_is_silent",
+ "eval.tests.test_errors.test_unknown_flag_equals_form_is_silent",
+ "eval.tests.test_errors.test_unknown_flag_is_silent",
+ "eval.tests.test_errors.test_unknown_flag_with_value_is_silent",
+ "eval.tests.test_flags.test_age_equals_form",
+ "eval.tests.test_flags.test_awesome_off_then_on_last_wins",
+ "eval.tests.test_flags.test_awesome_on_then_off_last_wins",
+ "eval.tests.test_flags.test_awesome_separate_value_is_positional",
+ "eval.tests.test_flags.test_awesome_zero_parsed_false",
+ "eval.tests.test_flags.test_every_flag_present_yields_one_line_each",
+ "eval.tests.test_flags.test_flags_out_of_order",
+ "eval.tests.test_flags.test_mixed_equals_and_space_forms",
+ "eval.tests.test_flags.test_name_consumes_flag_like_token_as_value",
+ "eval.tests.test_flags.test_positional_tail_does_not_consume_flags",
+ "eval.tests.test_flags.test_repeated_age_last_wins",
+ "eval.tests.test_flags.test_repeated_name_last_wins",
+ "eval.tests.test_flags.test_triple_dash_equals_alias_forms",
+ "eval.tests.test_help.test_h_short_alias_is_not_registered",
+ "eval.tests.test_help.test_help_banner_shows_name_version_and_description",
+ "eval.tests.test_help.test_help_ends_with_trailing_blank_line",
+ "eval.tests.test_help.test_help_lists_every_registered_flag",
+ "eval.tests.test_help.test_help_lists_flags_in_alphabetical_order",
+ "eval.tests.test_help.test_help_long_double_dash_prints_full_help",
+ "eval.tests.test_help.test_help_precedence_suppresses_action",
+ "eval.tests.test_help.test_help_precedence_when_help_leads",
+ "eval.tests.test_help.test_help_precedence_with_all_flags_suppresses_action",
+ "eval.tests.test_help.test_help_prints_banner_then_heading",
+ "eval.tests.test_help.test_help_single_dash_prints_full_help",
+ "eval.tests.test_help.test_parse_error_before_help_aborts_help",
+ "eval.tests.test_helpbool.test_help_equals_false_runs_action",
+ "eval.tests.test_helpbool.test_help_off_then_help_last_wins_true",
+ "eval.tests.test_helpbool.test_help_off_with_all_other_flags",
+ "eval.tests.test_helpbool.test_help_on_then_off_last_wins_false",
+ "eval.tests.test_helpbool.test_help_one_space_true_prints_help",
+ "eval.tests.test_helpbool.test_help_single_f_off",
+ "eval.tests.test_helpbool.test_help_t_prints_help",
+ "eval.tests.test_helpbool.test_help_true_prints_help",
+ "eval.tests.test_helpbool.test_help_upper_false_runs_action",
+ "eval.tests.test_helpbool.test_help_zero_off",
+ "eval.tests.test_numparse.test_age_binary_auto_detect",
+ "eval.tests.test_numparse.test_age_binary_equals_form",
+ "eval.tests.test_numparse.test_age_binary_invalid_digit_is_error",
+ "eval.tests.test_numparse.test_age_binary_zero_value",
+ "eval.tests.test_numparse.test_age_hex_auto_detect_space",
+ "eval.tests.test_numparse.test_age_hex_equals_form",
+ "eval.tests.test_numparse.test_age_hex_invalid_digit_is_error",
+ "eval.tests.test_numparse.test_age_hex_lower_nibble_equals_form",
+ "eval.tests.test_numparse.test_age_hex_trailing_junk_is_error",
+ "eval.tests.test_numparse.test_age_hex_upper_prefix",
+ "eval.tests.test_numparse.test_age_incomplete_binary_prefix_is_error",
+ "eval.tests.test_numparse.test_age_incomplete_hex_is_error",
+ "eval.tests.test_numparse.test_age_incomplete_octal_prefix_is_error",
+ "eval.tests.test_numparse.test_age_incomplete_upper_hex_is_error",
+ "eval.tests.test_numparse.test_age_int64_max_boundary",
+ "eval.tests.test_numparse.test_age_int64_min_boundary_suppressed",
+ "eval.tests.test_numparse.test_age_int64_overflow_is_error",
+ "eval.tests.test_numparse.test_age_int64_underflow_is_error",
+ "eval.tests.test_numparse.test_age_leading_underscore_is_error",
+ "eval.tests.test_numparse.test_age_leading_zero_invalid_octal_is_error",
+ "eval.tests.test_numparse.test_age_leading_zeros_zero_value",
+ "eval.tests.test_numparse.test_age_leaning_octal_nine_is_error",
+ "eval.tests.test_numparse.test_age_negative_hex_parses_but_suppressed",
+ "eval.tests.test_numparse.test_age_negative_octal_parses_but_suppressed",
+ "eval.tests.test_numparse.test_age_negative_zero_no_line",
+ "eval.tests.test_numparse.test_age_octal_equals_form",
+ "eval.tests.test_numparse.test_age_octal_explicit_lower",
+ "eval.tests.test_numparse.test_age_octal_explicit_upper",
+ "eval.tests.test_numparse.test_age_octal_invalid_digit_is_error",
+ "eval.tests.test_numparse.test_age_octal_leaning_leading_zero",
+ "eval.tests.test_numparse.test_age_plus_hex",
+ "eval.tests.test_numparse.test_age_plus_zero_no_line",
+ "eval.tests.test_numparse.test_age_trailing_underscore_is_error",
+ "eval.tests.test_numparse.test_age_underscore_after_hex_prefix",
+ "eval.tests.test_numparse.test_age_underscore_equals_form",
+ "eval.tests.test_numparse.test_age_underscore_in_binary_digits",
+ "eval.tests.test_numparse.test_age_underscore_in_hex_digits",
+ "eval.tests.test_numparse.test_age_underscore_small",
+ "eval.tests.test_numparse.test_age_underscore_thousands",
+ "eval.tests.test_repack.test_age_bad_literal_after_leading_positional_is_error",
+ "eval.tests.test_repack.test_age_then_name_swallows_awesome",
+ "eval.tests.test_repack.test_awesome_name_terminator_tail",
+ "eval.tests.test_repack.test_awesome_then_name_swallows_age",
+ "eval.tests.test_repack.test_double_terminator_reparses_both_flag_groups",
+ "eval.tests.test_repack.test_help_precedence_with_leading_positional",
+ "eval.tests.test_repack.test_help_precedence_with_trailing_positional",
+ "eval.tests.test_repack.test_help_true_then_false_mid_last_wins",
+ "eval.tests.test_repack.test_interleaved_positionals_and_all_flags",
+ "eval.tests.test_repack.test_leading_positional_then_flag",
+ "eval.tests.test_repack.test_leading_positional_then_hex_age",
+ "eval.tests.test_repack.test_long_digit_string_name_preserved",
+ "eval.tests.test_repack.test_name_consumes_age_flag_then_age_parses",
+ "eval.tests.test_repack.test_name_consumes_age_then_awesome_then_age",
+ "eval.tests.test_repack.test_name_consumes_negative_number_as_value",
+ "eval.tests.test_repack.test_name_consumes_single_age_flag_suppresses_age",
+ "eval.tests.test_repack.test_name_equals_form_value_is_terminator",
+ "eval.tests.test_repack.test_name_swallows_first_terminator_second_reparses",
+ "eval.tests.test_repack.test_name_swallows_help_as_value",
+ "eval.tests.test_repack.test_name_swallows_unknown_flag_as_value",
+ "eval.tests.test_repack.test_positional_after_first_age_then_second_age_wins",
+ "eval.tests.test_repack.test_positional_terminator_help_does_not_trigger",
+ "eval.tests.test_repack.test_positional_then_negative_hex_age_suppressed",
+ "eval.tests.test_repack.test_positionals_with_repeated_age_last_wins",
+ "eval.tests.test_repack.test_positionals_wrapping_flag",
+ "eval.tests.test_repack.test_repacked_positional_does_not_break_error_contract",
+ "eval.tests.test_repack.test_terminator_positional_terminator",
+ "eval.tests.test_repack.test_three_positionals_around_single_age",
+ "eval.tests.test_repack.test_triple_terminator_runs_action",
+ "eval.tests.test_repack.test_two_positionals_then_bool_flag",
+ "eval.tests.test_repack.test_two_positionals_then_multi_equals_name",
+ "eval.tests.test_textedge.test_name_case_sensitive_after_valid_flag",
+ "eval.tests.test_textedge.test_name_equals_form_preserves_mixed_case",
+ "eval.tests.test_textedge.test_name_flag_is_case_sensitive_all_upper",
+ "eval.tests.test_textedge.test_name_flag_is_case_sensitive_upper_initial",
+ "eval.tests.test_textedge.test_name_value_preserves_leading_whitespace",
+ "eval.tests.test_textedge.test_name_value_preserves_mixed_case",
+ "eval.tests.test_textedge.test_name_value_preserves_multibyte_emoji",
+ "eval.tests.test_textedge.test_name_value_preserves_punctuation",
+ "eval.tests.test_textedge.test_name_value_preserves_tab",
+ "eval.tests.test_textedge.test_name_value_preserves_unicode"
+ ]
+ }
+ },
+ "commit": "a8d9462bce754819cbd5a5596f22d68b3f318fb6",
+ "data_source": "synthetic_programgym",
+ "difficulty": "",
+ "difficulty_score": null,
+ "eval_clean_hashes": [
+ "d19083850cafaba17fd5b6a229d7b0365067f60c865f1c30f4d365e9f2045368"
+ ],
+ "input_record": {
+ "commit": "a8d9462bce754819cbd5a5596f22d68b3f318fb6",
+ "commits": 86,
+ "contributors": 8,
+ "difficulty": "easy",
+ "difficulty_code_lines": 1526,
+ "difficulty_has_tests": false,
+ "difficulty_product_code_lines": 1526,
+ "difficulty_runtime_deps": 0,
+ "difficulty_score": 1.1835545336188615,
+ "difficulty_test_code_lines": 1500,
+ "full_name": "leaanthony/clir",
+ "github_stars": 201,
+ "input_joern_zip": "go_joern/leaanthony__clir.zip",
+ "joern_status": true,
+ "joern_time": 11.096248167101294,
+ "language": "go",
+ "pb_match": [
+ {
+ "pb_fullname": "segmentio/chamber",
+ "rank": 445,
+ "similarity": 0.5223026871681213
+ },
+ {
+ "pb_fullname": "sclevine/yj",
+ "rank": 56,
+ "similarity": 0.5593565702438354
+ },
+ {
+ "pb_fullname": "antonmedv/walk",
+ "rank": 82,
+ "similarity": 0.5664258599281311
+ },
+ {
+ "pb_fullname": "peco/peco",
+ "rank": 35,
+ "similarity": 0.5712865591049194
+ },
+ {
+ "pb_fullname": "mikefarah/yq",
+ "rank": 48,
+ "similarity": 0.6126861572265625
+ },
+ {
+ "pb_fullname": "rs/curlie",
+ "rank": 24,
+ "similarity": 0.5984025001525879
+ },
+ {
+ "pb_fullname": "johnkerl/miller",
+ "rank": 70,
+ "similarity": 0.5459004640579224
+ },
+ {
+ "pb_fullname": "guumaster/hostctl",
+ "rank": 476,
+ "similarity": 0.46685469150543213
+ },
+ {
+ "pb_fullname": "JohannesKaufmann/html-to-markdown",
+ "rank": 220,
+ "similarity": 0.5178549885749817
+ },
+ {
+ "pb_fullname": "alecthomas/chroma",
+ "rank": 429,
+ "similarity": 0.49289026856422424
+ },
+ {
+ "pb_fullname": "gabotechs/dep-tree",
+ "rank": 219,
+ "similarity": 0.5477045774459839
+ },
+ {
+ "pb_fullname": "jesseduffield/lazygit",
+ "rank": 130,
+ "similarity": 0.591535210609436
+ },
+ {
+ "pb_fullname": "FiloSottile/age",
+ "rank": 108,
+ "similarity": 0.5397807955741882
+ },
+ {
+ "pb_fullname": "boyter/scc",
+ "rank": 131,
+ "similarity": 0.5653841495513916
+ },
+ {
+ "pb_fullname": "rs/jplot",
+ "rank": 802,
+ "similarity": 0.4832947254180908
+ },
+ {
+ "pb_fullname": "multiprocessio/dsq",
+ "rank": 645,
+ "similarity": 0.47211891412734985
+ },
+ {
+ "pb_fullname": "skeema/skeema",
+ "rank": 559,
+ "similarity": 0.5024837851524353
+ },
+ {
+ "pb_fullname": "naggie/dstask",
+ "rank": 400,
+ "similarity": 0.5034153461456299
+ },
+ {
+ "pb_fullname": "astaxie/bat",
+ "rank": 55,
+ "similarity": 0.617838978767395
+ },
+ {
+ "pb_fullname": "noborus/trdsql",
+ "rank": 220,
+ "similarity": 0.5411620736122131
+ },
+ {
+ "pb_fullname": "noborus/ov",
+ "rank": 197,
+ "similarity": 0.5524871945381165
+ },
+ {
+ "pb_fullname": "sibprogrammer/xq",
+ "rank": 186,
+ "similarity": 0.526741087436676
+ },
+ {
+ "pb_fullname": "sheepla/pingu",
+ "rank": 100,
+ "similarity": 0.5440906286239624
+ },
+ {
+ "pb_fullname": "raviqqe/muffet",
+ "rank": 634,
+ "similarity": 0.47300854325294495
+ },
+ {
+ "pb_fullname": "eliukblau/pixterm",
+ "rank": 72,
+ "similarity": 0.5884069204330444
+ },
+ {
+ "pb_fullname": "TheZoraiz/ascii-image-converter",
+ "rank": 47,
+ "similarity": 0.5621269941329956
+ },
+ {
+ "pb_fullname": "cheat/cheat",
+ "rank": 18,
+ "similarity": 0.6155025959014893
+ },
+ {
+ "pb_fullname": "ariga/atlas",
+ "rank": 633,
+ "similarity": 0.5070767402648926
+ },
+ {
+ "pb_fullname": "psampaz/go-mod-outdated",
+ "rank": 597,
+ "similarity": 0.47690922021865845
+ },
+ {
+ "pb_fullname": "antonmedv/fx",
+ "rank": 95,
+ "similarity": 0.5539212226867676
+ },
+ {
+ "pb_fullname": "dundee/gdu",
+ "rank": 100,
+ "similarity": 0.5671482086181641
+ },
+ {
+ "pb_fullname": "tomnomnom/gron",
+ "rank": 144,
+ "similarity": 0.5315221548080444
+ },
+ {
+ "pb_fullname": "junegunn/fzf",
+ "rank": 142,
+ "similarity": 0.527397871017456
+ },
+ {
+ "pb_fullname": "zk-org/zk",
+ "rank": 214,
+ "similarity": 0.5784774422645569
+ }
+ ],
+ "repo_age": 6.71,
+ "repo_path": "go/leaanthony__clir",
+ "source": "commit:a8d9462bce754819cbd5a5596f22d68b3f318fb6",
+ "status": "done",
+ "url": "https://github.com/leaanthony/clir"
+ },
+ "instance_id": "leaanthony__clir.a8d9462",
+ "language": "go",
+ "module_iterations": [],
+ "repository": "leaanthony/clir"
+}
diff --git a/leaanthony--clir.a8d9462/tests/test.sh b/leaanthony--clir.a8d9462/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/leaanthony--clir.a8d9462/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/leaanthony--clir.a8d9462/tests/workspace.tar.gz b/leaanthony--clir.a8d9462/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..23ce2af7ba4623b1ea01d3683cccf17dfd52f115
--- /dev/null
+++ b/leaanthony--clir.a8d9462/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bee33037eca9558ad840b7b0d769e0e19d44863cd72db58b140bdd0691da1b1b
+size 19415
diff --git a/leandros--metareflect.0208fdd/environment/Dockerfile b/leandros--metareflect.0208fdd/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..736b92148dd4c993902b7d08b80956d73d9819e7
--- /dev/null
+++ b/leandros--metareflect.0208fdd/environment/Dockerfile
@@ -0,0 +1,57 @@
+FROM ubuntu:22.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip autoconf automake gettext file binutils g++ libtool libncurses-dev meson ninja-build unzip wget curl xz-utils bzip2 zip zstd patch python3-pytest python3-pytest-xdist python3-coverage tar && rm -rf /var/lib/apt/lists/*
+ARG CMAKE_VERSION=3.31.10
+ARG CMAKE_PYPI_INDEX_URL=https://pypi.org/simple
+RUN set -eux; python3 -m pip install --no-cache-dir --index-url "${CMAKE_PYPI_INDEX_URL}" --trusted-host "mirror.example.invalid" "cmake==${CMAKE_VERSION}"; cmake --version; ctest --version; cpack --version
+COPY programgym-gcc13.tar.gz /tmp/gcc.tar.gz
+ARG GCC_VERSION=13.3.0
+RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) GCC_ARCH="x64" ;; arm64) GCC_ARCH="arm64" ;; *) echo "unsupported architecture for GCC 13: ${ARCH}" >&2; exit 1 ;; esac; if [ "${GCC_ARCH}" != "x64" ]; then echo "the staged GCC 13 archive is for x64, got ${GCC_ARCH}" >&2; exit 1; fi; rm -rf /opt/gcc-13; mkdir -p /opt/gcc-13; tar -xzf /tmp/gcc.tar.gz --strip-components=1 -C /opt/gcc-13; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/c++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc-13; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++-13; for PROGRAMGYM_GCOV_TOOL in gcov gcov-dump gcov-tool; do if [ -x "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" ]; then ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}-13"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/bin/${PROGRAMGYM_GCOV_TOOL}"; fi; done; ln -sf /opt/gcc-13/bin/gcc /usr/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/c++; rm -f /tmp/gcc.tar.gz; gcc --version; g++ --version; gcov --version; command -v gcov-dump >/dev/null && gcov-dump --version | head -n 1 || true
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /workspace/download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/leandros--metareflect.0208fdd/environment/download.sh b/leandros--metareflect.0208fdd/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..95c9d83755bb81b713c66e7fdbb564a6da2ede22
--- /dev/null
+++ b/leandros--metareflect.0208fdd/environment/download.sh
@@ -0,0 +1,84 @@
+#!/usr/bin/env bash
+#
+# download.sh -- ProgramGym download stage for Leandros/metareflect.
+#
+# This stage is a standalone dependency-preparation step. It is intended to be
+# SOURCED (`source /source_ro/download.sh`) rather than executed, so it must be
+# valid in shell-source mode: it keeps exported variables in the current shell,
+# never uses positional arguments, and returns a nonzero status on failure
+# instead of calling exit() in normal control flow.
+#
+# There is no build or compile step here.
+#
+# The selected target is the repository-provided demo `metareflect/main.cxx`,
+# which compiles from the runtime headers plus metareflect/metareflect.cxx.
+# It needs no third-party libraries, manifests, lockfiles, or source archives.
+# The only dependencies are the standard C/C++ toolchain and make/binutils,
+# which are already present in the base image (gcc/g++ 13.3.0, make 4.3,
+# binutils 2.38). This script therefore verifies those tools exist and exports
+# the compiler variables the offline build stage relies on.
+
+rc=0
+
+# A sourced script cannot exit() in normal control flow; on failure it must
+# return a nonzero status. The explicit branch below only calls exit() when
+# this file is run as a standalone program (bash download.sh), never when it is
+# sourced, so source-mode never exits the user's shell.
+fail_download_step() {
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+}
+
+# ---------------------------------------------------------------------------
+# 1. Verify the C/C++ toolchain and make/binutils.
+# ---------------------------------------------------------------------------
+# The base image already ships gcc/g++ 13.3.0, make 4.3 and binutils. We only
+# verify each required tool is on PATH and record which is missing; we never
+# invoke a compiler (`gcc`, `g++`, or the like) to check it. This stage performs
+# no compilation, linking, packaging, or test execution.
+
+CCPATH=""
+CXXPATH=""
+MAKEPATH=""
+
+if command -v gcc; then
+ CCPATH="$(command -v gcc)"
+else
+ echo "error: gcc not found on PATH"
+fi
+
+if command -v g++; then
+ CXXPATH="$(command -v g++)"
+else
+ echo "error: g++ not found on PATH"
+fi
+
+if command -v make; then
+ MAKEPATH="$(command -v make)"
+else
+ echo "error: make not found on PATH"
+fi
+
+# ---------------------------------------------------------------------------
+# 2. Export the toolchain variables the offline build stage relies on.
+# ---------------------------------------------------------------------------
+export CC="$CCPATH"
+export CXX="$CXXPATH"
+export MAKE="$MAKEPATH"
+
+# ---------------------------------------------------------------------------
+# 3. Any missing required tool causes this (sourced) script to report failure.
+# ---------------------------------------------------------------------------
+if [ -z "$CXXPATH" ] || [ -z "$CCPATH" ] || [ -z "$MAKEPATH" ]; then
+ echo "error: one or more required tools (gcc, g++, make) are missing"
+ fail_download_step
+ rc=$?
+else
+ echo "download.sh: ready. g++=$CXXPATH gcc=$CCPATH make=$MAKEPATH"
+ echo "download.sh: no external libraries, manifests, or source archives required for the selected target."
+fi
+
+return "$rc"
diff --git a/leandros--metareflect.0208fdd/environment/executable b/leandros--metareflect.0208fdd/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..d9f399a10565eef157b4d34af667f621a6545f34
Binary files /dev/null and b/leandros--metareflect.0208fdd/environment/executable differ
diff --git a/leandros--metareflect.0208fdd/environment/harbor_prepare_download_env.sh b/leandros--metareflect.0208fdd/environment/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..2c7dd2f2b8fff5fb8926261279d38518e59e407c
--- /dev/null
+++ b/leandros--metareflect.0208fdd/environment/harbor_prepare_download_env.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+set -euo pipefail
+cd /workspace
+set -a
+source /workspace/download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/leandros--metareflect.0208fdd/environment/programgym-gcc13.tar.gz b/leandros--metareflect.0208fdd/environment/programgym-gcc13.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..d65584edfe74425f789a3d2095fa0f130d7ab461
--- /dev/null
+++ b/leandros--metareflect.0208fdd/environment/programgym-gcc13.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5f67d082b220036c564f110ec9a2dffb736597685d2424761993561d836ebf88
+size 146620404
diff --git a/leandros--metareflect.0208fdd/environment/workspace.tar.gz b/leandros--metareflect.0208fdd/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..65fdfec208be309463a7007db09be5b04d78878f
--- /dev/null
+++ b/leandros--metareflect.0208fdd/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7efbabddd4feaa8760778b708ec63b80303458e9e90d15511dc475ad8bf246a4
+size 15698
diff --git a/leandros--metareflect.0208fdd/instruction.md b/leandros--metareflect.0208fdd/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/leandros--metareflect.0208fdd/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/leandros--metareflect.0208fdd/solution/solve.sh b/leandros--metareflect.0208fdd/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/leandros--metareflect.0208fdd/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/leandros--metareflect.0208fdd/task.toml b/leandros--metareflect.0208fdd/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..4526e0c939ece021cef089ecaee2174ef2c73e11
--- /dev/null
+++ b/leandros--metareflect.0208fdd/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/leandros--metareflect.0208fdd"
+description = "Synthetic ProgramGym cleanroom reconstruction task for Leandros/metareflect"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "cpp"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "Leandros__metareflect.0208fdd"
+repository = "Leandros/metareflect"
+commit = "0208fdd4fc0ea1081ae2ff4c3bfce161305a7423"
+language = "cpp"
+difficulty = "easy"
+difficulty_score = 1.4261858252445112
+test_branches = 3
+test_count = 474
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/leandros--metareflect.0208fdd/tests/Dockerfile b/leandros--metareflect.0208fdd/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..7ff3c98df93505861b0a050209ad20f385db35f4
--- /dev/null
+++ b/leandros--metareflect.0208fdd/tests/Dockerfile
@@ -0,0 +1,65 @@
+FROM ubuntu:22.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip autoconf automake gettext file binutils g++ libtool libncurses-dev meson ninja-build unzip wget curl xz-utils bzip2 zip zstd patch python3-pytest python3-pytest-xdist python3-coverage tar && rm -rf /var/lib/apt/lists/*
+ARG CMAKE_VERSION=3.31.10
+ARG CMAKE_PYPI_INDEX_URL=https://pypi.org/simple
+RUN set -eux; python3 -m pip install --no-cache-dir --index-url "${CMAKE_PYPI_INDEX_URL}" --trusted-host "mirror.example.invalid" "cmake==${CMAKE_VERSION}"; cmake --version; ctest --version; cpack --version
+COPY programgym-gcc13.tar.gz /tmp/gcc.tar.gz
+ARG GCC_VERSION=13.3.0
+RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) GCC_ARCH="x64" ;; arm64) GCC_ARCH="arm64" ;; *) echo "unsupported architecture for GCC 13: ${ARCH}" >&2; exit 1 ;; esac; if [ "${GCC_ARCH}" != "x64" ]; then echo "the staged GCC 13 archive is for x64, got ${GCC_ARCH}" >&2; exit 1; fi; rm -rf /opt/gcc-13; mkdir -p /opt/gcc-13; tar -xzf /tmp/gcc.tar.gz --strip-components=1 -C /opt/gcc-13; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/c++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc-13; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++-13; for PROGRAMGYM_GCOV_TOOL in gcov gcov-dump gcov-tool; do if [ -x "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" ]; then ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}-13"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/bin/${PROGRAMGYM_GCOV_TOOL}"; fi; done; ln -sf /opt/gcc-13/bin/gcc /usr/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/c++; rm -f /tmp/gcc.tar.gz; gcc --version; g++ --version; gcov --version; command -v gcov-dump >/dev/null && gcov-dump --version | head -n 1 || true
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /workspace/download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN python3 -m pip install --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/leandros--metareflect.0208fdd/tests/blobs/tests/generated_module_01.tar.gz b/leandros--metareflect.0208fdd/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..a1a86d61cf3aa74808ec58732e70223f0b65ec9d
--- /dev/null
+++ b/leandros--metareflect.0208fdd/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5d9164a97baa03b382c0472c65a37078e0a3a9ad1b2f5f175fb00be6fe005d07
+size 17631
diff --git a/leandros--metareflect.0208fdd/tests/blobs/tests/generated_module_02.tar.gz b/leandros--metareflect.0208fdd/tests/blobs/tests/generated_module_02.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..1d1d72749f9453b9291bed2c989574e9836ea2a0
--- /dev/null
+++ b/leandros--metareflect.0208fdd/tests/blobs/tests/generated_module_02.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:90ef156714fabd9155f367ef11e960425fa6d0718909ab8b0c67718bee235045
+size 21939
diff --git a/leandros--metareflect.0208fdd/tests/blobs/tests/generated_module_04.tar.gz b/leandros--metareflect.0208fdd/tests/blobs/tests/generated_module_04.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..3c376ce850b47efee132ff3f7877190f85d733e0
--- /dev/null
+++ b/leandros--metareflect.0208fdd/tests/blobs/tests/generated_module_04.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2d849fd431160b38ae1e21fbe7d596fcb3d84f0c185d379f688e6fd085351ea9
+size 29394
diff --git a/leandros--metareflect.0208fdd/tests/download.sh b/leandros--metareflect.0208fdd/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..95c9d83755bb81b713c66e7fdbb564a6da2ede22
--- /dev/null
+++ b/leandros--metareflect.0208fdd/tests/download.sh
@@ -0,0 +1,84 @@
+#!/usr/bin/env bash
+#
+# download.sh -- ProgramGym download stage for Leandros/metareflect.
+#
+# This stage is a standalone dependency-preparation step. It is intended to be
+# SOURCED (`source /source_ro/download.sh`) rather than executed, so it must be
+# valid in shell-source mode: it keeps exported variables in the current shell,
+# never uses positional arguments, and returns a nonzero status on failure
+# instead of calling exit() in normal control flow.
+#
+# There is no build or compile step here.
+#
+# The selected target is the repository-provided demo `metareflect/main.cxx`,
+# which compiles from the runtime headers plus metareflect/metareflect.cxx.
+# It needs no third-party libraries, manifests, lockfiles, or source archives.
+# The only dependencies are the standard C/C++ toolchain and make/binutils,
+# which are already present in the base image (gcc/g++ 13.3.0, make 4.3,
+# binutils 2.38). This script therefore verifies those tools exist and exports
+# the compiler variables the offline build stage relies on.
+
+rc=0
+
+# A sourced script cannot exit() in normal control flow; on failure it must
+# return a nonzero status. The explicit branch below only calls exit() when
+# this file is run as a standalone program (bash download.sh), never when it is
+# sourced, so source-mode never exits the user's shell.
+fail_download_step() {
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+}
+
+# ---------------------------------------------------------------------------
+# 1. Verify the C/C++ toolchain and make/binutils.
+# ---------------------------------------------------------------------------
+# The base image already ships gcc/g++ 13.3.0, make 4.3 and binutils. We only
+# verify each required tool is on PATH and record which is missing; we never
+# invoke a compiler (`gcc`, `g++`, or the like) to check it. This stage performs
+# no compilation, linking, packaging, or test execution.
+
+CCPATH=""
+CXXPATH=""
+MAKEPATH=""
+
+if command -v gcc; then
+ CCPATH="$(command -v gcc)"
+else
+ echo "error: gcc not found on PATH"
+fi
+
+if command -v g++; then
+ CXXPATH="$(command -v g++)"
+else
+ echo "error: g++ not found on PATH"
+fi
+
+if command -v make; then
+ MAKEPATH="$(command -v make)"
+else
+ echo "error: make not found on PATH"
+fi
+
+# ---------------------------------------------------------------------------
+# 2. Export the toolchain variables the offline build stage relies on.
+# ---------------------------------------------------------------------------
+export CC="$CCPATH"
+export CXX="$CXXPATH"
+export MAKE="$MAKEPATH"
+
+# ---------------------------------------------------------------------------
+# 3. Any missing required tool causes this (sourced) script to report failure.
+# ---------------------------------------------------------------------------
+if [ -z "$CXXPATH" ] || [ -z "$CCPATH" ] || [ -z "$MAKEPATH" ]; then
+ echo "error: one or more required tools (gcc, g++, make) are missing"
+ fail_download_step
+ rc=$?
+else
+ echo "download.sh: ready. g++=$CXXPATH gcc=$CCPATH make=$MAKEPATH"
+ echo "download.sh: no external libraries, manifests, or source archives required for the selected target."
+fi
+
+return "$rc"
diff --git a/leandros--metareflect.0208fdd/tests/executable b/leandros--metareflect.0208fdd/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..d9f399a10565eef157b4d34af667f621a6545f34
Binary files /dev/null and b/leandros--metareflect.0208fdd/tests/executable differ
diff --git a/leandros--metareflect.0208fdd/tests/harbor_prepare_download_env.sh b/leandros--metareflect.0208fdd/tests/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..2c7dd2f2b8fff5fb8926261279d38518e59e407c
--- /dev/null
+++ b/leandros--metareflect.0208fdd/tests/harbor_prepare_download_env.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+set -euo pipefail
+cd /workspace
+set -a
+source /workspace/download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/leandros--metareflect.0208fdd/tests/programgym-gcc13.tar.gz b/leandros--metareflect.0208fdd/tests/programgym-gcc13.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..d65584edfe74425f789a3d2095fa0f130d7ab461
--- /dev/null
+++ b/leandros--metareflect.0208fdd/tests/programgym-gcc13.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5f67d082b220036c564f110ec9a2dffb736597685d2424761993561d836ebf88
+size 146620404
diff --git a/leandros--metareflect.0208fdd/tests/programgym_evaluator.py b/leandros--metareflect.0208fdd/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/leandros--metareflect.0208fdd/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/leandros--metareflect.0208fdd/tests/programgym_task.json b/leandros--metareflect.0208fdd/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..29b011ca498182b0a54635d0f7413db1667ded82
--- /dev/null
+++ b/leandros--metareflect.0208fdd/tests/programgym_task.json
@@ -0,0 +1,1656 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [
+ {
+ "name": "eval.tests.test_json_hashing.TestTopLevelClassHashes.test_document_order_and_typehash_exact",
+ "reasons": [
+ {
+ "detail": "ValueError: too many values to unpack (expected 2)",
+ "id": "gold_fail",
+ "message": "test failed against the reference executable",
+ "repair_hint": "Fix the expected observable behavior so the test passes against the reference executable.",
+ "severity": "error",
+ "stage": "gold_execution"
+ }
+ ]
+ }
+ ],
+ "tests": [
+ "eval.tests.test_behavior_detail.TestJsonDocumentOrder.test_top_level_json_order",
+ "eval.tests.test_behavior_detail.TestJsonTypeKeyFirst.test_type_key_is_first_key",
+ "eval.tests.test_behavior_detail.TestMemberOrder.test_coloredpoint_member_order",
+ "eval.tests.test_behavior_detail.TestMemberOrder.test_object_member_order",
+ "eval.tests.test_behavior_detail.TestMemberOrder.test_point_member_order",
+ "eval.tests.test_behavior_detail.TestMemberOrder.test_user_member_order",
+ "eval.tests.test_behavior_detail.TestPointIdentity.test_point_block_appears[ 0]",
+ "eval.tests.test_behavior_detail.TestPointIdentity.test_point_block_appears[ 1]",
+ "eval.tests.test_behavior_detail.TestPointIdentity.test_point_block_appears[ ]",
+ "eval.tests.test_behavior_detail.TestTypeSpellingDistinctness.test_exact_value_line[ .rgb = unsigned int{4279533568}]",
+ "eval.tests.test_behavior_detail.TestTypeSpellingDistinctness.test_exact_value_line[ .id = unsigned long long{42}]",
+ "eval.tests.test_behavior_detail.TestTypeSpellingDistinctness.test_exact_value_line[ .x = int{10}]",
+ "eval.tests.test_behavior_detail.TestTypeSpellingDistinctness.test_exact_value_line[ .z = unsigned long{0}]",
+ "eval.tests.test_behavior_detail.TestUnusedTypeAbsence.test_class_not_reflected_message_absent",
+ "eval.tests.test_behavior_detail.TestUnusedTypeAbsence.test_unused_primitive_absent[bool{]",
+ "eval.tests.test_behavior_detail.TestUnusedTypeAbsence.test_unused_primitive_absent[char{]",
+ "eval.tests.test_behavior_detail.TestUnusedTypeAbsence.test_unused_primitive_absent[double{]",
+ "eval.tests.test_behavior_detail.TestUnusedTypeAbsence.test_unused_primitive_absent[float{]",
+ "eval.tests.test_behavior_detail.TestVectorMonotonicValues.test_vector_values_increase_in_order",
+ "eval.tests.test_class_dumps.TestReadableClassDumps.test_class_dump_block[ColoredPoint]",
+ "eval.tests.test_class_dumps.TestReadableClassDumps.test_class_dump_block[Object]",
+ "eval.tests.test_class_dumps.TestReadableClassDumps.test_class_dump_block[Point]",
+ "eval.tests.test_class_dumps.TestReadableClassDumps.test_class_dump_block[RGBColor_nested]",
+ "eval.tests.test_class_dumps.TestReadableClassDumps.test_class_dump_block[User]",
+ "eval.tests.test_class_dumps.TestReadableClassDumps.test_classvisitor_braces_balance",
+ "eval.tests.test_class_dumps.TestReadableClassDumps.test_dump_block_is_balanced[ColoredPoint]",
+ "eval.tests.test_class_dumps.TestReadableClassDumps.test_dump_block_is_balanced[Object]",
+ "eval.tests.test_class_dumps.TestReadableClassDumps.test_dump_block_is_balanced[Point]",
+ "eval.tests.test_class_dumps.TestReadableClassDumps.test_dump_block_is_balanced[RGBColor_nested]",
+ "eval.tests.test_class_dumps.TestReadableClassDumps.test_dump_block_is_balanced[User]",
+ "eval.tests.test_exit_and_golden.TestDefaultDumpAbsence.test_no_pointer_address_in_value_braces",
+ "eval.tests.test_exit_and_golden.TestDefaultDumpAbsence.test_primitive_values_not_rendered_as_address",
+ "eval.tests.test_exit_and_golden.TestExitContract.test_exits_zero_with_point_report",
+ "eval.tests.test_exit_and_golden.TestExitContract.test_report_begins_with_point_class",
+ "eval.tests.test_exit_and_golden.TestExitContract.test_report_ends_with_user_json",
+ "eval.tests.test_exit_and_golden.TestGoldenEquivalence.test_stdout_matches_golden_exactly",
+ "eval.tests.test_exit_and_golden.TestGoldenEquivalence.test_two_runs_identical",
+ "eval.tests.test_field_access.TestFieldByNameSequence.test_full_sequence_present_verbatim",
+ "eval.tests.test_field_access.TestFieldByNameSequence.test_read_after_write_agrees",
+ "eval.tests.test_field_access.TestFieldByNameSequence.test_read_echo_before_write",
+ "eval.tests.test_field_access.TestFieldByNameSequence.test_sequence_after_object_json",
+ "eval.tests.test_field_access.TestFieldByNameSequence.test_write_marker",
+ "eval.tests.test_field_access.TestFieldByNameSequence.test_write_reflects_in_second_read",
+ "eval.tests.test_json_hashing.TestNestedClassHash.test_rgbcolor_hash_in_coloredpoint",
+ "eval.tests.test_json_hashing.TestSerializedObjectHashContract.test_rgbcolor_nested_hash_in_coloredpoint_document",
+ "eval.tests.test_json_hashing.TestSerializedObjectHashContract.test_top_level_documents_carry_exact_hash_sequence",
+ "eval.tests.test_json_hashing.TestSerializedObjectHashContract.test_top_level_hash_set_is_exactly_the_four_classes",
+ "eval.tests.test_json_hashing.TestTopLevelClassHashes.test_document_order_and_typehash_exact",
+ "eval.tests.test_json_hashing.TestTopLevelClassHashes.test_point_document_x_value",
+ "eval.tests.test_json_hashing.TestVectorElementHashes.test_vector_elements_share_point_hash",
+ "eval.tests.test_json_hashing.TestVectorElementHashes.test_vector_first_and_last_element_values",
+ "eval.tests.test_json_hashing.TestVectorElementHashes.test_vector_json_payload_exact",
+ "eval.tests.test_json_values.TestJsonScalarValues.test_colored_point_name_string",
+ "eval.tests.test_json_values.TestJsonScalarValues.test_colored_point_rgb_uint",
+ "eval.tests.test_json_values.TestJsonScalarValues.test_flat_point_json_value[json-x-10-point x == 10]",
+ "eval.tests.test_json_values.TestJsonScalarValues.test_flat_point_json_value[json-y-10-point y == 10]",
+ "eval.tests.test_json_values.TestJsonScalarValues.test_flat_point_json_value[json-z-0-point z == 0]",
+ "eval.tests.test_json_values.TestJsonScalarValues.test_user_json_id_is_42",
+ "eval.tests.test_json_values.TestJsonScalarValues.test_user_json_name_string",
+ "eval.tests.test_json_values.TestJsonScalarValues.test_user_json_pets_list",
+ "eval.tests.test_report_consistency.TestArrayElementMarkerSurface.test_six_per_index_element_markers",
+ "eval.tests.test_report_consistency.TestArrayElementMarkerSurface.test_within_is_equal_to_index_for_point_elements",
+ "eval.tests.test_report_consistency.TestNonVectorPointMaterialisation.test_point_coordinates_agree",
+ "eval.tests.test_report_consistency.TestNonVectorPointMaterialisation.test_x_coordinate_line_appears_three_times",
+ "eval.tests.test_report_consistency.TestNonVectorPointMaterialisation.test_y_coordinate_line_appears_three_times",
+ "eval.tests.test_report_consistency.TestReportBoundary.test_blank_line_count_matches_section_gaps",
+ "eval.tests.test_report_consistency.TestReportBoundary.test_first_byte_is_point_header_no_bom",
+ "eval.tests.test_report_consistency.TestReportBoundary.test_last_line_is_user_json_document",
+ "eval.tests.test_report_consistency.TestRgbPackedByteDecomposition.test_rgb_value_is_packed_bytes",
+ "eval.tests.test_report_consistency.TestRgbPackedByteDecomposition.test_rgb_value_present_in_nested_document",
+ "eval.tests.test_report_consistency.TestScalarTypeSpellingDistribution.test_int_coordinate_spelling_count",
+ "eval.tests.test_report_consistency.TestScalarTypeSpellingDistribution.test_rgb_unsigned_int_spelling_single",
+ "eval.tests.test_report_consistency.TestScalarTypeSpellingDistribution.test_unsigned_long_spelling_counts_z_rows",
+ "eval.tests.test_report_consistency.TestScalarTypeSpellingDistribution.test_user_unsigned_long_long_spelling_single",
+ "eval.tests.test_report_consistency.TestTopLevelPointJsonDocument.test_point_json_document_exact",
+ "eval.tests.test_report_consistency.TestVectorElementGrid.test_vector_element_row_exact[1]",
+ "eval.tests.test_report_consistency.TestVectorElementGrid.test_vector_element_row_exact[2]",
+ "eval.tests.test_report_consistency.TestVectorElementGrid.test_vector_element_row_exact[3]",
+ "eval.tests.test_report_consistency.TestVectorElementGrid.test_vector_element_row_exact[4]",
+ "eval.tests.test_report_consistency.TestVectorElementGrid.test_vector_element_values_are_1_to_4_each_once",
+ "eval.tests.test_report_invariants.TestClassHeaderClosure.test_column_zero_class_headers_are_exact_set",
+ "eval.tests.test_report_invariants.TestCompleteFieldSurface.test_field_line_left_side_is_single_dot_identifier",
+ "eval.tests.test_report_invariants.TestCompleteFieldSurface.test_ordered_field_surface_is_exact",
+ "eval.tests.test_report_invariants.TestCrossStreamNumericConsistency.test_readable_value_matches_json[point_x]",
+ "eval.tests.test_report_invariants.TestCrossStreamNumericConsistency.test_readable_value_matches_json[point_y]",
+ "eval.tests.test_report_invariants.TestCrossStreamNumericConsistency.test_readable_value_matches_json[point_z]",
+ "eval.tests.test_report_invariants.TestCrossStreamNumericConsistency.test_readable_value_matches_json[rgb_uint]",
+ "eval.tests.test_report_invariants.TestCrossStreamNumericConsistency.test_readable_value_matches_json[user_id]",
+ "eval.tests.test_report_invariants.TestNoNullPrimitiveRendering.test_null_json_object_not_rendered",
+ "eval.tests.test_report_invariants.TestNoNullPrimitiveRendering.test_numptr_not_rendered",
+ "eval.tests.test_report_invariants.TestPointTypeHashRecurrence.test_point_hash_appears_seven_times",
+ "eval.tests.test_report_invariants.TestPointTypeHashRecurrence.test_top_level_point_document_is_the_exact_unit",
+ "eval.tests.test_report_structure.TestEmptyArrayReport.test_object_array_json_empty",
+ "eval.tests.test_report_structure.TestEmptyArrayReport.test_object_array_readable_empty",
+ "eval.tests.test_report_structure.TestScenarioOrdering.test_exact_separator_count",
+ "eval.tests.test_report_structure.TestScenarioOrdering.test_pairwise_ordering",
+ "eval.tests.test_report_structure.TestScenarioOrdering.test_scenario_markers_in_order",
+ "eval.tests.test_report_structure.TestUnionReflection.test_rgb_packed_byte_value",
+ "eval.tests.test_report_structure.TestUnionReflection.test_rgbcolor_exact_dump_line",
+ "eval.tests.test_report_structure.TestUnionReflection.test_rgbcolor_nested_json",
+ "eval.tests.test_report_structure.TestUnionReflection.test_rgbcolor_single_reflected_field",
+ "eval.tests.test_serializable_filter.TestNonSerializedFieldsOmitted.test_object_json_key_set_exact",
+ "eval.tests.test_serializable_filter.TestNonSerializedFieldsOmitted.test_object_json_points_empty",
+ "eval.tests.test_serializable_filter.TestNonSerializedFieldsOmitted.test_object_json_ppoint_payload",
+ "eval.tests.test_serializable_filter.TestNonSerializedFieldsOmitted.test_object_readable_excludes_children_parent",
+ "eval.tests.test_serializable_filter.TestSerializedMembersPresent.test_readable_points_empty_block",
+ "eval.tests.test_serializable_filter.TestSerializedMembersPresent.test_readable_ppoint_block",
+ "eval.tests.test_string_handling.TestJsonStringHandling.test_coloredpoint_name_json",
+ "eval.tests.test_string_handling.TestJsonStringHandling.test_pets_json_quoted_list",
+ "eval.tests.test_string_handling.TestJsonStringHandling.test_user_json_name_and_pets_exact",
+ "eval.tests.test_string_handling.TestStringDumpHandling.test_coloredpoint_name_cstring_line",
+ "eval.tests.test_string_handling.TestStringDumpHandling.test_pets_are_rendered_as_strings",
+ "eval.tests.test_string_handling.TestStringDumpHandling.test_user_name_std_string_line",
+ "eval.tests.test_string_handling.TestStringDumpHandling.test_user_pets_block",
+ "eval.tests.test_traversal_modes.TestArrayFieldTraversal.test_object_points_empty_block",
+ "eval.tests.test_traversal_modes.TestArrayFieldTraversal.test_object_points_json_empty",
+ "eval.tests.test_traversal_modes.TestArrayFieldTraversal.test_object_points_no_elements",
+ "eval.tests.test_traversal_modes.TestNestedClassTraversal.test_color_sibling_block",
+ "eval.tests.test_traversal_modes.TestNestedClassTraversal.test_coloredpoint_point_block",
+ "eval.tests.test_traversal_modes.TestNestedClassTraversal.test_indentation_depth_two_variants",
+ "eval.tests.test_traversal_modes.TestPointerFieldTraversal.test_coloredpoint_name_pointer_string",
+ "eval.tests.test_traversal_modes.TestPointerFieldTraversal.test_object_ppoint_block",
+ "eval.tests.test_traversal_modes.TestPointerVsInlineRecursionCount.test_ppoint_has_three_members",
+ "eval.tests.test_traversal_modes.TestVectorClassTraversal.test_vector_element_indices_0_to_3",
+ "eval.tests.test_traversal_modes.TestVectorClassTraversal.test_vector_element_type_is_point",
+ "eval.tests.test_traversal_modes.TestVectorClassTraversal.test_vector_json_array",
+ "eval.tests.test_traversal_modes.TestVectorClassTraversal.test_vector_last_element_values",
+ "eval.tests.test_traversal_modes.TestVectorClassTraversal.test_vector_readable_array",
+ "eval.tests.test_type_names.TestPrimitiveTypeNames.test_member_exact_dump_line[field_color_line]",
+ "eval.tests.test_type_names.TestPrimitiveTypeNames.test_member_exact_dump_line[field_id_line]",
+ "eval.tests.test_type_names.TestPrimitiveTypeNames.test_member_exact_dump_line[field_point_line]",
+ "eval.tests.test_type_names.TestPrimitiveTypeNames.test_member_exact_dump_line[field_rgb_line]",
+ "eval.tests.test_type_names.TestPrimitiveTypeNames.test_member_exact_dump_line[field_x_line]",
+ "eval.tests.test_type_names.TestPrimitiveTypeNames.test_member_exact_dump_line[field_y_line]",
+ "eval.tests.test_type_names.TestPrimitiveTypeNames.test_member_exact_dump_line[field_z_line]",
+ "eval.tests.test_type_names.TestPrimitiveTypeNames.test_type_value_line[int]",
+ "eval.tests.test_type_names.TestPrimitiveTypeNames.test_type_value_line[unsigned_int]",
+ "eval.tests.test_type_names.TestPrimitiveTypeNames.test_type_value_line[unsigned_long]",
+ "eval.tests.test_type_names.TestPrimitiveTypeNames.test_type_value_line[unsigned_long_long]",
+ "eval.tests.test_type_names.TestTypeNameAbsences.test_bool_never_dumped",
+ "eval.tests.test_type_names.TestTypeNameAbsences.test_double_never_dumped",
+ "eval.tests.test_type_names.TestTypeNameAbsences.test_float_never_dumped"
+ ]
+ },
+ "generated_module_02": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [
+ {
+ "name": "eval.tests.test_argstdin_independence_and_structural_invariants.test_five_blank_line_separators",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_argstdin_independence_and_structural_invariants.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_argstdin_independence_and_structural_invariants.test_only_ascii_printable_bytes_in_tree_surface",
+ "reasons": [
+ {
+ "id": "assertion_disjunction",
+ "message": "pytest assertion accepts alternatives with or",
+ "path": "eval/tests/test_argstdin_independence_and_structural_invariants.py",
+ "repair_hint": "Assert one exact expected outcome instead of accepting alternative outcomes with or.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_array_dumping.test_fixed_array_dump_opens_with_bracket",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_array_dumping.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_exact_document_oracles.test_root_openers_each_occur_at_column_zero",
+ "reasons": [
+ {
+ "id": "all_assertions_weak",
+ "message": "pytest test uses only weak assertions",
+ "path": "eval/tests/test_exact_document_oracles.py",
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_exact_tree_blocks_and_sequencing.test_mutated_point_x_only_affects_first_region",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_exact_tree_blocks_and_sequencing.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_exact_tree_blocks_and_sequencing.test_sections_are_separated_by_markers_in_order",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_exact_tree_blocks_and_sequencing.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_exit_and_smoke.test_exits_zero_and_emits_point",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_exit_and_smoke.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_exit_and_smoke.test_final_dump_block_is_user",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_exit_and_smoke.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_exit_and_smoke.test_reflection_sections_separated_by_markers",
+ "reasons": [
+ {
+ "id": "all_assertions_weak",
+ "message": "pytest test uses only weak assertions",
+ "path": "eval/tests/test_exit_and_smoke.py",
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_exit_and_smoke.test_stdout_is_utf8_text",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_exit_and_smoke.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_field_access_sequence.test_mutation_announcement_exact_line",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_field_access_sequence.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_numeric_precision.test_no_decimal_dot_for_integers",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_numeric_precision.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_numeric_precision.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_numeric_precision.test_positive_integers_have_no_plus_prefix",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_numeric_precision.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_paragraph_structure_and_cross_surface.test_mutation_readback_matches_reflected_initial_value",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_paragraph_structure_and_cross_surface.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_paragraph_structure_and_cross_surface.test_object_pblock_and_json_agree",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_paragraph_structure_and_cross_surface.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_paragraph_structure_and_cross_surface.test_only_numeric_and_string_primitives_in_json",
+ "reasons": [
+ {
+ "id": "if_else_both_assert",
+ "message": "pytest test asserts different outcomes in both if and else branches",
+ "path": "eval/tests/test_paragraph_structure_and_cross_surface.py",
+ "repair_hint": "Remove nondeterministic branching and assert one deterministic expected behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_paragraph_structure_and_cross_surface.test_vector_tree_has_four_lines_and_closes",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_paragraph_structure_and_cross_surface.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_string_printing.test_json_encodes_user_name_as_string",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_string_printing.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_string_printing.test_json_strings_unquoted_in_tree_dump",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_string_printing.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ }
+ ],
+ "tests": [
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_argv_does_not_alter_output[double_dash]",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_argv_does_not_alter_output[file_like]",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_argv_does_not_alter_output[help_flag]",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_argv_does_not_alter_output[no_args]",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_argv_does_not_alter_output[positional_words]",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_argv_does_not_alter_output[short_flag]",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_argv_does_not_alter_output[version_flag]",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_braces_balance_with_exact_counts",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_brackets_balance_with_exact_counts",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_every_run_matches_golden[run0]",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_every_run_matches_golden[run1]",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_every_run_matches_golden[run2]",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_every_run_matches_golden[run3]",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_every_run_matches_golden[run4]",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_five_blank_line_separators",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_no_parentheses_in_dump_surface",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_only_ascii_printable_bytes_in_tree_surface",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_serial_runs_are_pairwise_identical",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_stdin_does_not_alter_output[dash_input]",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_stdin_does_not_alter_output[empty]",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_stdin_does_not_alter_output[four_kb_fill]",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_stdin_does_not_alter_output[json_payload]",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_stdin_does_not_alter_output[newline]",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_stdin_does_not_alter_output[short_text]",
+ "eval.tests.test_argstdin_independence_and_structural_invariants.test_stream_byte_and_line_length_pinned",
+ "eval.tests.test_array_dumping.test_fixed_array_dump_opens_with_bracket",
+ "eval.tests.test_array_dumping.test_fixed_point_array_json_is_empty_structurally",
+ "eval.tests.test_array_dumping.test_pets_json_exact_payload",
+ "eval.tests.test_array_dumping.test_pets_vector_tree_elements_exact",
+ "eval.tests.test_array_dumping.test_vector_block_has_four_numbered_elements",
+ "eval.tests.test_array_dumping.test_vector_element_x_full_line[0-1]",
+ "eval.tests.test_array_dumping.test_vector_element_x_full_line[1-2]",
+ "eval.tests.test_array_dumping.test_vector_element_x_full_line[2-3]",
+ "eval.tests.test_array_dumping.test_vector_element_x_full_line[3-4]",
+ "eval.tests.test_array_dumping.test_vector_element_y_full_line[0-1]",
+ "eval.tests.test_array_dumping.test_vector_element_y_full_line[1-2]",
+ "eval.tests.test_array_dumping.test_vector_element_y_full_line[2-3]",
+ "eval.tests.test_array_dumping.test_vector_element_y_full_line[3-4]",
+ "eval.tests.test_array_dumping.test_vector_element_z_full_line[0-1]",
+ "eval.tests.test_array_dumping.test_vector_element_z_full_line[1-2]",
+ "eval.tests.test_array_dumping.test_vector_element_z_full_line[2-3]",
+ "eval.tests.test_array_dumping.test_vector_element_z_full_line[3-4]",
+ "eval.tests.test_array_dumping.test_vector_json_exact_element_set",
+ "eval.tests.test_exact_document_oracles.test_exact_json_document_line[ColoredPoint]",
+ "eval.tests.test_exact_document_oracles.test_exact_json_document_line[Object]",
+ "eval.tests.test_exact_document_oracles.test_exact_json_document_line[Point]",
+ "eval.tests.test_exact_document_oracles.test_exact_json_document_line[User]",
+ "eval.tests.test_exact_document_oracles.test_exact_json_document_line[vector_Point]",
+ "eval.tests.test_exact_document_oracles.test_point_tree_block_exact",
+ "eval.tests.test_exact_document_oracles.test_registered_fundamental_names_match_dump_syntax",
+ "eval.tests.test_exact_document_oracles.test_rgb_uint_value_matches_tree_and_json",
+ "eval.tests.test_exact_document_oracles.test_root_openers_each_occur_at_column_zero",
+ "eval.tests.test_exact_document_oracles.test_tree_and_json_agree_on_point_values",
+ "eval.tests.test_exact_document_oracles.test_user_id_value_consistent_across_visitors",
+ "eval.tests.test_exact_document_oracles.test_user_tree_block_exact",
+ "eval.tests.test_exact_tree_blocks_and_sequencing.test_coloredpoint_tree_block_exact",
+ "eval.tests.test_exact_tree_blocks_and_sequencing.test_coloredpoint_tree_values_match_json",
+ "eval.tests.test_exact_tree_blocks_and_sequencing.test_each_class_tree_block_is_then_serialized_as_json",
+ "eval.tests.test_exact_tree_blocks_and_sequencing.test_five_sections_in_declared_order",
+ "eval.tests.test_exact_tree_blocks_and_sequencing.test_int_dump_value_set_is_exact",
+ "eval.tests.test_exact_tree_blocks_and_sequencing.test_mutated_point_x_only_affects_first_region",
+ "eval.tests.test_exact_tree_blocks_and_sequencing.test_object_fixed_array_json_is_exactly_empty",
+ "eval.tests.test_exact_tree_blocks_and_sequencing.test_object_tree_block_exact",
+ "eval.tests.test_exact_tree_blocks_and_sequencing.test_point_tree_block_exact_roundtrip",
+ "eval.tests.test_exact_tree_blocks_and_sequencing.test_primitive_dump_type_labels_are_exact",
+ "eval.tests.test_exact_tree_blocks_and_sequencing.test_sections_are_separated_by_markers_in_order",
+ "eval.tests.test_exact_tree_blocks_and_sequencing.test_vector_json_matches_tree_count",
+ "eval.tests.test_exact_tree_blocks_and_sequencing.test_vector_tree_block_exact_four_elements",
+ "eval.tests.test_exit_and_smoke.test_clean_stderr",
+ "eval.tests.test_exit_and_smoke.test_exits_zero_and_emits_point",
+ "eval.tests.test_exit_and_smoke.test_final_dump_block_is_user",
+ "eval.tests.test_exit_and_smoke.test_four_json_object_documents_parse",
+ "eval.tests.test_exit_and_smoke.test_output_is_line_terminated",
+ "eval.tests.test_exit_and_smoke.test_produces_exact_section_markers",
+ "eval.tests.test_exit_and_smoke.test_reflection_sections_separated_by_markers",
+ "eval.tests.test_exit_and_smoke.test_repeat_run_is_identical",
+ "eval.tests.test_exit_and_smoke.test_stdout_is_utf8_text",
+ "eval.tests.test_field_access_sequence.test_before_and_after_readbacks_are_a_causal_chain",
+ "eval.tests.test_field_access_sequence.test_mutation_announcement_exact_line",
+ "eval.tests.test_field_access_sequence.test_mutation_stays_within_point_block",
+ "eval.tests.test_field_access_sequence.test_readback_lines_exactly_10_then_50",
+ "eval.tests.test_field_access_sequence.test_setvalue_caches_readback_before_mutation",
+ "eval.tests.test_field_access_sequence.test_setvalue_mutates_in_place",
+ "eval.tests.test_fundamental_dump_format.test_fundamental_dump_line_verbatim[ .rgb = unsigned int{4279533568}]",
+ "eval.tests.test_fundamental_dump_format.test_fundamental_dump_line_verbatim[ .x = int{3}]",
+ "eval.tests.test_fundamental_dump_format.test_fundamental_dump_line_verbatim[ .y = int{4}]",
+ "eval.tests.test_fundamental_dump_format.test_fundamental_dump_line_verbatim[ .id = unsigned long long{42}]",
+ "eval.tests.test_fundamental_dump_format.test_fundamental_dump_line_verbatim[ .x = int{10}]",
+ "eval.tests.test_fundamental_dump_format.test_fundamental_dump_line_verbatim[ .y = int{10}]",
+ "eval.tests.test_fundamental_dump_format.test_fundamental_dump_line_verbatim[ .z = unsigned long{0}]",
+ "eval.tests.test_fundamental_dump_format.test_json_field_value_fidelity[11857839211710813138-id-42]",
+ "eval.tests.test_fundamental_dump_format.test_json_field_value_fidelity[12357538589151270293-color-\"rgb\":4279533568]",
+ "eval.tests.test_fundamental_dump_format.test_json_field_value_fidelity[12357538589151270293-name-\"My Point\"]",
+ "eval.tests.test_fundamental_dump_format.test_json_field_value_fidelity[9962967977086807313-x-10]",
+ "eval.tests.test_fundamental_dump_format.test_json_field_value_fidelity[9962967977086807313-y-10]",
+ "eval.tests.test_fundamental_dump_format.test_json_field_value_fidelity[9962967977086807313-z-0]",
+ "eval.tests.test_fundamental_dump_format.test_json_nested_type_hashes[12357538589151270293-color-6616920365815789155]",
+ "eval.tests.test_fundamental_dump_format.test_json_nested_type_hashes[12357538589151270293-point-9962967977086807313]",
+ "eval.tests.test_fundamental_dump_format.test_json_nested_type_hashes[8287048469554089178-pPoint-9962967977086807313]",
+ "eval.tests.test_fundamental_dump_format.test_type_name_registered_in_dump[int]",
+ "eval.tests.test_fundamental_dump_format.test_type_name_registered_in_dump[unsigned int]",
+ "eval.tests.test_fundamental_dump_format.test_type_name_registered_in_dump[unsigned long long]",
+ "eval.tests.test_fundamental_dump_format.test_type_name_registered_in_dump[unsigned long]",
+ "eval.tests.test_golden_integration.test_four_dump_blocks_terminate_each_section",
+ "eval.tests.test_golden_integration.test_golden_and_live_share_exact_section_markers",
+ "eval.tests.test_golden_integration.test_golden_and_live_share_line_sequence",
+ "eval.tests.test_golden_integration.test_golden_matches_live_run_exactly",
+ "eval.tests.test_golden_integration.test_live_output_uses_lf_endings_only",
+ "eval.tests.test_json_structure.test_coloredpoint_nested_point_equal",
+ "eval.tests.test_json_structure.test_four_distinct_documents",
+ "eval.tests.test_json_structure.test_object_document",
+ "eval.tests.test_json_structure.test_point_document_field_order",
+ "eval.tests.test_json_structure.test_point_document_shape",
+ "eval.tests.test_json_structure.test_point_member_values[x-10]",
+ "eval.tests.test_json_structure.test_point_member_values[y-10]",
+ "eval.tests.test_json_structure.test_point_member_values[z-0]",
+ "eval.tests.test_json_structure.test_rgbcolor_uint_document",
+ "eval.tests.test_json_structure.test_user_document",
+ "eval.tests.test_nested_structure.test_coloredpoint_is_nested",
+ "eval.tests.test_nested_structure.test_coloredpoint_member_order",
+ "eval.tests.test_nested_structure.test_indentation_increments_with_depth",
+ "eval.tests.test_nested_structure.test_member_label_uses_equals_then_name_paren",
+ "eval.tests.test_nested_structure.test_object_pointer_member_nested",
+ "eval.tests.test_nested_structure.test_point_member_order_x_y_z",
+ "eval.tests.test_nested_structure.test_point_opens_and_closes",
+ "eval.tests.test_nested_structure.test_rgbcolor_uint_dump_nested",
+ "eval.tests.test_nested_structure.test_user_fields_in_order",
+ "eval.tests.test_numeric_precision.test_all_json_numbers_are_integral_decimals",
+ "eval.tests.test_numeric_precision.test_json_numeric_field_exact_token[id-\"id\":42]",
+ "eval.tests.test_numeric_precision.test_json_numeric_field_exact_token[rgb-\"rgb\":4279533568]",
+ "eval.tests.test_numeric_precision.test_json_numeric_field_exact_token[x-\"x\":10]",
+ "eval.tests.test_numeric_precision.test_json_numeric_field_exact_token[y-\"y\":10]",
+ "eval.tests.test_numeric_precision.test_json_numeric_field_exact_token[z-\"z\":0]",
+ "eval.tests.test_numeric_precision.test_no_decimal_dot_for_integers",
+ "eval.tests.test_numeric_precision.test_no_exponential_or_g_notation_in_json",
+ "eval.tests.test_numeric_precision.test_positive_integers_have_no_plus_prefix",
+ "eval.tests.test_numeric_precision.test_uint32_magnitude_preserved",
+ "eval.tests.test_numeric_precision.test_zero_serializes_as_positive_zero",
+ "eval.tests.test_paragraph_structure_and_cross_surface.test_blank_line_before_each_json_document",
+ "eval.tests.test_paragraph_structure_and_cross_surface.test_blank_lines_occur_at_exact_absolute_positions",
+ "eval.tests.test_paragraph_structure_and_cross_surface.test_coloredpoint_name_matches_between_visitors",
+ "eval.tests.test_paragraph_structure_and_cross_surface.test_every_block_opener_in_stream_order",
+ "eval.tests.test_paragraph_structure_and_cross_surface.test_field_mutation_sandwich",
+ "eval.tests.test_paragraph_structure_and_cross_surface.test_json_documents_are_single_flat_lines",
+ "eval.tests.test_paragraph_structure_and_cross_surface.test_mutation_readback_matches_reflected_initial_value",
+ "eval.tests.test_paragraph_structure_and_cross_surface.test_object_pblock_and_json_agree",
+ "eval.tests.test_paragraph_structure_and_cross_surface.test_only_numeric_and_string_primitives_in_json",
+ "eval.tests.test_paragraph_structure_and_cross_surface.test_pinned_absolute_lines[1-Point {]",
+ "eval.tests.test_paragraph_structure_and_cross_surface.test_pinned_absolute_lines[35-x = 10 | 10]",
+ "eval.tests.test_paragraph_structure_and_cross_surface.test_pinned_absolute_lines[37-x = 50 | 50]",
+ "eval.tests.test_paragraph_structure_and_cross_surface.test_pinned_absolute_lines[59-]]",
+ "eval.tests.test_paragraph_structure_and_cross_surface.test_pinned_absolute_lines[7-{\"__type\":\"9962967977086807313\",\"x\":10,\"y\":10,\"z\":0}]",
+ "eval.tests.test_paragraph_structure_and_cross_surface.test_pinned_absolute_lines[71-{\"__type\":\"11857839211710813138\",\"id\":42,\"name\":\"John\",\"pets\":[\"Buddy\",\"Cooper\"]}]",
+ "eval.tests.test_paragraph_structure_and_cross_surface.test_vector_json_is_single_flat_line",
+ "eval.tests.test_paragraph_structure_and_cross_surface.test_vector_tree_has_four_lines_and_closes",
+ "eval.tests.test_paragraph_structure_and_cross_surface.test_vector_z_values_all_present",
+ "eval.tests.test_string_printing.test_cstring_field_is_pointer_dereferenced",
+ "eval.tests.test_string_printing.test_json_encodes_cstring_name_as_string",
+ "eval.tests.test_string_printing.test_json_encodes_user_name_as_string",
+ "eval.tests.test_string_printing.test_json_pets_array_exact_order",
+ "eval.tests.test_string_printing.test_json_strings_unquoted_in_tree_dump",
+ "eval.tests.test_string_printing.test_stdstring_field_has_no_deref_prefix",
+ "eval.tests.test_string_printing.test_string_dump_line_verbatim[ [0] = string{Buddy}]",
+ "eval.tests.test_string_printing.test_string_dump_line_verbatim[ [1] = string{Cooper}]",
+ "eval.tests.test_string_printing.test_string_dump_line_verbatim[ .name = &string{My Point}]",
+ "eval.tests.test_string_printing.test_string_dump_line_verbatim[ .name = string{John}]",
+ "eval.tests.test_type_registry_hashes.test_every_dumped_type_hash_recomputes_fnv",
+ "eval.tests.test_type_registry_hashes.test_type_hash_matches_fnv1a_of_name[ColoredPoint-12357538589151270293]",
+ "eval.tests.test_type_registry_hashes.test_type_hash_matches_fnv1a_of_name[Object-8287048469554089178]",
+ "eval.tests.test_type_registry_hashes.test_type_hash_matches_fnv1a_of_name[Point-9962967977086807313]",
+ "eval.tests.test_type_registry_hashes.test_type_hash_matches_fnv1a_of_name[RGBColor-6616920365815789155]",
+ "eval.tests.test_type_registry_hashes.test_type_hash_matches_fnv1a_of_name[User-11857839211710813138]",
+ "eval.tests.test_type_registry_hashes.test_type_hash_values_are_distinct",
+ "eval.tests.test_void_reachability_and_reachable_set.test_absent_labels_are_not_quoted_strings",
+ "eval.tests.test_void_reachability_and_reachable_set.test_no_percent_format_leakage",
+ "eval.tests.test_void_reachability_and_reachable_set.test_pointer_deref_prefix_count_is_exact",
+ "eval.tests.test_void_reachability_and_reachable_set.test_reachable_fundamental_labels_present",
+ "eval.tests.test_void_reachability_and_reachable_set.test_reachable_label_has_concrete_sample[int- .x = int{3}]",
+ "eval.tests.test_void_reachability_and_reachable_set.test_reachable_label_has_concrete_sample[unsigned int- .rgb = unsigned int{4279533568}]",
+ "eval.tests.test_void_reachability_and_reachable_set.test_reachable_label_has_concrete_sample[unsigned long long- .id = unsigned long long{42}]",
+ "eval.tests.test_void_reachability_and_reachable_set.test_reachable_label_has_concrete_sample[unsigned long- .z = unsigned long{0}]",
+ "eval.tests.test_void_reachability_and_reachable_set.test_reachable_label_set_is_exactly_five",
+ "eval.tests.test_void_reachability_and_reachable_set.test_unreachable_fundamental_token_is_absent[bool]",
+ "eval.tests.test_void_reachability_and_reachable_set.test_unreachable_fundamental_token_is_absent[char]",
+ "eval.tests.test_void_reachability_and_reachable_set.test_unreachable_fundamental_token_is_absent[double]",
+ "eval.tests.test_void_reachability_and_reachable_set.test_unreachable_fundamental_token_is_absent[float]",
+ "eval.tests.test_void_reachability_and_reachable_set.test_unreachable_fundamental_token_is_absent[long double]",
+ "eval.tests.test_void_reachability_and_reachable_set.test_unreachable_fundamental_token_is_absent[long long]",
+ "eval.tests.test_void_reachability_and_reachable_set.test_unreachable_fundamental_token_is_absent[long]",
+ "eval.tests.test_void_reachability_and_reachable_set.test_unreachable_fundamental_token_is_absent[short]",
+ "eval.tests.test_void_reachability_and_reachable_set.test_unreachable_fundamental_token_is_absent[unsigned char]",
+ "eval.tests.test_void_reachability_and_reachable_set.test_unreachable_fundamental_token_is_absent[unsigned short]",
+ "eval.tests.test_void_reachability_and_reachable_set.test_unreachable_fundamental_token_is_absent[void]",
+ "eval.tests.test_void_reachability_and_reachable_set.test_void_pointer_form_absent"
+ ]
+ },
+ "generated_module_04": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [
+ {
+ "name": "eval.tests.test_argv_invariance.test_plain_run_matches_golden",
+ "reasons": [
+ {
+ "id": "no_assertions",
+ "message": "pytest test contains no assert statements",
+ "path": "eval/tests/test_argv_invariance.py",
+ "repair_hint": "Add concrete assert statements over observable executable behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "golden_no_equality",
+ "message": "pytest test references golden data without equality comparison",
+ "path": "eval/tests/test_argv_invariance.py",
+ "repair_hint": "Compare observed output to golden data with equality after any explicit normalization.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_dump_structure.test_coloredpoint_dump_has_nested_point",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_dump_structure.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_dump_structure.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_dump_structure.test_object_dump_pointer_member",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_dump_structure.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_dump_structure.test_object_dump_points_array_empty",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_dump_structure.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_dump_structure.test_point_dump_member_indentation",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_dump_structure.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_dump_structure.test_point_dump_structure",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_dump_structure.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_dump_structure.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_dump_structure.test_user_dump_pets_vector",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_dump_structure.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_dump_structure.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_dump_structure.test_vector_dump_element_values",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_dump_structure.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_dump_structure.test_vector_dump_has_four_elements",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_dump_structure.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_dump_structure.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_dump_structure.test_vector_dump_index_label_format",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_dump_structure.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_dump_structure.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_dump_structure.test_vector_dump_single_element_values",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_dump_structure.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_dump_structure.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_empty_containers.test_nonempty_vector_json_is_single_array",
+ "reasons": [
+ {
+ "id": "all_assertions_weak",
+ "message": "pytest test uses only weak assertions",
+ "path": "eval/tests/test_empty_containers.py",
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_empty_containers.test_object_c_array_dump_is_empty",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_empty_containers.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_empty_containers.test_vector_contrast_is_nonempty",
+ "reasons": [
+ {
+ "id": "all_assertions_weak",
+ "message": "pytest test uses only weak assertions",
+ "path": "eval/tests/test_empty_containers.py",
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_exact_json_lines.test_exactly_five_json_value_lines",
+ "reasons": [
+ {
+ "id": "all_assertions_weak",
+ "message": "pytest test uses only weak assertions",
+ "path": "eval/tests/test_exact_json_lines.py",
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_indentation_depth.test_nested_class_members_use_exactly_four_spaces",
+ "reasons": [
+ {
+ "id": "all_assertions_weak",
+ "message": "pytest test uses only weak assertions",
+ "path": "eval/tests/test_indentation_depth.py",
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_indentation_depth.test_nested_depth_two_lines_present",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_indentation_depth.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_indentation_depth.test_pets_vector_string_elements_depth_two",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_indentation_depth.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_inter_visitor_consistency.test_user_dump_and_json_agree",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_inter_visitor_consistency.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_inter_visitor_consistency.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_json_structure.test_json_vector_is_array_of_four",
+ "reasons": [
+ {
+ "id": "all_assertions_weak",
+ "message": "pytest test uses only weak assertions",
+ "path": "eval/tests/test_json_structure.py",
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_json_wellformedness.test_all_brace_lines_are_valid_json",
+ "reasons": [
+ {
+ "id": "all_assertions_weak",
+ "message": "pytest test uses only weak assertions",
+ "path": "eval/tests/test_json_wellformedness.py",
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_json_wellformedness.test_json_lines_have_no_leading_comma",
+ "reasons": [
+ {
+ "id": "trivially_true",
+ "message": "pytest test contains a trivially true assertion",
+ "path": "eval/tests/test_json_wellformedness.py",
+ "repair_hint": "Replace trivially true assertions with exact observable behavior checks.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "assertion_disjunction",
+ "message": "pytest assertion accepts alternatives with or",
+ "path": "eval/tests/test_json_wellformedness.py",
+ "repair_hint": "Assert one exact expected outcome instead of accepting alternative outcomes with or.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_json_wellformedness.test_vector_json_array_separators",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_json_wellformedness.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_liveness.test_repeated_runs_all_succeed",
+ "reasons": [
+ {
+ "id": "all_assertions_weak",
+ "message": "pytest test uses only weak assertions",
+ "path": "eval/tests/test_liveness.py",
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_numeric_precision.test_expected_numeric_token_count",
+ "reasons": [
+ {
+ "id": "all_assertions_weak",
+ "message": "pytest test uses only weak assertions",
+ "path": "eval/tests/test_numeric_precision.py",
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_numeric_precision.test_type_hashes_render_as_integers",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_numeric_precision.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_qualifier_rendering.test_no_ampersand_in_json_output",
+ "reasons": [
+ {
+ "id": "if_no_else",
+ "message": "pytest test has a conditional assertion with no else branch",
+ "path": "eval/tests/test_qualifier_rendering.py",
+ "repair_hint": "Add an else branch that fails, or assert the condition before making conditional checks.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_qualifier_rendering.test_pointer_marker_presence_matches_serialized_pointer_arity",
+ "reasons": [
+ {
+ "id": "all_assertions_weak",
+ "message": "pytest test uses only weak assertions",
+ "path": "eval/tests/test_qualifier_rendering.py",
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_reflection_roundtrip.test_roundtrip_set_line_present",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_reflection_roundtrip.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_roundtrip_isolation.test_no_leak_into_dump_blocks",
+ "reasons": [
+ {
+ "id": "if_no_else",
+ "message": "pytest test has a conditional assertion with no else branch",
+ "path": "eval/tests/test_roundtrip_isolation.py",
+ "repair_hint": "Add an else branch that fails, or assert the condition before making conditional checks.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_roundtrip_isolation.test_no_leak_into_json_sections",
+ "reasons": [
+ {
+ "id": "if_no_else",
+ "message": "pytest test has a conditional assertion with no else branch",
+ "path": "eval/tests/test_roundtrip_isolation.py",
+ "repair_hint": "Add an else branch that fails, or assert the condition before making conditional checks.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_roundtrip_isolation.test_pre_write_value_still_ten_in_aliased_nodes",
+ "reasons": [
+ {
+ "id": "if_no_else",
+ "message": "pytest test has a conditional assertion with no else branch",
+ "path": "eval/tests/test_roundtrip_isolation.py",
+ "repair_hint": "Add an else branch that fails, or assert the condition before making conditional checks.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_sections.test_four_blocks",
+ "reasons": [
+ {
+ "id": "all_assertions_weak",
+ "message": "pytest test uses only weak assertions",
+ "path": "eval/tests/test_sections.py",
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_sections.test_roundtrip_belongs_to_final_block",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_sections.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_state_invariance.test_no_files_created_in_cwd",
+ "reasons": [
+ {
+ "id": "assertion_disjunction",
+ "message": "pytest assertion accepts alternatives with or",
+ "path": "eval/tests/test_state_invariance.py",
+ "repair_hint": "Assert one exact expected outcome instead of accepting alternative outcomes with or.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_stdout_invariants.test_exit_code_zero",
+ "reasons": [
+ {
+ "id": "sole_returncode",
+ "message": "pytest test only asserts returncode == 0",
+ "path": "eval/tests/test_stdout_invariants.py",
+ "repair_hint": "Check stdout, stderr, generated files, or structured output in addition to exit code.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "all_assertions_weak",
+ "message": "pytest test uses only weak assertions",
+ "path": "eval/tests/test_stdout_invariants.py",
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_stdout_invariants.test_stdout_has_expected_byte_length",
+ "reasons": [
+ {
+ "id": "all_assertions_weak",
+ "message": "pytest test uses only weak assertions",
+ "path": "eval/tests/test_stdout_invariants.py",
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_stdout_invariants.test_stdout_has_expected_line_count",
+ "reasons": [
+ {
+ "id": "all_assertions_weak",
+ "message": "pytest test uses only weak assertions",
+ "path": "eval/tests/test_stdout_invariants.py",
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_stdout_invariants.test_stdout_is_nonempty",
+ "reasons": [
+ {
+ "id": "all_assertions_weak",
+ "message": "pytest test uses only weak assertions",
+ "path": "eval/tests/test_stdout_invariants.py",
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_type_hashes.test_hashes_are_distinct",
+ "reasons": [
+ {
+ "id": "all_assertions_weak",
+ "message": "pytest test uses only weak assertions",
+ "path": "eval/tests/test_type_hashes.py",
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_type_token_vocabulary.test_int_token_appears_for_signed_coordinates",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_type_token_vocabulary.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_type_token_vocabulary.test_unsigned_int_token_is_color_word",
+ "reasons": [
+ {
+ "id": "assertion_disjunction",
+ "message": "pytest assertion accepts alternatives with or",
+ "path": "eval/tests/test_type_token_vocabulary.py",
+ "repair_hint": "Assert one exact expected outcome instead of accepting alternative outcomes with or.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_type_tokens.test_dump_field_value_parity",
+ "reasons": [
+ {
+ "id": "if_no_else",
+ "message": "pytest test has a conditional assertion with no else branch",
+ "path": "eval/tests/test_type_tokens.py",
+ "repair_hint": "Add an else branch that fails, or assert the condition before making conditional checks.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_type_tokens.test_dump_type_token_braces_balanced",
+ "reasons": [
+ {
+ "id": "if_no_else",
+ "message": "pytest test has a conditional assertion with no else branch",
+ "path": "eval/tests/test_type_tokens.py",
+ "repair_hint": "Add an else branch that fails, or assert the condition before making conditional checks.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_type_tokens.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_type_tokens.test_point_x_and_y_are_int",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_type_tokens.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_type_tokens.test_point_z_is_unsigned_long",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_type_tokens.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_unreachable_branch_contracts.test_no_scalar_primitive_rendered_without_value",
+ "reasons": [
+ {
+ "id": "if_no_else",
+ "message": "pytest test has a conditional assertion with no else branch",
+ "path": "eval/tests/test_unreachable_branch_contracts.py",
+ "repair_hint": "Add an else branch that fails, or assert the condition before making conditional checks.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "if_else_both_assert",
+ "message": "pytest test asserts different outcomes in both if and else branches",
+ "path": "eval/tests/test_unreachable_branch_contracts.py",
+ "repair_hint": "Remove nondeterministic branching and assert one deterministic expected behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_vector_monotonic_ordering.test_dump_vector_order_matches_json",
+ "reasons": [
+ {
+ "id": "golden_no_equality",
+ "message": "pytest test references golden data without equality comparison",
+ "path": "eval/tests/test_vector_monotonic_ordering.py",
+ "repair_hint": "Compare observed output to golden data with equality after any explicit normalization.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_vector_monotonic_ordering.test_vector_elements_are_pairwise_distinct",
+ "reasons": [
+ {
+ "id": "all_assertions_weak",
+ "message": "pytest test uses only weak assertions",
+ "path": "eval/tests/test_vector_monotonic_ordering.py",
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_vector_monotonic_ordering.test_vector_has_exactly_four_elements",
+ "reasons": [
+ {
+ "id": "all_assertions_weak",
+ "message": "pytest test uses only weak assertions",
+ "path": "eval/tests/test_vector_monotonic_ordering.py",
+ "repair_hint": "Add at least one semantic oracle over concrete output, files, schema, or state.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ }
+ ],
+ "tests": [
+ "eval.tests.test_argv_invariance.test_output_invariant_across_argv[empty_string_arg]",
+ "eval.tests.test_argv_invariance.test_output_invariant_across_argv[help_flag]",
+ "eval.tests.test_argv_invariance.test_output_invariant_across_argv[long_argument]",
+ "eval.tests.test_argv_invariance.test_output_invariant_across_argv[many_positional]",
+ "eval.tests.test_argv_invariance.test_output_invariant_across_argv[no_args]",
+ "eval.tests.test_argv_invariance.test_output_invariant_across_argv[numeric_args]",
+ "eval.tests.test_argv_invariance.test_output_invariant_across_argv[short_help]",
+ "eval.tests.test_argv_invariance.test_output_invariant_across_argv[single_dash_arg]",
+ "eval.tests.test_argv_invariance.test_output_invariant_across_argv[single_dash_dash]",
+ "eval.tests.test_argv_invariance.test_output_invariant_across_argv[space_and_symbols]",
+ "eval.tests.test_argv_invariance.test_output_invariant_across_argv[unknown_flag]",
+ "eval.tests.test_argv_invariance.test_output_invariant_across_argv[version_flag]",
+ "eval.tests.test_argv_invariance.test_plain_run_matches_golden",
+ "eval.tests.test_cross_section_consistency.test_aliased_objects_share_pre_write_coordinates",
+ "eval.tests.test_cross_section_consistency.test_all_point_nodes_share_keys",
+ "eval.tests.test_cross_section_consistency.test_distinct_point_coordinate_sets",
+ "eval.tests.test_cross_section_consistency.test_roundtrip_value_appears_in_roundtrip_section_only",
+ "eval.tests.test_cross_section_consistency.test_standalone_point_section_precedes_nested",
+ "eval.tests.test_cross_section_consistency.test_vector_nodes_are_distinct_unit_coords",
+ "eval.tests.test_dump_structure.test_coloredpoint_dump_closing",
+ "eval.tests.test_dump_structure.test_coloredpoint_dump_color",
+ "eval.tests.test_dump_structure.test_coloredpoint_dump_cstring_pointer",
+ "eval.tests.test_dump_structure.test_coloredpoint_dump_has_nested_point",
+ "eval.tests.test_dump_structure.test_object_dump_no_unserialized_children",
+ "eval.tests.test_dump_structure.test_object_dump_pointer_member",
+ "eval.tests.test_dump_structure.test_object_dump_points_array_empty",
+ "eval.tests.test_dump_structure.test_point_dump_closes_brace",
+ "eval.tests.test_dump_structure.test_point_dump_member_indentation",
+ "eval.tests.test_dump_structure.test_point_dump_structure",
+ "eval.tests.test_dump_structure.test_user_dump_close",
+ "eval.tests.test_dump_structure.test_user_dump_fields",
+ "eval.tests.test_dump_structure.test_user_dump_pets_vector",
+ "eval.tests.test_dump_structure.test_vector_dump_element_values",
+ "eval.tests.test_dump_structure.test_vector_dump_has_four_elements",
+ "eval.tests.test_dump_structure.test_vector_dump_index_label_format",
+ "eval.tests.test_dump_structure.test_vector_dump_single_element_values",
+ "eval.tests.test_empty_containers.test_nonempty_vector_json_is_single_array",
+ "eval.tests.test_empty_containers.test_object_c_array_dump_is_empty",
+ "eval.tests.test_empty_containers.test_object_dump_omits_unserialized_members",
+ "eval.tests.test_empty_containers.test_object_json_has_exactly_two_fields",
+ "eval.tests.test_empty_containers.test_object_omits_unserialized_children",
+ "eval.tests.test_empty_containers.test_object_points_json_is_empty_array",
+ "eval.tests.test_empty_containers.test_vector_contrast_is_nonempty",
+ "eval.tests.test_exact_json_lines.test_exactly_five_json_value_lines",
+ "eval.tests.test_exact_json_lines.test_json_line_exact_bytes[coloredpoint]",
+ "eval.tests.test_exact_json_lines.test_json_line_exact_bytes[object]",
+ "eval.tests.test_exact_json_lines.test_json_line_exact_bytes[point]",
+ "eval.tests.test_exact_json_lines.test_json_line_exact_bytes[user]",
+ "eval.tests.test_exact_json_lines.test_json_line_exact_bytes[vector]",
+ "eval.tests.test_exact_json_lines.test_json_lines_are_single_line_values",
+ "eval.tests.test_exact_json_lines.test_no_json_value_has_interior_whitespace",
+ "eval.tests.test_exact_json_lines.test_object_json_begins_with_type_hash[0-9962967977086807313]",
+ "eval.tests.test_exact_json_lines.test_object_json_begins_with_type_hash[1-12357538589151270293]",
+ "eval.tests.test_exact_json_lines.test_object_json_begins_with_type_hash[2-8287048469554089178]",
+ "eval.tests.test_exact_json_lines.test_object_json_begins_with_type_hash[4-11857839211710813138]",
+ "eval.tests.test_indentation_depth.test_coloredpoint_top_members_two_spaces",
+ "eval.tests.test_indentation_depth.test_nested_class_members_use_exactly_four_spaces",
+ "eval.tests.test_indentation_depth.test_nested_depth_two_lines_present",
+ "eval.tests.test_indentation_depth.test_object_top_members_two_spaces",
+ "eval.tests.test_indentation_depth.test_only_one_and_two_space_depths_in_trace",
+ "eval.tests.test_indentation_depth.test_pets_vector_string_elements_depth_two",
+ "eval.tests.test_indentation_depth.test_top_level_members_use_exactly_two_spaces",
+ "eval.tests.test_indentation_depth.test_vector_element_members_are_depth_two",
+ "eval.tests.test_inter_visitor_consistency.test_dump_and_json_values_agree[coloredpoint]",
+ "eval.tests.test_inter_visitor_consistency.test_dump_and_json_values_agree[object]",
+ "eval.tests.test_inter_visitor_consistency.test_dump_and_json_values_agree[point]",
+ "eval.tests.test_inter_visitor_consistency.test_json_reflects_dump_field_count",
+ "eval.tests.test_inter_visitor_consistency.test_user_dump_and_json_agree",
+ "eval.tests.test_inter_visitor_consistency.test_vector_dump_and_json_agree",
+ "eval.tests.test_json_structure.test_json_coloredpoint_exact_keys",
+ "eval.tests.test_json_structure.test_json_coloredpoint_nested_point_keys",
+ "eval.tests.test_json_structure.test_json_coloredpoint_type_and_fields",
+ "eval.tests.test_json_structure.test_json_emission_order_point_before_object",
+ "eval.tests.test_json_structure.test_json_object_has_only_visible_fields",
+ "eval.tests.test_json_structure.test_json_object_points_is_empty_array",
+ "eval.tests.test_json_structure.test_json_object_type_and_fields",
+ "eval.tests.test_json_structure.test_json_point_has_exact_keys",
+ "eval.tests.test_json_structure.test_json_point_type_and_fields",
+ "eval.tests.test_json_structure.test_json_user_exact_keys",
+ "eval.tests.test_json_structure.test_json_user_is_last_section",
+ "eval.tests.test_json_structure.test_json_user_pets_list",
+ "eval.tests.test_json_structure.test_json_user_type_and_fields",
+ "eval.tests.test_json_structure.test_json_vector_element_coords",
+ "eval.tests.test_json_structure.test_json_vector_is_array_of_four",
+ "eval.tests.test_json_wellformedness.test_all_brace_lines_are_valid_json",
+ "eval.tests.test_json_wellformedness.test_coloredpoint_json_field_separators",
+ "eval.tests.test_json_wellformedness.test_json_lines_have_no_leading_comma",
+ "eval.tests.test_json_wellformedness.test_json_lines_have_no_trailing_comma",
+ "eval.tests.test_json_wellformedness.test_point_json_comma_separation",
+ "eval.tests.test_json_wellformedness.test_user_json_pets_array",
+ "eval.tests.test_json_wellformedness.test_vector_json_array_separators",
+ "eval.tests.test_line_index_layout.test_coloredpoint_block_line_positions",
+ "eval.tests.test_line_index_layout.test_dump_precedes_json_per_reflected_object",
+ "eval.tests.test_line_index_layout.test_json_value_lines_indices",
+ "eval.tests.test_line_index_layout.test_object_block_line_positions",
+ "eval.tests.test_line_index_layout.test_point_block_line_positions",
+ "eval.tests.test_line_index_layout.test_roundtrip_and_vector_line_positions",
+ "eval.tests.test_line_index_layout.test_separators_strictly_ascending",
+ "eval.tests.test_line_index_layout.test_vector_json_and_user_line_positions",
+ "eval.tests.test_liveness.test_binary_completes_within_bounded_time",
+ "eval.tests.test_liveness.test_binary_does_not_consume_stdin_and_exits",
+ "eval.tests.test_liveness.test_repeated_runs_all_succeed",
+ "eval.tests.test_numeric_precision.test_coordinate_numbers_are_exact_integers",
+ "eval.tests.test_numeric_precision.test_expected_numeric_token_count",
+ "eval.tests.test_numeric_precision.test_json_integer_roundtrip_exact[0-x-10]",
+ "eval.tests.test_numeric_precision.test_json_integer_roundtrip_exact[1-color_rgb-4279533568]",
+ "eval.tests.test_numeric_precision.test_json_integer_roundtrip_exact[4-id-42]",
+ "eval.tests.test_numeric_precision.test_json_integer_roundtrip_exact[vec-0-1]",
+ "eval.tests.test_numeric_precision.test_json_integer_roundtrip_exact[vec-3-4]",
+ "eval.tests.test_numeric_precision.test_no_exponent_and_no_fraction_in_numeric_tokens",
+ "eval.tests.test_numeric_precision.test_no_fractional_number_tokens",
+ "eval.tests.test_numeric_precision.test_rgbcolor_word_exact",
+ "eval.tests.test_numeric_precision.test_type_hashes_render_as_integers",
+ "eval.tests.test_numeric_precision.test_vector_numbers_all_integer",
+ "eval.tests.test_output_whitespace.test_blank_line_after_each_top_level_close",
+ "eval.tests.test_output_whitespace.test_blank_line_positions[after_coloredpoint]",
+ "eval.tests.test_output_whitespace.test_blank_line_positions[after_object]",
+ "eval.tests.test_output_whitespace.test_blank_line_positions[after_point]",
+ "eval.tests.test_output_whitespace.test_blank_line_positions[after_user]",
+ "eval.tests.test_output_whitespace.test_blank_line_positions[after_vector]",
+ "eval.tests.test_output_whitespace.test_exact_blank_line_count",
+ "eval.tests.test_output_whitespace.test_no_carriage_return",
+ "eval.tests.test_output_whitespace.test_no_line_has_trailing_whitespace",
+ "eval.tests.test_output_whitespace.test_no_pair_of_blank_lines",
+ "eval.tests.test_output_whitespace.test_section_separator_lines_are_exact",
+ "eval.tests.test_qualifier_rendering.test_ampersand_abuts_type_not_value",
+ "eval.tests.test_qualifier_rendering.test_exactly_two_ampersands_in_trace",
+ "eval.tests.test_qualifier_rendering.test_no_ampersand_in_json_output",
+ "eval.tests.test_qualifier_rendering.test_no_double_ampersand",
+ "eval.tests.test_qualifier_rendering.test_non_pointer_members_have_no_marker",
+ "eval.tests.test_qualifier_rendering.test_pointer_marker_presence_matches_serialized_pointer_arity",
+ "eval.tests.test_qualifier_rendering.test_pointer_member_markers",
+ "eval.tests.test_reflection_roundtrip.test_only_one_set_op",
+ "eval.tests.test_reflection_roundtrip.test_roundtrip_final_read_reflects_write",
+ "eval.tests.test_reflection_roundtrip.test_roundtrip_initial_read_matches_stored",
+ "eval.tests.test_reflection_roundtrip.test_roundtrip_lines_appear_in_order",
+ "eval.tests.test_reflection_roundtrip.test_roundtrip_set_line_present",
+ "eval.tests.test_reflection_roundtrip.test_roundtrip_tightly_sequenced",
+ "eval.tests.test_rgba_byte_decomposition.test_dump_renders_same_word",
+ "eval.tests.test_rgba_byte_decomposition.test_exact_hex_word",
+ "eval.tests.test_rgba_byte_decomposition.test_no_component_overflows_byte",
+ "eval.tests.test_rgba_byte_decomposition.test_recovered_color_components_match_main_literals",
+ "eval.tests.test_rgba_byte_decomposition.test_rgb_renders_as_unsigned_int_type_token",
+ "eval.tests.test_rgba_byte_decomposition.test_rgb_word_exact_value",
+ "eval.tests.test_roundtrip_isolation.test_fifty_appears_exactly_twice",
+ "eval.tests.test_roundtrip_isolation.test_no_leak_into_dump_blocks",
+ "eval.tests.test_roundtrip_isolation.test_no_leak_into_json_sections",
+ "eval.tests.test_roundtrip_isolation.test_pre_write_value_still_ten_in_aliased_nodes",
+ "eval.tests.test_roundtrip_isolation.test_roundtrip_block_is_exactly_three_lines",
+ "eval.tests.test_roundtrip_isolation.test_roundtrip_read_back_equals_write",
+ "eval.tests.test_roundtrip_isolation.test_value_fifty_appears_only_in_roundtrip_lines",
+ "eval.tests.test_sections.test_class_order_sequence",
+ "eval.tests.test_sections.test_each_object_block_has_json_suffix",
+ "eval.tests.test_sections.test_exactly_three_separators",
+ "eval.tests.test_sections.test_first_three_blocks_open_with_class_names",
+ "eval.tests.test_sections.test_four_blocks",
+ "eval.tests.test_sections.test_roundtrip_belongs_to_final_block",
+ "eval.tests.test_state_invariance.test_no_files_created_in_cwd",
+ "eval.tests.test_state_invariance.test_output_independent_of_cwd[a]",
+ "eval.tests.test_state_invariance.test_output_independent_of_cwd[nested/dir]",
+ "eval.tests.test_state_invariance.test_output_independent_of_cwd[with space]",
+ "eval.tests.test_state_invariance.test_output_independent_of_stdin[binary_noise]",
+ "eval.tests.test_state_invariance.test_output_independent_of_stdin[empty_stdin]",
+ "eval.tests.test_state_invariance.test_output_independent_of_stdin[long_stdin]",
+ "eval.tests.test_state_invariance.test_output_independent_of_stdin[short_text]",
+ "eval.tests.test_stdout_invariants.test_exit_code_zero",
+ "eval.tests.test_stdout_invariants.test_stderr_is_empty",
+ "eval.tests.test_stdout_invariants.test_stdout_ends_with_trailing_newline",
+ "eval.tests.test_stdout_invariants.test_stdout_has_expected_byte_length",
+ "eval.tests.test_stdout_invariants.test_stdout_has_expected_line_count",
+ "eval.tests.test_stdout_invariants.test_stdout_is_nonempty",
+ "eval.tests.test_type_hashes.test_emitted_type_hash[ColoredPoint]",
+ "eval.tests.test_type_hashes.test_emitted_type_hash[Object]",
+ "eval.tests.test_type_hashes.test_emitted_type_hash[Point]",
+ "eval.tests.test_type_hashes.test_emitted_type_hash[RGBColor]",
+ "eval.tests.test_type_hashes.test_emitted_type_hash[User]",
+ "eval.tests.test_type_hashes.test_hashes_are_distinct",
+ "eval.tests.test_type_hashes.test_rgbcolor_hash_appears_nested_only",
+ "eval.tests.test_type_hashes.test_standalone_hashes_appear_exactly_once_as_type_key",
+ "eval.tests.test_type_token_vocabulary.test_int_token_appears_for_signed_coordinates",
+ "eval.tests.test_type_token_vocabulary.test_no_unknown_value_tokens",
+ "eval.tests.test_type_token_vocabulary.test_string_token_count",
+ "eval.tests.test_type_token_vocabulary.test_unsigned_int_token_is_color_word",
+ "eval.tests.test_type_token_vocabulary.test_unsigned_long_long_token_is_user_id",
+ "eval.tests.test_type_token_vocabulary.test_unsigned_long_token_is_z",
+ "eval.tests.test_type_token_vocabulary.test_value_token_vocabulary_exact",
+ "eval.tests.test_type_tokens.test_coloredpoint_name_cstring_type",
+ "eval.tests.test_type_tokens.test_dump_field_value_parity",
+ "eval.tests.test_type_tokens.test_dump_type_token_braces_balanced",
+ "eval.tests.test_type_tokens.test_point_x_and_y_are_int",
+ "eval.tests.test_type_tokens.test_point_z_is_unsigned_long",
+ "eval.tests.test_type_tokens.test_rgbcolor_rgb_is_unsigned_int",
+ "eval.tests.test_type_tokens.test_user_id_is_unsigned_long_long",
+ "eval.tests.test_unreachable_branch_contracts.test_dump_null_reflect_diagnostic_never_rendered",
+ "eval.tests.test_unreachable_branch_contracts.test_dump_primitive_null_marker_never_rendered",
+ "eval.tests.test_unreachable_branch_contracts.test_dump_scalar_tokens_stay_within_to_double_coverage",
+ "eval.tests.test_unreachable_branch_contracts.test_dump_string_null_marker_never_rendered",
+ "eval.tests.test_unreachable_branch_contracts.test_dump_strings_are_all_nonempty",
+ "eval.tests.test_unreachable_branch_contracts.test_json_primitive_null_marker_never_rendered",
+ "eval.tests.test_unreachable_branch_contracts.test_json_string_null_marker_never_rendered",
+ "eval.tests.test_unreachable_branch_contracts.test_no_scalar_primitive_rendered_without_value",
+ "eval.tests.test_unreachable_branch_contracts.test_scalar_json_numbers_are_all_integers",
+ "eval.tests.test_vector_monotonic_ordering.test_all_elements_are_points",
+ "eval.tests.test_vector_monotonic_ordering.test_dump_vector_order_matches_json",
+ "eval.tests.test_vector_monotonic_ordering.test_vector_coordinates_strictly_increasing",
+ "eval.tests.test_vector_monotonic_ordering.test_vector_elements_are_pairwise_distinct",
+ "eval.tests.test_vector_monotonic_ordering.test_vector_elements_match_insertion",
+ "eval.tests.test_vector_monotonic_ordering.test_vector_has_exactly_four_elements"
+ ]
+ }
+ },
+ "commit": "0208fdd4fc0ea1081ae2ff4c3bfce161305a7423",
+ "data_source": "synthetic_programgym",
+ "difficulty": "easy",
+ "difficulty_score": 1.4261858252445112,
+ "eval_clean_hashes": [
+ "576855db2709a4c3d620810e713ae4ca268498545fe0d97834187e4c32caf521"
+ ],
+ "input_record": {
+ "commit": "0208fdd4fc0ea1081ae2ff4c3bfce161305a7423",
+ "difficulty": "easy",
+ "difficulty_code_lines": 2668,
+ "difficulty_has_tests": false,
+ "difficulty_product_code_lines": 2668,
+ "difficulty_runtime_deps": 0,
+ "difficulty_score": 1.4261858252445112,
+ "difficulty_test_code_lines": 82,
+ "full_name": "Leandros/metareflect",
+ "input_joern_zip": "cpp_joern/Leandros__metareflect.zip",
+ "joern_status": true,
+ "joern_time": 8.434252083068714,
+ "language": "cpp",
+ "pb_match": [
+ {
+ "pb_fullname": "ninja-build/ninja",
+ "rank": 400,
+ "similarity": 0.4534749984741211
+ }
+ ],
+ "repo_path": "cpp/Leandros__metareflect",
+ "source": "commit:0208fdd4fc0ea1081ae2ff4c3bfce161305a7423",
+ "status": "done",
+ "url": "https://github.com/Leandros/metareflect"
+ },
+ "instance_id": "Leandros__metareflect.0208fdd",
+ "language": "cpp",
+ "module_iterations": [
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_01",
+ "iteration_limit": 5,
+ "module_index": 1,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_02",
+ "iteration_limit": 5,
+ "module_index": 2,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_03",
+ "iteration_limit": 5,
+ "module_index": 3,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_04",
+ "iteration_limit": 5,
+ "module_index": 4,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ }
+ ],
+ "repository": "Leandros/metareflect"
+}
diff --git a/leandros--metareflect.0208fdd/tests/test.sh b/leandros--metareflect.0208fdd/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/leandros--metareflect.0208fdd/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/leandros--metareflect.0208fdd/tests/workspace.tar.gz b/leandros--metareflect.0208fdd/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..65fdfec208be309463a7007db09be5b04d78878f
--- /dev/null
+++ b/leandros--metareflect.0208fdd/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7efbabddd4feaa8760778b708ec63b80303458e9e90d15511dc475ad8bf246a4
+size 15698
diff --git a/learning-rust--learning-rust.git/environment/Dockerfile b/learning-rust--learning-rust.git/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..fcda33d89c241f216a19bcd9780cea160ab7d8c3
--- /dev/null
+++ b/learning-rust--learning-rust.git/environment/Dockerfile
@@ -0,0 +1,59 @@
+FROM rust:1.97.1-bookworm
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV CARGO_HOME=/usr/local/cargo
+ENV RUSTUP_HOME=/usr/local/rustup
+ENV RUSTUP_TOOLCHAIN=1.97.1
+ENV PROGRAMGYM_RUST_TOOLCHAIN=1.97.1
+ENV PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends apt=2.6.1 bash=5.2.15-2+b13 build-essential=12.9 ca-certificates=20250419~deb12u1 cmake=3.25.1-1 git=1:2.39.5-0+deb12u3 make=4.3-4.1 pkg-config=1.8.1-1 python3=3.11.2-1+b1 python3-pip=23.0.1+dfsg-1 python3-dev=3.11.2-1+b1 autoconf=2.71-3 automake=1:1.16.5-1.3 gettext=0.21-12 file=1:5.44-3 binutils=2.40-2 libtool=2.4.7-7~deb12u1 libncurses-dev=6.4-4 meson=1.0.1-5 ninja-build=1.11.1-2~deb12u1 curl=7.88.1-10+deb12u15 wget=1.21.3-1+deb12u1 xz-utils=5.4.1-1+deb12u1 zstd=1.5.4+dfsg2-5 bzip2=1.0.8-5+b1 zip=3.0-13 unzip=6.0-28+deb12u1 patch=2.7.6-7 grep=3.8-5 python3-pytest python3-pytest-xdist python3-coverage && rm -rf /var/lib/apt/lists/*
+RUN rustup component add llvm-tools-preview --toolchain 1.97.1
+RUN RUST_SYSROOT="$(rustc --print sysroot)"; RUST_HOST="$(rustc -vV | sed -n 's/^host: //p')"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-profdata"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-cov"
+RUN rustc --version && cargo --version && rustup show active-toolchain
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /tmp/programgym-download.sh
+RUN chmod 755 /tmp/programgym-download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /tmp/programgym-download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/learning-rust--learning-rust.git/environment/download.sh b/learning-rust--learning-rust.git/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..aa0634b61efdf543110f8b1dab3f1a4fe73b141d
--- /dev/null
+++ b/learning-rust--learning-rust.git/environment/download.sh
@@ -0,0 +1,978 @@
+#!/usr/bin/env bash
+# download.sh for learning-rust/learning-rust.github.io
+#
+# ProgramGym download stage. Prepares everything needed for the offline
+# cargo build of the image_generator tool:
+# 1. Install the nasm x86 assembler (required to compile the C code bundled
+# in the mozjpeg-sys crate at build time).
+# 2. Generate a temporary Cargo manifest + Cargo.lock (same content as the
+# repository's committed files) and run `cargo fetch --manifest-path`
+# against it so the offline registry cache contains exactly the pinned
+# crate versions that build.sh will resolve offline.
+#
+# This file must be source-able (executed via `source /source_ro/download.sh`),
+# must not read any repository file, and must not compile anything.
+
+# --- Locally scoped working directory for generated manifest/lock ----------
+# Choose a scratch dir that survives into the build stage so build.sh could in
+# principle rely on it; we primarily need it for cargo fetch here.
+DOWNLOAD_WORKDIR="${DOWNLOAD_WORKDIR:-$(mktemp -d)}"
+mkdir -p "${DOWNLOAD_WORKDIR}/image_generator/src"
+
+# --- Ensure the nasm assembler is installed ---------------------------------
+# mozjpeg-sys compiles the bundled libmozjpeg using nasm.
+if [ -z "$(command -v nasm)" ]; then
+ apt-get update
+ apt-get install -y nasm
+fi
+
+# --- Generate the Cargo manifest inline (mirrors image_generator/Cargo.toml)
+cat > "${DOWNLOAD_WORKDIR}/image_generator/Cargo.toml" <<'MANIFEST_EOF'
+[package]
+name = "image_generator"
+version = "0.1.0"
+edition = "2024"
+
+[dependencies]
+image = "0.24"
+mozjpeg = "0.10"
+imageproc = "0.23"
+rusttype = "0.9"
+anyhow = "1.0"
+serde = { version = "1.0", features = ["derive"] }
+serde_yaml = "0.9"
+walkdir = "2"
+MANIFEST_EOF
+
+# Matching minimal stub so cargo can load the package manifest.
+cat > "${DOWNLOAD_WORKDIR}/image_generator/src/main.rs" <<'STUB_EOF'
+fn main() { println!("dependency prefetch stub"); }
+STUB_EOF
+
+# --- Generate the Cargo.lock inline (mirrors the committed image_generator/Cargo.lock)
+cat > "${DOWNLOAD_WORKDIR}/image_generator/Cargo.lock" <<'LOCK_EOF'
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 4
+
+[[package]]
+name = "ab_glyph_rasterizer"
+version = "0.1.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618"
+
+[[package]]
+name = "adler2"
+version = "2.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
+
+[[package]]
+name = "anyhow"
+version = "1.0.102"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c"
+
+[[package]]
+name = "approx"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6"
+dependencies = [
+ "num-traits",
+]
+
+[[package]]
+name = "arrayvec"
+version = "0.7.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
+
+[[package]]
+name = "autocfg"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
+
+[[package]]
+name = "bit_field"
+version = "0.10.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e4b40c7323adcfc0a41c4b88143ed58346ff65a288fc144329c5c45e05d70c6"
+
+[[package]]
+name = "bitflags"
+version = "1.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
+
+[[package]]
+name = "bytemuck"
+version = "1.25.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c8efb64bd706a16a1bdde310ae86b351e4d21550d98d056f22f8a7f7a2183fec"
+
+[[package]]
+name = "byteorder"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
+
+[[package]]
+name = "cc"
+version = "1.2.56"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aebf35691d1bfb0ac386a69bac2fde4dd276fb618cf8bf4f5318fe285e821bb2"
+dependencies = [
+ "find-msvc-tools",
+ "jobserver",
+ "libc",
+ "shlex",
+]
+
+[[package]]
+name = "cfg-if"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
+
+[[package]]
+name = "color_quant"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"
+
+[[package]]
+name = "conv"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "78ff10625fd0ac447827aa30ea8b861fead473bb60aeb73af6c1c58caf0d1299"
+dependencies = [
+ "custom_derive",
+]
+
+[[package]]
+name = "crc32fast"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
+dependencies = [
+ "cfg-if",
+]
+
+[[package]]
+name = "crossbeam-deque"
+version = "0.8.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
+dependencies = [
+ "crossbeam-epoch",
+ "crossbeam-utils",
+]
+
+[[package]]
+name = "crossbeam-epoch"
+version = "0.9.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
+dependencies = [
+ "crossbeam-utils",
+]
+
+[[package]]
+name = "crossbeam-utils"
+version = "0.8.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
+
+[[package]]
+name = "crunchy"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"
+
+[[package]]
+name = "custom_derive"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ef8ae57c4978a2acd8b869ce6b9ca1dfe817bff704c220209fdef2c0b75a01b9"
+
+[[package]]
+name = "dunce"
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
+
+[[package]]
+name = "either"
+version = "1.15.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
+
+[[package]]
+name = "equivalent"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
+
+[[package]]
+name = "exr"
+version = "1.74.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4300e043a56aa2cb633c01af81ca8f699a321879a7854d3896a0ba89056363be"
+dependencies = [
+ "bit_field",
+ "half",
+ "lebe",
+ "miniz_oxide",
+ "rayon-core",
+ "smallvec",
+ "zune-inflate",
+]
+
+[[package]]
+name = "fdeflate"
+version = "0.3.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c"
+dependencies = [
+ "simd-adler32",
+]
+
+[[package]]
+name = "find-msvc-tools"
+version = "0.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
+
+[[package]]
+name = "flate2"
+version = "1.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
+dependencies = [
+ "crc32fast",
+ "miniz_oxide",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.1.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "wasi",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "r-efi",
+ "wasip2",
+]
+
+[[package]]
+name = "gif"
+version = "0.13.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4ae047235e33e2829703574b54fdec96bfbad892062d97fed2f76022287de61b"
+dependencies = [
+ "color_quant",
+ "weezl",
+]
+
+[[package]]
+name = "half"
+version = "2.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b"
+dependencies = [
+ "cfg-if",
+ "crunchy",
+ "zerocopy",
+]
+
+[[package]]
+name = "hashbrown"
+version = "0.16.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
+
+[[package]]
+name = "image"
+version = "0.24.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5690139d2f55868e080017335e4b94cb7414274c74f1669c84fb5feba2c9f69d"
+dependencies = [
+ "bytemuck",
+ "byteorder",
+ "color_quant",
+ "exr",
+ "gif",
+ "jpeg-decoder",
+ "num-traits",
+ "png",
+ "qoi",
+ "tiff",
+]
+
+[[package]]
+name = "image_generator"
+version = "0.1.0"
+dependencies = [
+ "anyhow",
+ "image",
+ "imageproc",
+ "mozjpeg",
+ "rusttype",
+ "serde",
+ "serde_yaml",
+ "walkdir",
+]
+
+[[package]]
+name = "imageproc"
+version = "0.23.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6aee993351d466301a29655d628bfc6f5a35a0d062b6160ca0808f425805fd7"
+dependencies = [
+ "approx",
+ "conv",
+ "image",
+ "itertools",
+ "nalgebra",
+ "num",
+ "rand",
+ "rand_distr",
+ "rayon",
+ "rusttype",
+]
+
+[[package]]
+name = "indexmap"
+version = "2.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7714e70437a7dc3ac8eb7e6f8df75fd8eb422675fc7678aff7364301092b1017"
+dependencies = [
+ "equivalent",
+ "hashbrown",
+]
+
+[[package]]
+name = "itertools"
+version = "0.10.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
+dependencies = [
+ "either",
+]
+
+[[package]]
+name = "itoa"
+version = "1.0.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2"
+
+[[package]]
+name = "jobserver"
+version = "0.1.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33"
+dependencies = [
+ "getrandom 0.3.4",
+ "libc",
+]
+
+[[package]]
+name = "jpeg-decoder"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "00810f1d8b74be64b13dbf3db89ac67740615d6c891f0e7b6179326533011a07"
+dependencies = [
+ "rayon",
+]
+
+[[package]]
+name = "lebe"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7a79a3332a6609480d7d0c9eab957bca6b455b91bb84e66d19f5ff66294b85b8"
+
+[[package]]
+name = "libc"
+version = "0.2.182"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112"
+
+[[package]]
+name = "log"
+version = "0.4.29"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
+
+[[package]]
+name = "matrixmultiply"
+version = "0.3.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a06de3016e9fae57a36fd14dba131fccf49f74b40b7fbdb472f96e361ec71a08"
+dependencies = [
+ "autocfg",
+ "rawpointer",
+]
+
+[[package]]
+name = "miniz_oxide"
+version = "0.8.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
+dependencies = [
+ "adler2",
+ "simd-adler32",
+]
+
+[[package]]
+name = "mozjpeg"
+version = "0.10.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b7891b80aaa86097d38d276eb98b3805d6280708c4e0a1e6f6aed9380c51fec9"
+dependencies = [
+ "arrayvec",
+ "bytemuck",
+ "libc",
+ "mozjpeg-sys",
+ "rgb",
+]
+
+[[package]]
+name = "mozjpeg-sys"
+version = "2.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f0dc668bf9bf888c88e2fb1ab16a406d2c380f1d082b20d51dd540ab2aa70c1"
+dependencies = [
+ "cc",
+ "dunce",
+ "libc",
+ "nasm-rs",
+]
+
+[[package]]
+name = "nalgebra"
+version = "0.30.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4fb2d0de08694bed883320212c18ee3008576bfe8c306f4c3c4a58b4876998be"
+dependencies = [
+ "approx",
+ "matrixmultiply",
+ "num-complex",
+ "num-rational",
+ "num-traits",
+ "simba",
+ "typenum",
+]
+
+[[package]]
+name = "nasm-rs"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "706bf8a5e8c8ddb99128c3291d31bd21f4bcde17f0f4c20ec678d85c74faa149"
+dependencies = [
+ "jobserver",
+ "log",
+]
+
+[[package]]
+name = "num"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23"
+dependencies = [
+ "num-bigint",
+ "num-complex",
+ "num-integer",
+ "num-iter",
+ "num-rational",
+ "num-traits",
+]
+
+[[package]]
+name = "num-bigint"
+version = "0.4.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9"
+dependencies = [
+ "num-integer",
+ "num-traits",
+]
+
+[[package]]
+name = "num-complex"
+version = "0.4.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
+dependencies = [
+ "num-traits",
+]
+
+[[package]]
+name = "num-integer"
+version = "0.1.46"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
+dependencies = [
+ "num-traits",
+]
+
+[[package]]
+name = "num-iter"
+version = "0.1.45"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf"
+dependencies = [
+ "autocfg",
+ "num-integer",
+ "num-traits",
+]
+
+[[package]]
+name = "num-rational"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824"
+dependencies = [
+ "num-bigint",
+ "num-integer",
+ "num-traits",
+]
+
+[[package]]
+name = "num-traits"
+version = "0.2.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
+dependencies = [
+ "autocfg",
+]
+
+[[package]]
+name = "owned_ttf_parser"
+version = "0.15.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "05e6affeb1632d6ff6a23d2cd40ffed138e82f1532571a26f527c8a284bb2fbb"
+dependencies = [
+ "ttf-parser",
+]
+
+[[package]]
+name = "paste"
+version = "1.0.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
+
+[[package]]
+name = "png"
+version = "0.17.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "82151a2fc869e011c153adc57cf2789ccb8d9906ce52c0b39a6b5697749d7526"
+dependencies = [
+ "bitflags",
+ "crc32fast",
+ "fdeflate",
+ "flate2",
+ "miniz_oxide",
+]
+
+[[package]]
+name = "ppv-lite86"
+version = "0.2.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
+dependencies = [
+ "zerocopy",
+]
+
+[[package]]
+name = "proc-macro2"
+version = "1.0.106"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
+dependencies = [
+ "unicode-ident",
+]
+
+[[package]]
+name = "qoi"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f6d64c71eb498fe9eae14ce4ec935c555749aef511cca85b5568910d6e48001"
+dependencies = [
+ "bytemuck",
+]
+
+[[package]]
+name = "quote"
+version = "1.0.45"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
+dependencies = [
+ "proc-macro2",
+]
+
+[[package]]
+name = "r-efi"
+version = "5.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
+
+[[package]]
+name = "rand"
+version = "0.7.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
+dependencies = [
+ "getrandom 0.1.16",
+ "libc",
+ "rand_chacha",
+ "rand_core",
+ "rand_hc",
+]
+
+[[package]]
+name = "rand_chacha"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
+dependencies = [
+ "ppv-lite86",
+ "rand_core",
+]
+
+[[package]]
+name = "rand_core"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
+dependencies = [
+ "getrandom 0.1.16",
+]
+
+[[package]]
+name = "rand_distr"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "96977acbdd3a6576fb1d27391900035bf3863d4a16422973a409b488cf29ffb2"
+dependencies = [
+ "rand",
+]
+
+[[package]]
+name = "rand_hc"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
+dependencies = [
+ "rand_core",
+]
+
+[[package]]
+name = "rawpointer"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
+
+[[package]]
+name = "rayon"
+version = "1.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "368f01d005bf8fd9b1206fb6fa653e6c4a81ceb1466406b81792d87c5677a58f"
+dependencies = [
+ "either",
+ "rayon-core",
+]
+
+[[package]]
+name = "rayon-core"
+version = "1.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
+dependencies = [
+ "crossbeam-deque",
+ "crossbeam-utils",
+]
+
+[[package]]
+name = "rgb"
+version = "0.8.53"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "47b34b781b31e5d73e9fbc8689c70551fd1ade9a19e3e28cfec8580a79290cc4"
+dependencies = [
+ "bytemuck",
+]
+
+[[package]]
+name = "rusttype"
+version = "0.9.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3ff8374aa04134254b7995b63ad3dc41c7f7236f69528b28553da7d72efaa967"
+dependencies = [
+ "ab_glyph_rasterizer",
+ "owned_ttf_parser",
+]
+
+[[package]]
+name = "ryu"
+version = "1.0.23"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
+
+[[package]]
+name = "safe_arch"
+version = "0.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "96b02de82ddbe1b636e6170c21be622223aea188ef2e139be0a5b219ec215323"
+dependencies = [
+ "bytemuck",
+]
+
+[[package]]
+name = "same-file"
+version = "1.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
+dependencies = [
+ "winapi-util",
+]
+
+[[package]]
+name = "serde"
+version = "1.0.228"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
+dependencies = [
+ "serde_core",
+ "serde_derive",
+]
+
+[[package]]
+name = "serde_core"
+version = "1.0.228"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
+dependencies = [
+ "serde_derive",
+]
+
+[[package]]
+name = "serde_derive"
+version = "1.0.228"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "serde_yaml"
+version = "0.9.34+deprecated"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47"
+dependencies = [
+ "indexmap",
+ "itoa",
+ "ryu",
+ "serde",
+ "unsafe-libyaml",
+]
+
+[[package]]
+name = "shlex"
+version = "1.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
+
+[[package]]
+name = "simba"
+version = "0.7.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2f3fd720c48c53cace224ae62bef1bbff363a70c68c4802a78b5cc6159618176"
+dependencies = [
+ "approx",
+ "num-complex",
+ "num-traits",
+ "paste",
+ "wide",
+]
+
+[[package]]
+name = "simd-adler32"
+version = "0.3.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e320a6c5ad31d271ad523dcf3ad13e2767ad8b1cb8f047f75a8aeaf8da139da2"
+
+[[package]]
+name = "smallvec"
+version = "1.15.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
+
+[[package]]
+name = "syn"
+version = "2.0.117"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
+[[package]]
+name = "tiff"
+version = "0.9.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ba1310fcea54c6a9a4fd1aad794ecc02c31682f6bfbecdf460bf19533eed1e3e"
+dependencies = [
+ "flate2",
+ "jpeg-decoder",
+ "weezl",
+]
+
+[[package]]
+name = "ttf-parser"
+version = "0.15.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7b3e06c9b9d80ed6b745c7159c40b311ad2916abb34a49e9be2653b90db0d8dd"
+
+[[package]]
+name = "typenum"
+version = "1.19.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb"
+
+[[package]]
+name = "unicode-ident"
+version = "1.0.24"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
+
+[[package]]
+name = "unsafe-libyaml"
+version = "0.2.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861"
+
+[[package]]
+name = "walkdir"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
+dependencies = [
+ "same-file",
+ "winapi-util",
+]
+
+[[package]]
+name = "wasi"
+version = "0.9.0+wasi-snapshot-preview1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
+
+[[package]]
+name = "wasip2"
+version = "1.0.2+wasi-0.2.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5"
+dependencies = [
+ "wit-bindgen",
+]
+
+[[package]]
+name = "weezl"
+version = "0.1.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a28ac98ddc8b9274cb41bb4d9d4d5c425b6020c50c46f25559911905610b4a88"
+
+[[package]]
+name = "wide"
+version = "0.7.33"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0ce5da8ecb62bcd8ec8b7ea19f69a51275e91299be594ea5cc6ef7819e16cd03"
+dependencies = [
+ "bytemuck",
+ "safe_arch",
+]
+
+[[package]]
+name = "winapi-util"
+version = "0.1.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
+dependencies = [
+ "windows-sys",
+]
+
+[[package]]
+name = "windows-link"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
+
+[[package]]
+name = "windows-sys"
+version = "0.61.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
+dependencies = [
+ "windows-link",
+]
+
+[[package]]
+name = "wit-bindgen"
+version = "0.51.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
+
+[[package]]
+name = "zerocopy"
+version = "0.8.40"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a789c6e490b576db9f7e6b6d661bcc9799f7c0ac8352f56ea20193b2681532e5"
+dependencies = [
+ "zerocopy-derive",
+]
+
+[[package]]
+name = "zerocopy-derive"
+version = "0.8.40"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f65c489a7071a749c849713807783f70672b28094011623e200cb86dcb835953"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "zune-inflate"
+version = "0.2.54"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "73ab332fe2f6680068f3582b16a24f90ad7096d5d39b974d1c0aff0125116f02"
+dependencies = [
+ "simd-adler32",
+]
+LOCK_EOF
+
+# --- Export the workdir + flags for the later build stage ---------------------
+export DOWNLOAD_WORKDIR
+export CARGO_NET_OFFLINE="false"
+
+# --- Fetch all pinned dependencies into the offline cargo registry cache ----
+cargo fetch --manifest-path "${DOWNLOAD_WORKDIR}/image_generator/Cargo.toml"
diff --git a/learning-rust--learning-rust.git/environment/executable b/learning-rust--learning-rust.git/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..565a1ed41765660d4bc6db81659f874ead636755
--- /dev/null
+++ b/learning-rust--learning-rust.git/environment/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8f08532e05c79297bec4a409e41d7c412adc05ddab84261b431b79b201676075
+size 3640120
diff --git a/learning-rust--learning-rust.git/environment/harbor_prepare_download_env.sh b/learning-rust--learning-rust.git/environment/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..4a3a33381308d53b7bd2216a2375c8cd54ac24c4
--- /dev/null
+++ b/learning-rust--learning-rust.git/environment/harbor_prepare_download_env.sh
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+set -euo pipefail
+command -v cargo
+command -v rustc
+command -v rustup
+cd /workspace
+set -a
+source /tmp/programgym-download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/learning-rust--learning-rust.git/environment/workspace.tar.gz b/learning-rust--learning-rust.git/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..bda472168cbaac1783fbf933893f867289dc26b2
--- /dev/null
+++ b/learning-rust--learning-rust.git/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f8ec8137227f41d5af4c8678a54fbbb2e85126fcb54bfb39c69cb14a0e50ca15
+size 218820
diff --git a/learning-rust--learning-rust.git/instruction.md b/learning-rust--learning-rust.git/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/learning-rust--learning-rust.git/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/learning-rust--learning-rust.git/solution/solve.sh b/learning-rust--learning-rust.git/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/learning-rust--learning-rust.git/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/learning-rust--learning-rust.git/task.toml b/learning-rust--learning-rust.git/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..c992b09ae52ba277fa27ce770703a60686c0c9d0
--- /dev/null
+++ b/learning-rust--learning-rust.git/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/learning-rust--learning-rust.git"
+description = "Synthetic ProgramGym cleanroom reconstruction task for learning-rust/learning-rust.github.io"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "rust"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "learning-rust__learning-rust.github.io.13ce5dc"
+repository = "learning-rust/learning-rust.github.io"
+commit = "13ce5dcd4185e41cae91440d807e2631e4d97fdb"
+language = "rust"
+difficulty = "easy"
+difficulty_score = 1.207095540419218
+test_branches = 1
+test_count = 130
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/learning-rust--learning-rust.git/tests/Dockerfile b/learning-rust--learning-rust.git/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..0134a64cf31409020689a99b234432f2b5f5f7fe
--- /dev/null
+++ b/learning-rust--learning-rust.git/tests/Dockerfile
@@ -0,0 +1,68 @@
+FROM rust:1.97.1-bookworm
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV CARGO_HOME=/usr/local/cargo
+ENV RUSTUP_HOME=/usr/local/rustup
+ENV RUSTUP_TOOLCHAIN=1.97.1
+ENV PROGRAMGYM_RUST_TOOLCHAIN=1.97.1
+ENV PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends apt=2.6.1 bash=5.2.15-2+b13 build-essential=12.9 ca-certificates=20250419~deb12u1 cmake=3.25.1-1 git=1:2.39.5-0+deb12u3 make=4.3-4.1 pkg-config=1.8.1-1 python3=3.11.2-1+b1 python3-pip=23.0.1+dfsg-1 python3-dev=3.11.2-1+b1 autoconf=2.71-3 automake=1:1.16.5-1.3 gettext=0.21-12 file=1:5.44-3 binutils=2.40-2 libtool=2.4.7-7~deb12u1 libncurses-dev=6.4-4 meson=1.0.1-5 ninja-build=1.11.1-2~deb12u1 curl=7.88.1-10+deb12u15 wget=1.21.3-1+deb12u1 xz-utils=5.4.1-1+deb12u1 zstd=1.5.4+dfsg2-5 bzip2=1.0.8-5+b1 zip=3.0-13 unzip=6.0-28+deb12u1 patch=2.7.6-7 grep=3.8-5 python3-pytest python3-pytest-xdist python3-coverage && rm -rf /var/lib/apt/lists/*
+RUN rustup component add llvm-tools-preview --toolchain 1.97.1
+RUN RUST_SYSROOT="$(rustc --print sysroot)"; RUST_HOST="$(rustc -vV | sed -n 's/^host: //p')"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-profdata"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-cov"
+RUN rustc --version && cargo --version && rustup show active-toolchain
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /tmp/programgym-download.sh
+RUN chmod 755 /tmp/programgym-download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /tmp/programgym-download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN python3 -m pip install --break-system-packages \
+ --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/learning-rust--learning-rust.git/tests/blobs/tests/generated_module_01.tar.gz b/learning-rust--learning-rust.git/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..65e56d4f6f0af3d3d11b13c08452bbac4845fea9
--- /dev/null
+++ b/learning-rust--learning-rust.git/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6328304aa5392c447debbd160e1c78195af707931003964ac92b9f4c8db57aa6
+size 226324
diff --git a/learning-rust--learning-rust.git/tests/download.sh b/learning-rust--learning-rust.git/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..aa0634b61efdf543110f8b1dab3f1a4fe73b141d
--- /dev/null
+++ b/learning-rust--learning-rust.git/tests/download.sh
@@ -0,0 +1,978 @@
+#!/usr/bin/env bash
+# download.sh for learning-rust/learning-rust.github.io
+#
+# ProgramGym download stage. Prepares everything needed for the offline
+# cargo build of the image_generator tool:
+# 1. Install the nasm x86 assembler (required to compile the C code bundled
+# in the mozjpeg-sys crate at build time).
+# 2. Generate a temporary Cargo manifest + Cargo.lock (same content as the
+# repository's committed files) and run `cargo fetch --manifest-path`
+# against it so the offline registry cache contains exactly the pinned
+# crate versions that build.sh will resolve offline.
+#
+# This file must be source-able (executed via `source /source_ro/download.sh`),
+# must not read any repository file, and must not compile anything.
+
+# --- Locally scoped working directory for generated manifest/lock ----------
+# Choose a scratch dir that survives into the build stage so build.sh could in
+# principle rely on it; we primarily need it for cargo fetch here.
+DOWNLOAD_WORKDIR="${DOWNLOAD_WORKDIR:-$(mktemp -d)}"
+mkdir -p "${DOWNLOAD_WORKDIR}/image_generator/src"
+
+# --- Ensure the nasm assembler is installed ---------------------------------
+# mozjpeg-sys compiles the bundled libmozjpeg using nasm.
+if [ -z "$(command -v nasm)" ]; then
+ apt-get update
+ apt-get install -y nasm
+fi
+
+# --- Generate the Cargo manifest inline (mirrors image_generator/Cargo.toml)
+cat > "${DOWNLOAD_WORKDIR}/image_generator/Cargo.toml" <<'MANIFEST_EOF'
+[package]
+name = "image_generator"
+version = "0.1.0"
+edition = "2024"
+
+[dependencies]
+image = "0.24"
+mozjpeg = "0.10"
+imageproc = "0.23"
+rusttype = "0.9"
+anyhow = "1.0"
+serde = { version = "1.0", features = ["derive"] }
+serde_yaml = "0.9"
+walkdir = "2"
+MANIFEST_EOF
+
+# Matching minimal stub so cargo can load the package manifest.
+cat > "${DOWNLOAD_WORKDIR}/image_generator/src/main.rs" <<'STUB_EOF'
+fn main() { println!("dependency prefetch stub"); }
+STUB_EOF
+
+# --- Generate the Cargo.lock inline (mirrors the committed image_generator/Cargo.lock)
+cat > "${DOWNLOAD_WORKDIR}/image_generator/Cargo.lock" <<'LOCK_EOF'
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 4
+
+[[package]]
+name = "ab_glyph_rasterizer"
+version = "0.1.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618"
+
+[[package]]
+name = "adler2"
+version = "2.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
+
+[[package]]
+name = "anyhow"
+version = "1.0.102"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c"
+
+[[package]]
+name = "approx"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6"
+dependencies = [
+ "num-traits",
+]
+
+[[package]]
+name = "arrayvec"
+version = "0.7.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
+
+[[package]]
+name = "autocfg"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
+
+[[package]]
+name = "bit_field"
+version = "0.10.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e4b40c7323adcfc0a41c4b88143ed58346ff65a288fc144329c5c45e05d70c6"
+
+[[package]]
+name = "bitflags"
+version = "1.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
+
+[[package]]
+name = "bytemuck"
+version = "1.25.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c8efb64bd706a16a1bdde310ae86b351e4d21550d98d056f22f8a7f7a2183fec"
+
+[[package]]
+name = "byteorder"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
+
+[[package]]
+name = "cc"
+version = "1.2.56"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aebf35691d1bfb0ac386a69bac2fde4dd276fb618cf8bf4f5318fe285e821bb2"
+dependencies = [
+ "find-msvc-tools",
+ "jobserver",
+ "libc",
+ "shlex",
+]
+
+[[package]]
+name = "cfg-if"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
+
+[[package]]
+name = "color_quant"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"
+
+[[package]]
+name = "conv"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "78ff10625fd0ac447827aa30ea8b861fead473bb60aeb73af6c1c58caf0d1299"
+dependencies = [
+ "custom_derive",
+]
+
+[[package]]
+name = "crc32fast"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
+dependencies = [
+ "cfg-if",
+]
+
+[[package]]
+name = "crossbeam-deque"
+version = "0.8.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
+dependencies = [
+ "crossbeam-epoch",
+ "crossbeam-utils",
+]
+
+[[package]]
+name = "crossbeam-epoch"
+version = "0.9.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
+dependencies = [
+ "crossbeam-utils",
+]
+
+[[package]]
+name = "crossbeam-utils"
+version = "0.8.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
+
+[[package]]
+name = "crunchy"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"
+
+[[package]]
+name = "custom_derive"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ef8ae57c4978a2acd8b869ce6b9ca1dfe817bff704c220209fdef2c0b75a01b9"
+
+[[package]]
+name = "dunce"
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
+
+[[package]]
+name = "either"
+version = "1.15.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
+
+[[package]]
+name = "equivalent"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
+
+[[package]]
+name = "exr"
+version = "1.74.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4300e043a56aa2cb633c01af81ca8f699a321879a7854d3896a0ba89056363be"
+dependencies = [
+ "bit_field",
+ "half",
+ "lebe",
+ "miniz_oxide",
+ "rayon-core",
+ "smallvec",
+ "zune-inflate",
+]
+
+[[package]]
+name = "fdeflate"
+version = "0.3.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c"
+dependencies = [
+ "simd-adler32",
+]
+
+[[package]]
+name = "find-msvc-tools"
+version = "0.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
+
+[[package]]
+name = "flate2"
+version = "1.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
+dependencies = [
+ "crc32fast",
+ "miniz_oxide",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.1.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "wasi",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "r-efi",
+ "wasip2",
+]
+
+[[package]]
+name = "gif"
+version = "0.13.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4ae047235e33e2829703574b54fdec96bfbad892062d97fed2f76022287de61b"
+dependencies = [
+ "color_quant",
+ "weezl",
+]
+
+[[package]]
+name = "half"
+version = "2.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b"
+dependencies = [
+ "cfg-if",
+ "crunchy",
+ "zerocopy",
+]
+
+[[package]]
+name = "hashbrown"
+version = "0.16.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
+
+[[package]]
+name = "image"
+version = "0.24.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5690139d2f55868e080017335e4b94cb7414274c74f1669c84fb5feba2c9f69d"
+dependencies = [
+ "bytemuck",
+ "byteorder",
+ "color_quant",
+ "exr",
+ "gif",
+ "jpeg-decoder",
+ "num-traits",
+ "png",
+ "qoi",
+ "tiff",
+]
+
+[[package]]
+name = "image_generator"
+version = "0.1.0"
+dependencies = [
+ "anyhow",
+ "image",
+ "imageproc",
+ "mozjpeg",
+ "rusttype",
+ "serde",
+ "serde_yaml",
+ "walkdir",
+]
+
+[[package]]
+name = "imageproc"
+version = "0.23.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6aee993351d466301a29655d628bfc6f5a35a0d062b6160ca0808f425805fd7"
+dependencies = [
+ "approx",
+ "conv",
+ "image",
+ "itertools",
+ "nalgebra",
+ "num",
+ "rand",
+ "rand_distr",
+ "rayon",
+ "rusttype",
+]
+
+[[package]]
+name = "indexmap"
+version = "2.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7714e70437a7dc3ac8eb7e6f8df75fd8eb422675fc7678aff7364301092b1017"
+dependencies = [
+ "equivalent",
+ "hashbrown",
+]
+
+[[package]]
+name = "itertools"
+version = "0.10.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
+dependencies = [
+ "either",
+]
+
+[[package]]
+name = "itoa"
+version = "1.0.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2"
+
+[[package]]
+name = "jobserver"
+version = "0.1.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33"
+dependencies = [
+ "getrandom 0.3.4",
+ "libc",
+]
+
+[[package]]
+name = "jpeg-decoder"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "00810f1d8b74be64b13dbf3db89ac67740615d6c891f0e7b6179326533011a07"
+dependencies = [
+ "rayon",
+]
+
+[[package]]
+name = "lebe"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7a79a3332a6609480d7d0c9eab957bca6b455b91bb84e66d19f5ff66294b85b8"
+
+[[package]]
+name = "libc"
+version = "0.2.182"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112"
+
+[[package]]
+name = "log"
+version = "0.4.29"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
+
+[[package]]
+name = "matrixmultiply"
+version = "0.3.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a06de3016e9fae57a36fd14dba131fccf49f74b40b7fbdb472f96e361ec71a08"
+dependencies = [
+ "autocfg",
+ "rawpointer",
+]
+
+[[package]]
+name = "miniz_oxide"
+version = "0.8.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
+dependencies = [
+ "adler2",
+ "simd-adler32",
+]
+
+[[package]]
+name = "mozjpeg"
+version = "0.10.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b7891b80aaa86097d38d276eb98b3805d6280708c4e0a1e6f6aed9380c51fec9"
+dependencies = [
+ "arrayvec",
+ "bytemuck",
+ "libc",
+ "mozjpeg-sys",
+ "rgb",
+]
+
+[[package]]
+name = "mozjpeg-sys"
+version = "2.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f0dc668bf9bf888c88e2fb1ab16a406d2c380f1d082b20d51dd540ab2aa70c1"
+dependencies = [
+ "cc",
+ "dunce",
+ "libc",
+ "nasm-rs",
+]
+
+[[package]]
+name = "nalgebra"
+version = "0.30.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4fb2d0de08694bed883320212c18ee3008576bfe8c306f4c3c4a58b4876998be"
+dependencies = [
+ "approx",
+ "matrixmultiply",
+ "num-complex",
+ "num-rational",
+ "num-traits",
+ "simba",
+ "typenum",
+]
+
+[[package]]
+name = "nasm-rs"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "706bf8a5e8c8ddb99128c3291d31bd21f4bcde17f0f4c20ec678d85c74faa149"
+dependencies = [
+ "jobserver",
+ "log",
+]
+
+[[package]]
+name = "num"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23"
+dependencies = [
+ "num-bigint",
+ "num-complex",
+ "num-integer",
+ "num-iter",
+ "num-rational",
+ "num-traits",
+]
+
+[[package]]
+name = "num-bigint"
+version = "0.4.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9"
+dependencies = [
+ "num-integer",
+ "num-traits",
+]
+
+[[package]]
+name = "num-complex"
+version = "0.4.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
+dependencies = [
+ "num-traits",
+]
+
+[[package]]
+name = "num-integer"
+version = "0.1.46"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
+dependencies = [
+ "num-traits",
+]
+
+[[package]]
+name = "num-iter"
+version = "0.1.45"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf"
+dependencies = [
+ "autocfg",
+ "num-integer",
+ "num-traits",
+]
+
+[[package]]
+name = "num-rational"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824"
+dependencies = [
+ "num-bigint",
+ "num-integer",
+ "num-traits",
+]
+
+[[package]]
+name = "num-traits"
+version = "0.2.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
+dependencies = [
+ "autocfg",
+]
+
+[[package]]
+name = "owned_ttf_parser"
+version = "0.15.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "05e6affeb1632d6ff6a23d2cd40ffed138e82f1532571a26f527c8a284bb2fbb"
+dependencies = [
+ "ttf-parser",
+]
+
+[[package]]
+name = "paste"
+version = "1.0.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
+
+[[package]]
+name = "png"
+version = "0.17.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "82151a2fc869e011c153adc57cf2789ccb8d9906ce52c0b39a6b5697749d7526"
+dependencies = [
+ "bitflags",
+ "crc32fast",
+ "fdeflate",
+ "flate2",
+ "miniz_oxide",
+]
+
+[[package]]
+name = "ppv-lite86"
+version = "0.2.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
+dependencies = [
+ "zerocopy",
+]
+
+[[package]]
+name = "proc-macro2"
+version = "1.0.106"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
+dependencies = [
+ "unicode-ident",
+]
+
+[[package]]
+name = "qoi"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f6d64c71eb498fe9eae14ce4ec935c555749aef511cca85b5568910d6e48001"
+dependencies = [
+ "bytemuck",
+]
+
+[[package]]
+name = "quote"
+version = "1.0.45"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
+dependencies = [
+ "proc-macro2",
+]
+
+[[package]]
+name = "r-efi"
+version = "5.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
+
+[[package]]
+name = "rand"
+version = "0.7.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
+dependencies = [
+ "getrandom 0.1.16",
+ "libc",
+ "rand_chacha",
+ "rand_core",
+ "rand_hc",
+]
+
+[[package]]
+name = "rand_chacha"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
+dependencies = [
+ "ppv-lite86",
+ "rand_core",
+]
+
+[[package]]
+name = "rand_core"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
+dependencies = [
+ "getrandom 0.1.16",
+]
+
+[[package]]
+name = "rand_distr"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "96977acbdd3a6576fb1d27391900035bf3863d4a16422973a409b488cf29ffb2"
+dependencies = [
+ "rand",
+]
+
+[[package]]
+name = "rand_hc"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
+dependencies = [
+ "rand_core",
+]
+
+[[package]]
+name = "rawpointer"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
+
+[[package]]
+name = "rayon"
+version = "1.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "368f01d005bf8fd9b1206fb6fa653e6c4a81ceb1466406b81792d87c5677a58f"
+dependencies = [
+ "either",
+ "rayon-core",
+]
+
+[[package]]
+name = "rayon-core"
+version = "1.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
+dependencies = [
+ "crossbeam-deque",
+ "crossbeam-utils",
+]
+
+[[package]]
+name = "rgb"
+version = "0.8.53"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "47b34b781b31e5d73e9fbc8689c70551fd1ade9a19e3e28cfec8580a79290cc4"
+dependencies = [
+ "bytemuck",
+]
+
+[[package]]
+name = "rusttype"
+version = "0.9.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3ff8374aa04134254b7995b63ad3dc41c7f7236f69528b28553da7d72efaa967"
+dependencies = [
+ "ab_glyph_rasterizer",
+ "owned_ttf_parser",
+]
+
+[[package]]
+name = "ryu"
+version = "1.0.23"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
+
+[[package]]
+name = "safe_arch"
+version = "0.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "96b02de82ddbe1b636e6170c21be622223aea188ef2e139be0a5b219ec215323"
+dependencies = [
+ "bytemuck",
+]
+
+[[package]]
+name = "same-file"
+version = "1.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
+dependencies = [
+ "winapi-util",
+]
+
+[[package]]
+name = "serde"
+version = "1.0.228"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
+dependencies = [
+ "serde_core",
+ "serde_derive",
+]
+
+[[package]]
+name = "serde_core"
+version = "1.0.228"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
+dependencies = [
+ "serde_derive",
+]
+
+[[package]]
+name = "serde_derive"
+version = "1.0.228"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "serde_yaml"
+version = "0.9.34+deprecated"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47"
+dependencies = [
+ "indexmap",
+ "itoa",
+ "ryu",
+ "serde",
+ "unsafe-libyaml",
+]
+
+[[package]]
+name = "shlex"
+version = "1.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
+
+[[package]]
+name = "simba"
+version = "0.7.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2f3fd720c48c53cace224ae62bef1bbff363a70c68c4802a78b5cc6159618176"
+dependencies = [
+ "approx",
+ "num-complex",
+ "num-traits",
+ "paste",
+ "wide",
+]
+
+[[package]]
+name = "simd-adler32"
+version = "0.3.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e320a6c5ad31d271ad523dcf3ad13e2767ad8b1cb8f047f75a8aeaf8da139da2"
+
+[[package]]
+name = "smallvec"
+version = "1.15.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
+
+[[package]]
+name = "syn"
+version = "2.0.117"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
+[[package]]
+name = "tiff"
+version = "0.9.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ba1310fcea54c6a9a4fd1aad794ecc02c31682f6bfbecdf460bf19533eed1e3e"
+dependencies = [
+ "flate2",
+ "jpeg-decoder",
+ "weezl",
+]
+
+[[package]]
+name = "ttf-parser"
+version = "0.15.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7b3e06c9b9d80ed6b745c7159c40b311ad2916abb34a49e9be2653b90db0d8dd"
+
+[[package]]
+name = "typenum"
+version = "1.19.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb"
+
+[[package]]
+name = "unicode-ident"
+version = "1.0.24"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
+
+[[package]]
+name = "unsafe-libyaml"
+version = "0.2.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861"
+
+[[package]]
+name = "walkdir"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
+dependencies = [
+ "same-file",
+ "winapi-util",
+]
+
+[[package]]
+name = "wasi"
+version = "0.9.0+wasi-snapshot-preview1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
+
+[[package]]
+name = "wasip2"
+version = "1.0.2+wasi-0.2.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5"
+dependencies = [
+ "wit-bindgen",
+]
+
+[[package]]
+name = "weezl"
+version = "0.1.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a28ac98ddc8b9274cb41bb4d9d4d5c425b6020c50c46f25559911905610b4a88"
+
+[[package]]
+name = "wide"
+version = "0.7.33"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0ce5da8ecb62bcd8ec8b7ea19f69a51275e91299be594ea5cc6ef7819e16cd03"
+dependencies = [
+ "bytemuck",
+ "safe_arch",
+]
+
+[[package]]
+name = "winapi-util"
+version = "0.1.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
+dependencies = [
+ "windows-sys",
+]
+
+[[package]]
+name = "windows-link"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
+
+[[package]]
+name = "windows-sys"
+version = "0.61.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
+dependencies = [
+ "windows-link",
+]
+
+[[package]]
+name = "wit-bindgen"
+version = "0.51.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
+
+[[package]]
+name = "zerocopy"
+version = "0.8.40"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a789c6e490b576db9f7e6b6d661bcc9799f7c0ac8352f56ea20193b2681532e5"
+dependencies = [
+ "zerocopy-derive",
+]
+
+[[package]]
+name = "zerocopy-derive"
+version = "0.8.40"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f65c489a7071a749c849713807783f70672b28094011623e200cb86dcb835953"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "zune-inflate"
+version = "0.2.54"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "73ab332fe2f6680068f3582b16a24f90ad7096d5d39b974d1c0aff0125116f02"
+dependencies = [
+ "simd-adler32",
+]
+LOCK_EOF
+
+# --- Export the workdir + flags for the later build stage ---------------------
+export DOWNLOAD_WORKDIR
+export CARGO_NET_OFFLINE="false"
+
+# --- Fetch all pinned dependencies into the offline cargo registry cache ----
+cargo fetch --manifest-path "${DOWNLOAD_WORKDIR}/image_generator/Cargo.toml"
diff --git a/learning-rust--learning-rust.git/tests/executable b/learning-rust--learning-rust.git/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..565a1ed41765660d4bc6db81659f874ead636755
--- /dev/null
+++ b/learning-rust--learning-rust.git/tests/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8f08532e05c79297bec4a409e41d7c412adc05ddab84261b431b79b201676075
+size 3640120
diff --git a/learning-rust--learning-rust.git/tests/harbor_prepare_download_env.sh b/learning-rust--learning-rust.git/tests/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..4a3a33381308d53b7bd2216a2375c8cd54ac24c4
--- /dev/null
+++ b/learning-rust--learning-rust.git/tests/harbor_prepare_download_env.sh
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+set -euo pipefail
+command -v cargo
+command -v rustc
+command -v rustup
+cd /workspace
+set -a
+source /tmp/programgym-download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/learning-rust--learning-rust.git/tests/programgym_evaluator.py b/learning-rust--learning-rust.git/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/learning-rust--learning-rust.git/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/learning-rust--learning-rust.git/tests/programgym_task.json b/learning-rust--learning-rust.git/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..d75b6dd7b41432aec384e3de4d7abaf30c341345
--- /dev/null
+++ b/learning-rust--learning-rust.git/tests/programgym_task.json
@@ -0,0 +1,197 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_batch_and_summary.test_all_failures_summary_three_zero",
+ "eval.tests.test_batch_and_summary.test_batch_matches_real_docs_shape",
+ "eval.tests.test_batch_and_summary.test_bom_prefixed_document_is_rejected_exact",
+ "eval.tests.test_batch_and_summary.test_crlf_line_endings_in_document",
+ "eval.tests.test_batch_and_summary.test_crlf_only_no_translation_conflict",
+ "eval.tests.test_batch_and_summary.test_failure_line_contains_the_exception_context_exact",
+ "eval.tests.test_batch_and_summary.test_many_files_summary_line_occurs_once",
+ "eval.tests.test_batch_and_summary.test_mixed_batch_exact_counts",
+ "eval.tests.test_batch_and_summary.test_mixed_two_failures_one_success_exact",
+ "eval.tests.test_batch_and_summary.test_success_line_contains_full_relative_path",
+ "eval.tests.test_batch_and_summary.test_summary_line_format_exact",
+ "eval.tests.test_batch_and_summary.test_zero_file_summary_format_exact",
+ "eval.tests.test_edge_cases.test_deeply_nested_markdown_path",
+ "eval.tests.test_edge_cases.test_doc_with_non_ascii_slug",
+ "eval.tests.test_edge_cases.test_empty_content_body_after_delimiter_no_trailing_newline",
+ "eval.tests.test_edge_cases.test_existing_output_file_is_overwritten",
+ "eval.tests.test_edge_cases.test_frontmatter_keys_order_does_not_matter",
+ "eval.tests.test_edge_cases.test_many_files_all_succeed_and_formatted_precisely",
+ "eval.tests.test_edge_cases.test_one_success_one_save_failure_partitions_streams",
+ "eval.tests.test_edge_cases.test_same_slug_two_docs_last_wins_but_both_counted",
+ "eval.tests.test_edge_cases.test_slug_containing_a_slash_creates_nested_output_dir",
+ "eval.tests.test_edge_cases.test_slug_with_leading_digit_and_dashes",
+ "eval.tests.test_edge_cases.test_title_using_single_quote_in_yaml_single_quote",
+ "eval.tests.test_filesystem_io.test_both_assets_missing_warns_twice",
+ "eval.tests.test_filesystem_io.test_corrupt_font_rejected_exact",
+ "eval.tests.test_filesystem_io.test_corrupt_logo_image_warns_and_succeeds",
+ "eval.tests.test_filesystem_io.test_corrupt_secondary_image_warns_and_succeeds",
+ "eval.tests.test_filesystem_io.test_docs_directory_is_a_file_not_directory",
+ "eval.tests.test_filesystem_io.test_empty_font_file_rejected",
+ "eval.tests.test_filesystem_io.test_font_read_cleanup_no_output",
+ "eval.tests.test_filesystem_io.test_font_read_failure_exits_nonzero_exact",
+ "eval.tests.test_filesystem_io.test_missing_input_content_tree_yields_zero",
+ "eval.tests.test_filesystem_io.test_missing_logo_warns_but_succeeds_exact",
+ "eval.tests.test_filesystem_io.test_missing_output_docs_tree_yields_zero",
+ "eval.tests.test_filesystem_io.test_missing_secondary_image_warns_but_succeeds_exact",
+ "eval.tests.test_filesystem_io.test_output_images_are_bytes_identical_across_runs",
+ "eval.tests.test_filesystem_io.test_output_save_failure_when_parent_dir_missing",
+ "eval.tests.test_filesystem_io.test_output_save_failure_when_slot_is_a_file",
+ "eval.tests.test_filesystem_io.test_present_assets_produce_no_stderr_warnings",
+ "eval.tests.test_frontmatter.test_closing_delimiter_with_trailing_spaces_is_accepted",
+ "eval.tests.test_frontmatter.test_empty_frontmatter_block_fails",
+ "eval.tests.test_frontmatter.test_extra_yaml_fields_are_allowed",
+ "eval.tests.test_frontmatter.test_frontmatter_repeat_delimiters_uses_first_close",
+ "eval.tests.test_frontmatter.test_frontmatter_title_null_value_coerced_and_renders",
+ "eval.tests.test_frontmatter.test_frontmatter_with_whitespace_only_fails",
+ "eval.tests.test_frontmatter.test_malformed_yaml_fails",
+ "eval.tests.test_frontmatter.test_missing_closing_delimiter_fails",
+ "eval.tests.test_frontmatter.test_missing_frontmatter_leading_delimiter_fails",
+ "eval.tests.test_frontmatter.test_missing_slug_field_fails",
+ "eval.tests.test_frontmatter.test_missing_title_field_fails",
+ "eval.tests.test_frontmatter.test_multiline_literal_title_parses",
+ "eval.tests.test_frontmatter.test_numeric_slug_is_coerced_to_string",
+ "eval.tests.test_frontmatter.test_slug_as_quoted_scalar_with_spaces",
+ "eval.tests.test_frontmatter.test_title_with_colon_and_quotes_parses",
+ "eval.tests.test_frontmatter.test_whitespace_before_first_delimiter_fails",
+ "eval.tests.test_golden_outputs.test_frontmatter_failure_stderr_matches_golden",
+ "eval.tests.test_golden_outputs.test_goldens_are_read_only_stable_inputs",
+ "eval.tests.test_golden_outputs.test_missing_logo_warning_stderr_matches_golden",
+ "eval.tests.test_golden_outputs.test_single_success_stdout_matches_golden",
+ "eval.tests.test_golden_outputs.test_success_stdout_and_warning_stderr_partition",
+ "eval.tests.test_parametrized_variants.test_slug_forms_are_supported[123]",
+ "eval.tests.test_parametrized_variants.test_slug_forms_are_supported[a]",
+ "eval.tests.test_parametrized_variants.test_slug_forms_are_supported[mixed-Case-Slug]",
+ "eval.tests.test_parametrized_variants.test_slug_forms_are_supported[slug-1]",
+ "eval.tests.test_parametrized_variants.test_slug_forms_are_supported[slug-a]",
+ "eval.tests.test_parametrized_variants.test_slug_forms_are_supported[slug_b]",
+ "eval.tests.test_parametrized_variants.test_slug_forms_are_supported[with-dashes-and-123]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og['single quoted' and \"double\"-quotes-title]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[A title with trailing space -trailing-space]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[A-single-letter-a]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[AB-two-letters]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[Alpha-alpha]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[Apostrophe's quote-apostrophe]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[Beta chapter-beta]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[Caf\\xe9 r\\xe9sum\\xe9 na\\xefve-accents]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[Dashes - and - Hyphens-dashes]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[Memory safety and concurrency-memory]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[Multiline\\nTitle-multiline]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[Numbers 1 2 3 and 4.5-numbers-title]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[Numerical title 12345-numbers]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[Ownership & Borrowing in Rust-ownership]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[Rust is a systems language-systems]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[Semi; colon: and, comma-colons]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[Tab\\tSeparated\\tWords-tabs-title]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[The Quick Brown Fox-fox]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[Title with odd spacing-oddspacing]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[Title With (Parentheses)-parens]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[Title \\u2014 Em Dash-emdash]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[Traits, Generics and Lifetimes-traits]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[VeryLongUnbrokenWordWithoutAnySpacesWhatsoever-longword]",
+ "eval.tests.test_parametrized_variants.test_title_variant_generates_og[\\u6807\\u9898: \\u4e2d\\u6587\\u6d4b\\u8bd5-chinese]",
+ "eval.tests.test_scalar_coercion.test_boolean_slug_coerced_and_written_to_matching_slot",
+ "eval.tests.test_scalar_coercion.test_boolean_slug_coerced_missing_slot_fails_exact",
+ "eval.tests.test_scalar_coercion.test_empty_slug_value_is_coerced_to_empty_string",
+ "eval.tests.test_scalar_coercion.test_empty_title_value_is_coerced_to_empty_string",
+ "eval.tests.test_scalar_coercion.test_false_boolean_title_is_coerced_and_renders",
+ "eval.tests.test_scalar_coercion.test_float_slug_coerced_and_written_to_matching_slot",
+ "eval.tests.test_scalar_coercion.test_float_slug_coerced_missing_slot_fails_exact",
+ "eval.tests.test_scalar_coercion.test_float_title_is_coerced_and_renders",
+ "eval.tests.test_scalar_coercion.test_mixed_nested_and_flat_slugs_in_one_batch",
+ "eval.tests.test_scalar_coercion.test_numeric_title_is_coerced_and_renders",
+ "eval.tests.test_scalar_coercion.test_true_boolean_title_is_coerced_and_renders",
+ "eval.tests.test_success_end_to_end.test_empty_docs_directory_produces_zero",
+ "eval.tests.test_success_end_to_end.test_file_with_only_frontmatter_and_no_body",
+ "eval.tests.test_success_end_to_end.test_generated_image_dimensions_are_1200x630",
+ "eval.tests.test_success_end_to_end.test_markdown_before_frontmatter_content_after_closing_delimiter",
+ "eval.tests.test_success_end_to_end.test_multiple_docs_each_get_image_and_summary_exact",
+ "eval.tests.test_success_end_to_end.test_nested_directories_are_walked_recursively",
+ "eval.tests.test_success_end_to_end.test_non_markdown_files_are_ignored",
+ "eval.tests.test_success_end_to_end.test_output_file_is_named_og_jpg_in_slug_directory",
+ "eval.tests.test_success_end_to_end.test_processing_continues_after_a_failure",
+ "eval.tests.test_success_end_to_end.test_single_markdown_generates_og_image",
+ "eval.tests.test_success_end_to_end.test_slug_drives_output_directory_name",
+ "eval.tests.test_success_end_to_end.test_summary_counts_only_succeeded_files",
+ "eval.tests.test_success_end_to_end.test_two_successful_docs_both_partitioned_to_stdout",
+ "eval.tests.test_success_end_to_end.test_uppercase_md_extension_is_skipped",
+ "eval.tests.test_title_rendering.test_deterministic_output_for_same_title",
+ "eval.tests.test_title_rendering.test_different_titles_produce_different_bytes",
+ "eval.tests.test_title_rendering.test_empty_title_still_renders",
+ "eval.tests.test_title_rendering.test_long_title_wraps_but_generates",
+ "eval.tests.test_title_rendering.test_same_title_different_slug_same_bytes",
+ "eval.tests.test_title_rendering.test_single_short_word_title",
+ "eval.tests.test_title_rendering.test_space_separated_title",
+ "eval.tests.test_title_rendering.test_title_containing_punctuation",
+ "eval.tests.test_title_rendering.test_title_with_multiple_consecutive_spaces",
+ "eval.tests.test_title_rendering.test_title_with_tabs_and_newlines",
+ "eval.tests.test_title_rendering.test_unicode_and_accented_title_renders",
+ "eval.tests.test_title_rendering.test_very_long_single_word_title",
+ "eval.tests.test_title_rendering.test_whitespace_only_title_renders",
+ "eval.tests.test_title_rendering.test_wrapping_boundary_one_word_per_line"
+ ]
+ }
+ },
+ "commit": "13ce5dcd4185e41cae91440d807e2631e4d97fdb",
+ "data_source": "synthetic_programgym",
+ "difficulty": "easy",
+ "difficulty_score": 1.207095540419218,
+ "eval_clean_hashes": [
+ "8f08532e05c79297bec4a409e41d7c412adc05ddab84261b431b79b201676075"
+ ],
+ "input_record": {
+ "codeql_db_mb": 84.18,
+ "codeql_status": true,
+ "codeql_time": 45.90580856800079,
+ "commit": "13ce5dcd4185e41cae91440d807e2631e4d97fdb",
+ "commits": 306,
+ "contributors": 32,
+ "difficulty": "easy",
+ "difficulty_code_lines": 1611,
+ "difficulty_has_tests": false,
+ "difficulty_product_code_lines": 1611,
+ "difficulty_runtime_deps": 0,
+ "difficulty_score": 1.207095540419218,
+ "difficulty_test_code_lines": 0,
+ "full_name": "learning-rust/learning-rust.github.io",
+ "github_stars": 1637,
+ "input_codeql_db": "rust_codeql/learning-rust__learning-rust.github.io",
+ "language": "rs",
+ "pb_match": [
+ {
+ "pb_fullname": "cordx56/rustowl",
+ "rank": 709,
+ "similarity": 0.5858049392700195
+ }
+ ],
+ "repo_age": 8.6,
+ "repo_path": "rust/learning-rust__learning-rust.github.io",
+ "rust_channel": "stable",
+ "rust_edition": "2024",
+ "rust_release_date": "2025-02-20",
+ "rust_version": "1.85.0",
+ "rust_version_source": "edition",
+ "source": "commit:13ce5dcd4185e41cae91440d807e2631e4d97fdb",
+ "status": "done",
+ "url": "https://github.com/learning-rust/learning-rust.github.io"
+ },
+ "instance_id": "learning-rust__learning-rust.github.io.13ce5dc",
+ "language": "rust",
+ "module_iterations": [
+ {
+ "actual_iterations": 3,
+ "branch_name": "generated_module_01",
+ "iteration_limit": 5,
+ "module_index": 1,
+ "module_kind": "source",
+ "termination_reason": "module_coverage_threshold_reached"
+ }
+ ],
+ "repository": "learning-rust/learning-rust.github.io"
+}
diff --git a/learning-rust--learning-rust.git/tests/test.sh b/learning-rust--learning-rust.git/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/learning-rust--learning-rust.git/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/learning-rust--learning-rust.git/tests/workspace.tar.gz b/learning-rust--learning-rust.git/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..bda472168cbaac1783fbf933893f867289dc26b2
--- /dev/null
+++ b/learning-rust--learning-rust.git/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f8ec8137227f41d5af4c8678a54fbbb2e85126fcb54bfb39c69cb14a0e50ca15
+size 218820
diff --git a/leereilly--gh-yule-log.0d88837/environment/Dockerfile b/leereilly--gh-yule-log.0d88837/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..6f371332b0892136e00733449b81644d11444adf
--- /dev/null
+++ b/leereilly--gh-yule-log.0d88837/environment/Dockerfile
@@ -0,0 +1,58 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+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"]
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/leereilly--gh-yule-log.0d88837/environment/download.sh b/leereilly--gh-yule-log.0d88837/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..f88ba3cfc6339fd4d3b485745d60442da4005423
--- /dev/null
+++ b/leereilly--gh-yule-log.0d88837/environment/download.sh
@@ -0,0 +1,99 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
+# Generated deterministically from repository module metadata; do not edit.
+set -u
+export GOTOOLCHAIN=auto
+mkdir -p /workspace/.programgym_build_env/go-prefetch
+cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
+module gh-yule-log
+
+go 1.21
+
+require github.com/gdamore/tcell/v2 v2.7.4
+
+require (
+ github.com/gdamore/encoding v1.0.0 // indirect
+ github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
+ github.com/mattn/go-runewidth v0.0.15 // indirect
+ github.com/rivo/uniseg v0.4.3 // indirect
+ golang.org/x/sys v0.17.0 // indirect
+ golang.org/x/term v0.17.0 // indirect
+ golang.org/x/text v0.14.0 // indirect
+)
+PROGRAMGYM_GO_MOD_EOF
+cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
+github.com/gdamore/encoding v1.0.0 h1:+7OoQ1Bc6eTm5niUzBa0Ctsh6JbMW6Ra+YNuAtDBdko=
+github.com/gdamore/encoding v1.0.0/go.mod h1:alR0ol34c49FCSBLjhosxzcPHQbf2trDkoo5dl+VrEg=
+github.com/gdamore/tcell/v2 v2.7.4 h1:sg6/UnTM9jGpZU+oFYAsDahfchWAFW8Xx2yFinNSAYU=
+github.com/gdamore/tcell/v2 v2.7.4/go.mod h1:dSXtXTSK0VsW1biw65DZLZ2NKr7j0qP/0J7ONmsraWg=
+github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY=
+github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
+github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U=
+github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
+github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
+github.com/rivo/uniseg v0.4.3 h1:utMvzDsuh3suAEnhH0RdHmoPbU648o6CvXxTx4SBMOw=
+github.com/rivo/uniseg v0.4.3/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
+github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
+golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
+golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
+golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
+golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
+golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
+golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
+golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
+golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y=
+golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
+golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
+golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
+golang.org/x/term v0.17.0 h1:mkTF7LCd6WGJNL3K1Ad7kwxNfYAW6a8a8QqtMblp/4U=
+golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk=
+golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
+golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
+golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
+golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
+golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
+golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
+golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+PROGRAMGYM_GO_SUM_EOF
+PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
+if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && GOTOOLCHAIN=auto go env GOROOT)"; then
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+else
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
+fi
+export PATH="$GOROOT/bin:$PATH"
+export GOTOOLCHAIN=local
+if ! (cd /workspace/.programgym_build_env/go-prefetch && go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
diff --git a/leereilly--gh-yule-log.0d88837/environment/executable b/leereilly--gh-yule-log.0d88837/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..0253dd09e9bbf262c6f1068369b8708297b0eece
--- /dev/null
+++ b/leereilly--gh-yule-log.0d88837/environment/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:db28e32bed5222fc3873600d28d38af5cdc68547ff9dfbf219405ba19f2b740e
+size 4035059
diff --git a/leereilly--gh-yule-log.0d88837/environment/programgym-go.tar.gz b/leereilly--gh-yule-log.0d88837/environment/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/leereilly--gh-yule-log.0d88837/environment/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/leereilly--gh-yule-log.0d88837/environment/workspace.tar.gz b/leereilly--gh-yule-log.0d88837/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..213065012c518b3078d948c906aa15247dfe7b4c
--- /dev/null
+++ b/leereilly--gh-yule-log.0d88837/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e8709981f23a55eabba78d8e67507de86babbf19768023165cabcb520b6253aa
+size 2299
diff --git a/leereilly--gh-yule-log.0d88837/instruction.md b/leereilly--gh-yule-log.0d88837/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/leereilly--gh-yule-log.0d88837/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/leereilly--gh-yule-log.0d88837/solution/solve.sh b/leereilly--gh-yule-log.0d88837/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/leereilly--gh-yule-log.0d88837/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/leereilly--gh-yule-log.0d88837/task.toml b/leereilly--gh-yule-log.0d88837/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..dce1b2b6371ec4e17f663f644e1b5f6b73c066b0
--- /dev/null
+++ b/leereilly--gh-yule-log.0d88837/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/leereilly--gh-yule-log.0d88837"
+description = "Synthetic ProgramGym cleanroom reconstruction task for leereilly/gh-yule-log"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "go"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "leereilly__gh-yule-log.0d88837"
+repository = "leereilly/gh-yule-log"
+commit = "0d88837ebcb357130954a913f1918882499734a1"
+language = "go"
+difficulty = "easy"
+difficulty_score = 1.3888114134735234
+test_branches = 2
+test_count = 222
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/leereilly--gh-yule-log.0d88837/tests/Dockerfile b/leereilly--gh-yule-log.0d88837/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..bd5f12bacd787ef39a90a560bc0dec968dcdb06e
--- /dev/null
+++ b/leereilly--gh-yule-log.0d88837/tests/Dockerfile
@@ -0,0 +1,66 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+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"]
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN python3 -m pip install --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/leereilly--gh-yule-log.0d88837/tests/blobs/tests/generated_module_01.tar.gz b/leereilly--gh-yule-log.0d88837/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..64cc3a29836b5016f74ae49ca30e1257342c4bc1
--- /dev/null
+++ b/leereilly--gh-yule-log.0d88837/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fe5d029c6d17e1931b71cf46a04d43473ec8192b95bc778fce0b5bbcc8aa6c2f
+size 18394
diff --git a/leereilly--gh-yule-log.0d88837/tests/blobs/tests/generated_module_02.tar.gz b/leereilly--gh-yule-log.0d88837/tests/blobs/tests/generated_module_02.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..3b8b0ceca72a09e6fc52e164b2f148f1c6bd433c
--- /dev/null
+++ b/leereilly--gh-yule-log.0d88837/tests/blobs/tests/generated_module_02.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e775db96cb165a106e0026bab9ed4b00362a3c04a4d2a8e1fb64ccb3edc35d7f
+size 5019
diff --git a/leereilly--gh-yule-log.0d88837/tests/download.sh b/leereilly--gh-yule-log.0d88837/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..f88ba3cfc6339fd4d3b485745d60442da4005423
--- /dev/null
+++ b/leereilly--gh-yule-log.0d88837/tests/download.sh
@@ -0,0 +1,99 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
+# Generated deterministically from repository module metadata; do not edit.
+set -u
+export GOTOOLCHAIN=auto
+mkdir -p /workspace/.programgym_build_env/go-prefetch
+cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
+module gh-yule-log
+
+go 1.21
+
+require github.com/gdamore/tcell/v2 v2.7.4
+
+require (
+ github.com/gdamore/encoding v1.0.0 // indirect
+ github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
+ github.com/mattn/go-runewidth v0.0.15 // indirect
+ github.com/rivo/uniseg v0.4.3 // indirect
+ golang.org/x/sys v0.17.0 // indirect
+ golang.org/x/term v0.17.0 // indirect
+ golang.org/x/text v0.14.0 // indirect
+)
+PROGRAMGYM_GO_MOD_EOF
+cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
+github.com/gdamore/encoding v1.0.0 h1:+7OoQ1Bc6eTm5niUzBa0Ctsh6JbMW6Ra+YNuAtDBdko=
+github.com/gdamore/encoding v1.0.0/go.mod h1:alR0ol34c49FCSBLjhosxzcPHQbf2trDkoo5dl+VrEg=
+github.com/gdamore/tcell/v2 v2.7.4 h1:sg6/UnTM9jGpZU+oFYAsDahfchWAFW8Xx2yFinNSAYU=
+github.com/gdamore/tcell/v2 v2.7.4/go.mod h1:dSXtXTSK0VsW1biw65DZLZ2NKr7j0qP/0J7ONmsraWg=
+github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY=
+github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
+github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U=
+github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
+github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
+github.com/rivo/uniseg v0.4.3 h1:utMvzDsuh3suAEnhH0RdHmoPbU648o6CvXxTx4SBMOw=
+github.com/rivo/uniseg v0.4.3/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
+github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
+golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
+golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
+golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
+golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
+golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
+golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
+golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
+golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y=
+golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
+golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
+golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
+golang.org/x/term v0.17.0 h1:mkTF7LCd6WGJNL3K1Ad7kwxNfYAW6a8a8QqtMblp/4U=
+golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk=
+golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
+golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
+golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
+golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
+golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
+golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
+golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+PROGRAMGYM_GO_SUM_EOF
+PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
+if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && GOTOOLCHAIN=auto go env GOROOT)"; then
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+else
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
+fi
+export PATH="$GOROOT/bin:$PATH"
+export GOTOOLCHAIN=local
+if ! (cd /workspace/.programgym_build_env/go-prefetch && go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
diff --git a/leereilly--gh-yule-log.0d88837/tests/executable b/leereilly--gh-yule-log.0d88837/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..0253dd09e9bbf262c6f1068369b8708297b0eece
--- /dev/null
+++ b/leereilly--gh-yule-log.0d88837/tests/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:db28e32bed5222fc3873600d28d38af5cdc68547ff9dfbf219405ba19f2b740e
+size 4035059
diff --git a/leereilly--gh-yule-log.0d88837/tests/programgym-go.tar.gz b/leereilly--gh-yule-log.0d88837/tests/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/leereilly--gh-yule-log.0d88837/tests/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/leereilly--gh-yule-log.0d88837/tests/programgym_evaluator.py b/leereilly--gh-yule-log.0d88837/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/leereilly--gh-yule-log.0d88837/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/leereilly--gh-yule-log.0d88837/tests/programgym_task.json b/leereilly--gh-yule-log.0d88837/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..7a376060afde28e84ced1238d670509a866e31d7
--- /dev/null
+++ b/leereilly--gh-yule-log.0d88837/tests/programgym_task.json
@@ -0,0 +1,403 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_cli_flags.test_bool_help_forms_still_trigger_help[--help=false]",
+ "eval.tests.test_cli_flags.test_bool_help_forms_still_trigger_help[--help=true]",
+ "eval.tests.test_cli_flags.test_contribs_equals_empty_value_undefined",
+ "eval.tests.test_cli_flags.test_contribs_equals_invalid_bool",
+ "eval.tests.test_cli_flags.test_contribs_with_help[args0]",
+ "eval.tests.test_cli_flags.test_contribs_with_help[args1]",
+ "eval.tests.test_cli_flags.test_contribs_with_undefined_flag[args0]",
+ "eval.tests.test_cli_flags.test_contribs_with_undefined_flag[args1]",
+ "eval.tests.test_cli_flags.test_default_mode_is_fire_not_contribs_via_acceptance",
+ "eval.tests.test_cli_flags.test_exe_argv0_name_and_version_no_debug_log",
+ "eval.tests.test_cli_flags.test_help_does_not_open_screen",
+ "eval.tests.test_cli_flags.test_help_output_goes_to_stderr_not_stdout",
+ "eval.tests.test_cli_flags.test_help_prints_usage_and_exits_zero[--help]",
+ "eval.tests.test_cli_flags.test_help_prints_usage_and_exits_zero[-h]",
+ "eval.tests.test_cli_flags.test_screen_error_goes_to_stderr",
+ "eval.tests.test_cli_flags.test_undefined_flag_exits_two_with_error[--bogus]",
+ "eval.tests.test_cli_flags.test_undefined_flag_exits_two_with_error[--contrib]",
+ "eval.tests.test_cli_flags.test_undefined_flag_exits_two_with_error[--contribz]",
+ "eval.tests.test_cli_flags.test_undefined_flag_exits_two_with_error[--unknown_flag]",
+ "eval.tests.test_cli_flags.test_undefined_flag_exits_two_with_error[-z]",
+ "eval.tests.test_cli_flags.test_undefined_flag_names_things",
+ "eval.tests.test_cli_flags.test_undefined_flag_prints_contribs_usage",
+ "eval.tests.test_cli_flags.test_well_formed_flags_reach_screen_init_failure[args0]",
+ "eval.tests.test_cli_flags.test_well_formed_flags_reach_screen_init_failure[args1]",
+ "eval.tests.test_cli_flags.test_well_formed_flags_reach_screen_init_failure[args2]",
+ "eval.tests.test_cli_flags.test_well_formed_flags_reach_screen_init_failure[args3]",
+ "eval.tests.test_cli_flags.test_well_formed_flags_reach_screen_init_failure[args4]",
+ "eval.tests.test_cli_flags.test_well_formed_flags_reach_screen_init_failure[args5]",
+ "eval.tests.test_cli_flags.test_well_formed_flags_reach_screen_init_failure[args6]",
+ "eval.tests.test_cli_flags.test_well_formed_flags_reach_screen_init_failure[args7]",
+ "eval.tests.test_cli_flags.test_well_formed_flags_reach_screen_init_failure[args8]",
+ "eval.tests.test_heat_clamp.test_excessive_down_arrows_no_crash",
+ "eval.tests.test_heat_clamp.test_fourteen_down_arrows_floor_at_min_heat_and_keep_live",
+ "eval.tests.test_heat_clamp.test_heat_burst_then_plain_key_exits_zero",
+ "eval.tests.test_heat_clamp.test_many_up_arrows_exceed_max_heat_without_crash",
+ "eval.tests.test_heat_clamp.test_six_up_arrows_clamp_at_max_heat_and_keep_live",
+ "eval.tests.test_heat_clamp.test_up_down_alternating_keeps_live",
+ "eval.tests.test_heat_sources_clamp.test_arrow_keys_work_in_contribs_mode",
+ "eval.tests.test_heat_sources_clamp.test_contribs_mode_resize_keeps_ticker_and_exits_zero",
+ "eval.tests.test_heat_sources_clamp.test_heat_sources_clamp_holds_over_prolonged_run",
+ "eval.tests.test_heat_sources_clamp.test_heat_sources_clamp_then_plain_key_exits_zero",
+ "eval.tests.test_heat_sources_clamp.test_heat_sources_clamped_no_crash_on_narrow_terminal[12-15]",
+ "eval.tests.test_heat_sources_clamp.test_heat_sources_clamped_no_crash_on_narrow_terminal[18-24]",
+ "eval.tests.test_heat_sources_clamp.test_heat_sources_clamped_no_crash_on_narrow_terminal[24-30]",
+ "eval.tests.test_heat_sources_clamp.test_heat_sources_recomputed_then_clamped_after_resize",
+ "eval.tests.test_key_events.test_arrow_then_plain_key_exits_cleanly[keys0]",
+ "eval.tests.test_key_events.test_arrow_then_plain_key_exits_cleanly[keys1]",
+ "eval.tests.test_key_events.test_down_arrow_keeps_render_loop_alive",
+ "eval.tests.test_key_events.test_enter_then_more_input_exits_zero",
+ "eval.tests.test_key_events.test_plain_key_breaks_loop_and_exits_zero[ -space]",
+ "eval.tests.test_key_events.test_plain_key_breaks_loop_and_exits_zero[\\r-enter]",
+ "eval.tests.test_key_events.test_plain_key_breaks_loop_and_exits_zero[\\x1b-escape]",
+ "eval.tests.test_key_events.test_plain_key_breaks_loop_and_exits_zero[\\x1b[C-right arrow]",
+ "eval.tests.test_key_events.test_plain_key_breaks_loop_and_exits_zero[\\x1b[D-left arrow]",
+ "eval.tests.test_key_events.test_plain_key_breaks_loop_and_exits_zero[a-letter a]",
+ "eval.tests.test_key_events.test_plain_key_breaks_loop_and_exits_zero[q-q]",
+ "eval.tests.test_key_events.test_resize_smaller_then_exit",
+ "eval.tests.test_key_events.test_resize_wider_then_exit",
+ "eval.tests.test_key_events.test_up_arrow_keeps_render_loop_alive",
+ "eval.tests.test_key_events.test_up_arrow_produces_further_output",
+ "eval.tests.test_render_modes.test_contribs_does_not_render_ascii_glyphs",
+ "eval.tests.test_render_modes.test_contribs_encodings_all_switch_glyphs[args0]",
+ "eval.tests.test_render_modes.test_contribs_encodings_all_switch_glyphs[args1]",
+ "eval.tests.test_render_modes.test_contribs_encodings_all_switch_glyphs[args2]",
+ "eval.tests.test_render_modes.test_contribs_false_keeps_fire_mode",
+ "eval.tests.test_render_modes.test_contribs_renders_unicode_glyphs",
+ "eval.tests.test_render_modes.test_contribs_uses_green_256_palette[38;5;157]",
+ "eval.tests.test_render_modes.test_contribs_uses_green_256_palette[38;5;29]",
+ "eval.tests.test_render_modes.test_contribs_uses_green_256_palette[38;5;35]",
+ "eval.tests.test_render_modes.test_render_loop_produces_output_over_time",
+ "eval.tests.test_render_modes.test_vanilla_bold_bright_yellow_present",
+ "eval.tests.test_render_modes.test_vanilla_does_not_render_unicode_glyphs",
+ "eval.tests.test_render_modes.test_vanilla_renders_ascii_fire_glyphs",
+ "eval.tests.test_render_modes.test_vanilla_uses_indexed_red_orange_palette",
+ "eval.tests.test_screen_init.test_missing_term_fails_screen_init[args0]",
+ "eval.tests.test_screen_init.test_missing_term_fails_screen_init[args1]",
+ "eval.tests.test_screen_init.test_missing_term_fails_screen_init[args2]",
+ "eval.tests.test_screen_init.test_screen_failure_message_named",
+ "eval.tests.test_screen_init.test_screen_failure_stdout_empty",
+ "eval.tests.test_screen_init.test_unknown_or_empty_term_fails_screen_init[]",
+ "eval.tests.test_screen_init.test_unknown_or_empty_term_fails_screen_init[definitely-not-a-terminal]",
+ "eval.tests.test_screen_init.test_unknown_or_empty_term_fails_screen_init[no-such-term]",
+ "eval.tests.test_screen_init.test_unknown_or_empty_term_fails_screen_init[xterm-256color/extra]",
+ "eval.tests.test_screen_init.test_valid_term_does_not_take_failure_path",
+ "eval.tests.test_ticker_depth.test_author_longer_than_subject_short_terminal",
+ "eval.tests.test_ticker_depth.test_meta_column_wider_than_subject_pads_message",
+ "eval.tests.test_ticker_depth.test_single_character_subject_survives_padding",
+ "eval.tests.test_ticker_depth.test_ticker_many_subjects_short_terminal",
+ "eval.tests.test_ticker_depth.test_ticker_minimal_viewport_stays_alive",
+ "eval.tests.test_ticker_depth.test_ticker_multi_subject_short_height_reserves_rows",
+ "eval.tests.test_ticker_depth.test_ticker_renders_on_small_terminal_reserving_bottom_rows",
+ "eval.tests.test_ticker_depth.test_ticker_scroll_continues_over_time",
+ "eval.tests.test_ticker_depth.test_ticker_survives_resize_and_exits",
+ "eval.tests.test_ticker_depth.test_unicode_author_meta_aligned_on_runes",
+ "eval.tests.test_ticker_git.test_all_commit_subjects_rendered",
+ "eval.tests.test_ticker_git.test_author_meta_line_rendered",
+ "eval.tests.test_ticker_git.test_author_with_spaces_and_dots",
+ "eval.tests.test_ticker_git.test_contribs_mode_still_renders_ticker",
+ "eval.tests.test_ticker_git.test_empty_repo_yields_no_ticker",
+ "eval.tests.test_ticker_git.test_five_commit_repo_boundary",
+ "eval.tests.test_ticker_git.test_long_subject_present",
+ "eval.tests.test_ticker_git.test_meta_contains_relative_time",
+ "eval.tests.test_ticker_git.test_meta_row_carries_relative_time_token",
+ "eval.tests.test_ticker_git.test_missing_git_dir_yields_no_ticker",
+ "eval.tests.test_ticker_git.test_non_git_dir_yields_no_ticker",
+ "eval.tests.test_ticker_git.test_single_commit_subject_rendered",
+ "eval.tests.test_ticker_git.test_subject_with_punctuation_and_uppercase",
+ "eval.tests.test_ticker_git.test_ticker_limits_to_twenty_commits",
+ "eval.tests.test_ticker_git.test_ticker_lower_bound_single_subject",
+ "eval.tests.test_ticker_git.test_unicode_subject_rendered"
+ ]
+ },
+ "generated_module_02": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors[0x1]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors[1.0]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors[2]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors[=]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors[NaN]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors[TRUE ]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors[]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors[abc]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors[no]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors[off]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors[on]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors[tru]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors[x]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors[xyz]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors[yes]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors_double_dash[0x1]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors_double_dash[1.0]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors_double_dash[2]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors_double_dash[=]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors_double_dash[NaN]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors_double_dash[TRUE ]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors_double_dash[]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors_double_dash[abc]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors_double_dash[no]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors_double_dash[off]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors_double_dash[on]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors_double_dash[tru]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors_double_dash[x]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors_double_dash[xyz]",
+ "eval.tests.test_contribs_parsing.test_invalid_bool_value_errors_double_dash[yes]",
+ "eval.tests.test_contribs_parsing.test_invalid_value_after_help",
+ "eval.tests.test_contribs_parsing.test_invalid_value_then_valid_flag",
+ "eval.tests.test_contribs_parsing.test_valid_contribs_proceeds_to_screen[--contribs=0]",
+ "eval.tests.test_contribs_parsing.test_valid_contribs_proceeds_to_screen[--contribs=1]",
+ "eval.tests.test_contribs_parsing.test_valid_contribs_proceeds_to_screen[--contribs=false]",
+ "eval.tests.test_contribs_parsing.test_valid_contribs_proceeds_to_screen[--contribs=true]",
+ "eval.tests.test_contribs_parsing.test_valid_contribs_proceeds_to_screen[--contribs]",
+ "eval.tests.test_contribs_parsing.test_valid_contribs_proceeds_to_screen[-contribs=0]",
+ "eval.tests.test_contribs_parsing.test_valid_contribs_proceeds_to_screen[-contribs=1]",
+ "eval.tests.test_contribs_parsing.test_valid_contribs_proceeds_to_screen[-contribs=FALSE]",
+ "eval.tests.test_contribs_parsing.test_valid_contribs_proceeds_to_screen[-contribs=F]",
+ "eval.tests.test_contribs_parsing.test_valid_contribs_proceeds_to_screen[-contribs=False]",
+ "eval.tests.test_contribs_parsing.test_valid_contribs_proceeds_to_screen[-contribs=TRUE]",
+ "eval.tests.test_contribs_parsing.test_valid_contribs_proceeds_to_screen[-contribs=T]",
+ "eval.tests.test_contribs_parsing.test_valid_contribs_proceeds_to_screen[-contribs=True]",
+ "eval.tests.test_contribs_parsing.test_valid_contribs_proceeds_to_screen[-contribs=f]",
+ "eval.tests.test_contribs_parsing.test_valid_contribs_proceeds_to_screen[-contribs=false]",
+ "eval.tests.test_contribs_parsing.test_valid_contribs_proceeds_to_screen[-contribs=t]",
+ "eval.tests.test_contribs_parsing.test_valid_contribs_proceeds_to_screen[-contribs=true]",
+ "eval.tests.test_contribs_parsing.test_valid_contribs_proceeds_to_screen[-contribs]",
+ "eval.tests.test_help_flags.test_help_after_terminator[--help]",
+ "eval.tests.test_help_flags.test_help_after_terminator[-h]",
+ "eval.tests.test_help_flags.test_help_exits_zero[--help]",
+ "eval.tests.test_help_flags.test_help_exits_zero[-h]",
+ "eval.tests.test_help_flags.test_help_exits_zero_after_valid_flag[--help]",
+ "eval.tests.test_help_flags.test_help_exits_zero_after_valid_flag[-h]",
+ "eval.tests.test_help_flags.test_help_precedes_valid_contribs[--help]",
+ "eval.tests.test_help_flags.test_help_precedes_valid_contribs[-h]",
+ "eval.tests.test_help_flags.test_help_with_only_contribs_other_form",
+ "eval.tests.test_screen_startup.test_error_path_exits_two_for_flags_after_help",
+ "eval.tests.test_screen_startup.test_flag_success_does_not_print_usage",
+ "eval.tests.test_screen_startup.test_flag_termination_reaches_screen[argv0]",
+ "eval.tests.test_screen_startup.test_flag_termination_reaches_screen[argv10]",
+ "eval.tests.test_screen_startup.test_flag_termination_reaches_screen[argv11]",
+ "eval.tests.test_screen_startup.test_flag_termination_reaches_screen[argv1]",
+ "eval.tests.test_screen_startup.test_flag_termination_reaches_screen[argv2]",
+ "eval.tests.test_screen_startup.test_flag_termination_reaches_screen[argv3]",
+ "eval.tests.test_screen_startup.test_flag_termination_reaches_screen[argv4]",
+ "eval.tests.test_screen_startup.test_flag_termination_reaches_screen[argv5]",
+ "eval.tests.test_screen_startup.test_flag_termination_reaches_screen[argv6]",
+ "eval.tests.test_screen_startup.test_flag_termination_reaches_screen[argv7]",
+ "eval.tests.test_screen_startup.test_flag_termination_reaches_screen[argv8]",
+ "eval.tests.test_screen_startup.test_flag_termination_reaches_screen[argv9]",
+ "eval.tests.test_screen_startup.test_no_args_reaches_screen",
+ "eval.tests.test_screen_startup.test_screen_error_is_on_stderr_not_stdout",
+ "eval.tests.test_unknown_flags.test_help_does_not_mask_earlier_undefined_flag[--help]",
+ "eval.tests.test_unknown_flags.test_help_does_not_mask_earlier_undefined_flag[-h]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_after_valid_contribs",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two[--bogus]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two[--file]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two[--maxcommits=5]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two[--unknownflag]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two[-bogus]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two[-contribsX]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two[-f]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two[-maxcommits]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two[-n]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two[-o]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two[-unknownflag]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two_single_dash_before_flag[--bogus]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two_single_dash_before_flag[--file]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two_single_dash_before_flag[--maxcommits=5]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two_single_dash_before_flag[--unknownflag]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two_single_dash_before_flag[-bogus]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two_single_dash_before_flag[-contribsX]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two_single_dash_before_flag[-f]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two_single_dash_before_flag[-maxcommits]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two_single_dash_before_flag[-n]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two_single_dash_before_flag[-o]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_exits_two_single_dash_before_flag[-unknownflag]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_message_names_it[--bogus]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_message_names_it[--file]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_message_names_it[--maxcommits=5]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_message_names_it[--unknownflag]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_message_names_it[-bogus]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_message_names_it[-contribsX]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_message_names_it[-f]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_message_names_it[-maxcommits]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_message_names_it[-n]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_message_names_it[-o]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_message_names_it[-unknownflag]",
+ "eval.tests.test_unknown_flags.test_undefined_flag_precedes_invalid_value"
+ ]
+ }
+ },
+ "commit": "0d88837ebcb357130954a913f1918882499734a1",
+ "data_source": "synthetic_programgym",
+ "difficulty": "easy",
+ "difficulty_score": 1.3888114134735234,
+ "eval_clean_hashes": [
+ "db28e32bed5222fc3873600d28d38af5cdc68547ff9dfbf219405ba19f2b740e"
+ ],
+ "input_record": {
+ "commit": "0d88837ebcb357130954a913f1918882499734a1",
+ "commits": 36,
+ "contributors": 4,
+ "difficulty": "easy",
+ "difficulty_code_lines": 272,
+ "difficulty_has_tests": false,
+ "difficulty_product_code_lines": 272,
+ "difficulty_runtime_deps": 8,
+ "difficulty_score": 1.3888114134735234,
+ "difficulty_test_code_lines": 99,
+ "full_name": "leereilly/gh-yule-log",
+ "github_stars": 306,
+ "input_joern_zip": "go_joern/leereilly__gh-yule-log.zip",
+ "joern_status": true,
+ "joern_time": 3.5256179000716656,
+ "language": "go",
+ "pb_match": [
+ {
+ "pb_fullname": "sclevine/yj",
+ "rank": 269,
+ "similarity": 0.512305736541748
+ },
+ {
+ "pb_fullname": "antonmedv/walk",
+ "rank": 613,
+ "similarity": 0.47733256220817566
+ },
+ {
+ "pb_fullname": "peco/peco",
+ "rank": 520,
+ "similarity": 0.48432275652885437
+ },
+ {
+ "pb_fullname": "mikefarah/yq",
+ "rank": 666,
+ "similarity": 0.5199705362319946
+ },
+ {
+ "pb_fullname": "rs/curlie",
+ "rank": 334,
+ "similarity": 0.5159620046615601
+ },
+ {
+ "pb_fullname": "direnv/direnv",
+ "rank": 433,
+ "similarity": 0.4327855110168457
+ },
+ {
+ "pb_fullname": "JohannesKaufmann/html-to-markdown",
+ "rank": 383,
+ "similarity": 0.4977872967720032
+ },
+ {
+ "pb_fullname": "alecthomas/chroma",
+ "rank": 150,
+ "similarity": 0.534608006477356
+ },
+ {
+ "pb_fullname": "gabotechs/dep-tree",
+ "rank": 188,
+ "similarity": 0.5521944165229797
+ },
+ {
+ "pb_fullname": "jesseduffield/lazygit",
+ "rank": 123,
+ "similarity": 0.5927917957305908
+ },
+ {
+ "pb_fullname": "FiloSottile/age",
+ "rank": 965,
+ "similarity": 0.4470686912536621
+ },
+ {
+ "pb_fullname": "boyter/scc",
+ "rank": 497,
+ "similarity": 0.5120801329612732
+ },
+ {
+ "pb_fullname": "naggie/dstask",
+ "rank": 497,
+ "similarity": 0.4927780032157898
+ },
+ {
+ "pb_fullname": "noborus/trdsql",
+ "rank": 834,
+ "similarity": 0.48192107677459717
+ },
+ {
+ "pb_fullname": "noborus/ov",
+ "rank": 735,
+ "similarity": 0.4960119128227234
+ },
+ {
+ "pb_fullname": "sibprogrammer/xq",
+ "rank": 422,
+ "similarity": 0.49998003244400024
+ },
+ {
+ "pb_fullname": "eliukblau/pixterm",
+ "rank": 282,
+ "similarity": 0.537783145904541
+ },
+ {
+ "pb_fullname": "TheZoraiz/ascii-image-converter",
+ "rank": 537,
+ "similarity": 0.4862512946128845
+ },
+ {
+ "pb_fullname": "antonmedv/fx",
+ "rank": 890,
+ "similarity": 0.4713842570781708
+ },
+ {
+ "pb_fullname": "tomnomnom/gron",
+ "rank": 309,
+ "similarity": 0.5092076063156128
+ },
+ {
+ "pb_fullname": "junegunn/fzf",
+ "rank": 881,
+ "similarity": 0.45189961791038513
+ },
+ {
+ "pb_fullname": "zk-org/zk",
+ "rank": 653,
+ "similarity": 0.5335076451301575
+ }
+ ],
+ "repo_age": 0.64,
+ "repo_path": "go/leereilly__gh-yule-log",
+ "source": "commit:0d88837ebcb357130954a913f1918882499734a1",
+ "status": "done",
+ "url": "https://github.com/leereilly/gh-yule-log"
+ },
+ "instance_id": "leereilly__gh-yule-log.0d88837",
+ "language": "go",
+ "module_iterations": [
+ {
+ "actual_iterations": 4,
+ "branch_name": "generated_module_01",
+ "iteration_limit": 5,
+ "module_index": 1,
+ "module_kind": "source",
+ "termination_reason": "module_coverage_threshold_reached"
+ },
+ {
+ "actual_iterations": 1,
+ "branch_name": "generated_module_02",
+ "iteration_limit": 5,
+ "module_index": 2,
+ "module_kind": "source",
+ "termination_reason": "coverage_path_attribution_failure"
+ }
+ ],
+ "repository": "leereilly/gh-yule-log"
+}
diff --git a/leereilly--gh-yule-log.0d88837/tests/test.sh b/leereilly--gh-yule-log.0d88837/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/leereilly--gh-yule-log.0d88837/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/leereilly--gh-yule-log.0d88837/tests/workspace.tar.gz b/leereilly--gh-yule-log.0d88837/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..335bab924272ab26c342cde5c0f8103e3adf9baa
--- /dev/null
+++ b/leereilly--gh-yule-log.0d88837/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:40589c77080f8e39ac3ec384d3831ae321cfc12cc8bb7336844a530231300273
+size 2299
diff --git a/leetonidas--demovfuscator.0278f2/environment/Dockerfile b/leetonidas--demovfuscator.0278f2/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..ea5dabd15b163b4b12b41d1994ffda06041df226
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/environment/Dockerfile
@@ -0,0 +1,66 @@
+FROM ubuntu:22.04
+ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
+ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
+ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
+ARG PROGRAMGYM_NPM_STRICT_SSL="true"
+ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
+ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
+ARG PROGRAMGYM_UV_INSECURE_HOST=""
+ENV GOPROXY=${PROGRAMGYM_GOPROXY}
+ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
+ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
+ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
+ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
+ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
+ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
+COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
+RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
+ && /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
+ && rm -f /tmp/harbor_configure_apt_mirror.sh
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_cache=/workspace/.cache/npm
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip autoconf automake gettext file binutils g++ libtool libncurses-dev meson ninja-build unzip wget curl xz-utils bzip2 zip zstd patch python3-pytest python3-pytest-xdist python3-coverage tar && rm -rf /var/lib/apt/lists/*
+ARG CMAKE_VERSION=3.31.12
+RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) CMAKE_ARCH="x86_64" ;; arm64) CMAKE_ARCH="aarch64" ;; *) echo "unsupported architecture for CMake: ${ARCH}" >&2; exit 1 ;; esac; curl -fsSL -o /tmp/cmake.tar.gz "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-${CMAKE_ARCH}.tar.gz"; rm -rf /opt/cmake; mkdir -p /opt/cmake; tar -xzf /tmp/cmake.tar.gz --strip-components=1 -C /opt/cmake; ln -sf /opt/cmake/bin/cmake /usr/local/bin/cmake; ln -sf /opt/cmake/bin/ctest /usr/local/bin/ctest; ln -sf /opt/cmake/bin/cpack /usr/local/bin/cpack; rm -f /tmp/cmake.tar.gz; cmake --version
+ARG GCC_VERSION=13.3.0
+RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) GCC_ARCH="x64" ;; arm64) GCC_ARCH="arm64" ;; *) echo "unsupported architecture for GCC 13: ${ARCH}" >&2; exit 1 ;; esac; wget -O /tmp/gcc.tar.gz "https://github.com/xpack-dev-tools/gcc-xpack/releases/download/v13.3.0-2/xpack-gcc-13.3.0-2-linux-${GCC_ARCH}.tar.gz"; rm -rf /opt/gcc-13; mkdir -p /opt/gcc-13; tar -xzf /tmp/gcc.tar.gz --strip-components=1 -C /opt/gcc-13; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/c++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc-13; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++-13; for PROGRAMGYM_GCOV_TOOL in gcov gcov-dump gcov-tool; do if [ -x "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" ]; then ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}-13"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/bin/${PROGRAMGYM_GCOV_TOOL}"; fi; done; ln -sf /opt/gcc-13/bin/gcc /usr/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/c++; rm -f /tmp/gcc.tar.gz; gcc --version; g++ --version; gcov --version; command -v gcov-dump >/dev/null && gcov-dump --version | head -n 1 || true
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /workspace/download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/leetonidas--demovfuscator.0278f2/environment/docker-compose.yaml b/leetonidas--demovfuscator.0278f2/environment/docker-compose.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..f3bd71ea40d31cf72c3c886f85cbca1450add2cc
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/environment/docker-compose.yaml
@@ -0,0 +1,11 @@
+services:
+ main:
+ build:
+ args:
+ PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
+ PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
+ PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
+ PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
+ PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
+ PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
+ PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
diff --git a/leetonidas--demovfuscator.0278f2/environment/download.sh b/leetonidas--demovfuscator.0278f2/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..47a8fcf5246989db9c3b39625e5019ba752802c4
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/environment/download.sh
@@ -0,0 +1,59 @@
+#!/usr/bin/env bash
+# ProgramGym download.sh for the demovfuscator C++ project.
+# This file is sourced (`source /source_ro/download.sh`) during the networked
+# download stage, while the repository source tree is read-only and not
+# otherwise available. It therefore contains every dependency pin, URL and
+# extracted path inline, and must not read any repository file.
+#
+# It only installs/prefetches dependencies and exports environment variables
+# that build.sh relies on. It does NOT compile, link, test, or build anything.
+
+KS_VERSION="0.9.2"
+KS_TARBALL_URL="https://github.com/keystone-engine/keystone/archive/refs/tags/0.9.2.tar.gz"
+KS_DEPS_DIR="/opt/programgym/deps"
+export KS_SRC="${KS_DEPS_DIR}/keystone-${KS_VERSION}"
+
+# Fail helper: works whether this file is executed or sourced.
+_fail() {
+ echo "download.sh error: $*" >&2
+ if [ "${BASH_SOURCE[0]}" = "$0" ]; then
+ exit 1
+ else
+ return 1
+ fi
+}
+
+mkdir -p "${KS_DEPS_DIR}"
+
+# 1) Install compiler/linker dependency dev packages (headers + runtime shared
+# libraries) and their runtime counterparts.
+if ! apt-get update; then
+ _fail "apt-get update failed"
+fi
+
+if ! apt-get install -y libcapstone-dev libz3-dev libssl-dev; then
+ _fail "apt-get install of libcapstone-dev libz3-dev libssl-dev failed"
+fi
+
+# 2) Fetch the keystone assembler engine source. Kernel assembler engine
+# ("keystone engine") has NO apt package on Ubuntu 22.04 (only the unrelated
+# OpenStack identity service named 'keystone' exists), so the source archive
+# is prefetched here and compiled offline in build.sh.
+if [ ! -f "${KS_SRC}/CMakeLists.txt" ]; then
+ KS_TARBALL="${KS_DEPS_DIR}/keystone-${KS_VERSION}.tar.gz"
+ if ! curl -fSL -o "${KS_TARBALL}" "${KS_TARBALL_URL}"; then
+ _fail "failed to download ${KS_TARBALL_URL}"
+ fi
+ if [ -d "${KS_SRC}" ]; then
+ rm -rf "${KS_SRC}"
+ fi
+ if ! mkdir -p "${KS_SRC}"; then
+ _fail "failed to create ${KS_SRC}"
+ fi
+ if ! tar -xzf "${KS_TARBALL}" -C "${KS_SRC}" --strip-components=1; then
+ _fail "failed to extract keystone tarball"
+ fi
+ rm -f "${KS_TARBALL}"
+fi
+
+echo "download.sh: dependencies ready; KS_SRC=${KS_SRC}"
diff --git a/leetonidas--demovfuscator.0278f2/environment/executable b/leetonidas--demovfuscator.0278f2/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..7b2b687076b14c6e02736ab40e571d0a6b7674f3
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/environment/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f07be208f9ae37c2e321097d9b43c0e9a186b62a6611634114dcc59490d7fd31
+size 10828488
diff --git a/leetonidas--demovfuscator.0278f2/environment/harbor_configure_apt_mirror.sh b/leetonidas--demovfuscator.0278f2/environment/harbor_configure_apt_mirror.sh
new file mode 100644
index 0000000000000000000000000000000000000000..c70a651096880dece7733b26837f2ca8e24d2c7f
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/environment/harbor_configure_apt_mirror.sh
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+repository_base="${1%/}"
+if [[ -z "$repository_base" ]]; then
+ exit 0
+fi
+
+. /etc/os-release
+codename="${VERSION_CODENAME:-}"
+if [[ -z "$codename" ]]; then
+ echo "VERSION_CODENAME is not set" >&2
+ exit 1
+fi
+
+if [[ "$ID" == "ubuntu" ]]; then
+ repository_name="apt-proxy"
+ components="main universe restricted multiverse"
+else
+ repository_name="debian-proxy"
+ components="main contrib non-free non-free-firmware"
+fi
+
+install -d /etc/apt/sources.list.d
+rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
+printf 'deb [trusted=yes] %s/%s %s %s\n' \
+ "$repository_base" "$repository_name" "$codename" "$components" \
+ >/etc/apt/sources.list
+printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
+ "$repository_base" "$repository_name" "$codename" "$components" \
+ >>/etc/apt/sources.list
+
+if [[ "$ID" != "ubuntu" ]]; then
+ printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
+ "$repository_base" "debian-proxy-security" "$codename" "$components" \
+ >>/etc/apt/sources.list
+fi
diff --git a/leetonidas--demovfuscator.0278f2/environment/harbor_prepare_download_env.sh b/leetonidas--demovfuscator.0278f2/environment/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..2c7dd2f2b8fff5fb8926261279d38518e59e407c
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/environment/harbor_prepare_download_env.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+set -euo pipefail
+cd /workspace
+set -a
+source /workspace/download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/leetonidas--demovfuscator.0278f2/environment/workspace.tar.gz b/leetonidas--demovfuscator.0278f2/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..1601a01b7f9c8c945eccd35437b0e06a18a9c959
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7bacf5444e36c0920fbe73ad8566614ae381b62ca1a95e03dea3df0fe7f42747
+size 3109
diff --git a/leetonidas--demovfuscator.0278f2/instruction.md b/leetonidas--demovfuscator.0278f2/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/leetonidas--demovfuscator.0278f2/solution/solve.sh b/leetonidas--demovfuscator.0278f2/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/leetonidas--demovfuscator.0278f2/task.toml b/leetonidas--demovfuscator.0278f2/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..c6afa840c4e223e5083bb6c6527d41b955177022
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/leetonidas--demovfuscator.0278f2"
+description = "Synthetic ProgramGym cleanroom reconstruction task for leetonidas/demovfuscator"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "cpp"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "leetonidas__demovfuscator.0278f2a"
+repository = "leetonidas/demovfuscator"
+commit = "0278f2a93275660354671488ad27137e04c82005"
+language = "cpp"
+difficulty = "easy"
+difficulty_score = 1.609914410085998
+test_branches = 4
+test_count = 547
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/leetonidas--demovfuscator.0278f2/tests/Dockerfile b/leetonidas--demovfuscator.0278f2/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..31c24423705b4d9f115d86d6c410e4b65f06031b
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/tests/Dockerfile
@@ -0,0 +1,74 @@
+FROM ubuntu:22.04
+ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
+ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
+ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
+ARG PROGRAMGYM_NPM_STRICT_SSL="true"
+ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
+ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
+ARG PROGRAMGYM_UV_INSECURE_HOST=""
+ENV GOPROXY=${PROGRAMGYM_GOPROXY}
+ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
+ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
+ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
+ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
+ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
+ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
+COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
+RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
+ && /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
+ && rm -f /tmp/harbor_configure_apt_mirror.sh
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_cache=/workspace/.cache/npm
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip autoconf automake gettext file binutils g++ libtool libncurses-dev meson ninja-build unzip wget curl xz-utils bzip2 zip zstd patch python3-pytest python3-pytest-xdist python3-coverage tar && rm -rf /var/lib/apt/lists/*
+ARG CMAKE_VERSION=3.31.12
+RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) CMAKE_ARCH="x86_64" ;; arm64) CMAKE_ARCH="aarch64" ;; *) echo "unsupported architecture for CMake: ${ARCH}" >&2; exit 1 ;; esac; curl -fsSL -o /tmp/cmake.tar.gz "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-${CMAKE_ARCH}.tar.gz"; rm -rf /opt/cmake; mkdir -p /opt/cmake; tar -xzf /tmp/cmake.tar.gz --strip-components=1 -C /opt/cmake; ln -sf /opt/cmake/bin/cmake /usr/local/bin/cmake; ln -sf /opt/cmake/bin/ctest /usr/local/bin/ctest; ln -sf /opt/cmake/bin/cpack /usr/local/bin/cpack; rm -f /tmp/cmake.tar.gz; cmake --version
+ARG GCC_VERSION=13.3.0
+RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) GCC_ARCH="x64" ;; arm64) GCC_ARCH="arm64" ;; *) echo "unsupported architecture for GCC 13: ${ARCH}" >&2; exit 1 ;; esac; wget -O /tmp/gcc.tar.gz "https://github.com/xpack-dev-tools/gcc-xpack/releases/download/v13.3.0-2/xpack-gcc-13.3.0-2-linux-${GCC_ARCH}.tar.gz"; rm -rf /opt/gcc-13; mkdir -p /opt/gcc-13; tar -xzf /tmp/gcc.tar.gz --strip-components=1 -C /opt/gcc-13; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/c++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc-13; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++-13; for PROGRAMGYM_GCOV_TOOL in gcov gcov-dump gcov-tool; do if [ -x "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" ]; then ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}-13"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/bin/${PROGRAMGYM_GCOV_TOOL}"; fi; done; ln -sf /opt/gcc-13/bin/gcc /usr/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/c++; rm -f /tmp/gcc.tar.gz; gcc --version; g++ --version; gcov --version; command -v gcov-dump >/dev/null && gcov-dump --version | head -n 1 || true
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /workspace/download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN python3 -m pip install --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/leetonidas--demovfuscator.0278f2/tests/blobs/tests/generated_module_01.tar.gz b/leetonidas--demovfuscator.0278f2/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..ae0074f293ad5ca32b0450dbb34c2dfce0c3b7cd
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fb17dfa18624face4afd21a6aaf84d2fed5725ca15afeadfaa6a592a1b49c4d9
+size 18107
diff --git a/leetonidas--demovfuscator.0278f2/tests/blobs/tests/generated_module_02.tar.gz b/leetonidas--demovfuscator.0278f2/tests/blobs/tests/generated_module_02.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..2f74e69a202421935aa8f8cf4e6d551038911810
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/tests/blobs/tests/generated_module_02.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cfa1f8498125964f7a9cbb48ff88cbfe9a83d073e5628224e143ca8026d618ee
+size 27074
diff --git a/leetonidas--demovfuscator.0278f2/tests/blobs/tests/generated_module_03.tar.gz b/leetonidas--demovfuscator.0278f2/tests/blobs/tests/generated_module_03.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..48b7d68368e1a3aafe75923176272366448a9c64
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/tests/blobs/tests/generated_module_03.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9d8b5744145f891f8681aa2822e887ebe191d20bc93e2ef71c543f1f69099d3f
+size 25425
diff --git a/leetonidas--demovfuscator.0278f2/tests/blobs/tests/generated_module_04.tar.gz b/leetonidas--demovfuscator.0278f2/tests/blobs/tests/generated_module_04.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..42d525160cb61987af2f1879d293f1f035821fbd
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/tests/blobs/tests/generated_module_04.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fdda449790fd9c11d897b80a3e24446003d7cd63f5e82b30fd0a55553e25a09d
+size 35180
diff --git a/leetonidas--demovfuscator.0278f2/tests/docker-compose.yaml b/leetonidas--demovfuscator.0278f2/tests/docker-compose.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..f3bd71ea40d31cf72c3c886f85cbca1450add2cc
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/tests/docker-compose.yaml
@@ -0,0 +1,11 @@
+services:
+ main:
+ build:
+ args:
+ PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
+ PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
+ PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
+ PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
+ PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
+ PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
+ PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
diff --git a/leetonidas--demovfuscator.0278f2/tests/download.sh b/leetonidas--demovfuscator.0278f2/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..47a8fcf5246989db9c3b39625e5019ba752802c4
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/tests/download.sh
@@ -0,0 +1,59 @@
+#!/usr/bin/env bash
+# ProgramGym download.sh for the demovfuscator C++ project.
+# This file is sourced (`source /source_ro/download.sh`) during the networked
+# download stage, while the repository source tree is read-only and not
+# otherwise available. It therefore contains every dependency pin, URL and
+# extracted path inline, and must not read any repository file.
+#
+# It only installs/prefetches dependencies and exports environment variables
+# that build.sh relies on. It does NOT compile, link, test, or build anything.
+
+KS_VERSION="0.9.2"
+KS_TARBALL_URL="https://github.com/keystone-engine/keystone/archive/refs/tags/0.9.2.tar.gz"
+KS_DEPS_DIR="/opt/programgym/deps"
+export KS_SRC="${KS_DEPS_DIR}/keystone-${KS_VERSION}"
+
+# Fail helper: works whether this file is executed or sourced.
+_fail() {
+ echo "download.sh error: $*" >&2
+ if [ "${BASH_SOURCE[0]}" = "$0" ]; then
+ exit 1
+ else
+ return 1
+ fi
+}
+
+mkdir -p "${KS_DEPS_DIR}"
+
+# 1) Install compiler/linker dependency dev packages (headers + runtime shared
+# libraries) and their runtime counterparts.
+if ! apt-get update; then
+ _fail "apt-get update failed"
+fi
+
+if ! apt-get install -y libcapstone-dev libz3-dev libssl-dev; then
+ _fail "apt-get install of libcapstone-dev libz3-dev libssl-dev failed"
+fi
+
+# 2) Fetch the keystone assembler engine source. Kernel assembler engine
+# ("keystone engine") has NO apt package on Ubuntu 22.04 (only the unrelated
+# OpenStack identity service named 'keystone' exists), so the source archive
+# is prefetched here and compiled offline in build.sh.
+if [ ! -f "${KS_SRC}/CMakeLists.txt" ]; then
+ KS_TARBALL="${KS_DEPS_DIR}/keystone-${KS_VERSION}.tar.gz"
+ if ! curl -fSL -o "${KS_TARBALL}" "${KS_TARBALL_URL}"; then
+ _fail "failed to download ${KS_TARBALL_URL}"
+ fi
+ if [ -d "${KS_SRC}" ]; then
+ rm -rf "${KS_SRC}"
+ fi
+ if ! mkdir -p "${KS_SRC}"; then
+ _fail "failed to create ${KS_SRC}"
+ fi
+ if ! tar -xzf "${KS_TARBALL}" -C "${KS_SRC}" --strip-components=1; then
+ _fail "failed to extract keystone tarball"
+ fi
+ rm -f "${KS_TARBALL}"
+fi
+
+echo "download.sh: dependencies ready; KS_SRC=${KS_SRC}"
diff --git a/leetonidas--demovfuscator.0278f2/tests/executable b/leetonidas--demovfuscator.0278f2/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..7b2b687076b14c6e02736ab40e571d0a6b7674f3
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/tests/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f07be208f9ae37c2e321097d9b43c0e9a186b62a6611634114dcc59490d7fd31
+size 10828488
diff --git a/leetonidas--demovfuscator.0278f2/tests/harbor_configure_apt_mirror.sh b/leetonidas--demovfuscator.0278f2/tests/harbor_configure_apt_mirror.sh
new file mode 100644
index 0000000000000000000000000000000000000000..c70a651096880dece7733b26837f2ca8e24d2c7f
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/tests/harbor_configure_apt_mirror.sh
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+repository_base="${1%/}"
+if [[ -z "$repository_base" ]]; then
+ exit 0
+fi
+
+. /etc/os-release
+codename="${VERSION_CODENAME:-}"
+if [[ -z "$codename" ]]; then
+ echo "VERSION_CODENAME is not set" >&2
+ exit 1
+fi
+
+if [[ "$ID" == "ubuntu" ]]; then
+ repository_name="apt-proxy"
+ components="main universe restricted multiverse"
+else
+ repository_name="debian-proxy"
+ components="main contrib non-free non-free-firmware"
+fi
+
+install -d /etc/apt/sources.list.d
+rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
+printf 'deb [trusted=yes] %s/%s %s %s\n' \
+ "$repository_base" "$repository_name" "$codename" "$components" \
+ >/etc/apt/sources.list
+printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
+ "$repository_base" "$repository_name" "$codename" "$components" \
+ >>/etc/apt/sources.list
+
+if [[ "$ID" != "ubuntu" ]]; then
+ printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
+ "$repository_base" "debian-proxy-security" "$codename" "$components" \
+ >>/etc/apt/sources.list
+fi
diff --git a/leetonidas--demovfuscator.0278f2/tests/harbor_prepare_download_env.sh b/leetonidas--demovfuscator.0278f2/tests/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..2c7dd2f2b8fff5fb8926261279d38518e59e407c
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/tests/harbor_prepare_download_env.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+set -euo pipefail
+cd /workspace
+set -a
+source /workspace/download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/leetonidas--demovfuscator.0278f2/tests/programgym_evaluator.py b/leetonidas--demovfuscator.0278f2/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/leetonidas--demovfuscator.0278f2/tests/programgym_task.json b/leetonidas--demovfuscator.0278f2/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..42161ce1969809a13c56ee5edaf5f307707f244a
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/tests/programgym_task.json
@@ -0,0 +1,1869 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [
+ {
+ "name": "eval.tests.test_elfhlp.test_entrypoint_boundary_block_is_self_consistent",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_elfhlp.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_elfhlp.test_entrypoint_maximum_32bit_address",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_elfhlp.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_elfhlp.test_open_elf_magic_prefix_accepted",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_elfhlp.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "golden_written_in_test",
+ "message": "pytest test writes to its own golden file",
+ "path": "eval/tests/test_elfhlp.py",
+ "repair_hint": "Read committed golden data instead of writing expected output inside the test.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_elfhlp.test_relocation_absent_for_64bit",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_elfhlp.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_elfhlp.test_relocation_name_and_address",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_elfhlp.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_elfhlp.test_relocation_null_symbol_emits_empty_name",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_elfhlp.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_elfhlp.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_elfhlp.test_relocation_section_header_printed_without_entries",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_elfhlp.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_elfhlp.test_relocations_multiple_entries_in_section",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_elfhlp.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_elfhlp.test_relocations_rela_section_relevant",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_elfhlp.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_elfhlp.test_relocations_section_entsize_16_steps_entries",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_elfhlp.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_elfhlp.test_relocations_two_sections_rel_and_rela",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_elfhlp.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_elfhlp.test_segments_absent_for_64bit_input",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_elfhlp.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_elfhlp.test_segments_all_spaces_when_pflags_zero",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_elfhlp.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_elfhlp.test_segments_filesz_zero_yields_zero_width_segment",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_elfhlp.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_elfhlp.test_segments_header_but_none_when_no_load",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_elfhlp.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_elfhlp.test_segments_listed_with_range_and_rwx",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_elfhlp.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_elfhlp.test_segments_multiple_load_segments_sorted_by_vaddr",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_elfhlp.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_elfhlp.test_segments_note_phdr_filtered_out",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_elfhlp.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ }
+ ],
+ "tests": [
+ "eval.tests.test_elfhlp.test_analysis_pipeline_reporting_sequence",
+ "eval.tests.test_elfhlp.test_c_flag_consumes_next_argument",
+ "eval.tests.test_elfhlp.test_c_flag_with_explicit_value_still_analyses",
+ "eval.tests.test_elfhlp.test_combined_options_after_positional_input_write_all",
+ "eval.tests.test_elfhlp.test_combined_output_graph_idc_options_all_write",
+ "eval.tests.test_elfhlp.test_entrypoint_boundary_block_is_self_consistent",
+ "eval.tests.test_elfhlp.test_entrypoint_boundary_values[entry_1000]",
+ "eval.tests.test_elfhlp.test_entrypoint_boundary_values[entry_1]",
+ "eval.tests.test_elfhlp.test_entrypoint_boundary_values[entry_deadbeef]",
+ "eval.tests.test_elfhlp.test_entrypoint_maximum_32bit_address",
+ "eval.tests.test_elfhlp.test_entrypoint_reported_in_hex",
+ "eval.tests.test_elfhlp.test_entrypoint_variants[arm_entry]",
+ "eval.tests.test_elfhlp.test_entrypoint_variants[elf64_entry]",
+ "eval.tests.test_elfhlp.test_entrypoint_variants[i386_entry]",
+ "eval.tests.test_elfhlp.test_entrypoint_zero_for_magic_only_file",
+ "eval.tests.test_elfhlp.test_entrypoint_zero_when_no_header_fields",
+ "eval.tests.test_elfhlp.test_generating_options_write_their_target_file[graph_file]",
+ "eval.tests.test_elfhlp.test_generating_options_write_their_target_file[idc_file]",
+ "eval.tests.test_elfhlp.test_generating_options_write_their_target_file[output_file]",
+ "eval.tests.test_elfhlp.test_graph_option_writes_graph_file",
+ "eval.tests.test_elfhlp.test_help_flag_prints_usage_and_exits_zero",
+ "eval.tests.test_elfhlp.test_help_flag_short_circuits_even_with_bad_file",
+ "eval.tests.test_elfhlp.test_idc_option_writes_exact_idc_file",
+ "eval.tests.test_elfhlp.test_invalid_option_reports_usage_and_exits_one",
+ "eval.tests.test_elfhlp.test_isx86mov_false_variants[big_endian_not_lsb]",
+ "eval.tests.test_elfhlp.test_isx86mov_false_variants[class_64_not_32]",
+ "eval.tests.test_elfhlp.test_isx86mov_false_variants[machine_arm_not_em386]",
+ "eval.tests.test_elfhlp.test_isx86mov_false_when_no_mapping",
+ "eval.tests.test_elfhlp.test_isx86mov_true_for_i386_32le",
+ "eval.tests.test_elfhlp.test_multi_file_batch_valid_invalid_order",
+ "eval.tests.test_elfhlp.test_multi_file_loop_reports_one_entry_per_valid_file",
+ "eval.tests.test_elfhlp.test_open_directory_rejects",
+ "eval.tests.test_elfhlp.test_open_elf_magic_prefix_accepted",
+ "eval.tests.test_elfhlp.test_open_empty_file_rejects",
+ "eval.tests.test_elfhlp.test_open_multiple_files_continues_after_failure",
+ "eval.tests.test_elfhlp.test_open_non_elf_text_rejects_bad_magic",
+ "eval.tests.test_elfhlp.test_open_nonexistent_file_reports_unopenable",
+ "eval.tests.test_elfhlp.test_open_valid_after_invalid_does_not_emit_cannot_open_for_valid",
+ "eval.tests.test_elfhlp.test_open_valid_elf_succceeds",
+ "eval.tests.test_elfhlp.test_open_wrong_magic_but_elf_like",
+ "eval.tests.test_elfhlp.test_option_requiring_argument_as_last_token_errors[c_requires_arg]",
+ "eval.tests.test_elfhlp.test_option_requiring_argument_as_last_token_errors[g_requires_arg]",
+ "eval.tests.test_elfhlp.test_option_requiring_argument_as_last_token_errors[i_requires_arg]",
+ "eval.tests.test_elfhlp.test_option_requiring_argument_as_last_token_errors[o_requires_arg]",
+ "eval.tests.test_elfhlp.test_option_requiring_argument_without_value_exits_one",
+ "eval.tests.test_elfhlp.test_output_bad_directory_does_not_create_file",
+ "eval.tests.test_elfhlp.test_output_copy_after_failed_open_skips_bad_file",
+ "eval.tests.test_elfhlp.test_output_copy_byte_identical_to_multi_load",
+ "eval.tests.test_elfhlp.test_output_copy_survives_rich_fixtures[bigentry]",
+ "eval.tests.test_elfhlp.test_output_copy_survives_rich_fixtures[multi_load]",
+ "eval.tests.test_elfhlp.test_output_copy_survives_rich_fixtures[perm0]",
+ "eval.tests.test_elfhlp.test_output_copy_survives_rich_fixtures[rel_3]",
+ "eval.tests.test_elfhlp.test_output_copy_survives_rich_fixtures[rel_null_sym]",
+ "eval.tests.test_elfhlp.test_output_copy_survives_rich_fixtures[rela]",
+ "eval.tests.test_elfhlp.test_output_file_created_at_requested_path",
+ "eval.tests.test_elfhlp.test_output_file_is_byte_identical_to_input",
+ "eval.tests.test_elfhlp.test_output_file_size_matches_input_size",
+ "eval.tests.test_elfhlp.test_output_overwrites_existing_file",
+ "eval.tests.test_elfhlp.test_relocation_absent_for_64bit",
+ "eval.tests.test_elfhlp.test_relocation_name_and_address",
+ "eval.tests.test_elfhlp.test_relocation_null_symbol_emits_empty_name",
+ "eval.tests.test_elfhlp.test_relocation_null_symbol_line_leading_space",
+ "eval.tests.test_elfhlp.test_relocation_section_header_printed_without_entries",
+ "eval.tests.test_elfhlp.test_relocations_multiple_entries_in_section",
+ "eval.tests.test_elfhlp.test_relocations_rela_section_relevant",
+ "eval.tests.test_elfhlp.test_relocations_section_entsize_16_steps_entries",
+ "eval.tests.test_elfhlp.test_relocations_two_sections_distinct_name_tables",
+ "eval.tests.test_elfhlp.test_relocations_two_sections_rel_and_rela",
+ "eval.tests.test_elfhlp.test_relocations_with_rel_and_rela_not_mixed",
+ "eval.tests.test_elfhlp.test_segment_permission_letters[exec_only]",
+ "eval.tests.test_elfhlp.test_segment_permission_letters[no_permissions]",
+ "eval.tests.test_elfhlp.test_segment_permission_letters[read_exec]",
+ "eval.tests.test_elfhlp.test_segment_permission_letters[read_only]",
+ "eval.tests.test_elfhlp.test_segment_permission_letters[read_write]",
+ "eval.tests.test_elfhlp.test_segments_absent_for_64bit_input",
+ "eval.tests.test_elfhlp.test_segments_all_spaces_when_pflags_zero",
+ "eval.tests.test_elfhlp.test_segments_filesz_zero_still_movable_permissions",
+ "eval.tests.test_elfhlp.test_segments_filesz_zero_yields_zero_width_segment",
+ "eval.tests.test_elfhlp.test_segments_header_but_none_when_no_load",
+ "eval.tests.test_elfhlp.test_segments_high_flag_bits_masked_by_pflags_and",
+ "eval.tests.test_elfhlp.test_segments_listed_with_range_and_rwx",
+ "eval.tests.test_elfhlp.test_segments_mem_over_filesz_split",
+ "eval.tests.test_elfhlp.test_segments_mixed_filesz_memsz_in_one_file",
+ "eval.tests.test_elfhlp.test_segments_multiple_load_segments_sorted_by_vaddr",
+ "eval.tests.test_elfhlp.test_segments_no_split_when_filesz_equals_memsz",
+ "eval.tests.test_elfhlp.test_segments_note_phdr_filtered_out"
+ ]
+ },
+ "generated_module_02": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [
+ {
+ "name": "eval.tests.test_analysis.test_indexed_store_sweeps_without_carving_data",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_analysis.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_analysis.test_load_heavy_carves_sym_on",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_analysis.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_analysis.test_nonmov_scan_reports_non_mov_instruction",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_analysis.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_analysis.test_plain_mov_is_marked_possibly_movfuscated",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_analysis.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_analysis.test_plain_mov_parse_entry_falls_back_to_find_on",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_analysis.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_analysis.test_plain_mov_sweeps_without_non_mov_fault",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_analysis.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_analysis.test_reg_chain_reports_data_symbol_from_chain_store",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_analysis.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_analysis.test_reg_chain_surfaces_on_symbol",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_analysis.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_analysis.test_sel_dump_discovers_sel_on_and_on",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_analysis.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_analysis.test_sel_dump_emits_recovered_symbol_names",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_analysis.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_analysis.test_sel_dump_reaches_dump_elem_memory_render",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_analysis.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_analysis.test_sel_dump_runs_all_analysis_passes",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_analysis.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_analysis.test_sel_dump_trace_retry_emits_hit_limit",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_analysis.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_analysis.test_sel_smt_constant_trace_hits_z3_bool_assertion",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_analysis.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_analysis.test_shift_imm_selector_value_two_prevents_find_on",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_analysis.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_analysis.test_store_heavy_carves_sym_data",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_analysis.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_analysis.test_x86_elf_reports_executable_segment_and_entry",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_analysis.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_cli.test_help_flag_output_matches_golden",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_cli.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_cli.test_help_lists_every_option_line",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_cli.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_cli.test_missing_input_plus_valid_elf_processes_valid",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_cli.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_cli.test_multiple_inputs_are_each_processed_in_order",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_cli.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_cli_parsing.test_double_dash_ends_option_parsing",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_cli_parsing.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_cli_parsing.test_help_before_operand_suppresses_analysis",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_cli_parsing.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_cli_parsing.test_missing_file_before_operand_then_c_consumed",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_cli_parsing.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_cli_parsing.test_operand_before_help_prints_help_and_exits",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_cli_parsing.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_error_inputs.test_64bit_elf_full_output_matches_golden",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_error_inputs.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_error_inputs.test_64bit_elf_reports_x64_entry_and_not_movfuscated",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_error_inputs.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_error_inputs.test_truncated_elf_emits_downstream_sections_anyway",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_error_inputs.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_error_inputs.test_truncated_elf_flags_entry_and_analysis_errors",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_error_inputs.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_error_inputs.test_truncated_elf_full_output_matches_golden",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_error_inputs.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_error_inputs.test_truncated_elf_reports_not_movfuscated_entry_zero",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_error_inputs.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_etdyn.test_pie_dyn_carves_elf_magic_as_discard",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_etdyn.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_etdyn.test_pie_dyn_reports_entry_zero_one_zero_zero",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_etdyn.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_etdyn.test_pie_dyn_reports_low_segment_range",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_etdyn.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_etdyn.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_etdyn.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_etdyn.test_pie_dyn_stderr_matches_golden",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_etdyn.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_etdyn.test_pie_dyn_stdout_matches_golden",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_etdyn.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_extra_coverage.test_duplicate_operand_emits_concatenated_golden_blocks",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_extra_coverage.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_extra_coverage.test_repeated_graph_option_last_write_wins",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_extra_coverage.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_module_dataflow.test_output_flags_overwrite_preexisting_destination",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_module_dataflow.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_module_dataflow.test_output_i_load_heavy_export_carves_only_on",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_module_dataflow.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_module_dataflow.test_output_i_reg_chain_export_carries_chain_store_and_on",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_module_dataflow.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_module_dataflow.test_output_i_shift_imm_export_recovers_five_cells",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_module_dataflow.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_module_dataflow.test_output_i_store_heavy_export_carves_only_data",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_module_dataflow.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_module_dataflow.test_repeated_idc_option_last_write_wins",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_module_dataflow.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_module_dataflow.test_three_inputs_are_processed_in_operand_order",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_module_dataflow.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_output_files.test_combined_output_flags_all_write_expected_content",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_output_files.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_output_files.test_output_i_pins_default_target_register_symbol",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_output_files.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_output_files.test_output_i_sel_dump_names_selected_on_cells",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_output_files.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_robustness.test_all_output_flags_from_unrelated_cwd",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_robustness.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_robustness.test_repeat_runs_have_stable_stderr",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_robustness.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_robustness.test_repeated_runs_are_deterministic",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_robustness.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_robustness.test_runs_from_an_unrelated_cwd",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_robustness.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ }
+ ],
+ "tests": [
+ "eval.tests.test_analysis.test_indexed_store_sweeps_without_carving_data",
+ "eval.tests.test_analysis.test_load_heavy_carves_sym_on",
+ "eval.tests.test_analysis.test_mem_sel_index_segfault_on_indexed_trace",
+ "eval.tests.test_analysis.test_nonmov_scan_reports_non_mov_instruction",
+ "eval.tests.test_analysis.test_plain_mov_is_marked_possibly_movfuscated",
+ "eval.tests.test_analysis.test_plain_mov_parse_entry_falls_back_to_find_on",
+ "eval.tests.test_analysis.test_plain_mov_sweeps_without_non_mov_fault",
+ "eval.tests.test_analysis.test_reg_chain_reports_data_symbol_from_chain_store",
+ "eval.tests.test_analysis.test_reg_chain_surfaces_on_symbol",
+ "eval.tests.test_analysis.test_sel_dump_discovers_sel_on_and_on",
+ "eval.tests.test_analysis.test_sel_dump_emits_recovered_symbol_names",
+ "eval.tests.test_analysis.test_sel_dump_reaches_dump_elem_memory_render",
+ "eval.tests.test_analysis.test_sel_dump_runs_all_analysis_passes",
+ "eval.tests.test_analysis.test_sel_dump_trace_retry_emits_hit_limit",
+ "eval.tests.test_analysis.test_sel_smt_constant_trace_hits_z3_bool_assertion",
+ "eval.tests.test_analysis.test_sel_smt_reaches_solver_after_on_discovery",
+ "eval.tests.test_analysis.test_shift_imm_selector_value_two_prevents_find_on",
+ "eval.tests.test_analysis.test_stable_analysis_binaries_exit_zero[indexed_store]",
+ "eval.tests.test_analysis.test_stable_analysis_binaries_exit_zero[load_heavy]",
+ "eval.tests.test_analysis.test_stable_analysis_binaries_exit_zero[nonmov_scan]",
+ "eval.tests.test_analysis.test_stable_analysis_binaries_exit_zero[plain_mov]",
+ "eval.tests.test_analysis.test_stable_analysis_binaries_exit_zero[reg_chain]",
+ "eval.tests.test_analysis.test_stable_analysis_binaries_exit_zero[sel_dump]",
+ "eval.tests.test_analysis.test_stable_analysis_binaries_exit_zero[shift_imm]",
+ "eval.tests.test_analysis.test_stable_analysis_binaries_exit_zero[store_heavy]",
+ "eval.tests.test_analysis.test_stable_stderr_matches_golden[indexed_store]",
+ "eval.tests.test_analysis.test_stable_stderr_matches_golden[load_heavy]",
+ "eval.tests.test_analysis.test_stable_stderr_matches_golden[nonmov_scan]",
+ "eval.tests.test_analysis.test_stable_stderr_matches_golden[plain_mov]",
+ "eval.tests.test_analysis.test_stable_stderr_matches_golden[reg_chain]",
+ "eval.tests.test_analysis.test_stable_stderr_matches_golden[sel_dump]",
+ "eval.tests.test_analysis.test_stable_stderr_matches_golden[shift_imm]",
+ "eval.tests.test_analysis.test_stable_stderr_matches_golden[store_heavy]",
+ "eval.tests.test_analysis.test_stable_stdout_matches_golden[indexed_store]",
+ "eval.tests.test_analysis.test_stable_stdout_matches_golden[load_heavy]",
+ "eval.tests.test_analysis.test_stable_stdout_matches_golden[nonmov_scan]",
+ "eval.tests.test_analysis.test_stable_stdout_matches_golden[plain_mov]",
+ "eval.tests.test_analysis.test_stable_stdout_matches_golden[reg_chain]",
+ "eval.tests.test_analysis.test_stable_stdout_matches_golden[sel_dump]",
+ "eval.tests.test_analysis.test_stable_stdout_matches_golden[shift_imm]",
+ "eval.tests.test_analysis.test_stable_stdout_matches_golden[store_heavy]",
+ "eval.tests.test_analysis.test_store_heavy_carves_sym_data",
+ "eval.tests.test_analysis.test_x86_elf_reports_executable_segment_and_entry",
+ "eval.tests.test_call_disasm.test_call_plt_data_stdout_matches_fixed_header",
+ "eval.tests.test_call_disasm.test_call_plt_reg_stderr_reports_operand_type_mismatch",
+ "eval.tests.test_call_disasm.test_call_variant_crashes_with_expected_stderr[call_plt_data]",
+ "eval.tests.test_call_disasm.test_call_variant_crashes_with_expected_stderr[call_plt_exec]",
+ "eval.tests.test_call_disasm.test_call_variant_crashes_with_expected_stderr[call_plt_reg]",
+ "eval.tests.test_call_disasm.test_call_variant_reaches_parsing_entry_only[call_plt_data]",
+ "eval.tests.test_call_disasm.test_call_variant_reaches_parsing_entry_only[call_plt_exec]",
+ "eval.tests.test_call_disasm.test_call_variant_reaches_parsing_entry_only[call_plt_reg]",
+ "eval.tests.test_call_disasm.test_call_variant_writes_no_export_files[call_plt_data--g]",
+ "eval.tests.test_call_disasm.test_call_variant_writes_no_export_files[call_plt_data--i]",
+ "eval.tests.test_call_disasm.test_call_variant_writes_no_export_files[call_plt_data--o]",
+ "eval.tests.test_call_disasm.test_call_variant_writes_no_export_files[call_plt_exec--g]",
+ "eval.tests.test_call_disasm.test_call_variant_writes_no_export_files[call_plt_exec--i]",
+ "eval.tests.test_call_disasm.test_call_variant_writes_no_export_files[call_plt_exec--o]",
+ "eval.tests.test_call_disasm.test_call_variant_writes_no_export_files[call_plt_reg--g]",
+ "eval.tests.test_call_disasm.test_call_variant_writes_no_export_files[call_plt_reg--i]",
+ "eval.tests.test_call_disasm.test_call_variant_writes_no_export_files[call_plt_reg--o]",
+ "eval.tests.test_cli.test_all_export_flags_with_value_but_no_operand_write_nothing",
+ "eval.tests.test_cli.test_export_flag_with_value_but_no_operand_creates_no_file[-g]",
+ "eval.tests.test_cli.test_export_flag_with_value_but_no_operand_creates_no_file[-i]",
+ "eval.tests.test_cli.test_export_flag_with_value_but_no_operand_creates_no_file[-o]",
+ "eval.tests.test_cli.test_help_flag_output_matches_golden",
+ "eval.tests.test_cli.test_help_lists_every_option_line",
+ "eval.tests.test_cli.test_long_form_double_dash_is_rejected",
+ "eval.tests.test_cli.test_missing_input_plus_valid_elf_processes_valid",
+ "eval.tests.test_cli.test_multiple_inputs_are_each_processed_in_order",
+ "eval.tests.test_cli.test_no_arguments_produces_no_output",
+ "eval.tests.test_cli.test_nonexistent_input_reports_cannot_open_full_path",
+ "eval.tests.test_cli.test_option_missing_argument_is_rejected[-c]",
+ "eval.tests.test_cli.test_option_missing_argument_is_rejected[-g]",
+ "eval.tests.test_cli.test_option_missing_argument_is_rejected[-i]",
+ "eval.tests.test_cli.test_option_missing_argument_is_rejected[-o]",
+ "eval.tests.test_cli.test_unknown_option_prints_getopt_error_and_usage[-1]",
+ "eval.tests.test_cli.test_unknown_option_prints_getopt_error_and_usage[-q]",
+ "eval.tests.test_cli.test_unknown_option_prints_getopt_error_and_usage[-x]",
+ "eval.tests.test_cli.test_unknown_option_prints_getopt_error_and_usage[-z]",
+ "eval.tests.test_cli_parsing.test_c_consumes_sole_operand_and_runs_no_analysis[indexed_store]",
+ "eval.tests.test_cli_parsing.test_c_consumes_sole_operand_and_runs_no_analysis[load_heavy]",
+ "eval.tests.test_cli_parsing.test_c_consumes_sole_operand_and_runs_no_analysis[nonmov_scan]",
+ "eval.tests.test_cli_parsing.test_c_consumes_sole_operand_and_runs_no_analysis[plain_mov]",
+ "eval.tests.test_cli_parsing.test_c_consumes_sole_operand_and_runs_no_analysis[reg_chain]",
+ "eval.tests.test_cli_parsing.test_c_consumes_sole_operand_and_runs_no_analysis[sel_dump]",
+ "eval.tests.test_cli_parsing.test_c_consumes_sole_operand_and_runs_no_analysis[shift_imm]",
+ "eval.tests.test_cli_parsing.test_c_consumes_sole_operand_and_runs_no_analysis[store_heavy]",
+ "eval.tests.test_cli_parsing.test_c_swallows_export_flag_its_value_becomes_operand[-g]",
+ "eval.tests.test_cli_parsing.test_c_swallows_export_flag_its_value_becomes_operand[-i]",
+ "eval.tests.test_cli_parsing.test_c_swallows_export_flag_its_value_becomes_operand[-o]",
+ "eval.tests.test_cli_parsing.test_c_swallows_following_option_flag_as_its_value",
+ "eval.tests.test_cli_parsing.test_c_with_value_analyses_remaining_operand_normally[plain_mov]",
+ "eval.tests.test_cli_parsing.test_c_with_value_analyses_remaining_operand_normally[sel_dump]",
+ "eval.tests.test_cli_parsing.test_c_with_value_analyses_remaining_operand_normally[shift_imm]",
+ "eval.tests.test_cli_parsing.test_double_dash_ends_option_parsing",
+ "eval.tests.test_cli_parsing.test_empty_string_operand_reports_cannot_open",
+ "eval.tests.test_cli_parsing.test_help_before_operand_suppresses_analysis",
+ "eval.tests.test_cli_parsing.test_missing_file_before_operand_then_c_consumed",
+ "eval.tests.test_cli_parsing.test_operand_before_help_prints_help_and_exits",
+ "eval.tests.test_error_inputs.test_64bit_elf_full_output_matches_golden",
+ "eval.tests.test_error_inputs.test_64bit_elf_reports_x64_entry_and_not_movfuscated",
+ "eval.tests.test_error_inputs.test_truncated_elf_emits_downstream_sections_anyway",
+ "eval.tests.test_error_inputs.test_truncated_elf_flags_entry_and_analysis_errors",
+ "eval.tests.test_error_inputs.test_truncated_elf_full_output_matches_golden",
+ "eval.tests.test_error_inputs.test_truncated_elf_reports_not_movfuscated_entry_zero",
+ "eval.tests.test_error_inputs.test_unparseable_input_reports_cannot_open_full_path[empty]",
+ "eval.tests.test_error_inputs.test_unparseable_input_reports_cannot_open_full_path[text]",
+ "eval.tests.test_error_inputs.test_unparseable_input_reports_cannot_open_full_path[zeros]",
+ "eval.tests.test_error_inputs.test_unparseable_inputs_never_emit_segments_or_entry[empty]",
+ "eval.tests.test_error_inputs.test_unparseable_inputs_never_emit_segments_or_entry[text]",
+ "eval.tests.test_error_inputs.test_unparseable_inputs_never_emit_segments_or_entry[zeros]",
+ "eval.tests.test_etdyn.test_pie_dyn_carves_elf_magic_as_discard",
+ "eval.tests.test_etdyn.test_pie_dyn_reports_entry_zero_one_zero_zero",
+ "eval.tests.test_etdyn.test_pie_dyn_reports_low_segment_range",
+ "eval.tests.test_etdyn.test_pie_dyn_stderr_matches_golden",
+ "eval.tests.test_etdyn.test_pie_dyn_stdout_matches_golden",
+ "eval.tests.test_extra_coverage.test_crashing_smt_input_writes_no_export_files",
+ "eval.tests.test_extra_coverage.test_duplicate_operand_emits_concatenated_golden_blocks",
+ "eval.tests.test_extra_coverage.test_output_i_export_matches_golden_for_all_fixtures[indexed_store]",
+ "eval.tests.test_extra_coverage.test_output_i_export_matches_golden_for_all_fixtures[load_heavy]",
+ "eval.tests.test_extra_coverage.test_output_i_export_matches_golden_for_all_fixtures[nonmov_scan]",
+ "eval.tests.test_extra_coverage.test_output_i_export_matches_golden_for_all_fixtures[plain_mov]",
+ "eval.tests.test_extra_coverage.test_output_i_export_matches_golden_for_all_fixtures[reg_chain]",
+ "eval.tests.test_extra_coverage.test_output_i_export_matches_golden_for_all_fixtures[sel_dump]",
+ "eval.tests.test_extra_coverage.test_output_i_export_matches_golden_for_all_fixtures[shift_imm]",
+ "eval.tests.test_extra_coverage.test_output_i_export_matches_golden_for_all_fixtures[store_heavy]",
+ "eval.tests.test_extra_coverage.test_output_o_reproduces_input_for_more_fixtures[load_heavy]",
+ "eval.tests.test_extra_coverage.test_output_o_reproduces_input_for_more_fixtures[sel_dump]",
+ "eval.tests.test_extra_coverage.test_output_o_reproduces_input_for_more_fixtures[store_heavy]",
+ "eval.tests.test_extra_coverage.test_repeated_graph_option_last_write_wins",
+ "eval.tests.test_extra_coverage.test_segfault_index_input_writes_no_export_files",
+ "eval.tests.test_module_dataflow.test_export_to_directory_path_is_silently_skipped[-g]",
+ "eval.tests.test_module_dataflow.test_export_to_directory_path_is_silently_skipped[-i]",
+ "eval.tests.test_module_dataflow.test_export_to_directory_path_is_silently_skipped[-o]",
+ "eval.tests.test_module_dataflow.test_export_to_nonexistent_parent_never_creates_file[-g]",
+ "eval.tests.test_module_dataflow.test_export_to_nonexistent_parent_never_creates_file[-i]",
+ "eval.tests.test_module_dataflow.test_export_to_nonexistent_parent_never_creates_file[-o]",
+ "eval.tests.test_module_dataflow.test_output_flags_overwrite_preexisting_destination",
+ "eval.tests.test_module_dataflow.test_output_g_empty_digraph_for_remaining_fixtures[indexed_store]",
+ "eval.tests.test_module_dataflow.test_output_g_empty_digraph_for_remaining_fixtures[load_heavy]",
+ "eval.tests.test_module_dataflow.test_output_g_empty_digraph_for_remaining_fixtures[nonmov_scan]",
+ "eval.tests.test_module_dataflow.test_output_g_empty_digraph_for_remaining_fixtures[shift_imm]",
+ "eval.tests.test_module_dataflow.test_output_g_empty_digraph_for_remaining_fixtures[store_heavy]",
+ "eval.tests.test_module_dataflow.test_output_i_load_heavy_export_carves_only_on",
+ "eval.tests.test_module_dataflow.test_output_i_reg_chain_export_carries_chain_store_and_on",
+ "eval.tests.test_module_dataflow.test_output_i_shift_imm_export_recovers_five_cells",
+ "eval.tests.test_module_dataflow.test_output_i_store_heavy_export_carves_only_data",
+ "eval.tests.test_module_dataflow.test_output_o_reproduces_input_byte_copy[indexed_store]",
+ "eval.tests.test_module_dataflow.test_output_o_reproduces_input_byte_copy[nonmov_scan]",
+ "eval.tests.test_module_dataflow.test_output_o_reproduces_input_byte_copy[shift_imm]",
+ "eval.tests.test_module_dataflow.test_repeated_idc_option_last_write_wins",
+ "eval.tests.test_module_dataflow.test_three_inputs_are_processed_in_operand_order",
+ "eval.tests.test_output_files.test_combined_output_flags_all_write_expected_content",
+ "eval.tests.test_output_files.test_output_flags_with_missing_input_do_not_create_files",
+ "eval.tests.test_output_files.test_output_g_dot_graph_matches_golden[plain_mov]",
+ "eval.tests.test_output_files.test_output_g_dot_graph_matches_golden[reg_chain]",
+ "eval.tests.test_output_files.test_output_g_dot_graph_matches_golden[sel_dump]",
+ "eval.tests.test_output_files.test_output_i_idc_matches_golden[load_heavy]",
+ "eval.tests.test_output_files.test_output_i_idc_matches_golden[plain_mov]",
+ "eval.tests.test_output_files.test_output_i_idc_matches_golden[reg_chain]",
+ "eval.tests.test_output_files.test_output_i_idc_matches_golden[sel_dump]",
+ "eval.tests.test_output_files.test_output_i_idc_matches_golden[store_heavy]",
+ "eval.tests.test_output_files.test_output_i_pins_default_target_register_symbol",
+ "eval.tests.test_output_files.test_output_i_sel_dump_names_selected_on_cells",
+ "eval.tests.test_output_files.test_output_o_input_image_reproduced_exactly",
+ "eval.tests.test_output_files.test_output_o_writes_byte_identical_patched_elf",
+ "eval.tests.test_robustness.test_all_output_flags_from_unrelated_cwd",
+ "eval.tests.test_robustness.test_output_o_writes_into_nested_absolute_path",
+ "eval.tests.test_robustness.test_programgym_executable_exported_and_runs_help",
+ "eval.tests.test_robustness.test_repeat_runs_have_stable_stderr",
+ "eval.tests.test_robustness.test_repeated_runs_are_deterministic",
+ "eval.tests.test_robustness.test_runs_from_an_unrelated_cwd"
+ ]
+ },
+ "generated_module_03": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [
+ {
+ "name": "eval.tests.test_memhlp_dump_variants.test_multiple_inputs_processed_independently",
+ "reasons": [
+ {
+ "id": "golden_docstring",
+ "message": "pytest test docstring mentions golden data that is not used in the body",
+ "path": "eval/tests/test_memhlp_dump_variants.py",
+ "repair_hint": "Use the golden fixture mentioned in the docstring or remove the misleading claim.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "golden_no_equality",
+ "message": "pytest test references golden data without equality comparison",
+ "path": "eval/tests/test_memhlp_dump_variants.py",
+ "repair_hint": "Compare observed output to golden data with equality after any explicit normalization.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_memhlp_outputs.test_dot_graph_file_written_with_frame",
+ "reasons": [
+ {
+ "id": "golden_docstring",
+ "message": "pytest test docstring mentions golden data that is not used in the body",
+ "path": "eval/tests/test_memhlp_outputs.py",
+ "repair_hint": "Use the golden fixture mentioned in the docstring or remove the misleading claim.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "golden_no_equality",
+ "message": "pytest test references golden data without equality comparison",
+ "path": "eval/tests/test_memhlp_outputs.py",
+ "repair_hint": "Compare observed output to golden data with equality after any explicit normalization.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_memhlp_runtime.test_plain_mov_full_stdout_matches_golden",
+ "reasons": [
+ {
+ "id": "golden_docstring",
+ "message": "pytest test docstring mentions golden data that is not used in the body",
+ "path": "eval/tests/test_memhlp_runtime.py",
+ "repair_hint": "Use the golden fixture mentioned in the docstring or remove the misleading claim.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "golden_no_equality",
+ "message": "pytest test references golden data without equality comparison",
+ "path": "eval/tests/test_memhlp_runtime.py",
+ "repair_hint": "Compare observed output to golden data with equality after any explicit normalization.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_table_recognition.test_bad_first_pointer_never_recognized",
+ "reasons": [
+ {
+ "id": "golden_docstring",
+ "message": "pytest test docstring mentions golden data that is not used in the body",
+ "path": "eval/tests/test_table_recognition.py",
+ "repair_hint": "Use the golden fixture mentioned in the docstring or remove the misleading claim.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "golden_no_equality",
+ "message": "pytest test references golden data without equality comparison",
+ "path": "eval/tests/test_table_recognition.py",
+ "repair_hint": "Compare observed output to golden data with equality after any explicit normalization.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_table_recognition.test_mix_bool_full_stdout_matches_golden",
+ "reasons": [
+ {
+ "id": "golden_docstring",
+ "message": "pytest test docstring mentions golden data that is not used in the body",
+ "path": "eval/tests/test_table_recognition.py",
+ "repair_hint": "Use the golden fixture mentioned in the docstring or remove the misleading claim.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "golden_no_equality",
+ "message": "pytest test references golden data without equality comparison",
+ "path": "eval/tests/test_table_recognition.py",
+ "repair_hint": "Compare observed output to golden data with equality after any explicit normalization.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_table_recognition.test_unrecognized_boolean_op_reports_to_stderr",
+ "reasons": [
+ {
+ "id": "golden_docstring",
+ "message": "pytest test docstring mentions golden data that is not used in the body",
+ "path": "eval/tests/test_table_recognition.py",
+ "repair_hint": "Use the golden fixture mentioned in the docstring or remove the misleading claim.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "golden_no_equality",
+ "message": "pytest test references golden data without equality comparison",
+ "path": "eval/tests/test_table_recognition.py",
+ "repair_hint": "Compare observed output to golden data with equality after any explicit normalization.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_table_recognition.test_unrecognized_boolean_stdout_matches_golden",
+ "reasons": [
+ {
+ "id": "golden_docstring",
+ "message": "pytest test docstring mentions golden data that is not used in the body",
+ "path": "eval/tests/test_table_recognition.py",
+ "repair_hint": "Use the golden fixture mentioned in the docstring or remove the misleading claim.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "golden_no_equality",
+ "message": "pytest test references golden data without equality comparison",
+ "path": "eval/tests/test_table_recognition.py",
+ "repair_hint": "Compare observed output to golden data with equality after any explicit normalization.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ }
+ ],
+ "tests": [
+ "eval.tests.test_cli_basics.test_64bit_elf_bails_analysis_not_movfuscated",
+ "eval.tests.test_cli_basics.test_64bit_elf_reported_not_movfuscated",
+ "eval.tests.test_cli_basics.test_empty_file_reports_cannot_open",
+ "eval.tests.test_cli_basics.test_help_exact_stdout_and_exit0",
+ "eval.tests.test_cli_basics.test_help_exit_zero_means_usage_available",
+ "eval.tests.test_cli_basics.test_no_argument_no_output_success",
+ "eval.tests.test_cli_basics.test_non_elf_text_input_reports_cannot_open",
+ "eval.tests.test_cli_basics.test_nonexistent_input_reports_cannot_open",
+ "eval.tests.test_cli_basics.test_unknown_option_rejected_with_usage[-Z]",
+ "eval.tests.test_cli_basics.test_unknown_option_rejected_with_usage[-q]",
+ "eval.tests.test_cli_basics.test_unknown_option_rejected_with_usage[-x]",
+ "eval.tests.test_memhlp_altbase.test_alt_alu_add_indexed1d_is_layout_address_sensitive",
+ "eval.tests.test_memhlp_altbase.test_altbase_exact_symbols_block_single_entry[ALT_ALU_AND.bin-demov_and]",
+ "eval.tests.test_memhlp_altbase.test_altbase_exact_symbols_block_single_entry[ALT_ALU_EQ.bin-demov_equal]",
+ "eval.tests.test_memhlp_altbase.test_altbase_exact_symbols_block_single_entry[ALT_ALU_MULH.bin-demov_mul_h]",
+ "eval.tests.test_memhlp_altbase.test_altbase_exact_symbols_block_single_entry[ALT_ALU_MULL.bin-demov_mul_l]",
+ "eval.tests.test_memhlp_altbase.test_altbase_exact_symbols_block_single_entry[ALT_ALU_OR.bin-demov_or]",
+ "eval.tests.test_memhlp_altbase.test_altbase_exact_symbols_block_single_entry[ALT_ALU_SARI.bin-demov_sari]",
+ "eval.tests.test_memhlp_altbase.test_altbase_exact_symbols_block_single_entry[ALT_ALU_SHL.bin-demov_shl]",
+ "eval.tests.test_memhlp_altbase.test_altbase_exact_symbols_block_single_entry[ALT_ALU_SHR.bin-demov_shr]",
+ "eval.tests.test_memhlp_altbase.test_altbase_exact_symbols_block_single_entry[ALT_ALU_XOR.bin-demov_xor]",
+ "eval.tests.test_memhlp_altbase.test_altbase_exact_symbols_block_single_entry[ALT_BIT_CLR.bin-demov_bit_clear]",
+ "eval.tests.test_memhlp_altbase.test_altbase_exact_symbols_block_single_entry[ALT_BIT_SET.bin-demov_bit_set]",
+ "eval.tests.test_memhlp_altbase.test_altbase_exact_symbols_block_single_entry[ALT_BOOL_AND.bin-demov_bool_and]",
+ "eval.tests.test_memhlp_altbase.test_altbase_exact_symbols_block_single_entry[ALT_BOOL_OR.bin-demov_bool_or]",
+ "eval.tests.test_memhlp_altbase.test_altbase_exact_symbols_block_single_entry[ALT_BOOL_XNOR.bin-demov_bool_xnor]",
+ "eval.tests.test_memhlp_altbase.test_altbase_exact_symbols_block_single_entry[ALT_BOOL_XOR.bin-demov_bool_xor]",
+ "eval.tests.test_memhlp_altbase.test_altbase_idc_names_relocated_table[ALT_ALU_AND.bin-demov_and]",
+ "eval.tests.test_memhlp_altbase.test_altbase_idc_names_relocated_table[ALT_ALU_EQ.bin-demov_equal]",
+ "eval.tests.test_memhlp_altbase.test_altbase_idc_names_relocated_table[ALT_ALU_MULH.bin-demov_mul_h]",
+ "eval.tests.test_memhlp_altbase.test_altbase_idc_names_relocated_table[ALT_ALU_MULL.bin-demov_mul_l]",
+ "eval.tests.test_memhlp_altbase.test_altbase_idc_names_relocated_table[ALT_ALU_OR.bin-demov_or]",
+ "eval.tests.test_memhlp_altbase.test_altbase_idc_names_relocated_table[ALT_ALU_SARI.bin-demov_sari]",
+ "eval.tests.test_memhlp_altbase.test_altbase_idc_names_relocated_table[ALT_ALU_SHL.bin-demov_shl]",
+ "eval.tests.test_memhlp_altbase.test_altbase_idc_names_relocated_table[ALT_ALU_SHR.bin-demov_shr]",
+ "eval.tests.test_memhlp_altbase.test_altbase_idc_names_relocated_table[ALT_ALU_XOR.bin-demov_xor]",
+ "eval.tests.test_memhlp_altbase.test_altbase_idc_names_relocated_table[ALT_BIT_CLR.bin-demov_bit_clear]",
+ "eval.tests.test_memhlp_altbase.test_altbase_idc_names_relocated_table[ALT_BIT_SET.bin-demov_bit_set]",
+ "eval.tests.test_memhlp_altbase.test_altbase_idc_names_relocated_table[ALT_BOOL_AND.bin-demov_bool_and]",
+ "eval.tests.test_memhlp_altbase.test_altbase_idc_names_relocated_table[ALT_BOOL_OR.bin-demov_bool_or]",
+ "eval.tests.test_memhlp_altbase.test_altbase_idc_names_relocated_table[ALT_BOOL_XNOR.bin-demov_bool_xnor]",
+ "eval.tests.test_memhlp_altbase.test_altbase_idc_names_relocated_table[ALT_BOOL_XOR.bin-demov_bool_xor]",
+ "eval.tests.test_memhlp_altbase.test_altbase_output_advertises_same_address_across_channels[ALT_ALU_AND.bin-demov_and]",
+ "eval.tests.test_memhlp_altbase.test_altbase_output_advertises_same_address_across_channels[ALT_ALU_EQ.bin-demov_equal]",
+ "eval.tests.test_memhlp_altbase.test_altbase_output_advertises_same_address_across_channels[ALT_ALU_MULH.bin-demov_mul_h]",
+ "eval.tests.test_memhlp_altbase.test_altbase_output_advertises_same_address_across_channels[ALT_ALU_MULL.bin-demov_mul_l]",
+ "eval.tests.test_memhlp_altbase.test_altbase_output_advertises_same_address_across_channels[ALT_ALU_OR.bin-demov_or]",
+ "eval.tests.test_memhlp_altbase.test_altbase_output_advertises_same_address_across_channels[ALT_ALU_SARI.bin-demov_sari]",
+ "eval.tests.test_memhlp_altbase.test_altbase_output_advertises_same_address_across_channels[ALT_ALU_SHL.bin-demov_shl]",
+ "eval.tests.test_memhlp_altbase.test_altbase_output_advertises_same_address_across_channels[ALT_ALU_SHR.bin-demov_shr]",
+ "eval.tests.test_memhlp_altbase.test_altbase_output_advertises_same_address_across_channels[ALT_ALU_XOR.bin-demov_xor]",
+ "eval.tests.test_memhlp_altbase.test_altbase_output_advertises_same_address_across_channels[ALT_BIT_CLR.bin-demov_bit_clear]",
+ "eval.tests.test_memhlp_altbase.test_altbase_output_advertises_same_address_across_channels[ALT_BIT_SET.bin-demov_bit_set]",
+ "eval.tests.test_memhlp_altbase.test_altbase_output_advertises_same_address_across_channels[ALT_BOOL_AND.bin-demov_bool_and]",
+ "eval.tests.test_memhlp_altbase.test_altbase_output_advertises_same_address_across_channels[ALT_BOOL_OR.bin-demov_bool_or]",
+ "eval.tests.test_memhlp_altbase.test_altbase_output_advertises_same_address_across_channels[ALT_BOOL_XNOR.bin-demov_bool_xnor]",
+ "eval.tests.test_memhlp_altbase.test_altbase_output_advertises_same_address_across_channels[ALT_BOOL_XOR.bin-demov_bool_xor]",
+ "eval.tests.test_memhlp_altbase.test_altbase_output_binary_is_byte_identical",
+ "eval.tests.test_memhlp_altbase.test_altbase_single_table_recognized_at_new_address[ALT_ALU_AND.bin-demov_and]",
+ "eval.tests.test_memhlp_altbase.test_altbase_single_table_recognized_at_new_address[ALT_ALU_EQ.bin-demov_equal]",
+ "eval.tests.test_memhlp_altbase.test_altbase_single_table_recognized_at_new_address[ALT_ALU_MULH.bin-demov_mul_h]",
+ "eval.tests.test_memhlp_altbase.test_altbase_single_table_recognized_at_new_address[ALT_ALU_MULL.bin-demov_mul_l]",
+ "eval.tests.test_memhlp_altbase.test_altbase_single_table_recognized_at_new_address[ALT_ALU_OR.bin-demov_or]",
+ "eval.tests.test_memhlp_altbase.test_altbase_single_table_recognized_at_new_address[ALT_ALU_SARI.bin-demov_sari]",
+ "eval.tests.test_memhlp_altbase.test_altbase_single_table_recognized_at_new_address[ALT_ALU_SHL.bin-demov_shl]",
+ "eval.tests.test_memhlp_altbase.test_altbase_single_table_recognized_at_new_address[ALT_ALU_SHR.bin-demov_shr]",
+ "eval.tests.test_memhlp_altbase.test_altbase_single_table_recognized_at_new_address[ALT_ALU_XOR.bin-demov_xor]",
+ "eval.tests.test_memhlp_altbase.test_altbase_single_table_recognized_at_new_address[ALT_BIT_CLR.bin-demov_bit_clear]",
+ "eval.tests.test_memhlp_altbase.test_altbase_single_table_recognized_at_new_address[ALT_BIT_SET.bin-demov_bit_set]",
+ "eval.tests.test_memhlp_altbase.test_altbase_single_table_recognized_at_new_address[ALT_BOOL_AND.bin-demov_bool_and]",
+ "eval.tests.test_memhlp_altbase.test_altbase_single_table_recognized_at_new_address[ALT_BOOL_OR.bin-demov_bool_or]",
+ "eval.tests.test_memhlp_altbase.test_altbase_single_table_recognized_at_new_address[ALT_BOOL_XNOR.bin-demov_bool_xnor]",
+ "eval.tests.test_memhlp_altbase.test_altbase_single_table_recognized_at_new_address[ALT_BOOL_XOR.bin-demov_bool_xor]",
+ "eval.tests.test_memhlp_dump_variants.test_dot_graph_blank_when_analysis_bails[ALU_ADD.bin]",
+ "eval.tests.test_memhlp_dump_variants.test_dot_graph_blank_when_analysis_bails[BADPOINTER.bin]",
+ "eval.tests.test_memhlp_dump_variants.test_dot_graph_blank_when_analysis_bails[BIT_SET.bin]",
+ "eval.tests.test_memhlp_dump_variants.test_dot_graph_blank_when_analysis_bails[BOOL_AND.bin]",
+ "eval.tests.test_memhlp_dump_variants.test_dot_graph_blank_when_analysis_bails[BOOL_OR.bin]",
+ "eval.tests.test_memhlp_dump_variants.test_dot_graph_blank_when_analysis_bails[NOHASH_DSM.bin]",
+ "eval.tests.test_memhlp_dump_variants.test_dot_graph_written_with_callgraph_frame[MIX_BOOL.bin]",
+ "eval.tests.test_memhlp_dump_variants.test_dot_graph_written_with_callgraph_frame[PLAIN_MOV.bin]",
+ "eval.tests.test_memhlp_dump_variants.test_idc_badpointer_narrow_symbol_set",
+ "eval.tests.test_memhlp_dump_variants.test_idc_empty_for_unmovfuscated_elf",
+ "eval.tests.test_memhlp_dump_variants.test_idc_generation_is_deterministic",
+ "eval.tests.test_memhlp_dump_variants.test_multiple_inputs_processed_independently",
+ "eval.tests.test_memhlp_dump_variants.test_output_binary_identity[BADPOINTER.bin]",
+ "eval.tests.test_memhlp_dump_variants.test_output_binary_identity[MIX_BOOL.bin]",
+ "eval.tests.test_memhlp_dump_variants.test_output_binary_identity[NOHASH_DSM.bin]",
+ "eval.tests.test_memhlp_dump_variants.test_segment_flag_rendering_per_fixture",
+ "eval.tests.test_memhlp_multi_reference.test_boolean_and_element_table_recognized_together",
+ "eval.tests.test_memhlp_multi_reference.test_directory_input_between_valid_files_still_tolerated",
+ "eval.tests.test_memhlp_multi_reference.test_directory_input_reports_cannot_open",
+ "eval.tests.test_memhlp_multi_reference.test_exact_memory_model_opening_mix_oe",
+ "eval.tests.test_memhlp_multi_reference.test_exact_memory_model_opening_twice_or",
+ "eval.tests.test_memhlp_multi_reference.test_missing_middle_input_does_not_abort_batch",
+ "eval.tests.test_memhlp_multi_reference.test_mix_oe_idc_names_both_tables",
+ "eval.tests.test_memhlp_multi_reference.test_mixed_tables_are_deterministic",
+ "eval.tests.test_memhlp_multi_reference.test_mixed_tables_symbols_block_exact",
+ "eval.tests.test_memhlp_multi_reference.test_output_binary_identity_new_fixtures[MIX_OE.bin]",
+ "eval.tests.test_memhlp_multi_reference.test_output_binary_identity_new_fixtures[TWICE_OR.bin]",
+ "eval.tests.test_memhlp_multi_reference.test_same_file_repeated_as_positional_input_is_independent",
+ "eval.tests.test_memhlp_multi_reference.test_same_table_referenced_twice_counts_twice",
+ "eval.tests.test_memhlp_multi_reference.test_same_table_twice_target_reg_and_symbols",
+ "eval.tests.test_memhlp_multi_reference.test_three_inputs_processed_independently",
+ "eval.tests.test_memhlp_multi_reference.test_twice_or_idc_dedupes_table_symbol",
+ "eval.tests.test_memhlp_output_surfaces.test_all_three_outputs_flow_fixture_keeps_callgraph_frame",
+ "eval.tests.test_memhlp_output_surfaces.test_all_three_outputs_written_in_one_run",
+ "eval.tests.test_memhlp_output_surfaces.test_output_paths_distinct_for_alternative_base_table",
+ "eval.tests.test_memhlp_output_surfaces.test_outputs_written_when_analysis_bails",
+ "eval.tests.test_memhlp_outputs.test_dot_graph_file_written_with_frame",
+ "eval.tests.test_memhlp_outputs.test_idc_contains_makename_for_recognized_table",
+ "eval.tests.test_memhlp_outputs.test_idc_covers_all_recognized_symbols",
+ "eval.tests.test_memhlp_outputs.test_idc_mix_bool_exact_content",
+ "eval.tests.test_memhlp_outputs.test_multiple_output_options_can_combine",
+ "eval.tests.test_memhlp_outputs.test_output_binary_written_and_is_valid_elf",
+ "eval.tests.test_memhlp_outputs.test_output_flag_without_argument_fails[-g]",
+ "eval.tests.test_memhlp_outputs.test_output_flag_without_argument_fails[-i]",
+ "eval.tests.test_memhlp_outputs.test_output_flag_without_argument_fails[-o]",
+ "eval.tests.test_memhlp_recognition_branches.test_bool_and_indexed_table_no_scan_recognition_line[ALU_ADD.bin-demov_add]",
+ "eval.tests.test_memhlp_recognition_branches.test_bool_and_indexed_table_no_scan_recognition_line[BOOL_AND.bin-demov_bool_and]",
+ "eval.tests.test_memhlp_recognition_branches.test_bool_and_indexed_table_no_scan_recognition_line[BOOL_OR.bin-demov_bool_or]",
+ "eval.tests.test_memhlp_recognition_branches.test_bool_and_indexed_table_no_scan_recognition_line[BOOL_XNOR.bin-demov_bool_xnor]",
+ "eval.tests.test_memhlp_recognition_branches.test_bool_and_indexed_table_no_scan_recognition_line[BOOL_XOR.bin-demov_bool_xor]",
+ "eval.tests.test_memhlp_recognition_branches.test_element_table_emits_scan_recognition_line[ALU_AND.bin-demov_and]",
+ "eval.tests.test_memhlp_recognition_branches.test_element_table_emits_scan_recognition_line[ALU_EQ.bin-demov_equal]",
+ "eval.tests.test_memhlp_recognition_branches.test_element_table_emits_scan_recognition_line[ALU_MULH.bin-demov_mul_h]",
+ "eval.tests.test_memhlp_recognition_branches.test_element_table_emits_scan_recognition_line[ALU_MULL.bin-demov_mul_l]",
+ "eval.tests.test_memhlp_recognition_branches.test_element_table_emits_scan_recognition_line[ALU_OR.bin-demov_or]",
+ "eval.tests.test_memhlp_recognition_branches.test_element_table_emits_scan_recognition_line[ALU_SARI.bin-demov_sari]",
+ "eval.tests.test_memhlp_recognition_branches.test_element_table_emits_scan_recognition_line[ALU_SHL.bin-demov_shl]",
+ "eval.tests.test_memhlp_recognition_branches.test_element_table_emits_scan_recognition_line[ALU_SHR.bin-demov_shr]",
+ "eval.tests.test_memhlp_recognition_branches.test_element_table_emits_scan_recognition_line[ALU_XOR.bin-demov_xor]",
+ "eval.tests.test_memhlp_recognition_branches.test_element_table_emits_scan_recognition_line[BIT_CLR.bin-demov_bit_clear]",
+ "eval.tests.test_memhlp_recognition_branches.test_element_table_emits_scan_recognition_line[BIT_SET.bin-demov_bit_set]",
+ "eval.tests.test_memhlp_recognition_branches.test_idc_and_symbols_agree_on_name[ALU_ADD.bin-demov_add]",
+ "eval.tests.test_memhlp_recognition_branches.test_idc_and_symbols_agree_on_name[ALU_AND.bin-demov_and]",
+ "eval.tests.test_memhlp_recognition_branches.test_idc_and_symbols_agree_on_name[ALU_EQ.bin-demov_equal]",
+ "eval.tests.test_memhlp_recognition_branches.test_idc_and_symbols_agree_on_name[ALU_MULH.bin-demov_mul_h]",
+ "eval.tests.test_memhlp_recognition_branches.test_idc_and_symbols_agree_on_name[ALU_MULL.bin-demov_mul_l]",
+ "eval.tests.test_memhlp_recognition_branches.test_idc_and_symbols_agree_on_name[ALU_OR.bin-demov_or]",
+ "eval.tests.test_memhlp_recognition_branches.test_idc_and_symbols_agree_on_name[ALU_SARI.bin-demov_sari]",
+ "eval.tests.test_memhlp_recognition_branches.test_idc_and_symbols_agree_on_name[ALU_SHL.bin-demov_shl]",
+ "eval.tests.test_memhlp_recognition_branches.test_idc_and_symbols_agree_on_name[ALU_SHR.bin-demov_shr]",
+ "eval.tests.test_memhlp_recognition_branches.test_idc_and_symbols_agree_on_name[ALU_XOR.bin-demov_xor]",
+ "eval.tests.test_memhlp_recognition_branches.test_idc_and_symbols_agree_on_name[BIT_CLR.bin-demov_bit_clear]",
+ "eval.tests.test_memhlp_recognition_branches.test_idc_and_symbols_agree_on_name[BIT_SET.bin-demov_bit_set]",
+ "eval.tests.test_memhlp_recognition_branches.test_idc_and_symbols_agree_on_name[BOOL_AND.bin-demov_bool_and]",
+ "eval.tests.test_memhlp_recognition_branches.test_idc_and_symbols_agree_on_name[BOOL_OR.bin-demov_bool_or]",
+ "eval.tests.test_memhlp_recognition_branches.test_idc_and_symbols_agree_on_name[BOOL_XNOR.bin-demov_bool_xnor]",
+ "eval.tests.test_memhlp_recognition_branches.test_idc_and_symbols_agree_on_name[BOOL_XOR.bin-demov_bool_xor]",
+ "eval.tests.test_memhlp_runtime.test_dump_stat_emit_symbol_name_per_count",
+ "eval.tests.test_memhlp_runtime.test_executable_path_resolution_works",
+ "eval.tests.test_memhlp_runtime.test_gate_reports_possibly_movfuscated",
+ "eval.tests.test_memhlp_runtime.test_plain_mov_full_stdout_matches_golden",
+ "eval.tests.test_memhlp_runtime.test_segment_map_rendered_for_elf",
+ "eval.tests.test_memhlp_runtime.test_single_table_run_is_deterministic",
+ "eval.tests.test_memhlp_runtime.test_symbol_block_uses_unprefixed_hex_addresses",
+ "eval.tests.test_memhlp_runtime.test_symbol_names_are_stable_across_runs",
+ "eval.tests.test_table_recognition.test_all_recognitions_report_exactly_one_table",
+ "eval.tests.test_table_recognition.test_bad_first_pointer_never_recognized",
+ "eval.tests.test_table_recognition.test_mix_bool_full_stdout_matches_golden",
+ "eval.tests.test_table_recognition.test_mix_bool_recognizes_all_four_boolean_ops",
+ "eval.tests.test_table_recognition.test_no_recognized_table_no_fabricated_op",
+ "eval.tests.test_table_recognition.test_recognized_table_becomes_dump_symbol[ALU_ADD.bin-demov_add]",
+ "eval.tests.test_table_recognition.test_recognized_table_becomes_dump_symbol[ALU_AND.bin-demov_and]",
+ "eval.tests.test_table_recognition.test_recognized_table_becomes_dump_symbol[ALU_EQ.bin-demov_equal]",
+ "eval.tests.test_table_recognition.test_recognized_table_becomes_dump_symbol[ALU_MULH.bin-demov_mul_h]",
+ "eval.tests.test_table_recognition.test_recognized_table_becomes_dump_symbol[ALU_MULL.bin-demov_mul_l]",
+ "eval.tests.test_table_recognition.test_recognized_table_becomes_dump_symbol[ALU_OR.bin-demov_or]",
+ "eval.tests.test_table_recognition.test_recognized_table_becomes_dump_symbol[ALU_SARI.bin-demov_sari]",
+ "eval.tests.test_table_recognition.test_recognized_table_becomes_dump_symbol[ALU_SHL.bin-demov_shl]",
+ "eval.tests.test_table_recognition.test_recognized_table_becomes_dump_symbol[ALU_SHR.bin-demov_shr]",
+ "eval.tests.test_table_recognition.test_recognized_table_becomes_dump_symbol[ALU_XOR.bin-demov_xor]",
+ "eval.tests.test_table_recognition.test_recognized_table_becomes_dump_symbol[BIT_CLR.bin-demov_bit_clear]",
+ "eval.tests.test_table_recognition.test_recognized_table_becomes_dump_symbol[BIT_SET.bin-demov_bit_set]",
+ "eval.tests.test_table_recognition.test_recognized_table_becomes_dump_symbol[BOOL_AND.bin-demov_bool_and]",
+ "eval.tests.test_table_recognition.test_recognized_table_becomes_dump_symbol[BOOL_OR.bin-demov_bool_or]",
+ "eval.tests.test_table_recognition.test_recognized_table_becomes_dump_symbol[BOOL_XNOR.bin-demov_bool_xnor]",
+ "eval.tests.test_table_recognition.test_recognized_table_becomes_dump_symbol[BOOL_XOR.bin-demov_bool_xor]",
+ "eval.tests.test_table_recognition.test_sel_data_promoted_at_nonstandard_address",
+ "eval.tests.test_table_recognition.test_single_table_emits_exact_symbol_block",
+ "eval.tests.test_table_recognition.test_single_table_recognized[ALU_ADD.bin-demov_add]",
+ "eval.tests.test_table_recognition.test_single_table_recognized[ALU_AND.bin-demov_and]",
+ "eval.tests.test_table_recognition.test_single_table_recognized[ALU_EQ.bin-demov_equal]",
+ "eval.tests.test_table_recognition.test_single_table_recognized[ALU_MULH.bin-demov_mul_h]",
+ "eval.tests.test_table_recognition.test_single_table_recognized[ALU_MULL.bin-demov_mul_l]",
+ "eval.tests.test_table_recognition.test_single_table_recognized[ALU_OR.bin-demov_or]",
+ "eval.tests.test_table_recognition.test_single_table_recognized[ALU_SARI.bin-demov_sari]",
+ "eval.tests.test_table_recognition.test_single_table_recognized[ALU_SHL.bin-demov_shl]",
+ "eval.tests.test_table_recognition.test_single_table_recognized[ALU_SHR.bin-demov_shr]",
+ "eval.tests.test_table_recognition.test_single_table_recognized[ALU_XOR.bin-demov_xor]",
+ "eval.tests.test_table_recognition.test_single_table_recognized[BIT_CLR.bin-demov_bit_clear]",
+ "eval.tests.test_table_recognition.test_single_table_recognized[BIT_SET.bin-demov_bit_set]",
+ "eval.tests.test_table_recognition.test_single_table_recognized[BOOL_AND.bin-demov_bool_and]",
+ "eval.tests.test_table_recognition.test_single_table_recognized[BOOL_OR.bin-demov_bool_or]",
+ "eval.tests.test_table_recognition.test_single_table_recognized[BOOL_XNOR.bin-demov_bool_xnor]",
+ "eval.tests.test_table_recognition.test_single_table_recognized[BOOL_XOR.bin-demov_bool_xor]",
+ "eval.tests.test_table_recognition.test_unrecognized_boolean_op_reports_to_stderr",
+ "eval.tests.test_table_recognition.test_unrecognized_boolean_stdout_matches_golden"
+ ]
+ },
+ "generated_module_04": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [
+ {
+ "name": "eval.tests.test_analysis_tables.test_scan_detects_boolean_and_table",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_analysis_tables.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_analysis_tables.test_scan_detects_boolean_or_table_and_dump_stat",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_analysis_tables.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_stack_symbols.test_stack_symbols_coexist_with_selector_data_and_discard",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_stack_symbols.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_stack_symbols.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ }
+ ],
+ "tests": [
+ "eval.tests.test_analysis.test_analyse_fails_for_ret_code",
+ "eval.tests.test_analysis.test_analyse_reaches_second_and_third_pass_for_nop5",
+ "eval.tests.test_analysis.test_basic_blocks_before_getting_rid_of_tables",
+ "eval.tests.test_analysis.test_dump_stat_runs_between_scan_and_analyse",
+ "eval.tests.test_analysis.test_non_mov_instruction_reported_in_scan_and_analyse",
+ "eval.tests.test_analysis.test_non_mov_operand_text_is_printable",
+ "eval.tests.test_analysis.test_parse_entry_fails_on_empty_code",
+ "eval.tests.test_analysis.test_parse_entry_fails_when_entrypoint_unreachable",
+ "eval.tests.test_analysis.test_parse_entry_master_loop_guess_matches_nop5",
+ "eval.tests.test_analysis.test_parse_entry_only_after_segment_and_init",
+ "eval.tests.test_analysis.test_parse_entry_unable_to_find_on_for_nop5",
+ "eval.tests.test_analysis.test_ret_only_code_does_not_crash",
+ "eval.tests.test_analysis.test_scan_emits_symbol_on_and_data_for_memory_traffic",
+ "eval.tests.test_analysis.test_scan_runs_before_analyse",
+ "eval.tests.test_analysis.test_scan_selector_access_does_not_crash",
+ "eval.tests.test_analysis.test_scan_symbols_appear_in_symbol_table",
+ "eval.tests.test_analysis.test_symbols_section_prints_target_register_first",
+ "eval.tests.test_analysis_tables.test_boolean_table_idc_emits_distinct_makename",
+ "eval.tests.test_analysis_tables.test_scan_detects_boolean_and_table",
+ "eval.tests.test_analysis_tables.test_scan_detects_boolean_or_table_and_dump_stat",
+ "eval.tests.test_analysis_tables.test_scan_detects_boolean_xor_and_xnor_tables",
+ "eval.tests.test_analysis_tables.test_unrecognized_boolean_table_prints_diagnostic_and_adds_no_symbol",
+ "eval.tests.test_cli_args.test_c_flag_requires_an_argument",
+ "eval.tests.test_cli_args.test_c_flag_with_argument_and_input_processes_file",
+ "eval.tests.test_cli_args.test_c_flag_with_argument_and_no_file_exits_zero",
+ "eval.tests.test_cli_args.test_directory_as_input_is_rejected",
+ "eval.tests.test_cli_args.test_empty_file_is_rejected_as_cannot_open",
+ "eval.tests.test_cli_args.test_file_with_only_elf_magic_is_still_opened_and_reported",
+ "eval.tests.test_cli_args.test_help_alone_does_not_open_any_file",
+ "eval.tests.test_cli_args.test_help_does_not_write_to_stderr",
+ "eval.tests.test_cli_args.test_help_output_matches_golden_exactly",
+ "eval.tests.test_cli_args.test_help_usage_line_is_verbatim",
+ "eval.tests.test_cli_args.test_invalid_option_after_valid_one",
+ "eval.tests.test_cli_args.test_invalid_option_prints_usage_to_stderr_and_exits_1",
+ "eval.tests.test_cli_args.test_long_unknown_option_treated_as_dash_option",
+ "eval.tests.test_cli_args.test_missing_argument_for_g_graph",
+ "eval.tests.test_cli_args.test_missing_argument_for_i_idc",
+ "eval.tests.test_cli_args.test_missing_argument_for_o_output",
+ "eval.tests.test_cli_args.test_missing_input_file_prints_exact_cannot_open",
+ "eval.tests.test_cli_args.test_multiple_inputs_are_processed_in_order_and_continue_on_error",
+ "eval.tests.test_cli_args.test_no_arguments_exits_zero_with_no_output",
+ "eval.tests.test_cli_edge.test_double_dash_ends_option_parsing",
+ "eval.tests.test_cli_edge.test_elf_magic_only_file_is_accepted_then_reported_not_movfuscated",
+ "eval.tests.test_cli_edge.test_elf_magic_then_fully_zeroed_header_is_analysed",
+ "eval.tests.test_cli_edge.test_help_golden_contains_the_full_usage_signature",
+ "eval.tests.test_cli_edge.test_help_golden_is_byte_identical_to_runtime_stdout",
+ "eval.tests.test_cli_edge.test_non_elf_text_file_rejected",
+ "eval.tests.test_cli_edge.test_option_and_positional_interleaving",
+ "eval.tests.test_cli_edge.test_repeated_o_last_wins",
+ "eval.tests.test_cli_edge.test_short_elf_magic_only_is_analysed",
+ "eval.tests.test_cli_edge.test_zero_byte_input_rejected",
+ "eval.tests.test_deep_behavior.test_data_only_scan_emits_single_data_symbol",
+ "eval.tests.test_deep_behavior.test_dup_instruction_does_not_trigger_non_mov_error",
+ "eval.tests.test_deep_behavior.test_entry_point_at_later_code_address",
+ "eval.tests.test_deep_behavior.test_equal_read_write_same_address_emits_no_symbol",
+ "eval.tests.test_deep_behavior.test_read_only_scan_emits_single_on_symbol",
+ "eval.tests.test_deep_behavior.test_relocation_dedupe_across_three",
+ "eval.tests.test_deep_behavior.test_relocation_rows_emitted_for_distinct_addresses",
+ "eval.tests.test_deep_behavior.test_segment_protection_letters_matrix[f0]",
+ "eval.tests.test_deep_behavior.test_segment_protection_letters_matrix[f1]",
+ "eval.tests.test_deep_behavior.test_segment_protection_letters_matrix[f2]",
+ "eval.tests.test_deep_behavior.test_segment_protection_letters_matrix[f3]",
+ "eval.tests.test_deep_behavior.test_segment_protection_letters_matrix[f4]",
+ "eval.tests.test_deep_behavior.test_segment_protection_letters_matrix[f5]",
+ "eval.tests.test_deep_behavior.test_segment_protection_letters_matrix[f6]",
+ "eval.tests.test_deep_behavior.test_segment_protection_letters_matrix[f7]",
+ "eval.tests.test_deep_behavior.test_segment_rows_preserve_segment_order",
+ "eval.tests.test_deep_behavior.test_three_segments_all_reported_in_address_order",
+ "eval.tests.test_deep_behavior.test_zero_length_code_segment_reported",
+ "eval.tests.test_elf_detection.test_32bit_lsb_x86_reported_as_possibly_movfuscated",
+ "eval.tests.test_elf_detection.test_386_machine_is_movfuscated_candidate",
+ "eval.tests.test_elf_detection.test_64bit_class_reported_as_not_movfuscated",
+ "eval.tests.test_elf_detection.test_big_endian_reported_as_not_movfuscated",
+ "eval.tests.test_elf_detection.test_custom_entry_point_is_reported",
+ "eval.tests.test_elf_detection.test_duplicate_relocation_offsets_dedupe",
+ "eval.tests.test_elf_detection.test_entry_point_is_reported_in_hex",
+ "eval.tests.test_elf_detection.test_multiple_loadable_segments_all_reported",
+ "eval.tests.test_elf_detection.test_no_relocations_still_prints_header",
+ "eval.tests.test_elf_detection.test_non_386_machine_reported_as_not_movfuscated",
+ "eval.tests.test_elf_detection.test_relocation_addresses_are_printed_in_hex",
+ "eval.tests.test_elf_detection.test_relocation_symbols_are_listed_by_address",
+ "eval.tests.test_elf_detection.test_relocations_printed_before_segments",
+ "eval.tests.test_elf_detection.test_segment_end_uses_size_not_alignment",
+ "eval.tests.test_elf_detection.test_segment_no_protection_reporting",
+ "eval.tests.test_elf_detection.test_segment_r_only_reporting",
+ "eval.tests.test_elf_detection.test_segment_rwx_reporting",
+ "eval.tests.test_elf_detection.test_segment_wx_reporting",
+ "eval.tests.test_esp_symbols.test_entry_at_code_offset_still_creates_stack_pointer_symbol",
+ "eval.tests.test_esp_symbols.test_esp_as_source_does_not_create_stack_pointer_symbol",
+ "eval.tests.test_esp_symbols.test_esp_symbol_and_direct_write_symbol_coexist_in_symbol_table",
+ "eval.tests.test_esp_symbols.test_esp_symbol_shares_address_with_scan_on_symbol",
+ "eval.tests.test_esp_symbols.test_highest_count_read_candidate_wins_scan_selection",
+ "eval.tests.test_esp_symbols.test_mov_esp_idc_emits_esp_makename_row",
+ "eval.tests.test_esp_symbols.test_mov_esp_to_direct_mem_creates_stack_pointer_symbol",
+ "eval.tests.test_esp_symbols.test_read_count_is_total_not_unique",
+ "eval.tests.test_esp_symbols.test_two_esp_targets_create_two_stack_pointer_rows",
+ "eval.tests.test_golden_transcripts.test_dirrw_stdout_carries_both_symbol_tags",
+ "eval.tests.test_golden_transcripts.test_empty_code_transcript_with_custom_entry",
+ "eval.tests.test_golden_transcripts.test_error_code_ordering_on_stderr",
+ "eval.tests.test_golden_transcripts.test_far_entry_transcript",
+ "eval.tests.test_golden_transcripts.test_full_transcript_matches_golden[dirrw]",
+ "eval.tests.test_golden_transcripts.test_full_transcript_matches_golden[nonmov]",
+ "eval.tests.test_golden_transcripts.test_full_transcript_matches_golden[nop5]",
+ "eval.tests.test_golden_transcripts.test_full_transcript_matches_golden[ret]",
+ "eval.tests.test_golden_transcripts.test_master_loop_guess_uses_hex_address",
+ "eval.tests.test_golden_transcripts.test_nonmov_stdout_reports_failure_in_both_passes",
+ "eval.tests.test_golden_transcripts.test_nop5_stderr_reports_unable_find_on_and_error_code",
+ "eval.tests.test_golden_transcripts.test_nop5_stdout_has_no_direct_memory_symbols",
+ "eval.tests.test_golden_transcripts.test_ret_stderr_reports_analyse_failure",
+ "eval.tests.test_golden_transcripts.test_ret_stdout_skips_analyse_pass_markers",
+ "eval.tests.test_new_cases.test_big_endian_elf32_is_reported_not_movfuscated_but_still_analysed",
+ "eval.tests.test_new_cases.test_file_writer_does_not_touch_preceding_input_content",
+ "eval.tests.test_new_cases.test_high_count_idc_symbol_table",
+ "eval.tests.test_new_cases.test_high_count_repeated_access_still_emits_single_rows",
+ "eval.tests.test_new_cases.test_last_input_wins_for_i_idc_output_file",
+ "eval.tests.test_new_cases.test_non_mov_operand_text_variants[mov_then_inc]",
+ "eval.tests.test_new_cases.test_non_mov_operand_text_variants[mov_then_push]",
+ "eval.tests.test_new_cases.test_non_mov_operand_text_variants[mov_then_sub]",
+ "eval.tests.test_new_cases.test_non_mov_operand_text_variants[mov_then_xor]",
+ "eval.tests.test_new_cases.test_non_x86_machine_is_reported_not_movfuscated_but_still_analysed",
+ "eval.tests.test_new_cases.test_non_x86_machine_with_relocations_still_lists_them",
+ "eval.tests.test_new_cases.test_o_writer_copies_buffer_even_when_analyse_fails",
+ "eval.tests.test_new_cases.test_repeated_read_and_write_increments_access_count",
+ "eval.tests.test_new_cases.test_rw_zero_fill_tail_uses_write_letters_on_the_bss_portion",
+ "eval.tests.test_new_cases.test_rx_segment_with_zero_fill_tail_emits_two_rows",
+ "eval.tests.test_new_cases.test_zero_length_file_back_with_memsz_collides_and_keeps_zero_row",
+ "eval.tests.test_output_files.test_combined_o_g_i_flags_all_generated",
+ "eval.tests.test_output_files.test_dot_file_for_nop5_matches_empty_flow",
+ "eval.tests.test_output_files.test_dot_file_is_empty_when_analyse_fails",
+ "eval.tests.test_output_files.test_dot_file_is_not_created_without_g_option",
+ "eval.tests.test_output_files.test_dot_file_matches_empty_calls_graph_golden",
+ "eval.tests.test_output_files.test_dot_file_shell_has_exact_open_close",
+ "eval.tests.test_output_files.test_g_option_creates_dot_file",
+ "eval.tests.test_output_files.test_i_option_creates_idc_file",
+ "eval.tests.test_output_files.test_idc_contains_scan_discovered_symbol_rows",
+ "eval.tests.test_output_files.test_idc_content_for_ret_has_empty_body",
+ "eval.tests.test_output_files.test_idc_content_matches_dirrw_golden",
+ "eval.tests.test_output_files.test_idc_content_matches_nop5_golden",
+ "eval.tests.test_output_files.test_idc_differs_between_dirrw_and_nop5",
+ "eval.tests.test_output_files.test_idc_file_is_not_created_without_i_option",
+ "eval.tests.test_output_files.test_idc_header_and_main_wrapper",
+ "eval.tests.test_output_files.test_o_option_creates_output_file",
+ "eval.tests.test_output_files.test_o_output_created_even_for_not_movfuscated_input",
+ "eval.tests.test_output_files.test_o_output_deterministic_across_runs",
+ "eval.tests.test_output_files.test_o_output_is_byte_identical_to_input",
+ "eval.tests.test_output_files.test_o_output_matches_input_for_simple_elf",
+ "eval.tests.test_output_files.test_o_writes_to_path_not_created_by_default",
+ "eval.tests.test_output_files.test_output_files_are_independent_of_input_arg_order",
+ "eval.tests.test_scan_end_and_find_fault.test_discard_value_comes_from_mapped_memory_payload",
+ "eval.tests.test_scan_end_and_find_fault.test_find_fault_without_direct_read_isolates_discard_path",
+ "eval.tests.test_scan_end_and_find_fault.test_ill_instruction_does_not_abort_analysis",
+ "eval.tests.test_scan_end_and_find_fault.test_mov_cs_register_ends_scan_and_analyse_passes",
+ "eval.tests.test_scan_end_and_find_fault.test_selector_array_winner_is_reported_with_discard_value",
+ "eval.tests.test_scenarios.test_batch_mixed_valid_and_invalid_analysis",
+ "eval.tests.test_scenarios.test_canonical_analysis_stderr_matches_golden",
+ "eval.tests.test_scenarios.test_canonical_analysis_stdout_matches_golden",
+ "eval.tests.test_scenarios.test_canonical_stdout_contains_full_marker_chain",
+ "eval.tests.test_scenarios.test_dir_rw_inputs_leave_no_persistent_files_without_flags",
+ "eval.tests.test_scenarios.test_distinct_symbols_merge_across_inputs_in_idc",
+ "eval.tests.test_scenarios.test_each_input_processed_then_shared_graph_written",
+ "eval.tests.test_scenarios.test_o_with_multiple_inputs_uses_last_buffer_size",
+ "eval.tests.test_scenarios.test_shared_graph_contains_both_entries_when_analyse_succeeds",
+ "eval.tests.test_scenarios.test_shared_output_file_last_input_wins",
+ "eval.tests.test_stack_symbols.test_single_negative_displacement_emits_no_stack_symbols",
+ "eval.tests.test_stack_symbols.test_stack_symbol_address_order_is_deterministic_across_source_order",
+ "eval.tests.test_stack_symbols.test_stack_symbols_are_skipped_in_idc_output",
+ "eval.tests.test_stack_symbols.test_stack_symbols_coexist_with_selector_data_and_discard",
+ "eval.tests.test_stack_symbols.test_stack_symbols_skipped_while_other_symbols_kept_in_idc",
+ "eval.tests.test_stack_symbols.test_two_negative_displacements_create_stack_push_pop_symbols",
+ "eval.tests.test_stack_symbols.test_two_stack_slots_with_entry_point_at_offset_still_detected"
+ ]
+ }
+ },
+ "commit": "0278f2a93275660354671488ad27137e04c82005",
+ "data_source": "synthetic_programgym",
+ "difficulty": "easy",
+ "difficulty_score": 1.609914410085998,
+ "eval_clean_hashes": [
+ "f07be208f9ae37c2e321097d9b43c0e9a186b62a6611634114dcc59490d7fd31"
+ ],
+ "input_record": {
+ "commit": "0278f2a93275660354671488ad27137e04c82005",
+ "difficulty": "easy",
+ "difficulty_code_lines": 4073,
+ "difficulty_has_tests": false,
+ "difficulty_product_code_lines": 4073,
+ "difficulty_runtime_deps": 0,
+ "difficulty_score": 1.609914410085998,
+ "difficulty_test_code_lines": 0,
+ "full_name": "leetonidas/demovfuscator",
+ "input_joern_zip": "cpp_joern/leetonidas__demovfuscator.zip",
+ "joern_status": true,
+ "joern_time": 6.473526101093739,
+ "language": "cpp",
+ "pb_match": [
+ {
+ "pb_fullname": "ip7z/7zip",
+ "rank": 250,
+ "similarity": 0.42589762806892395
+ }
+ ],
+ "repo_path": "cpp/leetonidas__demovfuscator",
+ "source": "commit:0278f2a93275660354671488ad27137e04c82005",
+ "status": "done",
+ "url": "https://github.com/leetonidas/demovfuscator"
+ },
+ "instance_id": "leetonidas__demovfuscator.0278f2a",
+ "language": "cpp",
+ "module_iterations": [
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_01",
+ "iteration_limit": 5,
+ "module_index": 1,
+ "module_kind": "source",
+ "termination_reason": "early_stopping"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_02",
+ "iteration_limit": 5,
+ "module_index": 2,
+ "module_kind": "source",
+ "termination_reason": "early_stopping"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_03",
+ "iteration_limit": 5,
+ "module_index": 3,
+ "module_kind": "source",
+ "termination_reason": "early_stopping"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_04",
+ "iteration_limit": 5,
+ "module_index": 4,
+ "module_kind": "source",
+ "termination_reason": "early_stopping"
+ }
+ ],
+ "repository": "leetonidas/demovfuscator"
+}
diff --git a/leetonidas--demovfuscator.0278f2/tests/test.sh b/leetonidas--demovfuscator.0278f2/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/leetonidas--demovfuscator.0278f2/tests/workspace.tar.gz b/leetonidas--demovfuscator.0278f2/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..1601a01b7f9c8c945eccd35437b0e06a18a9c959
--- /dev/null
+++ b/leetonidas--demovfuscator.0278f2/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7bacf5444e36c0920fbe73ad8566614ae381b62ca1a95e03dea3df0fe7f42747
+size 3109
diff --git a/lelouchfr--skill-icons.5401d69/environment/Dockerfile b/lelouchfr--skill-icons.5401d69/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..18c9b14a3dd87ff70c68d67e0e9cd3cb548e1b1a
--- /dev/null
+++ b/lelouchfr--skill-icons.5401d69/environment/Dockerfile
@@ -0,0 +1,60 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+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"]
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# programgym-runtime-workspace-cleanup: v1
+RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/lelouchfr--skill-icons.5401d69/environment/download.sh b/lelouchfr--skill-icons.5401d69/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..406b326876903328347cca938b09fe74dae48b9c
--- /dev/null
+++ b/lelouchfr--skill-icons.5401d69/environment/download.sh
@@ -0,0 +1,154 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
+# Generated deterministically from repository module metadata; do not edit.
+set -u
+export GOTOOLCHAIN=auto
+mkdir -p /workspace/.programgym_build_env/go-prefetch
+cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
+module github.com/lelouchfr/skill-icons
+
+go 1.18
+
+require github.com/gin-gonic/gin v1.9.1
+
+require (
+ github.com/bytedance/sonic v1.9.1 // indirect
+ github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
+ github.com/gabriel-vasile/mimetype v1.4.2 // indirect
+ github.com/gin-contrib/sse v0.1.0 // indirect
+ github.com/go-playground/locales v0.14.1 // indirect
+ github.com/go-playground/universal-translator v0.18.1 // indirect
+ github.com/go-playground/validator/v10 v10.14.0 // indirect
+ github.com/goccy/go-json v0.10.2 // indirect
+ github.com/json-iterator/go v1.1.12 // indirect
+ github.com/klauspost/cpuid/v2 v2.2.4 // indirect
+ github.com/leodido/go-urn v1.2.4 // indirect
+ github.com/mattn/go-isatty v0.0.19 // indirect
+ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
+ github.com/modern-go/reflect2 v1.0.2 // indirect
+ github.com/pelletier/go-toml/v2 v2.0.8 // indirect
+ github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
+ github.com/ugorji/go/codec v1.2.11 // indirect
+ golang.org/x/arch v0.3.0 // indirect
+ golang.org/x/crypto v0.9.0 // indirect
+ golang.org/x/net v0.10.0 // indirect
+ golang.org/x/sys v0.8.0 // indirect
+ golang.org/x/text v0.9.0 // indirect
+ google.golang.org/protobuf v1.30.0 // indirect
+ gopkg.in/yaml.v3 v3.0.1 // indirect
+)
+PROGRAMGYM_GO_MOD_EOF
+cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
+github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM=
+github.com/bytedance/sonic v1.9.1 h1:6iJ6NqdoxCDr6mbY8h18oSO+cShGSMRGCEo7F2h0x8s=
+github.com/bytedance/sonic v1.9.1/go.mod h1:i736AoUSYt75HyZLoJW9ERYxcy6eaN6h4BZXU064P/U=
+github.com/chenzhuoyu/base64x v0.0.0-20211019084208-fb5309c8db06/go.mod h1:DH46F32mSOjUmXrMHnKwZdA8wcEefY7UVqBKYGjpdQY=
+github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 h1:qSGYFH7+jGhDF8vLC+iwCD4WpbV1EBDSzWkJODFLams=
+github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311/go.mod h1:b583jCggY9gE99b6G5LEC39OIiVsWj+R97kbl5odCEk=
+github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/gabriel-vasile/mimetype v1.4.2 h1:w5qFW6JKBz9Y393Y4q372O9A7cUSequkh1Q7OhCmWKU=
+github.com/gabriel-vasile/mimetype v1.4.2/go.mod h1:zApsH/mKG4w07erKIaJPFiX0Tsq9BFQgN3qGY5GnNgA=
+github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE=
+github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI=
+github.com/gin-gonic/gin v1.9.1 h1:4idEAncQnU5cB7BeOkPtxjfCSye0AAm1R0RVIqJ+Jmg=
+github.com/gin-gonic/gin v1.9.1/go.mod h1:hPrL7YrpYKXt5YId3A/Tnip5kqbEAP+KLuI3SUcPTeU=
+github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s=
+github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA=
+github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY=
+github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY=
+github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY=
+github.com/go-playground/validator/v10 v10.14.0 h1:vgvQWe3XCz3gIeFDm/HnTIbj6UGmg/+t63MyGU2n5js=
+github.com/go-playground/validator/v10 v10.14.0/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU=
+github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU=
+github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I=
+github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
+github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
+github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
+github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
+github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
+github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
+github.com/klauspost/cpuid/v2 v2.2.4 h1:acbojRNwl3o09bUq+yDCtZFc1aiwaAAxtcn8YkZXnvk=
+github.com/klauspost/cpuid/v2 v2.2.4/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY=
+github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
+github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
+github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA=
+github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
+github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
+github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
+github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
+github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M=
+github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
+github.com/pelletier/go-toml/v2 v2.0.8 h1:0ctb6s9mE31h0/lhu+J6OPmVeDxJn+kYnJc2jZR9tGQ=
+github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNcZljzZR9VXg+4=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
+github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
+github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
+github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
+github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
+github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
+github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY=
+github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
+github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI=
+github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08=
+github.com/ugorji/go/codec v1.2.11 h1:BMaWp1Bb6fHwEtbplGBGJ498wD+LKlNSl25MjdZY4dU=
+github.com/ugorji/go/codec v1.2.11/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg=
+golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
+golang.org/x/arch v0.3.0 h1:02VY4/ZcO/gBOH6PUaoiptASxtXU10jazRCP865E97k=
+golang.org/x/arch v0.3.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
+golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g=
+golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0=
+golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M=
+golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
+golang.org/x/sys v0.0.0-20220704084225-05e143d24a9e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU=
+golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE=
+golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
+golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
+golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
+google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng=
+google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
+gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4=
+PROGRAMGYM_GO_SUM_EOF
+PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
+if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && GOTOOLCHAIN=auto go env GOROOT)"; then
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+else
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
+fi
+export PATH="$GOROOT/bin:$PATH"
+export GOTOOLCHAIN=local
+if ! (cd /workspace/.programgym_build_env/go-prefetch && go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
diff --git a/lelouchfr--skill-icons.5401d69/environment/executable b/lelouchfr--skill-icons.5401d69/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..efcc164ac5124c9ae27196f8713aabd5bf8a625d
--- /dev/null
+++ b/lelouchfr--skill-icons.5401d69/environment/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:eec6fb09652d1b16c6c54263ae531e58827f15c2471b9c301bf700f959cb3687
+size 26837359
diff --git a/lelouchfr--skill-icons.5401d69/environment/programgym-go.tar.gz b/lelouchfr--skill-icons.5401d69/environment/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/lelouchfr--skill-icons.5401d69/environment/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/lelouchfr--skill-icons.5401d69/environment/workspace.tar.gz b/lelouchfr--skill-icons.5401d69/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0f5c379e3d69a59d0faf9d200b7d65452c260dfc
--- /dev/null
+++ b/lelouchfr--skill-icons.5401d69/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:83e45edfa9147435863df33abddb5c013086208f698480224b2df07d224caaa9
+size 16429
diff --git a/lelouchfr--skill-icons.5401d69/instruction.md b/lelouchfr--skill-icons.5401d69/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/lelouchfr--skill-icons.5401d69/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/lelouchfr--skill-icons.5401d69/solution/solve.sh b/lelouchfr--skill-icons.5401d69/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/lelouchfr--skill-icons.5401d69/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/lelouchfr--skill-icons.5401d69/task.toml b/lelouchfr--skill-icons.5401d69/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..a9f8f9ac1a12f6404a3d651204c470b743fdcaae
--- /dev/null
+++ b/lelouchfr--skill-icons.5401d69/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/lelouchfr--skill-icons.5401d69"
+description = "Synthetic ProgramGym cleanroom reconstruction task for LelouchFR/skill-icons"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "go"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "LelouchFR__skill-icons.5401d69"
+repository = "LelouchFR/skill-icons"
+commit = "5401d691a2268d5a3ee6c3b3163c31b6a2a0be6d"
+language = "go"
+difficulty = "easy"
+difficulty_score = 1.9464522650130727
+test_branches = 1
+test_count = 69
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/lelouchfr--skill-icons.5401d69/tests/Dockerfile b/lelouchfr--skill-icons.5401d69/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..a626a06f42b7d18ca8dda5f990bed0106ab28bf5
--- /dev/null
+++ b/lelouchfr--skill-icons.5401d69/tests/Dockerfile
@@ -0,0 +1,68 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+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"]
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# programgym-runtime-workspace-cleanup: v1
+RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN python3 -m pip install --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/lelouchfr--skill-icons.5401d69/tests/blobs/tests/generated_module_01.tar.gz b/lelouchfr--skill-icons.5401d69/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..e05e729e623ec623d044f92eb61c24cdbe22c205
--- /dev/null
+++ b/lelouchfr--skill-icons.5401d69/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2ca36b6973aa1cf4a9c93e02ca100915f46acf36b2ff811dc4e720b1b0a1a02f
+size 6919
diff --git a/lelouchfr--skill-icons.5401d69/tests/download.sh b/lelouchfr--skill-icons.5401d69/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..406b326876903328347cca938b09fe74dae48b9c
--- /dev/null
+++ b/lelouchfr--skill-icons.5401d69/tests/download.sh
@@ -0,0 +1,154 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
+# Generated deterministically from repository module metadata; do not edit.
+set -u
+export GOTOOLCHAIN=auto
+mkdir -p /workspace/.programgym_build_env/go-prefetch
+cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
+module github.com/lelouchfr/skill-icons
+
+go 1.18
+
+require github.com/gin-gonic/gin v1.9.1
+
+require (
+ github.com/bytedance/sonic v1.9.1 // indirect
+ github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
+ github.com/gabriel-vasile/mimetype v1.4.2 // indirect
+ github.com/gin-contrib/sse v0.1.0 // indirect
+ github.com/go-playground/locales v0.14.1 // indirect
+ github.com/go-playground/universal-translator v0.18.1 // indirect
+ github.com/go-playground/validator/v10 v10.14.0 // indirect
+ github.com/goccy/go-json v0.10.2 // indirect
+ github.com/json-iterator/go v1.1.12 // indirect
+ github.com/klauspost/cpuid/v2 v2.2.4 // indirect
+ github.com/leodido/go-urn v1.2.4 // indirect
+ github.com/mattn/go-isatty v0.0.19 // indirect
+ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
+ github.com/modern-go/reflect2 v1.0.2 // indirect
+ github.com/pelletier/go-toml/v2 v2.0.8 // indirect
+ github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
+ github.com/ugorji/go/codec v1.2.11 // indirect
+ golang.org/x/arch v0.3.0 // indirect
+ golang.org/x/crypto v0.9.0 // indirect
+ golang.org/x/net v0.10.0 // indirect
+ golang.org/x/sys v0.8.0 // indirect
+ golang.org/x/text v0.9.0 // indirect
+ google.golang.org/protobuf v1.30.0 // indirect
+ gopkg.in/yaml.v3 v3.0.1 // indirect
+)
+PROGRAMGYM_GO_MOD_EOF
+cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
+github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM=
+github.com/bytedance/sonic v1.9.1 h1:6iJ6NqdoxCDr6mbY8h18oSO+cShGSMRGCEo7F2h0x8s=
+github.com/bytedance/sonic v1.9.1/go.mod h1:i736AoUSYt75HyZLoJW9ERYxcy6eaN6h4BZXU064P/U=
+github.com/chenzhuoyu/base64x v0.0.0-20211019084208-fb5309c8db06/go.mod h1:DH46F32mSOjUmXrMHnKwZdA8wcEefY7UVqBKYGjpdQY=
+github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 h1:qSGYFH7+jGhDF8vLC+iwCD4WpbV1EBDSzWkJODFLams=
+github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311/go.mod h1:b583jCggY9gE99b6G5LEC39OIiVsWj+R97kbl5odCEk=
+github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/gabriel-vasile/mimetype v1.4.2 h1:w5qFW6JKBz9Y393Y4q372O9A7cUSequkh1Q7OhCmWKU=
+github.com/gabriel-vasile/mimetype v1.4.2/go.mod h1:zApsH/mKG4w07erKIaJPFiX0Tsq9BFQgN3qGY5GnNgA=
+github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE=
+github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI=
+github.com/gin-gonic/gin v1.9.1 h1:4idEAncQnU5cB7BeOkPtxjfCSye0AAm1R0RVIqJ+Jmg=
+github.com/gin-gonic/gin v1.9.1/go.mod h1:hPrL7YrpYKXt5YId3A/Tnip5kqbEAP+KLuI3SUcPTeU=
+github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s=
+github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA=
+github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY=
+github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY=
+github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY=
+github.com/go-playground/validator/v10 v10.14.0 h1:vgvQWe3XCz3gIeFDm/HnTIbj6UGmg/+t63MyGU2n5js=
+github.com/go-playground/validator/v10 v10.14.0/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU=
+github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU=
+github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I=
+github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
+github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
+github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
+github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
+github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
+github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
+github.com/klauspost/cpuid/v2 v2.2.4 h1:acbojRNwl3o09bUq+yDCtZFc1aiwaAAxtcn8YkZXnvk=
+github.com/klauspost/cpuid/v2 v2.2.4/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY=
+github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
+github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
+github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA=
+github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
+github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
+github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
+github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
+github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M=
+github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
+github.com/pelletier/go-toml/v2 v2.0.8 h1:0ctb6s9mE31h0/lhu+J6OPmVeDxJn+kYnJc2jZR9tGQ=
+github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNcZljzZR9VXg+4=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
+github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
+github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
+github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
+github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
+github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
+github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY=
+github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
+github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI=
+github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08=
+github.com/ugorji/go/codec v1.2.11 h1:BMaWp1Bb6fHwEtbplGBGJ498wD+LKlNSl25MjdZY4dU=
+github.com/ugorji/go/codec v1.2.11/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg=
+golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
+golang.org/x/arch v0.3.0 h1:02VY4/ZcO/gBOH6PUaoiptASxtXU10jazRCP865E97k=
+golang.org/x/arch v0.3.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
+golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g=
+golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0=
+golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M=
+golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
+golang.org/x/sys v0.0.0-20220704084225-05e143d24a9e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU=
+golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE=
+golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
+golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
+golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
+google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng=
+google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
+gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4=
+PROGRAMGYM_GO_SUM_EOF
+PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
+if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && GOTOOLCHAIN=auto go env GOROOT)"; then
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+else
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
+fi
+export PATH="$GOROOT/bin:$PATH"
+export GOTOOLCHAIN=local
+if ! (cd /workspace/.programgym_build_env/go-prefetch && go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
diff --git a/lelouchfr--skill-icons.5401d69/tests/executable b/lelouchfr--skill-icons.5401d69/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..efcc164ac5124c9ae27196f8713aabd5bf8a625d
--- /dev/null
+++ b/lelouchfr--skill-icons.5401d69/tests/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:eec6fb09652d1b16c6c54263ae531e58827f15c2471b9c301bf700f959cb3687
+size 26837359
diff --git a/lelouchfr--skill-icons.5401d69/tests/programgym-go.tar.gz b/lelouchfr--skill-icons.5401d69/tests/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/lelouchfr--skill-icons.5401d69/tests/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/lelouchfr--skill-icons.5401d69/tests/programgym_evaluator.py b/lelouchfr--skill-icons.5401d69/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/lelouchfr--skill-icons.5401d69/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/lelouchfr--skill-icons.5401d69/tests/programgym_task.json b/lelouchfr--skill-icons.5401d69/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..792dfa5e5751c809305532c3661701c9df6b2b8b
--- /dev/null
+++ b/lelouchfr--skill-icons.5401d69/tests/programgym_task.json
@@ -0,0 +1,210 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_icons.test_align_center_uses_percent_width",
+ "eval.tests.test_icons.test_align_left_explicit",
+ "eval.tests.test_icons.test_align_right_uses_calc_width",
+ "eval.tests.test_icons.test_comma_list_does_not_trim_whitespace",
+ "eval.tests.test_icons.test_content_type_is_svg_xml",
+ "eval.tests.test_icons.test_default_align_left_width",
+ "eval.tests.test_icons.test_default_perline_is_15",
+ "eval.tests.test_icons.test_empty_i_returns_400_with_message",
+ "eval.tests.test_icons.test_empty_perline_defaults_to_15",
+ "eval.tests.test_icons.test_invalid_align_defaults_to_left",
+ "eval.tests.test_icons.test_invalid_theme_rejected[DARK]",
+ "eval.tests.test_icons.test_invalid_theme_rejected[Light ]",
+ "eval.tests.test_icons.test_invalid_theme_rejected[blue]",
+ "eval.tests.test_icons.test_invalid_theme_rejected[rgb(1,2,3)]",
+ "eval.tests.test_icons.test_missing_i_returns_400_with_message",
+ "eval.tests.test_icons.test_multi_icon_list_renders_one_cell_per_name",
+ "eval.tests.test_icons.test_non_numeric_perline_rejected[0x10]",
+ "eval.tests.test_icons.test_non_numeric_perline_rejected[1.5]",
+ "eval.tests.test_icons.test_non_numeric_perline_rejected[99999999999999999999999]",
+ "eval.tests.test_icons.test_non_numeric_perline_rejected[abc]",
+ "eval.tests.test_icons.test_nonthemed_icon_content_theme_invariant",
+ "eval.tests.test_icons.test_perline_above_50_rejected[100]",
+ "eval.tests.test_icons.test_perline_above_50_rejected[500]",
+ "eval.tests.test_icons.test_perline_above_50_rejected[51]",
+ "eval.tests.test_icons.test_perline_affects_height_of_grid",
+ "eval.tests.test_icons.test_perline_below_minus1_rejected[-100]",
+ "eval.tests.test_icons.test_perline_below_minus1_rejected[-2]",
+ "eval.tests.test_icons.test_perline_below_minus1_rejected[-3]",
+ "eval.tests.test_icons.test_perline_horizontal_layout_columns",
+ "eval.tests.test_icons.test_perline_minus1_yields_negative_dimensions",
+ "eval.tests.test_icons.test_perline_valid_range_accepted[15]",
+ "eval.tests.test_icons.test_perline_valid_range_accepted[1]",
+ "eval.tests.test_icons.test_perline_valid_range_accepted[50]",
+ "eval.tests.test_icons.test_perline_vertical_layout_rows",
+ "eval.tests.test_icons.test_perline_zero_drops_connection_but_keeps_server",
+ "eval.tests.test_icons.test_repeated_request_is_deterministic",
+ "eval.tests.test_icons.test_short_name_expansion_title[aws-aws-auto]",
+ "eval.tests.test_icons.test_short_name_expansion_title[express-expressjs-auto]",
+ "eval.tests.test_icons.test_short_name_expansion_title[go-golang]",
+ "eval.tests.test_icons.test_short_name_expansion_title[gql-graphql-auto]",
+ "eval.tests.test_icons.test_short_name_expansion_title[js-javascript]",
+ "eval.tests.test_icons.test_short_name_expansion_title[k8s-kubernetes]",
+ "eval.tests.test_icons.test_short_name_expansion_title[md-markdown-auto]",
+ "eval.tests.test_icons.test_short_name_expansion_title[mongo-mongodb]",
+ "eval.tests.test_icons.test_short_name_expansion_title[mui-materialui-auto]",
+ "eval.tests.test_icons.test_short_name_expansion_title[nest-nestjs-auto]",
+ "eval.tests.test_icons.test_short_name_expansion_title[next-nextjs-auto]",
+ "eval.tests.test_icons.test_short_name_expansion_title[nuxt-nuxtjs-auto]",
+ "eval.tests.test_icons.test_short_name_expansion_title[postgres-postgresql-auto]",
+ "eval.tests.test_icons.test_short_name_expansion_title[py-python-auto]",
+ "eval.tests.test_icons.test_short_name_expansion_title[scss-sass]",
+ "eval.tests.test_icons.test_short_name_expansion_title[tailwind-tailwindcss-auto]",
+ "eval.tests.test_icons.test_short_name_expansion_title[ts-typescript]",
+ "eval.tests.test_icons.test_short_name_expansion_title[vue-vuejs-auto]",
+ "eval.tests.test_icons.test_short_name_expansion_title[wasm-webassembly]",
+ "eval.tests.test_icons.test_single_icon_viewbox_dimensions",
+ "eval.tests.test_icons.test_svg_is_well_formed_xml_document",
+ "eval.tests.test_icons.test_theme_defaults_to_auto",
+ "eval.tests.test_icons.test_themed_icon_content_varies_by_theme",
+ "eval.tests.test_icons.test_themed_icon_title_changes_with_theme",
+ "eval.tests.test_icons.test_themed_icon_title_uses_resolved_variant",
+ "eval.tests.test_icons.test_titles_absent_by_default",
+ "eval.tests.test_icons.test_titles_param_empty_string_means_off",
+ "eval.tests.test_icons.test_titles_present_when_param_nonempty",
+ "eval.tests.test_icons.test_unknown_icon_among_known_splits_cells",
+ "eval.tests.test_icons.test_unknown_icon_still_returns_200_with_empty_group",
+ "eval.tests.test_icons.test_valid_theme_accepted[auto]",
+ "eval.tests.test_icons.test_valid_theme_accepted[dark]",
+ "eval.tests.test_icons.test_valid_theme_accepted[light]"
+ ]
+ }
+ },
+ "commit": "5401d691a2268d5a3ee6c3b3163c31b6a2a0be6d",
+ "data_source": "synthetic_programgym",
+ "difficulty": "easy",
+ "difficulty_score": 1.9464522650130727,
+ "eval_clean_hashes": [
+ "eec6fb09652d1b16c6c54263ae531e58827f15c2471b9c301bf700f959cb3687"
+ ],
+ "input_record": {
+ "commit": "5401d691a2268d5a3ee6c3b3163c31b6a2a0be6d",
+ "commits": 226,
+ "contributors": 34,
+ "difficulty": "easy",
+ "difficulty_code_lines": 340,
+ "difficulty_has_tests": false,
+ "difficulty_product_code_lines": 340,
+ "difficulty_runtime_deps": 25,
+ "difficulty_score": 1.9464522650130727,
+ "difficulty_test_code_lines": 0,
+ "full_name": "LelouchFR/skill-icons",
+ "github_stars": 775,
+ "input_joern_zip": "go_joern/LelouchFR__skill-icons.zip",
+ "joern_status": true,
+ "joern_time": 5.327904361998662,
+ "language": "go",
+ "pb_match": [
+ {
+ "pb_fullname": "peco/peco",
+ "rank": 992,
+ "similarity": 0.4569665789604187
+ },
+ {
+ "pb_fullname": "rs/curlie",
+ "rank": 930,
+ "similarity": 0.4771919250488281
+ },
+ {
+ "pb_fullname": "guumaster/hostctl",
+ "rank": 798,
+ "similarity": 0.45133134722709656
+ },
+ {
+ "pb_fullname": "JohannesKaufmann/html-to-markdown",
+ "rank": 203,
+ "similarity": 0.5201683044433594
+ },
+ {
+ "pb_fullname": "alecthomas/chroma",
+ "rank": 133,
+ "similarity": 0.5386486053466797
+ },
+ {
+ "pb_fullname": "gabotechs/dep-tree",
+ "rank": 294,
+ "similarity": 0.538199245929718
+ },
+ {
+ "pb_fullname": "jesseduffield/lazygit",
+ "rank": 258,
+ "similarity": 0.5558039546012878
+ },
+ {
+ "pb_fullname": "boyter/scc",
+ "rank": 468,
+ "similarity": 0.5142589807510376
+ },
+ {
+ "pb_fullname": "naggie/dstask",
+ "rank": 378,
+ "similarity": 0.5058901309967041
+ },
+ {
+ "pb_fullname": "sibprogrammer/xq",
+ "rank": 240,
+ "similarity": 0.5196423530578613
+ },
+ {
+ "pb_fullname": "sheepla/pingu",
+ "rank": 779,
+ "similarity": 0.4817694127559662
+ },
+ {
+ "pb_fullname": "raviqqe/muffet",
+ "rank": 766,
+ "similarity": 0.4653870761394501
+ },
+ {
+ "pb_fullname": "eliukblau/pixterm",
+ "rank": 148,
+ "similarity": 0.5612163543701172
+ },
+ {
+ "pb_fullname": "TheZoraiz/ascii-image-converter",
+ "rank": 117,
+ "similarity": 0.5330874919891357
+ },
+ {
+ "pb_fullname": "cheat/cheat",
+ "rank": 274,
+ "similarity": 0.5397604703903198
+ },
+ {
+ "pb_fullname": "tomnomnom/gron",
+ "rank": 841,
+ "similarity": 0.4747885465621948
+ },
+ {
+ "pb_fullname": "zk-org/zk",
+ "rank": 398,
+ "similarity": 0.5562911033630371
+ }
+ ],
+ "repo_age": 2.26,
+ "repo_path": "go/LelouchFR__skill-icons",
+ "source": "commit:5401d691a2268d5a3ee6c3b3163c31b6a2a0be6d",
+ "status": "done",
+ "url": "https://github.com/LelouchFR/skill-icons"
+ },
+ "instance_id": "LelouchFR__skill-icons.5401d69",
+ "language": "go",
+ "module_iterations": [
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_01",
+ "iteration_limit": 5,
+ "module_index": 1,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ }
+ ],
+ "repository": "LelouchFR/skill-icons"
+}
diff --git a/lelouchfr--skill-icons.5401d69/tests/test.sh b/lelouchfr--skill-icons.5401d69/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/lelouchfr--skill-icons.5401d69/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/lelouchfr--skill-icons.5401d69/tests/workspace.tar.gz b/lelouchfr--skill-icons.5401d69/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0f5c379e3d69a59d0faf9d200b7d65452c260dfc
--- /dev/null
+++ b/lelouchfr--skill-icons.5401d69/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:83e45edfa9147435863df33abddb5c013086208f698480224b2df07d224caaa9
+size 16429
diff --git a/lemonade-command--lemonade.fb41f/environment/Dockerfile b/lemonade-command--lemonade.fb41f/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..5cf965202bf3f2bdbe7faab773b15c8629800597
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/environment/Dockerfile
@@ -0,0 +1,64 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /workspace/download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# programgym-runtime-workspace-cleanup: v1
+RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/lemonade-command--lemonade.fb41f/environment/download.sh b/lemonade-command--lemonade.fb41f/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..c852ee12b4c3600353ada90a92a68f79323c7154
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/environment/download.sh
@@ -0,0 +1,188 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
+# Generated deterministically from repository module metadata; do not edit.
+set -u
+export GOTOOLCHAIN=auto
+mkdir -p /workspace/.programgym_build_env/go-prefetch
+cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
+module github.com/lemonade-command/lemonade
+
+go 1.16
+
+require (
+ github.com/BurntSushi/toml v1.0.0 // indirect
+ github.com/atotto/clipboard v0.1.4
+ github.com/go-stack/stack v1.8.1 // indirect
+ github.com/inconshreveable/log15 v0.0.0-20201112154412-8562bdadbbac
+ github.com/mattn/go-colorable v0.1.12 // indirect
+ github.com/mitchellh/go-homedir v1.1.0
+ github.com/monochromegane/conflag v0.0.0-20151130130520-6d68c9aa4183
+ github.com/pocke/go-iprange v0.0.0-20150823054938-08fbe355c365
+ github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
+ gopkg.in/yaml.v2 v2.4.0 // indirect
+)
+PROGRAMGYM_GO_MOD_EOF
+cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
+github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU=
+github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
+github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4=
+github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI=
+github.com/go-stack/stack v1.8.1 h1:ntEHSVwIt7PNXNpgPmVfMrNhLtgjlmnZha2kOpuRiDw=
+github.com/go-stack/stack v1.8.1/go.mod h1:dcoOX6HbPZSZptuspn9bctJ+N/CnF5gGygcUP3XYfe4=
+github.com/inconshreveable/log15 v0.0.0-20201112154412-8562bdadbbac h1:n1DqxAo4oWPMvH1+v+DLYlMCecgumhhgnxAPdqDIFHI=
+github.com/inconshreveable/log15 v0.0.0-20201112154412-8562bdadbbac/go.mod h1:cOaXtrgN4ScfRrD9Bre7U1thNq5RtJ8ZoP4iXVGRj6o=
+github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40=
+github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
+github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y=
+github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
+github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
+github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
+github.com/monochromegane/conflag v0.0.0-20151130130520-6d68c9aa4183 h1:qiYr4zwNwHMPoaW4TF+h0ceJz5yKh4M4TSn9oXp8wpk=
+github.com/monochromegane/conflag v0.0.0-20151130130520-6d68c9aa4183/go.mod h1:f2UvyfKK/li28p14QMUetMUN5wkePmmqIJjCKS+P5XA=
+github.com/pocke/go-iprange v0.0.0-20150823054938-08fbe355c365 h1:vY685Z2t4tEzs5f7xQBNIReyXvCSOea2KF9gmntrVKU=
+github.com/pocke/go-iprange v0.0.0-20150823054938-08fbe355c365/go.mod h1:NY18No2zF/F64kyrSB8NJ4efzX1nb9A8WmWtMMkx3Ho=
+github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 h1:JIAuq3EEf9cgbU6AtGPK4CTG3Zf6CKMNqf0MHTggAUA=
+github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966/go.mod h1:sUM3LWHvSMaG192sy56D9F7CNvL7jUJVXoqM1QKLnog=
+golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6 h1:foEbQz/B0Oz6YIqu/69kfXPYeFQAuuMYFkjaqXzl5Wo=
+golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
+gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
+PROGRAMGYM_GO_SUM_EOF
+PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY="${GOPROXY:-direct}"
+PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
+case "$PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY" in
+ *"|"*|*","*)
+ PROGRAMGYM_INTERNAL_GO_FIRST_PROXY="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY%%[,|]*}"
+ PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY#*[,|]}"
+ if [[ "$PROGRAMGYM_INTERNAL_GO_FIRST_PROXY" =~ [^[:space:]] ]] && [[ "$PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER" =~ [^[:space:]] ]]; then
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY="${PROGRAMGYM_GO_PUBLIC_FALLBACK_PROXY:-${PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER}}"
+ fi
+ ;;
+esac
+if ! [[ "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" =~ [^[:space:]] ]]; then
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
+fi
+cat > /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py <<'PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF'
+import os
+import signal
+import subprocess
+import sys
+import time
+
+sentinel_path, timeout_text, grace_text, proxy, *command = sys.argv[1:]
+if not command:
+ raise SystemExit(125)
+environment = os.environ.copy()
+environment["GOPROXY"] = proxy
+process = subprocess.Popen(command, env=environment, start_new_session=True)
+try:
+ returncode = process.wait(timeout=float(timeout_text))
+except subprocess.TimeoutExpired:
+ with open(sentinel_path, "w", encoding="utf-8") as sentinel:
+ sentinel.write("expired\n")
+ try:
+ os.killpg(process.pid, signal.SIGTERM)
+ except ProcessLookupError:
+ pass
+ deadline = time.monotonic() + float(grace_text)
+ group_alive = True
+ while time.monotonic() < deadline:
+ process.poll()
+ try:
+ os.killpg(process.pid, 0)
+ except ProcessLookupError:
+ group_alive = False
+ break
+ time.sleep(0.05)
+ if group_alive:
+ try:
+ os.killpg(process.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ process.wait()
+ raise SystemExit(124)
+if returncode < 0:
+ returncode = 128 - returncode
+raise SystemExit(returncode)
+PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF
+PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS="${PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS:-90}"
+if ! [[ "$PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS" =~ ^[1-9][0-9]*$ ]]; then
+ printf '%s\n' "download.sh: invalid PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS=${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}" >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if ! command -v python3 >/dev/null 2>&1; then
+ printf '%s\n' 'download.sh: python3 is required for bounded Nexus Go downloads' >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+_programgym_go_with_nexus_timeout() {
+ local programgym_go_rc
+ local programgym_go_timeout_sentinel
+ if ! programgym_go_timeout_sentinel="$(mktemp "${TMPDIR:-/tmp}/programgym-go-timeout.XXXXXX")"; then
+ return 1
+ fi
+ 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
+ programgym_go_rc=0
+ else
+ programgym_go_rc=$?
+ fi
+ if [ ! -s "$programgym_go_timeout_sentinel" ]; then
+ rm -f "$programgym_go_timeout_sentinel"
+ return "$programgym_go_rc"
+ fi
+ rm -f "$programgym_go_timeout_sentinel"
+ if [ -z "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" ]; then
+ printf '%s\n' "download.sh: primary Go request exceeded ${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}s; GOPROXY has no explicit non-empty fallback remainder" >&2
+ return "$programgym_go_rc"
+ fi
+ printf '%s\n' "download.sh: Nexus-first Go request exceeded ${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}s; retrying with GOPROXY=${PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY}" >&2
+ env GOPROXY="$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" "$@"
+}
+PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
+if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && _programgym_go_with_nexus_timeout env GOTOOLCHAIN=auto go env GOROOT)"; then
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+else
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
+fi
+export PATH="$GOROOT/bin:$PATH"
+export GOTOOLCHAIN=local
+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
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+unset -f _programgym_go_with_nexus_timeout
+unset PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY
+unset PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY
+unset PROGRAMGYM_INTERNAL_GO_FIRST_PROXY
+unset PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER
+unset PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS
diff --git a/lemonade-command--lemonade.fb41f/environment/executable b/lemonade-command--lemonade.fb41f/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..869ab6a4a52ff101d9de4a72455e65d10ea20bcf
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/environment/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:661b172aca0327257836269c0d6bbc19e9314cf5201b08fe3e4f1fcc45fa7c66
+size 12843148
diff --git a/lemonade-command--lemonade.fb41f/environment/harbor_prepare_download_env.sh b/lemonade-command--lemonade.fb41f/environment/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..2c7dd2f2b8fff5fb8926261279d38518e59e407c
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/environment/harbor_prepare_download_env.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+set -euo pipefail
+cd /workspace
+set -a
+source /workspace/download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/lemonade-command--lemonade.fb41f/environment/programgym-go.tar.gz b/lemonade-command--lemonade.fb41f/environment/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/environment/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/lemonade-command--lemonade.fb41f/environment/workspace.tar.gz b/lemonade-command--lemonade.fb41f/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..b4f8b205934e9f3d28ea954e8b9059f935f4fcac
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cc2de3e0c17348ea62632d9b98bd2821367861148165a209ad8c69ca6862c3d5
+size 3380
diff --git a/lemonade-command--lemonade.fb41f/instruction.md b/lemonade-command--lemonade.fb41f/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/lemonade-command--lemonade.fb41f/solution/solve.sh b/lemonade-command--lemonade.fb41f/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/lemonade-command--lemonade.fb41f/task.toml b/lemonade-command--lemonade.fb41f/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..3f4151baa66c241cd5aa614757ef8ead13b73686
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/lemonade-command--lemonade.fb41f"
+description = "Synthetic ProgramGym cleanroom reconstruction task for lemonade-command/lemonade"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "go"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "lemonade-command__lemonade.fb41f18"
+repository = "lemonade-command/lemonade"
+commit = "fb41f181e2f0e5261c69800978caa13f55b799a9"
+language = "go"
+difficulty = "easy"
+difficulty_score = 1.827433895400779
+test_branches = 4
+test_count = 338
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/lemonade-command--lemonade.fb41f/tests/Dockerfile b/lemonade-command--lemonade.fb41f/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..18982f72e90272de65d43f035f12bce826cee126
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/tests/Dockerfile
@@ -0,0 +1,73 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /workspace/download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# programgym-runtime-workspace-cleanup: v1
+RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN python3 -m pip install --break-system-packages \
+ --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/lemonade-command--lemonade.fb41f/tests/blobs/tests/generated_module_01.tar.gz b/lemonade-command--lemonade.fb41f/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..d7a9baf2ec6d36252790a31fe39bb64bb03b3244
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bf1051d98ab80fdc5cf1a1721309e195605f3cba7bf49821a4ac036475c7ee14
+size 13826
diff --git a/lemonade-command--lemonade.fb41f/tests/blobs/tests/generated_module_02.tar.gz b/lemonade-command--lemonade.fb41f/tests/blobs/tests/generated_module_02.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..ac08495390fb3f8f67ea448b5b89bbeaa89bf25c
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/tests/blobs/tests/generated_module_02.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:43a1a0225081082becf54ca41631e7cae68195269ef674a51914c233e9b92194
+size 11153
diff --git a/lemonade-command--lemonade.fb41f/tests/blobs/tests/generated_module_03.tar.gz b/lemonade-command--lemonade.fb41f/tests/blobs/tests/generated_module_03.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..9b70921ed60286087c8cea03e50483f4790cb019
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/tests/blobs/tests/generated_module_03.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6e60de7a2ecde4c58c690b8e72e52f1286a9432873592c8c116c444beadc2965
+size 8167
diff --git a/lemonade-command--lemonade.fb41f/tests/blobs/tests/generated_module_04.tar.gz b/lemonade-command--lemonade.fb41f/tests/blobs/tests/generated_module_04.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..66b50ae084a1d2899b8949b1c59a518b30b7e302
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/tests/blobs/tests/generated_module_04.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:10ac2ef8f0691036a85ecac911dceed454131e5ad2dbc287b7b3217f7bd8d072
+size 8599
diff --git a/lemonade-command--lemonade.fb41f/tests/download.sh b/lemonade-command--lemonade.fb41f/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..c852ee12b4c3600353ada90a92a68f79323c7154
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/tests/download.sh
@@ -0,0 +1,188 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
+# Generated deterministically from repository module metadata; do not edit.
+set -u
+export GOTOOLCHAIN=auto
+mkdir -p /workspace/.programgym_build_env/go-prefetch
+cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
+module github.com/lemonade-command/lemonade
+
+go 1.16
+
+require (
+ github.com/BurntSushi/toml v1.0.0 // indirect
+ github.com/atotto/clipboard v0.1.4
+ github.com/go-stack/stack v1.8.1 // indirect
+ github.com/inconshreveable/log15 v0.0.0-20201112154412-8562bdadbbac
+ github.com/mattn/go-colorable v0.1.12 // indirect
+ github.com/mitchellh/go-homedir v1.1.0
+ github.com/monochromegane/conflag v0.0.0-20151130130520-6d68c9aa4183
+ github.com/pocke/go-iprange v0.0.0-20150823054938-08fbe355c365
+ github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
+ gopkg.in/yaml.v2 v2.4.0 // indirect
+)
+PROGRAMGYM_GO_MOD_EOF
+cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
+github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU=
+github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
+github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4=
+github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI=
+github.com/go-stack/stack v1.8.1 h1:ntEHSVwIt7PNXNpgPmVfMrNhLtgjlmnZha2kOpuRiDw=
+github.com/go-stack/stack v1.8.1/go.mod h1:dcoOX6HbPZSZptuspn9bctJ+N/CnF5gGygcUP3XYfe4=
+github.com/inconshreveable/log15 v0.0.0-20201112154412-8562bdadbbac h1:n1DqxAo4oWPMvH1+v+DLYlMCecgumhhgnxAPdqDIFHI=
+github.com/inconshreveable/log15 v0.0.0-20201112154412-8562bdadbbac/go.mod h1:cOaXtrgN4ScfRrD9Bre7U1thNq5RtJ8ZoP4iXVGRj6o=
+github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40=
+github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
+github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y=
+github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
+github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
+github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
+github.com/monochromegane/conflag v0.0.0-20151130130520-6d68c9aa4183 h1:qiYr4zwNwHMPoaW4TF+h0ceJz5yKh4M4TSn9oXp8wpk=
+github.com/monochromegane/conflag v0.0.0-20151130130520-6d68c9aa4183/go.mod h1:f2UvyfKK/li28p14QMUetMUN5wkePmmqIJjCKS+P5XA=
+github.com/pocke/go-iprange v0.0.0-20150823054938-08fbe355c365 h1:vY685Z2t4tEzs5f7xQBNIReyXvCSOea2KF9gmntrVKU=
+github.com/pocke/go-iprange v0.0.0-20150823054938-08fbe355c365/go.mod h1:NY18No2zF/F64kyrSB8NJ4efzX1nb9A8WmWtMMkx3Ho=
+github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 h1:JIAuq3EEf9cgbU6AtGPK4CTG3Zf6CKMNqf0MHTggAUA=
+github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966/go.mod h1:sUM3LWHvSMaG192sy56D9F7CNvL7jUJVXoqM1QKLnog=
+golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6 h1:foEbQz/B0Oz6YIqu/69kfXPYeFQAuuMYFkjaqXzl5Wo=
+golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
+gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
+PROGRAMGYM_GO_SUM_EOF
+PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY="${GOPROXY:-direct}"
+PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
+case "$PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY" in
+ *"|"*|*","*)
+ PROGRAMGYM_INTERNAL_GO_FIRST_PROXY="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY%%[,|]*}"
+ PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY#*[,|]}"
+ if [[ "$PROGRAMGYM_INTERNAL_GO_FIRST_PROXY" =~ [^[:space:]] ]] && [[ "$PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER" =~ [^[:space:]] ]]; then
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY="${PROGRAMGYM_GO_PUBLIC_FALLBACK_PROXY:-${PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER}}"
+ fi
+ ;;
+esac
+if ! [[ "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" =~ [^[:space:]] ]]; then
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
+fi
+cat > /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py <<'PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF'
+import os
+import signal
+import subprocess
+import sys
+import time
+
+sentinel_path, timeout_text, grace_text, proxy, *command = sys.argv[1:]
+if not command:
+ raise SystemExit(125)
+environment = os.environ.copy()
+environment["GOPROXY"] = proxy
+process = subprocess.Popen(command, env=environment, start_new_session=True)
+try:
+ returncode = process.wait(timeout=float(timeout_text))
+except subprocess.TimeoutExpired:
+ with open(sentinel_path, "w", encoding="utf-8") as sentinel:
+ sentinel.write("expired\n")
+ try:
+ os.killpg(process.pid, signal.SIGTERM)
+ except ProcessLookupError:
+ pass
+ deadline = time.monotonic() + float(grace_text)
+ group_alive = True
+ while time.monotonic() < deadline:
+ process.poll()
+ try:
+ os.killpg(process.pid, 0)
+ except ProcessLookupError:
+ group_alive = False
+ break
+ time.sleep(0.05)
+ if group_alive:
+ try:
+ os.killpg(process.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ process.wait()
+ raise SystemExit(124)
+if returncode < 0:
+ returncode = 128 - returncode
+raise SystemExit(returncode)
+PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF
+PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS="${PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS:-90}"
+if ! [[ "$PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS" =~ ^[1-9][0-9]*$ ]]; then
+ printf '%s\n' "download.sh: invalid PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS=${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}" >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if ! command -v python3 >/dev/null 2>&1; then
+ printf '%s\n' 'download.sh: python3 is required for bounded Nexus Go downloads' >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+_programgym_go_with_nexus_timeout() {
+ local programgym_go_rc
+ local programgym_go_timeout_sentinel
+ if ! programgym_go_timeout_sentinel="$(mktemp "${TMPDIR:-/tmp}/programgym-go-timeout.XXXXXX")"; then
+ return 1
+ fi
+ 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
+ programgym_go_rc=0
+ else
+ programgym_go_rc=$?
+ fi
+ if [ ! -s "$programgym_go_timeout_sentinel" ]; then
+ rm -f "$programgym_go_timeout_sentinel"
+ return "$programgym_go_rc"
+ fi
+ rm -f "$programgym_go_timeout_sentinel"
+ if [ -z "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" ]; then
+ printf '%s\n' "download.sh: primary Go request exceeded ${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}s; GOPROXY has no explicit non-empty fallback remainder" >&2
+ return "$programgym_go_rc"
+ fi
+ printf '%s\n' "download.sh: Nexus-first Go request exceeded ${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}s; retrying with GOPROXY=${PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY}" >&2
+ env GOPROXY="$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" "$@"
+}
+PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
+if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && _programgym_go_with_nexus_timeout env GOTOOLCHAIN=auto go env GOROOT)"; then
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+else
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
+fi
+export PATH="$GOROOT/bin:$PATH"
+export GOTOOLCHAIN=local
+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
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+unset -f _programgym_go_with_nexus_timeout
+unset PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY
+unset PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY
+unset PROGRAMGYM_INTERNAL_GO_FIRST_PROXY
+unset PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER
+unset PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS
diff --git a/lemonade-command--lemonade.fb41f/tests/executable b/lemonade-command--lemonade.fb41f/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..869ab6a4a52ff101d9de4a72455e65d10ea20bcf
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/tests/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:661b172aca0327257836269c0d6bbc19e9314cf5201b08fe3e4f1fcc45fa7c66
+size 12843148
diff --git a/lemonade-command--lemonade.fb41f/tests/harbor_prepare_download_env.sh b/lemonade-command--lemonade.fb41f/tests/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..2c7dd2f2b8fff5fb8926261279d38518e59e407c
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/tests/harbor_prepare_download_env.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+set -euo pipefail
+cd /workspace
+set -a
+source /workspace/download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/lemonade-command--lemonade.fb41f/tests/programgym-go.tar.gz b/lemonade-command--lemonade.fb41f/tests/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/tests/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/lemonade-command--lemonade.fb41f/tests/programgym_evaluator.py b/lemonade-command--lemonade.fb41f/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/lemonade-command--lemonade.fb41f/tests/programgym_task.json b/lemonade-command--lemonade.fb41f/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..4842348a761f1176cebf2a981e7c24ba91a0b95a
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/tests/programgym_task.json
@@ -0,0 +1,444 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_config_loading.test_config_does_not_retarget_rpc_host",
+ "eval.tests.test_config_loading.test_config_file_present_does_not_break_help[line-ending = \"crlf\"\\n]",
+ "eval.tests.test_config_loading.test_config_file_present_does_not_break_help[port = 7000\\n]",
+ "eval.tests.test_config_loading.test_config_file_present_does_not_break_help[port = 7000\\nhost = \"remote.example\"\\n]",
+ "eval.tests.test_config_loading.test_config_ignored_when_arg_parse_succeeds_with_refline_ending",
+ "eval.tests.test_config_loading.test_malformed_config_is_tolerated",
+ "eval.tests.test_config_loading.test_missing_config_behaves_like_present",
+ "eval.tests.test_flag_parse_errors.test_flag_error_diagnostic_emitted_on_stderr[args0--bogus-flag]",
+ "eval.tests.test_flag_parse_errors.test_flag_error_diagnostic_emitted_on_stderr[args1--port]",
+ "eval.tests.test_flag_parse_errors.test_flag_error_message_repeated_by_writer",
+ "eval.tests.test_flag_parse_errors.test_flag_error_with_flags_before_subcommand",
+ "eval.tests.test_flag_parse_errors.test_flag_parse_errors[args0-flag provided but not defined: -bogus-flag]",
+ "eval.tests.test_flag_parse_errors.test_flag_parse_errors[args1-flag provided but not defined: -x]",
+ "eval.tests.test_flag_parse_errors.test_flag_parse_errors[args10-invalid value \"x\" for flag -log-level: parse error]",
+ "eval.tests.test_flag_parse_errors.test_flag_parse_errors[args11-invalid boolean value \"notabool\" for -trans-loopback: parse error]",
+ "eval.tests.test_flag_parse_errors.test_flag_parse_errors[args12-invalid boolean value \"maybe\" for -trans-localfile: parse error]",
+ "eval.tests.test_flag_parse_errors.test_flag_parse_errors[args13-invalid boolean value \"no\" for -no-fallback-messages: parse error]",
+ "eval.tests.test_flag_parse_errors.test_flag_parse_errors[args14-invalid value \"xyz\" for flag -rpc-timeout: parse error]",
+ "eval.tests.test_flag_parse_errors.test_flag_parse_errors[args15-invalid value \"1.5x\" for flag -rpc-timeout: parse error]",
+ "eval.tests.test_flag_parse_errors.test_flag_parse_errors[args2-flag provided but not defined: -no-such-opt]",
+ "eval.tests.test_flag_parse_errors.test_flag_parse_errors[args3-flag needs an argument: -port]",
+ "eval.tests.test_flag_parse_errors.test_flag_parse_errors[args4-flag needs an argument: -host]",
+ "eval.tests.test_flag_parse_errors.test_flag_parse_errors[args5-flag needs an argument: -allow]",
+ "eval.tests.test_flag_parse_errors.test_flag_parse_errors[args6-flag needs an argument: -rpc-timeout]",
+ "eval.tests.test_flag_parse_errors.test_flag_parse_errors[args7-invalid value \"abc\" for flag -port: parse error]",
+ "eval.tests.test_flag_parse_errors.test_flag_parse_errors[args8-invalid value \"99999999999999999999\" for flag -port: value out of range]",
+ "eval.tests.test_flag_parse_errors.test_flag_parse_errors[args9-invalid value \"12abc\" for flag -port: parse error]",
+ "eval.tests.test_flag_value_parsing.test_allow_flag_accepts_cidr_range[0.0.0.0/0]",
+ "eval.tests.test_flag_value_parsing.test_allow_flag_accepts_cidr_range[10.0.0.0/8]",
+ "eval.tests.test_flag_value_parsing.test_allow_flag_accepts_cidr_range[192.168.0.0/24]",
+ "eval.tests.test_flag_value_parsing.test_bool_flags_parse_without_error[args0]",
+ "eval.tests.test_flag_value_parsing.test_bool_flags_parse_without_error[args1]",
+ "eval.tests.test_flag_value_parsing.test_bool_flags_parse_without_error[args2]",
+ "eval.tests.test_flag_value_parsing.test_duplicate_port_flag_last_wins",
+ "eval.tests.test_flag_value_parsing.test_host_and_port_combined",
+ "eval.tests.test_flag_value_parsing.test_host_flag_controls_dial_host",
+ "eval.tests.test_flag_value_parsing.test_line_ending_flag_accepted[CRLF]",
+ "eval.tests.test_flag_value_parsing.test_line_ending_flag_accepted[]",
+ "eval.tests.test_flag_value_parsing.test_line_ending_flag_accepted[bogus]",
+ "eval.tests.test_flag_value_parsing.test_line_ending_flag_accepted[crlf]",
+ "eval.tests.test_flag_value_parsing.test_line_ending_flag_accepted[lf]",
+ "eval.tests.test_flag_value_parsing.test_log_level_flag_accepts_any_int[0-True]",
+ "eval.tests.test_flag_value_parsing.test_log_level_flag_accepts_any_int[1-True]",
+ "eval.tests.test_flag_value_parsing.test_log_level_flag_accepts_any_int[3-True]",
+ "eval.tests.test_flag_value_parsing.test_log_level_flag_accepts_any_int[4-False]",
+ "eval.tests.test_flag_value_parsing.test_log_level_flag_accepts_any_int[5-False]",
+ "eval.tests.test_flag_value_parsing.test_log_level_flag_accepts_any_int[99-False]",
+ "eval.tests.test_flag_value_parsing.test_loopback_host_flag",
+ "eval.tests.test_flag_value_parsing.test_no_fallback_messages_flag_accepted",
+ "eval.tests.test_flag_value_parsing.test_port_flag_controls_dial_destination[0-0]",
+ "eval.tests.test_flag_value_parsing.test_port_flag_controls_dial_destination[1124-1124]",
+ "eval.tests.test_flag_value_parsing.test_port_flag_controls_dial_destination[5000-5000]",
+ "eval.tests.test_flag_value_parsing.test_port_flag_equal_form",
+ "eval.tests.test_flag_value_parsing.test_rpc_timeout_flag_accepts_durations[1s]",
+ "eval.tests.test_flag_value_parsing.test_rpc_timeout_flag_accepts_durations[2m]",
+ "eval.tests.test_flag_value_parsing.test_rpc_timeout_flag_accepts_durations[500ms]",
+ "eval.tests.test_help_usage.test_bare_help_forms_are_rejected[--help]",
+ "eval.tests.test_help_usage.test_bare_help_forms_are_rejected[-h]",
+ "eval.tests.test_help_usage.test_help_after_subcommand_with_options",
+ "eval.tests.test_help_usage.test_help_flag_only_without_subcommand_is_unknown",
+ "eval.tests.test_help_usage.test_subcommand_help_returns_help_exit[copy]",
+ "eval.tests.test_help_usage.test_subcommand_help_returns_help_exit[open]",
+ "eval.tests.test_help_usage.test_subcommand_help_returns_help_exit[paste]",
+ "eval.tests.test_help_usage.test_subcommand_help_returns_help_exit[server]",
+ "eval.tests.test_help_usage.test_summary_default_message_documented",
+ "eval.tests.test_help_usage.test_usage_printed_to_stderr_not_stdout",
+ "eval.tests.test_help_usage.test_usage_text_contains_usage_markers[--allow=\"0.0.0.0/0,::/0\" Allow IP Range [Server only]]",
+ "eval.tests.test_help_usage.test_usage_text_contains_usage_markers[--help Show this message]",
+ "eval.tests.test_help_usage.test_usage_text_contains_usage_markers[--host=\"localhost\" Destination hostname [Client only]]",
+ "eval.tests.test_help_usage.test_usage_text_contains_usage_markers[--log-level=1 Log level [4 = Critical, 0 = Debug]]",
+ "eval.tests.test_help_usage.test_usage_text_contains_usage_markers[--port=2489 TCP port number]",
+ "eval.tests.test_help_usage.test_usage_text_contains_usage_markers[--trans-localfile=true Translate local file path [open subcommand only]]",
+ "eval.tests.test_help_usage.test_usage_text_contains_usage_markers[--trans-loopback=true Translate loopback address [open subcommand only]]",
+ "eval.tests.test_help_usage.test_usage_text_contains_usage_markers[Options:]",
+ "eval.tests.test_help_usage.test_usage_text_contains_usage_markers[Sub Commands:]",
+ "eval.tests.test_help_usage.test_usage_text_contains_usage_markers[Usage: lemonade [options]... SUB_COMMAND [arg]]",
+ "eval.tests.test_help_usage.test_usage_text_contains_usage_markers[Version:]",
+ "eval.tests.test_help_usage.test_usage_text_contains_usage_markers[copy [text] Copy text.]",
+ "eval.tests.test_help_usage.test_usage_text_contains_usage_markers[open [URL] Open URL by browser]",
+ "eval.tests.test_help_usage.test_usage_text_contains_usage_markers[paste Paste text.]",
+ "eval.tests.test_help_usage.test_usage_text_contains_usage_markers[server Start lemonade server.]",
+ "eval.tests.test_io_datasource.test_copy_positional_datasource",
+ "eval.tests.test_io_datasource.test_copy_stdin_datasource_parses[]",
+ "eval.tests.test_io_datasource.test_copy_stdin_datasource_parses[copy me]",
+ "eval.tests.test_io_datasource.test_copy_stdin_datasource_parses[payload-one]",
+ "eval.tests.test_io_datasource.test_open_empty_stdin_datasource",
+ "eval.tests.test_io_datasource.test_open_positional_datasource[http://example.com-Opening http://example.com]",
+ "eval.tests.test_io_datasource.test_open_positional_datasource[https://a/b?c=d&e=f-Opening https://a/b?c=d&e=f]",
+ "eval.tests.test_io_datasource.test_open_positional_datasource[localhost:9999-Opening localhost:9999]",
+ "eval.tests.test_io_datasource.test_open_positional_wins_over_stdin",
+ "eval.tests.test_io_datasource.test_open_reads_stdin_datasource[The quick brown fox]",
+ "eval.tests.test_io_datasource.test_open_reads_stdin_datasource[caf\\xe9 \\u2615 \\u65e5\\u672c\\u8a9e]",
+ "eval.tests.test_io_datasource.test_open_reads_stdin_datasource[https://example.com/page]",
+ "eval.tests.test_io_datasource.test_open_reads_stdin_datasource[singleword]",
+ "eval.tests.test_io_datasource.test_open_reads_stdin_datasource[with-tab-and-spaces here]",
+ "eval.tests.test_io_datasource.test_paste_does_not_block_on_stdin",
+ "eval.tests.test_io_datasource.test_unicode_stdin_datasource_preserved",
+ "eval.tests.test_line_ending_conversion_server.test_server_copy_bogus_line_ending_default_branch",
+ "eval.tests.test_line_ending_conversion_server.test_server_copy_hits_line_ending_branch[CRLF-crlf/CRLF-branch lines 37-40]",
+ "eval.tests.test_line_ending_conversion_server.test_server_copy_hits_line_ending_branch[LF-lf/LF-branch lines 34-36]",
+ "eval.tests.test_line_ending_conversion_server.test_server_copy_hits_line_ending_branch[crlf-crlf-branch lines 37-40]",
+ "eval.tests.test_line_ending_conversion_server.test_server_copy_hits_line_ending_branch[lf-lf-branch lines 34-36]",
+ "eval.tests.test_line_ending_conversion_server.test_server_copy_line_ending_mixed_crlf_text",
+ "eval.tests.test_rpc_failure_paths.test_allow_flag_does_not_change_client_failure",
+ "eval.tests.test_rpc_failure_paths.test_no_server_rpc_error_exit_and_diagnostic[args0-xdg-open]",
+ "eval.tests.test_rpc_failure_paths.test_no_server_rpc_error_exit_and_diagnostic[args1-clipboard]",
+ "eval.tests.test_rpc_failure_paths.test_no_server_rpc_error_exit_and_diagnostic[args2-clipboard]",
+ "eval.tests.test_rpc_failure_paths.test_open_rpc_error_writes_error_to_stderr",
+ "eval.tests.test_rpc_failure_paths.test_rpc_error_is_not_flag_parse_error",
+ "eval.tests.test_rpc_failure_paths.test_short_rpc_timeout_still_returns_rpc_error",
+ "eval.tests.test_subcommand_dispatch.test_alias_copy_with_arg",
+ "eval.tests.test_subcommand_dispatch.test_alias_dispatch_via_symlink[pbcopy-clipboard]",
+ "eval.tests.test_subcommand_dispatch.test_alias_dispatch_via_symlink[pbpaste-clipboard]",
+ "eval.tests.test_subcommand_dispatch.test_alias_dispatch_via_symlink[xdg-open-xdg-open]",
+ "eval.tests.test_subcommand_dispatch.test_alias_open_with_arg",
+ "eval.tests.test_subcommand_dispatch.test_alias_path_prefixed_open",
+ "eval.tests.test_subcommand_dispatch.test_alias_unknown_name_is_subcommand_error",
+ "eval.tests.test_subcommand_dispatch.test_server_subcommand_dispatch_via_help",
+ "eval.tests.test_subcommand_dispatch.test_subcommand_word_nested_position",
+ "eval.tests.test_subcommand_dispatch.test_unknown_subcommand_rejected[cp]",
+ "eval.tests.test_subcommand_dispatch.test_unknown_subcommand_rejected[foo]",
+ "eval.tests.test_subcommand_dispatch.test_unknown_subcommand_rejected[openx]",
+ "eval.tests.test_subcommand_dispatch.test_unknown_subcommand_rejected[opn]",
+ "eval.tests.test_subcommand_dispatch.test_unknown_subcommand_rejected[pastey]",
+ "eval.tests.test_subcommand_dispatch.test_unknown_subcommand_rejected[serv]",
+ "eval.tests.test_subcommand_dispatch.test_unknown_subcommand_rejected[serverx]",
+ "eval.tests.test_subcommand_dispatch.test_unknown_word_after_valid_flag[cp]",
+ "eval.tests.test_subcommand_dispatch.test_unknown_word_after_valid_flag[foo]",
+ "eval.tests.test_subcommand_dispatch.test_unknown_word_after_valid_flag[openx]",
+ "eval.tests.test_subcommand_dispatch.test_unknown_word_after_valid_flag[opn]",
+ "eval.tests.test_subcommand_dispatch.test_unknown_word_after_valid_flag[pastey]",
+ "eval.tests.test_subcommand_dispatch.test_unknown_word_after_valid_flag[serv]",
+ "eval.tests.test_subcommand_dispatch.test_unknown_word_after_valid_flag[serverx]",
+ "eval.tests.test_subcommand_dispatch.test_valid_subcommand_dispatch_reaches_rpc[copy]",
+ "eval.tests.test_subcommand_dispatch.test_valid_subcommand_dispatch_reaches_rpc[open]",
+ "eval.tests.test_subcommand_dispatch.test_valid_subcommand_dispatch_reaches_rpc[paste]"
+ ]
+ },
+ "generated_module_02": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_client_datasource.test_copy_debug_line_ignores_log_level_1_default[empty]",
+ "eval.tests.test_client_datasource.test_copy_debug_line_ignores_log_level_1_default[single]",
+ "eval.tests.test_client_datasource.test_copy_debug_line_ignores_log_level_1_default[spaced]",
+ "eval.tests.test_client_datasource.test_copy_empty_data_source_sends_empty_payload",
+ "eval.tests.test_client_datasource.test_copy_newline_through_stdin_preserved_without_pathological_trim",
+ "eval.tests.test_client_datasource.test_copy_positional_arg_is_the_data_source[plain]",
+ "eval.tests.test_client_datasource.test_copy_positional_arg_is_the_data_source[spaces]",
+ "eval.tests.test_client_datasource.test_copy_positional_arg_is_the_data_source[trailing_space]",
+ "eval.tests.test_client_datasource.test_copy_positional_arg_is_the_data_source[unicode]",
+ "eval.tests.test_client_datasource.test_copy_positional_arg_precedes_stdin",
+ "eval.tests.test_client_datasource.test_copy_specialchar_payloads_sent_as_received",
+ "eval.tests.test_client_datasource.test_copy_stdin_is_used_when_no_argument_given",
+ "eval.tests.test_client_datasource.test_open_from_stdin_uses_stdin_uri",
+ "eval.tests.test_client_datasource.test_open_positional_uri_wins_over_stdin",
+ "eval.tests.test_client_fallback.test_copy_default_host_dials_ipv6_loopback",
+ "eval.tests.test_client_fallback.test_copy_explicit_ipv4_host_dials_ipv4_loopback",
+ "eval.tests.test_client_fallback.test_copy_fallback_dial_message_names_port_2489",
+ "eval.tests.test_client_fallback.test_copy_fallback_reports_dial_failure_and_clipboard_error[newlines]",
+ "eval.tests.test_client_fallback.test_copy_fallback_reports_dial_failure_and_clipboard_error[plain]",
+ "eval.tests.test_client_fallback.test_copy_fallback_reports_dial_failure_and_clipboard_error[spaces]",
+ "eval.tests.test_client_fallback.test_copy_fallback_reports_dial_failure_and_clipboard_error[tabs]",
+ "eval.tests.test_client_fallback.test_copy_fallback_reports_dial_failure_and_clipboard_error[unicode]",
+ "eval.tests.test_client_fallback.test_custom_port_refused_then_fallback",
+ "eval.tests.test_client_fallback.test_no_fallback_messages_suppresses_fallback_copy",
+ "eval.tests.test_client_fallback.test_open_accepts_nondefault_line_ending_flag",
+ "eval.tests.test_client_fallback.test_open_empty_stdin_source_opens_empty_uri",
+ "eval.tests.test_client_fallback.test_open_fallback_logs_uri_and_browser_failure[ftp]",
+ "eval.tests.test_client_fallback.test_open_fallback_logs_uri_and_browser_failure[http]",
+ "eval.tests.test_client_fallback.test_open_fallback_logs_uri_and_browser_failure[https_loopback_port]",
+ "eval.tests.test_client_fallback.test_open_missing_browser_name_xdg_open",
+ "eval.tests.test_client_fallback.test_open_nonexistent_local_file_passed_through",
+ "eval.tests.test_client_fallback.test_open_trans_localfile_false_passes_raw_path",
+ "eval.tests.test_client_fallback.test_open_trans_localfile_true_serves_local_file",
+ "eval.tests.test_client_fallback.test_paste_fallback_outputs_no_text_and_errors",
+ "eval.tests.test_client_fallback.test_paste_ignores_positional_argument",
+ "eval.tests.test_client_fallback.test_paste_no_fallback_messages",
+ "eval.tests.test_client_fallback.test_unroutable_host_bounded_then_fallback",
+ "eval.tests.test_client_flags.test_global_flags_before_subcommand_accepted",
+ "eval.tests.test_client_flags.test_help_with_other_flags_short_circuits[copy_help_loglevel]",
+ "eval.tests.test_client_flags.test_help_with_other_flags_short_circuits[copy_nofallback_help]",
+ "eval.tests.test_client_flags.test_help_with_other_flags_short_circuits[open_transloopback_help]",
+ "eval.tests.test_client_flags.test_help_with_other_flags_short_circuits[paste_lineending_help]",
+ "eval.tests.test_client_flags.test_line_ending_flag_accepted_across_subcommands[copy-CRLF-No clipboard utilities available]",
+ "eval.tests.test_client_flags.test_line_ending_flag_accepted_across_subcommands[copy-crlf-No clipboard utilities available]",
+ "eval.tests.test_client_flags.test_line_ending_flag_accepted_across_subcommands[copy-lf-No clipboard utilities available]",
+ "eval.tests.test_client_flags.test_line_ending_flag_accepted_across_subcommands[copy-weird-No clipboard utilities available]",
+ "eval.tests.test_client_flags.test_line_ending_flag_accepted_across_subcommands[open-CRLF-xdg-open]",
+ "eval.tests.test_client_flags.test_line_ending_flag_accepted_across_subcommands[open-crlf-xdg-open]",
+ "eval.tests.test_client_flags.test_line_ending_flag_accepted_across_subcommands[open-lf-xdg-open]",
+ "eval.tests.test_client_flags.test_line_ending_flag_accepted_across_subcommands[open-weird-xdg-open]",
+ "eval.tests.test_client_flags.test_line_ending_flag_accepted_across_subcommands[paste-CRLF-No clipboard utilities available]",
+ "eval.tests.test_client_flags.test_line_ending_flag_accepted_across_subcommands[paste-crlf-No clipboard utilities available]",
+ "eval.tests.test_client_flags.test_line_ending_flag_accepted_across_subcommands[paste-lf-No clipboard utilities available]",
+ "eval.tests.test_client_flags.test_line_ending_flag_accepted_across_subcommands[paste-weird-No clipboard utilities available]",
+ "eval.tests.test_client_flags.test_log_level_4_crit_suppresses_all_stdout_logs",
+ "eval.tests.test_client_flags.test_port_zero_is_accepted_and_dials_loopback",
+ "eval.tests.test_client_flags.test_rpc_timeout_malformed_is_flag_parse_error[empty]",
+ "eval.tests.test_client_flags.test_rpc_timeout_malformed_is_flag_parse_error[letters]",
+ "eval.tests.test_client_flags.test_rpc_timeout_malformed_is_flag_parse_error[no_unit]",
+ "eval.tests.test_client_flags.test_rpc_timeout_valid_duration_parses[half_sec]",
+ "eval.tests.test_client_flags.test_rpc_timeout_valid_duration_parses[minute_thirty]",
+ "eval.tests.test_client_flags.test_rpc_timeout_valid_duration_parses[two_sec]",
+ "eval.tests.test_client_flags.test_rpc_timeout_valid_duration_parses[zero]",
+ "eval.tests.test_client_flags.test_trans_loopback_false_with_translocalfile_served",
+ "eval.tests.test_client_server.test_client_honors_remote_port_connection",
+ "eval.tests.test_client_server.test_copy_connects_directly_and_does_not_fall_back",
+ "eval.tests.test_client_server.test_open_connects_directly_and_dispatches_to_remote",
+ "eval.tests.test_client_server.test_open_trans_localfile_served_url_reaches_remote_without_fallback",
+ "eval.tests.test_client_server.test_paste_connects_directly_and_does_not_fall_back",
+ "eval.tests.test_client_server.test_server_help_exits_help_no_network",
+ "eval.tests.test_subcommand_dispatch.test_bare_help_flag_is_not_enough_to_select_a_command",
+ "eval.tests.test_subcommand_dispatch.test_client_subcommand_reaches_rpc_fallback[copy]",
+ "eval.tests.test_subcommand_dispatch.test_client_subcommand_reaches_rpc_fallback[open]",
+ "eval.tests.test_subcommand_dispatch.test_client_subcommand_reaches_rpc_fallback[paste]",
+ "eval.tests.test_subcommand_dispatch.test_explicit_subcommand_help_prints_usage_and_exits_help",
+ "eval.tests.test_subcommand_dispatch.test_no_subcommand_returns_flag_parse_error",
+ "eval.tests.test_subcommand_dispatch.test_pbcopy_alias_routes_to_copy",
+ "eval.tests.test_subcommand_dispatch.test_pbpaste_alias_routes_to_paste",
+ "eval.tests.test_subcommand_dispatch.test_unknown_or_malformed_flag_is_a_flag_parse_error[bad_port_value]",
+ "eval.tests.test_subcommand_dispatch.test_unknown_or_malformed_flag_is_a_flag_parse_error[bogus_long]",
+ "eval.tests.test_subcommand_dispatch.test_unknown_or_malformed_flag_is_a_flag_parse_error[bogus_short]",
+ "eval.tests.test_subcommand_dispatch.test_unknown_subcommand_returns_flag_parse_error",
+ "eval.tests.test_subcommand_dispatch.test_xdg_open_alias_routes_to_open"
+ ]
+ },
+ "generated_module_03": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_server.test_copy_against_running_server_no_fallback",
+ "eval.tests.test_server.test_copy_fallback_uses_servelocal",
+ "eval.tests.test_server.test_no_fallback_messages_suppresses_fallback_log",
+ "eval.tests.test_server.test_open_against_running_server_no_fallback",
+ "eval.tests.test_server.test_open_fallback_reaches_uri_open",
+ "eval.tests.test_server.test_open_loopback_urls_execute_loopback_translation[file://127.0.0.1/x]",
+ "eval.tests.test_server.test_open_loopback_urls_execute_loopback_translation[http://127.0.0.1/foo]",
+ "eval.tests.test_server.test_open_loopback_urls_execute_loopback_translation[http://127.0.0.1:1124/foo]",
+ "eval.tests.test_server.test_open_loopback_urls_execute_loopback_translation[http://[::1]:8080/]",
+ "eval.tests.test_server.test_open_loopback_urls_execute_loopback_translation[https://127.0.0.1]",
+ "eval.tests.test_server.test_open_non_loopback_url_skips_translation",
+ "eval.tests.test_server.test_open_trans_local_file_serves_then_translates",
+ "eval.tests.test_server.test_paste_against_running_server_no_fallback",
+ "eval.tests.test_server.test_paste_fallback_uses_servelocal",
+ "eval.tests.test_server.test_server_accept_loop_survives_various_payloads[empty]",
+ "eval.tests.test_server.test_server_accept_loop_survives_various_payloads[garbage]",
+ "eval.tests.test_server.test_server_accept_loop_survives_various_payloads[no_close]",
+ "eval.tests.test_server.test_server_accepts_rpc_after_reloading_connslot",
+ "eval.tests.test_server.test_server_bind_conflict_reports_address_in_use",
+ "eval.tests.test_server.test_server_help_exits_help_with_usage",
+ "eval.tests.test_server.test_server_invalid_allow_rejected[%%not_an_ip_range%%]",
+ "eval.tests.test_server.test_server_invalid_allow_rejected[256.0.0.1/8]",
+ "eval.tests.test_server.test_server_invalid_allow_rejected[999.999.999.999/0]",
+ "eval.tests.test_server.test_server_invalid_allow_rejected[not a cidr at all]",
+ "eval.tests.test_server.test_server_invalid_allow_reports_cidr_error",
+ "eval.tests.test_server.test_server_invalid_port_rejected[-1000]",
+ "eval.tests.test_server.test_server_invalid_port_rejected[-5]",
+ "eval.tests.test_server.test_server_invalid_port_rejected[65536]",
+ "eval.tests.test_server.test_server_invalid_port_rejected[70000]",
+ "eval.tests.test_server.test_server_listener_stays_connectable_after_raw_sessions",
+ "eval.tests.test_server.test_server_non_numeric_port_is_flag_error[1.5]",
+ "eval.tests.test_server.test_server_non_numeric_port_is_flag_error[]",
+ "eval.tests.test_server.test_server_non_numeric_port_is_flag_error[abc]",
+ "eval.tests.test_server.test_server_non_numeric_port_is_flag_error[port]",
+ "eval.tests.test_server.test_server_starts_and_accepts_loopback_connection",
+ "eval.tests.test_server.test_unknown_subcommand_is_flag_error"
+ ]
+ },
+ "generated_module_04": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_dispatch.test_alias_dispatch_emits_expected_marker[pbcopy-lvl=dbug msg=\"Copying text\"]",
+ "eval.tests.test_dispatch.test_alias_dispatch_emits_expected_marker[pbpaste-lvl=dbug msg=\"Pasting text\"]",
+ "eval.tests.test_dispatch.test_alias_dispatch_emits_expected_marker[xdg-open-lvl=dbug msg=\"Opening URL\"]",
+ "eval.tests.test_dispatch.test_alias_dispatch_is_case_sensitive_not_found",
+ "eval.tests.test_dispatch.test_copy_last_positional_wins_over_earlier",
+ "eval.tests.test_dispatch.test_copy_positional_arg_used_as_payload",
+ "eval.tests.test_dispatch.test_copy_positional_duplicates_option_dash_end",
+ "eval.tests.test_dispatch.test_copy_stdin_used_when_no_positional",
+ "eval.tests.test_dispatch.test_open_accepts_leading_flag_then_uri",
+ "eval.tests.test_dispatch.test_open_positional_uri_used_over_kept_file_style",
+ "eval.tests.test_dispatch.test_open_reads_uri_from_stdin_when_no_arg",
+ "eval.tests.test_dispatch.test_open_with_trans_loopback_false_reaches_open",
+ "eval.tests.test_dispatch_errors.test_malformed_flag_value_is_parse_error[log_level_bad_int]",
+ "eval.tests.test_dispatch_errors.test_malformed_flag_value_is_parse_error[no_fallback_bad_bool]",
+ "eval.tests.test_dispatch_errors.test_malformed_flag_value_is_parse_error[port_bad_int]",
+ "eval.tests.test_dispatch_errors.test_malformed_flag_value_is_parse_error[rpc_timeout_bad_duration]",
+ "eval.tests.test_dispatch_errors.test_malformed_flag_value_is_parse_error[trans_localfile_bad_bool]",
+ "eval.tests.test_dispatch_errors.test_malformed_flag_value_is_parse_error[trans_loopback_bad_bool]",
+ "eval.tests.test_dispatch_errors.test_malformed_flag_value_is_parse_error[unknown_flag]",
+ "eval.tests.test_dispatch_errors.test_missing_flag_value_is_parse_error[allow_missing]",
+ "eval.tests.test_dispatch_errors.test_missing_flag_value_is_parse_error[host_missing]",
+ "eval.tests.test_dispatch_errors.test_missing_flag_value_is_parse_error[line_ending_missing]",
+ "eval.tests.test_dispatch_errors.test_missing_flag_value_is_parse_error[port_missing]",
+ "eval.tests.test_dispatch_errors.test_unknown_subcommand_is_parse_error[no_args]",
+ "eval.tests.test_dispatch_errors.test_unknown_subcommand_is_parse_error[unknown_alias_like]",
+ "eval.tests.test_dispatch_errors.test_unknown_subcommand_is_parse_error[unknown_subcommand]",
+ "eval.tests.test_dispatch_errors.test_unknown_subcommand_is_parse_error[unknown_with_flag_prefix]",
+ "eval.tests.test_help.test_dashdash_help_without_subcommand_is_parse_error",
+ "eval.tests.test_help.test_h_short_flag_is_flag_usage_not_help_branch",
+ "eval.tests.test_help.test_help_after_global_allow_flag",
+ "eval.tests.test_help.test_help_output_lists_all_options[copy]",
+ "eval.tests.test_help.test_help_output_lists_all_options[open]",
+ "eval.tests.test_help.test_help_output_lists_all_options[paste]",
+ "eval.tests.test_help.test_help_output_lists_all_options[server]",
+ "eval.tests.test_help.test_subcommand_dashdash_help_prints_usage[copy]",
+ "eval.tests.test_help.test_subcommand_dashdash_help_prints_usage[open]",
+ "eval.tests.test_help.test_subcommand_dashdash_help_prints_usage[paste]",
+ "eval.tests.test_help.test_subcommand_dashdash_help_prints_usage[server]",
+ "eval.tests.test_help.test_subcommand_help_behind_other_flags[copy]",
+ "eval.tests.test_help.test_subcommand_help_behind_other_flags[open]",
+ "eval.tests.test_help.test_subcommand_help_behind_other_flags[paste]",
+ "eval.tests.test_help.test_subcommand_help_behind_other_flags[server]",
+ "eval.tests.test_logging.test_copy_sends_debug_payload_snippet",
+ "eval.tests.test_logging.test_debug_dispatch_message_emitted_at_level_zero[copy_dispatch]",
+ "eval.tests.test_logging.test_debug_dispatch_message_emitted_at_level_zero[open_dispatch]",
+ "eval.tests.test_logging.test_debug_dispatch_message_emitted_at_level_zero[paste_dispatch]",
+ "eval.tests.test_logging.test_debug_stmt_hidden_above_debug[1]",
+ "eval.tests.test_logging.test_debug_stmt_hidden_above_debug[2]",
+ "eval.tests.test_logging.test_debug_stmt_hidden_above_debug[3]",
+ "eval.tests.test_logging.test_error_log_lines_follow_log_level_threshold[level0_errors_shown]",
+ "eval.tests.test_logging.test_error_log_lines_follow_log_level_threshold[level1_errors_shown]",
+ "eval.tests.test_logging.test_error_log_lines_follow_log_level_threshold[level2_errors_shown]",
+ "eval.tests.test_logging.test_error_log_lines_follow_log_level_threshold[level3_errors_shown]",
+ "eval.tests.test_logging.test_error_log_lines_follow_log_level_threshold[level4_crit_hides_errors]",
+ "eval.tests.test_logging.test_error_log_lines_follow_log_level_threshold[level5_out_of_map_hides_errors]",
+ "eval.tests.test_logging.test_error_log_lines_follow_log_level_threshold[level9_out_of_map_hides_errors]",
+ "eval.tests.test_logging.test_open_info_message_at_level_zero",
+ "eval.tests.test_logging.test_out_of_range_log_level_still_returns_rpc_error",
+ "eval.tests.test_logging.test_server_dispatch_debug_line_follows_log_level[server_debug_level0]",
+ "eval.tests.test_logging.test_server_dispatch_debug_line_follows_log_level[server_debug_level1]",
+ "eval.tests.test_param_open.test_copy_reaches_live_server",
+ "eval.tests.test_param_open.test_open_param_reaches_live_server[plain_http]",
+ "eval.tests.test_param_open.test_open_param_reaches_live_server[trans_localfile_false]",
+ "eval.tests.test_param_open.test_open_param_reaches_live_server[trans_localfile_true]",
+ "eval.tests.test_param_open.test_open_param_reaches_live_server[trans_loopback_false]",
+ "eval.tests.test_param_open.test_open_param_reaches_live_server[trans_loopback_true]",
+ "eval.tests.test_param_open.test_paste_reaches_live_server",
+ "eval.tests.test_rpc_errors.test_client_op_failure_returns_rpc_error_with_stderr_message[copy_fallback_clipboard]",
+ "eval.tests.test_rpc_errors.test_client_op_failure_returns_rpc_error_with_stderr_message[open_fallback_xdg]",
+ "eval.tests.test_rpc_errors.test_client_op_failure_returns_rpc_error_with_stderr_message[paste_fallback_clipboard]",
+ "eval.tests.test_rpc_errors.test_copy_consumes_stdin_as_data_source",
+ "eval.tests.test_rpc_errors.test_copy_without_data_is_rpc_error",
+ "eval.tests.test_rpc_errors.test_default_no_message_suppression_shows_fallback_log",
+ "eval.tests.test_rpc_errors.test_no_fallback_messages_hides_dial_error_log",
+ "eval.tests.test_rpc_errors.test_no_fallback_messages_still_reports_rpc_error",
+ "eval.tests.test_rpc_errors.test_open_transmits_varied_uris[file:///tmp/some file.txt]",
+ "eval.tests.test_rpc_errors.test_open_transmits_varied_uris[http://127.0.0.1:8000/page]",
+ "eval.tests.test_rpc_errors.test_open_transmits_varied_uris[https://example.com/a?b=c]",
+ "eval.tests.test_rpc_errors.test_open_transmits_varied_uris[mailto:user@example.com]",
+ "eval.tests.test_rpc_errors.test_server_invalid_allow_returns_rpc_error[allow_bad_cidr]",
+ "eval.tests.test_rpc_errors.test_server_invalid_allow_returns_rpc_error[allow_bad_ip]",
+ "eval.tests.test_rpc_errors.test_server_invalid_allow_returns_rpc_error[allow_empty]",
+ "eval.tests.test_rpc_errors.test_server_port_already_in_use_is_rpc_error"
+ ]
+ }
+ },
+ "commit": "fb41f181e2f0e5261c69800978caa13f55b799a9",
+ "data_source": "synthetic_programgym",
+ "difficulty": "easy",
+ "difficulty_score": 1.827433895400779,
+ "eval_clean_hashes": [
+ "661b172aca0327257836269c0d6bbc19e9314cf5201b08fe3e4f1fcc45fa7c66"
+ ],
+ "input_record": {
+ "commit": "fb41f181e2f0e5261c69800978caa13f55b799a9",
+ "commits": 83,
+ "contributors": 7,
+ "difficulty": "easy",
+ "difficulty_code_lines": 611,
+ "difficulty_has_tests": false,
+ "difficulty_product_code_lines": 611,
+ "difficulty_runtime_deps": 10,
+ "difficulty_score": 1.827433895400779,
+ "difficulty_test_code_lines": 282,
+ "full_name": "lemonade-command/lemonade",
+ "github_stars": 727,
+ "input_joern_zip": "go_joern/lemonade-command__lemonade.zip",
+ "joern_status": true,
+ "joern_time": 5.419063511071727,
+ "language": "go",
+ "pb_match": [
+ {
+ "pb_fullname": "sheepla/pingu",
+ "rank": 712,
+ "similarity": 0.48461347818374634
+ }
+ ],
+ "repo_age": 11.09,
+ "repo_path": "go/lemonade-command__lemonade",
+ "source": "commit:fb41f181e2f0e5261c69800978caa13f55b799a9",
+ "status": "done",
+ "url": "https://github.com/lemonade-command/lemonade"
+ },
+ "instance_id": "lemonade-command__lemonade.fb41f18",
+ "language": "go",
+ "module_iterations": [
+ {
+ "actual_iterations": 3,
+ "branch_name": "generated_module_01",
+ "iteration_limit": 5,
+ "module_index": 1,
+ "module_kind": "source",
+ "termination_reason": "module_coverage_threshold_reached"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_02",
+ "iteration_limit": 5,
+ "module_index": 2,
+ "module_kind": "source",
+ "termination_reason": "early_stopping"
+ },
+ {
+ "actual_iterations": 3,
+ "branch_name": "generated_module_03",
+ "iteration_limit": 5,
+ "module_index": 3,
+ "module_kind": "source",
+ "termination_reason": "module_coverage_threshold_reached"
+ },
+ {
+ "actual_iterations": 1,
+ "branch_name": "generated_module_04",
+ "iteration_limit": 5,
+ "module_index": 4,
+ "module_kind": "source",
+ "termination_reason": "module_coverage_threshold_reached"
+ }
+ ],
+ "repository": "lemonade-command/lemonade"
+}
diff --git a/lemonade-command--lemonade.fb41f/tests/test.sh b/lemonade-command--lemonade.fb41f/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/lemonade-command--lemonade.fb41f/tests/workspace.tar.gz b/lemonade-command--lemonade.fb41f/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..b4f8b205934e9f3d28ea954e8b9059f935f4fcac
--- /dev/null
+++ b/lemonade-command--lemonade.fb41f/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cc2de3e0c17348ea62632d9b98bd2821367861148165a209ad8c69ca6862c3d5
+size 3380
diff --git a/lgug2z--unsubscan.e64ee6d/environment/Dockerfile b/lgug2z--unsubscan.e64ee6d/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..43b8645e238f0dec6b8d2d8e1929cc231dac70ef
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/environment/Dockerfile
@@ -0,0 +1,70 @@
+FROM rust:1.97.1-bookworm
+ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
+ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
+ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
+ARG PROGRAMGYM_NPM_STRICT_SSL="true"
+ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
+ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
+ARG PROGRAMGYM_UV_INSECURE_HOST=""
+ENV GOPROXY=${PROGRAMGYM_GOPROXY}
+ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
+ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
+ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
+ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
+ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
+ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
+COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
+RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
+ && /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
+ && rm -f /tmp/harbor_configure_apt_mirror.sh
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_cache=/workspace/.cache/npm
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV CARGO_HOME=/usr/local/cargo
+ENV RUSTUP_HOME=/usr/local/rustup
+ENV RUSTUP_TOOLCHAIN=1.97.1
+ENV PROGRAMGYM_RUST_TOOLCHAIN=1.97.1
+ENV PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends apt=2.6.1 bash=5.2.15-2+b13 build-essential=12.9 ca-certificates=20250419~deb12u1 cmake=3.25.1-1 git=1:2.39.5-0+deb12u3 make=4.3-4.1 pkg-config=1.8.1-1 python3=3.11.2-1+b1 python3-pip=23.0.1+dfsg-1 python3-dev=3.11.2-1+b1 autoconf=2.71-3 automake=1:1.16.5-1.3 gettext=0.21-12 file=1:5.44-3 binutils=2.40-2 libtool=2.4.7-7~deb12u1 libncurses-dev=6.4-4 meson=1.0.1-5 ninja-build=1.11.1-2~deb12u1 curl=7.88.1-10+deb12u15 wget=1.21.3-1+deb12u1 xz-utils=5.4.1-1+deb12u1 zstd=1.5.4+dfsg2-5 bzip2=1.0.8-5+b1 zip=3.0-13 unzip=6.0-28+deb12u1 patch=2.7.6-7 grep=3.8-5 python3-pytest python3-pytest-xdist python3-coverage && rm -rf /var/lib/apt/lists/*
+RUN rustup component add llvm-tools-preview --toolchain 1.97.1
+RUN RUST_SYSROOT="$(rustc --print sysroot)"; RUST_HOST="$(rustc -vV | sed -n 's/^host: //p')"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-profdata"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-cov"
+RUN rustc --version && cargo --version && rustup show active-toolchain
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /tmp/programgym-download.sh
+RUN chmod 755 /tmp/programgym-download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /tmp/programgym-download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/lgug2z--unsubscan.e64ee6d/environment/docker-compose.yaml b/lgug2z--unsubscan.e64ee6d/environment/docker-compose.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..f3bd71ea40d31cf72c3c886f85cbca1450add2cc
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/environment/docker-compose.yaml
@@ -0,0 +1,11 @@
+services:
+ main:
+ build:
+ args:
+ PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
+ PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
+ PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
+ PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
+ PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
+ PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
+ PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
diff --git a/lgug2z--unsubscan.e64ee6d/environment/download.sh b/lgug2z--unsubscan.e64ee6d/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..5d827b9d4eb9cbb5646011c5dd0667415d26f039
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/environment/download.sh
@@ -0,0 +1,765 @@
+#!/usr/bin/env bash
+#
+# download.sh - ProgramGym offline-dependency prefetch for the Rust crate
+# `unsubscan`. This script is sourced (not exec'd) while the network is still
+# available. It only fetches Cargo dependencies into the shared CARGO_HOME
+# registry cache so that build.sh can compile fully offline later.
+#
+# It is intentionally standalone: it does NOT read Cargo.toml, Cargo.lock, or
+# any other file from the mounted repository. All manifest and lockfile content
+# needed to resolve dependencies is embedded below.
+
+set -u
+
+# ---------------------------------------------------------------------------
+# Failure helper that is safe under `source`: return instead of exit when
+# sourced, exit when run as a normal script.
+# ---------------------------------------------------------------------------
+pb_fail() {
+ printf 'download.sh error: %s\n' "$*" >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+}
+
+# The manifest+lockfile for `unsubscan` (identical to the repository's). We
+# generate these in a scratch directory because download.sh cannot rely on any
+# repository file existing during the download stage.
+PB_DEP_DIR="${TMPDIR:-/tmp}/programgym-unsubscan-deps"
+rm -rf "$PB_DEP_DIR"
+mkdir -p "$PB_DEP_DIR/src" || pb_fail "cannot create $PB_DEP_DIR"
+
+# ---------------------------------------------------------------------------
+# Embed the exact root manifest. Version requirements match the repository's
+# Cargo.toml so the embedded lockfile below is accepted verbatim.
+# ---------------------------------------------------------------------------
+cat > "$PB_DEP_DIR/Cargo.toml" <<'EOF'
+[package]
+name = "unsubscan"
+version = "0.1.3"
+edition = "2021"
+
+[dependencies]
+clap = { version = "3", features = ["derive"] }
+color-eyre = "0.6"
+indicatif = "0.16"
+lazy_static = "1.4"
+linkify = "0.8"
+maud = "0.23"
+open = "3.0"
+regex = "1.5"
+serde = { version = "1.0", features = ["derive"] }
+serde_json = "1.0"
+walkdir = "2.3"
+EOF
+
+# A minimal bin stub so the generated manifest has a resolvable target. cargo
+# fetch does not compile, so this file only has to exist for manifest validity.
+printf '' > "$PB_DEP_DIR/src/main.rs"
+
+# ---------------------------------------------------------------------------
+# Embed the exact Cargo.lock (verbatim copy of the repository's lockfile).
+# Pinning these exact versions ensures what we fetch now is exactly what
+# build.sh needs later, so the offline --locked build never has to reach the
+# network.
+# ---------------------------------------------------------------------------
+cat > "$PB_DEP_DIR/Cargo.lock" <<'EOF'
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 3
+
+[[package]]
+name = "addr2line"
+version = "0.17.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b"
+dependencies = [
+ "gimli",
+]
+
+[[package]]
+name = "adler"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
+
+[[package]]
+name = "aho-corasick"
+version = "0.7.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "atty"
+version = "0.2.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
+dependencies = [
+ "hermit-abi",
+ "libc",
+ "winapi",
+]
+
+[[package]]
+name = "autocfg"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
+
+[[package]]
+name = "backtrace"
+version = "0.3.65"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "11a17d453482a265fd5f8479f2a3f405566e6ca627837aaddb85af8b1ab8ef61"
+dependencies = [
+ "addr2line",
+ "cc",
+ "cfg-if",
+ "libc",
+ "miniz_oxide",
+ "object",
+ "rustc-demangle",
+]
+
+[[package]]
+name = "bitflags"
+version = "1.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
+
+[[package]]
+name = "cc"
+version = "1.0.73"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11"
+
+[[package]]
+name = "cfg-if"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+
+[[package]]
+name = "clap"
+version = "3.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d53da17d37dba964b9b3ecb5c5a1f193a2762c700e6829201e645b9381c99dc7"
+dependencies = [
+ "atty",
+ "bitflags",
+ "clap_derive",
+ "clap_lex",
+ "indexmap",
+ "once_cell",
+ "strsim",
+ "termcolor",
+ "textwrap",
+]
+
+[[package]]
+name = "clap_derive"
+version = "3.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c11d40217d16aee8508cc8e5fde8b4ff24639758608e5374e731b53f85749fb9"
+dependencies = [
+ "heck",
+ "proc-macro-error",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "clap_lex"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5538cd660450ebeb4234cfecf8f2284b844ffc4c50531e66d584ad5b91293613"
+dependencies = [
+ "os_str_bytes",
+]
+
+[[package]]
+name = "color-eyre"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ebf286c900a6d5867aeff75cfee3192857bb7f24b547d4f0df2ed6baa812c90"
+dependencies = [
+ "backtrace",
+ "color-spantrace",
+ "eyre",
+ "indenter",
+ "once_cell",
+ "owo-colors",
+ "tracing-error",
+]
+
+[[package]]
+name = "color-spantrace"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1ba75b3d9449ecdccb27ecbc479fdc0b87fa2dd43d2f8298f9bf0e59aacc8dce"
+dependencies = [
+ "once_cell",
+ "owo-colors",
+ "tracing-core",
+ "tracing-error",
+]
+
+[[package]]
+name = "console"
+version = "0.15.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a28b32d32ca44b70c3e4acd7db1babf555fa026e385fb95f18028f88848b3c31"
+dependencies = [
+ "encode_unicode",
+ "libc",
+ "once_cell",
+ "terminal_size",
+ "winapi",
+]
+
+[[package]]
+name = "encode_unicode"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
+
+[[package]]
+name = "eyre"
+version = "0.6.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4c2b6b5a29c02cdc822728b7d7b8ae1bab3e3b05d44522770ddd49722eeac7eb"
+dependencies = [
+ "indenter",
+ "once_cell",
+]
+
+[[package]]
+name = "gimli"
+version = "0.26.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "78cc372d058dcf6d5ecd98510e7fbc9e5aec4d21de70f65fea8fecebcd881bd4"
+
+[[package]]
+name = "hashbrown"
+version = "0.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "db0d4cf898abf0081f964436dc980e96670a0f36863e4b83aaacdb65c9d7ccc3"
+
+[[package]]
+name = "heck"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9"
+
+[[package]]
+name = "hermit-abi"
+version = "0.1.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "indenter"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683"
+
+[[package]]
+name = "indexmap"
+version = "1.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6c6392766afd7964e2531940894cffe4bd8d7d17dbc3c1c4857040fd4b33bdb3"
+dependencies = [
+ "autocfg",
+ "hashbrown",
+]
+
+[[package]]
+name = "indicatif"
+version = "0.16.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2d207dc617c7a380ab07ff572a6e52fa202a2a8f355860ac9c38e23f8196be1b"
+dependencies = [
+ "console",
+ "lazy_static",
+ "number_prefix",
+ "regex",
+]
+
+[[package]]
+name = "itoa"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "112c678d4050afce233f4f2852bb2eb519230b3cf12f33585275537d7e41578d"
+
+[[package]]
+name = "lazy_static"
+version = "1.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+
+[[package]]
+name = "libc"
+version = "0.2.126"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
+
+[[package]]
+name = "linkify"
+version = "0.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "28d9967eb7d0bc31c39c6f52e8fce42991c0cd1f7a2078326f0b7a399a584c8d"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "maud"
+version = "0.23.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7384febb4f8fc970cc2efab1650a6f48cac2e79b0b29587c90497b646fb10e1e"
+dependencies = [
+ "maud_macros",
+]
+
+[[package]]
+name = "maud_macros"
+version = "0.23.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "423430ac467408136d7de93f2929debd8a7bc3e795c92476f45e259b158e3355"
+dependencies = [
+ "proc-macro-error",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "memchr"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
+
+[[package]]
+name = "miniz_oxide"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc"
+dependencies = [
+ "adler",
+]
+
+[[package]]
+name = "number_prefix"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3"
+
+[[package]]
+name = "object"
+version = "0.28.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e42c982f2d955fac81dd7e1d0e1426a7d702acd9c98d19ab01083a6a0328c424"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "once_cell"
+version = "1.12.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7709cef83f0c1f58f666e746a08b21e0085f7440fa6a29cc194d68aac97a4225"
+
+[[package]]
+name = "open"
+version = "3.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "360bcc8316bf6363aa3954c3ccc4de8add167b087e0259190a043c9514f910fe"
+dependencies = [
+ "pathdiff",
+ "windows-sys",
+]
+
+[[package]]
+name = "os_str_bytes"
+version = "6.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "21326818e99cfe6ce1e524c2a805c189a99b5ae555a35d19f9a284b427d86afa"
+
+[[package]]
+name = "owo-colors"
+version = "3.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "decf7381921fea4dcb2549c5667eda59b3ec297ab7e2b5fc33eac69d2e7da87b"
+
+[[package]]
+name = "pathdiff"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd"
+
+[[package]]
+name = "pin-project-lite"
+version = "0.2.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116"
+
+[[package]]
+name = "proc-macro-error"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
+dependencies = [
+ "proc-macro-error-attr",
+ "proc-macro2",
+ "quote",
+ "syn",
+ "version_check",
+]
+
+[[package]]
+name = "proc-macro-error-attr"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "version_check",
+]
+
+[[package]]
+name = "proc-macro2"
+version = "1.0.39"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c54b25569025b7fc9651de43004ae593a75ad88543b17178aa5e1b9c4f15f56f"
+dependencies = [
+ "unicode-ident",
+]
+
+[[package]]
+name = "quote"
+version = "1.0.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1feb54ed693b93a84e14094943b84b7c4eae204c512b7ccb95ab0c66d278ad1"
+dependencies = [
+ "proc-macro2",
+]
+
+[[package]]
+name = "regex"
+version = "1.5.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d83f127d94bdbcda4c8cc2e50f6f84f4b611f69c902699ca385a39c3a75f9ff1"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-syntax",
+]
+
+[[package]]
+name = "regex-syntax"
+version = "0.6.26"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "49b3de9ec5dc0a3417da371aab17d729997c15010e7fd24ff707773a33bddb64"
+
+[[package]]
+name = "rustc-demangle"
+version = "0.1.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342"
+
+[[package]]
+name = "ryu"
+version = "1.0.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f3f6f92acf49d1b98f7a81226834412ada05458b7364277387724a237f062695"
+
+[[package]]
+name = "same-file"
+version = "1.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
+dependencies = [
+ "winapi-util",
+]
+
+[[package]]
+name = "serde"
+version = "1.0.137"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "61ea8d54c77f8315140a05f4c7237403bf38b72704d031543aa1d16abbf517d1"
+dependencies = [
+ "serde_derive",
+]
+
+[[package]]
+name = "serde_derive"
+version = "1.0.137"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1f26faba0c3959972377d3b2d306ee9f71faee9714294e41bb777f83f88578be"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "serde_json"
+version = "1.0.81"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9b7ce2b32a1aed03c558dc61a5cd328f15aff2dbc17daad8fb8af04d2100e15c"
+dependencies = [
+ "itoa",
+ "ryu",
+ "serde",
+]
+
+[[package]]
+name = "sharded-slab"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31"
+dependencies = [
+ "lazy_static",
+]
+
+[[package]]
+name = "strsim"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
+
+[[package]]
+name = "syn"
+version = "1.0.96"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0748dd251e24453cb8717f0354206b91557e4ec8703673a4b30208f2abaf1ebf"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
+[[package]]
+name = "termcolor"
+version = "1.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755"
+dependencies = [
+ "winapi-util",
+]
+
+[[package]]
+name = "terminal_size"
+version = "0.1.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "633c1a546cee861a1a6d0dc69ebeca693bf4296661ba7852b9d21d159e0506df"
+dependencies = [
+ "libc",
+ "winapi",
+]
+
+[[package]]
+name = "textwrap"
+version = "0.15.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb"
+
+[[package]]
+name = "thread_local"
+version = "1.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180"
+dependencies = [
+ "once_cell",
+]
+
+[[package]]
+name = "tracing"
+version = "0.1.35"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a400e31aa60b9d44a52a8ee0343b5b18566b03a8321e0d321f695cf56e940160"
+dependencies = [
+ "cfg-if",
+ "pin-project-lite",
+ "tracing-core",
+]
+
+[[package]]
+name = "tracing-core"
+version = "0.1.27"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7709595b8878a4965ce5e87ebf880a7d39c9afc6837721b21a5a816a8117d921"
+dependencies = [
+ "once_cell",
+ "valuable",
+]
+
+[[package]]
+name = "tracing-error"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d686ec1c0f384b1277f097b2f279a2ecc11afe8c133c1aabf036a27cb4cd206e"
+dependencies = [
+ "tracing",
+ "tracing-subscriber",
+]
+
+[[package]]
+name = "tracing-subscriber"
+version = "0.3.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4bc28f93baff38037f64e6f43d34cfa1605f27a49c34e8a04c5e78b0babf2596"
+dependencies = [
+ "sharded-slab",
+ "thread_local",
+ "tracing-core",
+]
+
+[[package]]
+name = "unicode-ident"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5bd2fe26506023ed7b5e1e315add59d6f584c621d037f9368fea9cfb988f368c"
+
+[[package]]
+name = "unsubscan"
+version = "0.1.3"
+dependencies = [
+ "clap",
+ "color-eyre",
+ "indicatif",
+ "lazy_static",
+ "linkify",
+ "maud",
+ "open",
+ "regex",
+ "serde",
+ "serde_json",
+ "walkdir",
+]
+
+[[package]]
+name = "valuable"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
+
+[[package]]
+name = "version_check"
+version = "0.9.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
+
+[[package]]
+name = "walkdir"
+version = "2.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56"
+dependencies = [
+ "same-file",
+ "winapi",
+ "winapi-util",
+]
+
+[[package]]
+name = "winapi"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+dependencies = [
+ "winapi-i686-pc-windows-gnu",
+ "winapi-x86_64-pc-windows-gnu",
+]
+
+[[package]]
+name = "winapi-i686-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+[[package]]
+name = "winapi-util"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
+dependencies = [
+ "winapi",
+]
+
+[[package]]
+name = "winapi-x86_64-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+
+[[package]]
+name = "windows-sys"
+version = "0.36.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2"
+dependencies = [
+ "windows_aarch64_msvc",
+ "windows_i686_gnu",
+ "windows_i686_msvc",
+ "windows_x86_64_gnu",
+ "windows_x86_64_msvc",
+]
+
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.36.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47"
+
+[[package]]
+name = "windows_i686_gnu"
+version = "0.36.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6"
+
+[[package]]
+name = "windows_i686_msvc"
+version = "0.36.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024"
+
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.36.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1"
+
+[[package]]
+name = "windows_x86_64_msvc"
+version = "0.36.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680"
+EOF
+
+# ---------------------------------------------------------------------------
+# Fetch all dependencies into the shared Cargo registry cache from the
+# generated manifest. The --manifest-path argument is passed directly on the
+# same line as the prefetch command so Cargo only ever runs against the
+# generated scratch manifest, never against /source_ro or the repository root.
+# This step only downloads into the CARGO_HOME registry cache; it does not
+# compile anything.
+# ---------------------------------------------------------------------------
+cargo fetch --manifest-path "$PB_DEP_DIR/Cargo.toml"
+
+if [ $? -ne 0 ]; then
+ pb_fail "Cargo dependency prefetch failed"
+fi
+
+# Keep the generated manifest directory from leaking into the offline build;
+# the Cargo registry cache under CARGO_HOME is what matters.
+rm -rf "$PB_DEP_DIR"
diff --git a/lgug2z--unsubscan.e64ee6d/environment/executable b/lgug2z--unsubscan.e64ee6d/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..93cc89ff527bbf2364348383c64d9cfadd1a55c1
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/environment/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9ff5f095aa2a3b4e31a7f5876c9bf2c4e35545ba7f30f2791a1dcab38d9e734f
+size 3154504
diff --git a/lgug2z--unsubscan.e64ee6d/environment/harbor_configure_apt_mirror.sh b/lgug2z--unsubscan.e64ee6d/environment/harbor_configure_apt_mirror.sh
new file mode 100644
index 0000000000000000000000000000000000000000..c70a651096880dece7733b26837f2ca8e24d2c7f
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/environment/harbor_configure_apt_mirror.sh
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+repository_base="${1%/}"
+if [[ -z "$repository_base" ]]; then
+ exit 0
+fi
+
+. /etc/os-release
+codename="${VERSION_CODENAME:-}"
+if [[ -z "$codename" ]]; then
+ echo "VERSION_CODENAME is not set" >&2
+ exit 1
+fi
+
+if [[ "$ID" == "ubuntu" ]]; then
+ repository_name="apt-proxy"
+ components="main universe restricted multiverse"
+else
+ repository_name="debian-proxy"
+ components="main contrib non-free non-free-firmware"
+fi
+
+install -d /etc/apt/sources.list.d
+rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
+printf 'deb [trusted=yes] %s/%s %s %s\n' \
+ "$repository_base" "$repository_name" "$codename" "$components" \
+ >/etc/apt/sources.list
+printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
+ "$repository_base" "$repository_name" "$codename" "$components" \
+ >>/etc/apt/sources.list
+
+if [[ "$ID" != "ubuntu" ]]; then
+ printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
+ "$repository_base" "debian-proxy-security" "$codename" "$components" \
+ >>/etc/apt/sources.list
+fi
diff --git a/lgug2z--unsubscan.e64ee6d/environment/harbor_prepare_download_env.sh b/lgug2z--unsubscan.e64ee6d/environment/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..4a3a33381308d53b7bd2216a2375c8cd54ac24c4
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/environment/harbor_prepare_download_env.sh
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+set -euo pipefail
+command -v cargo
+command -v rustc
+command -v rustup
+cd /workspace
+set -a
+source /tmp/programgym-download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/lgug2z--unsubscan.e64ee6d/environment/workspace.tar.gz b/lgug2z--unsubscan.e64ee6d/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..a574c0961b8365d0c7f2d7ff613f71b171a8cef0
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:292fd3eb4db9bf0ee2e6bd72d6d78526c0495f5259813bc4c8d26564154d3bb4
+size 2223
diff --git a/lgug2z--unsubscan.e64ee6d/instruction.md b/lgug2z--unsubscan.e64ee6d/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/lgug2z--unsubscan.e64ee6d/solution/solve.sh b/lgug2z--unsubscan.e64ee6d/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/lgug2z--unsubscan.e64ee6d/task.toml b/lgug2z--unsubscan.e64ee6d/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..18009a8b560b516136b053c762c5ce438cec189a
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/lgug2z--unsubscan.e64ee6d"
+description = "Synthetic ProgramGym cleanroom reconstruction task for LGUG2Z/unsubscan"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "rust"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "LGUG2Z__unsubscan.e64ee6d"
+repository = "LGUG2Z/unsubscan"
+commit = "e64ee6d6dcd0afc003e139be2fb80493fc0cc06f"
+language = "rust"
+difficulty = "easy"
+difficulty_score = 1.5370631427816175
+test_branches = 1
+test_count = 139
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/lgug2z--unsubscan.e64ee6d/tests/Dockerfile b/lgug2z--unsubscan.e64ee6d/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..7ac92ae058165211242a0ba5356989bd425ef9ed
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/tests/Dockerfile
@@ -0,0 +1,79 @@
+FROM rust:1.97.1-bookworm
+ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
+ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
+ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
+ARG PROGRAMGYM_NPM_STRICT_SSL="true"
+ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
+ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
+ARG PROGRAMGYM_UV_INSECURE_HOST=""
+ENV GOPROXY=${PROGRAMGYM_GOPROXY}
+ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
+ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
+ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
+ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
+ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
+ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
+COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
+RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
+ && /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
+ && rm -f /tmp/harbor_configure_apt_mirror.sh
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_cache=/workspace/.cache/npm
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV CARGO_HOME=/usr/local/cargo
+ENV RUSTUP_HOME=/usr/local/rustup
+ENV RUSTUP_TOOLCHAIN=1.97.1
+ENV PROGRAMGYM_RUST_TOOLCHAIN=1.97.1
+ENV PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends apt=2.6.1 bash=5.2.15-2+b13 build-essential=12.9 ca-certificates=20250419~deb12u1 cmake=3.25.1-1 git=1:2.39.5-0+deb12u3 make=4.3-4.1 pkg-config=1.8.1-1 python3=3.11.2-1+b1 python3-pip=23.0.1+dfsg-1 python3-dev=3.11.2-1+b1 autoconf=2.71-3 automake=1:1.16.5-1.3 gettext=0.21-12 file=1:5.44-3 binutils=2.40-2 libtool=2.4.7-7~deb12u1 libncurses-dev=6.4-4 meson=1.0.1-5 ninja-build=1.11.1-2~deb12u1 curl=7.88.1-10+deb12u15 wget=1.21.3-1+deb12u1 xz-utils=5.4.1-1+deb12u1 zstd=1.5.4+dfsg2-5 bzip2=1.0.8-5+b1 zip=3.0-13 unzip=6.0-28+deb12u1 patch=2.7.6-7 grep=3.8-5 python3-pytest python3-pytest-xdist python3-coverage && rm -rf /var/lib/apt/lists/*
+RUN rustup component add llvm-tools-preview --toolchain 1.97.1
+RUN RUST_SYSROOT="$(rustc --print sysroot)"; RUST_HOST="$(rustc -vV | sed -n 's/^host: //p')"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-profdata"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-cov"
+RUN rustc --version && cargo --version && rustup show active-toolchain
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /tmp/programgym-download.sh
+RUN chmod 755 /tmp/programgym-download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /tmp/programgym-download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN python3 -m pip install --break-system-packages \
+ --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/lgug2z--unsubscan.e64ee6d/tests/blobs/tests/generated_module_01.tar.gz b/lgug2z--unsubscan.e64ee6d/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..719018d9a2374faf96014a3040fd7cbe68c6e81f
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b9e0ebc4c9c50bad77c0bd741f72299cea5ee1e96089074fea7e022567a99a85
+size 24701
diff --git a/lgug2z--unsubscan.e64ee6d/tests/docker-compose.yaml b/lgug2z--unsubscan.e64ee6d/tests/docker-compose.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..f3bd71ea40d31cf72c3c886f85cbca1450add2cc
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/tests/docker-compose.yaml
@@ -0,0 +1,11 @@
+services:
+ main:
+ build:
+ args:
+ PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
+ PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
+ PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
+ PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
+ PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
+ PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
+ PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
diff --git a/lgug2z--unsubscan.e64ee6d/tests/download.sh b/lgug2z--unsubscan.e64ee6d/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..5d827b9d4eb9cbb5646011c5dd0667415d26f039
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/tests/download.sh
@@ -0,0 +1,765 @@
+#!/usr/bin/env bash
+#
+# download.sh - ProgramGym offline-dependency prefetch for the Rust crate
+# `unsubscan`. This script is sourced (not exec'd) while the network is still
+# available. It only fetches Cargo dependencies into the shared CARGO_HOME
+# registry cache so that build.sh can compile fully offline later.
+#
+# It is intentionally standalone: it does NOT read Cargo.toml, Cargo.lock, or
+# any other file from the mounted repository. All manifest and lockfile content
+# needed to resolve dependencies is embedded below.
+
+set -u
+
+# ---------------------------------------------------------------------------
+# Failure helper that is safe under `source`: return instead of exit when
+# sourced, exit when run as a normal script.
+# ---------------------------------------------------------------------------
+pb_fail() {
+ printf 'download.sh error: %s\n' "$*" >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+}
+
+# The manifest+lockfile for `unsubscan` (identical to the repository's). We
+# generate these in a scratch directory because download.sh cannot rely on any
+# repository file existing during the download stage.
+PB_DEP_DIR="${TMPDIR:-/tmp}/programgym-unsubscan-deps"
+rm -rf "$PB_DEP_DIR"
+mkdir -p "$PB_DEP_DIR/src" || pb_fail "cannot create $PB_DEP_DIR"
+
+# ---------------------------------------------------------------------------
+# Embed the exact root manifest. Version requirements match the repository's
+# Cargo.toml so the embedded lockfile below is accepted verbatim.
+# ---------------------------------------------------------------------------
+cat > "$PB_DEP_DIR/Cargo.toml" <<'EOF'
+[package]
+name = "unsubscan"
+version = "0.1.3"
+edition = "2021"
+
+[dependencies]
+clap = { version = "3", features = ["derive"] }
+color-eyre = "0.6"
+indicatif = "0.16"
+lazy_static = "1.4"
+linkify = "0.8"
+maud = "0.23"
+open = "3.0"
+regex = "1.5"
+serde = { version = "1.0", features = ["derive"] }
+serde_json = "1.0"
+walkdir = "2.3"
+EOF
+
+# A minimal bin stub so the generated manifest has a resolvable target. cargo
+# fetch does not compile, so this file only has to exist for manifest validity.
+printf '' > "$PB_DEP_DIR/src/main.rs"
+
+# ---------------------------------------------------------------------------
+# Embed the exact Cargo.lock (verbatim copy of the repository's lockfile).
+# Pinning these exact versions ensures what we fetch now is exactly what
+# build.sh needs later, so the offline --locked build never has to reach the
+# network.
+# ---------------------------------------------------------------------------
+cat > "$PB_DEP_DIR/Cargo.lock" <<'EOF'
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 3
+
+[[package]]
+name = "addr2line"
+version = "0.17.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b"
+dependencies = [
+ "gimli",
+]
+
+[[package]]
+name = "adler"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
+
+[[package]]
+name = "aho-corasick"
+version = "0.7.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "atty"
+version = "0.2.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
+dependencies = [
+ "hermit-abi",
+ "libc",
+ "winapi",
+]
+
+[[package]]
+name = "autocfg"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
+
+[[package]]
+name = "backtrace"
+version = "0.3.65"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "11a17d453482a265fd5f8479f2a3f405566e6ca627837aaddb85af8b1ab8ef61"
+dependencies = [
+ "addr2line",
+ "cc",
+ "cfg-if",
+ "libc",
+ "miniz_oxide",
+ "object",
+ "rustc-demangle",
+]
+
+[[package]]
+name = "bitflags"
+version = "1.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
+
+[[package]]
+name = "cc"
+version = "1.0.73"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11"
+
+[[package]]
+name = "cfg-if"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+
+[[package]]
+name = "clap"
+version = "3.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d53da17d37dba964b9b3ecb5c5a1f193a2762c700e6829201e645b9381c99dc7"
+dependencies = [
+ "atty",
+ "bitflags",
+ "clap_derive",
+ "clap_lex",
+ "indexmap",
+ "once_cell",
+ "strsim",
+ "termcolor",
+ "textwrap",
+]
+
+[[package]]
+name = "clap_derive"
+version = "3.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c11d40217d16aee8508cc8e5fde8b4ff24639758608e5374e731b53f85749fb9"
+dependencies = [
+ "heck",
+ "proc-macro-error",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "clap_lex"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5538cd660450ebeb4234cfecf8f2284b844ffc4c50531e66d584ad5b91293613"
+dependencies = [
+ "os_str_bytes",
+]
+
+[[package]]
+name = "color-eyre"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ebf286c900a6d5867aeff75cfee3192857bb7f24b547d4f0df2ed6baa812c90"
+dependencies = [
+ "backtrace",
+ "color-spantrace",
+ "eyre",
+ "indenter",
+ "once_cell",
+ "owo-colors",
+ "tracing-error",
+]
+
+[[package]]
+name = "color-spantrace"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1ba75b3d9449ecdccb27ecbc479fdc0b87fa2dd43d2f8298f9bf0e59aacc8dce"
+dependencies = [
+ "once_cell",
+ "owo-colors",
+ "tracing-core",
+ "tracing-error",
+]
+
+[[package]]
+name = "console"
+version = "0.15.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a28b32d32ca44b70c3e4acd7db1babf555fa026e385fb95f18028f88848b3c31"
+dependencies = [
+ "encode_unicode",
+ "libc",
+ "once_cell",
+ "terminal_size",
+ "winapi",
+]
+
+[[package]]
+name = "encode_unicode"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
+
+[[package]]
+name = "eyre"
+version = "0.6.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4c2b6b5a29c02cdc822728b7d7b8ae1bab3e3b05d44522770ddd49722eeac7eb"
+dependencies = [
+ "indenter",
+ "once_cell",
+]
+
+[[package]]
+name = "gimli"
+version = "0.26.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "78cc372d058dcf6d5ecd98510e7fbc9e5aec4d21de70f65fea8fecebcd881bd4"
+
+[[package]]
+name = "hashbrown"
+version = "0.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "db0d4cf898abf0081f964436dc980e96670a0f36863e4b83aaacdb65c9d7ccc3"
+
+[[package]]
+name = "heck"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9"
+
+[[package]]
+name = "hermit-abi"
+version = "0.1.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "indenter"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683"
+
+[[package]]
+name = "indexmap"
+version = "1.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6c6392766afd7964e2531940894cffe4bd8d7d17dbc3c1c4857040fd4b33bdb3"
+dependencies = [
+ "autocfg",
+ "hashbrown",
+]
+
+[[package]]
+name = "indicatif"
+version = "0.16.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2d207dc617c7a380ab07ff572a6e52fa202a2a8f355860ac9c38e23f8196be1b"
+dependencies = [
+ "console",
+ "lazy_static",
+ "number_prefix",
+ "regex",
+]
+
+[[package]]
+name = "itoa"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "112c678d4050afce233f4f2852bb2eb519230b3cf12f33585275537d7e41578d"
+
+[[package]]
+name = "lazy_static"
+version = "1.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+
+[[package]]
+name = "libc"
+version = "0.2.126"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
+
+[[package]]
+name = "linkify"
+version = "0.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "28d9967eb7d0bc31c39c6f52e8fce42991c0cd1f7a2078326f0b7a399a584c8d"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "maud"
+version = "0.23.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7384febb4f8fc970cc2efab1650a6f48cac2e79b0b29587c90497b646fb10e1e"
+dependencies = [
+ "maud_macros",
+]
+
+[[package]]
+name = "maud_macros"
+version = "0.23.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "423430ac467408136d7de93f2929debd8a7bc3e795c92476f45e259b158e3355"
+dependencies = [
+ "proc-macro-error",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "memchr"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
+
+[[package]]
+name = "miniz_oxide"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc"
+dependencies = [
+ "adler",
+]
+
+[[package]]
+name = "number_prefix"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3"
+
+[[package]]
+name = "object"
+version = "0.28.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e42c982f2d955fac81dd7e1d0e1426a7d702acd9c98d19ab01083a6a0328c424"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "once_cell"
+version = "1.12.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7709cef83f0c1f58f666e746a08b21e0085f7440fa6a29cc194d68aac97a4225"
+
+[[package]]
+name = "open"
+version = "3.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "360bcc8316bf6363aa3954c3ccc4de8add167b087e0259190a043c9514f910fe"
+dependencies = [
+ "pathdiff",
+ "windows-sys",
+]
+
+[[package]]
+name = "os_str_bytes"
+version = "6.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "21326818e99cfe6ce1e524c2a805c189a99b5ae555a35d19f9a284b427d86afa"
+
+[[package]]
+name = "owo-colors"
+version = "3.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "decf7381921fea4dcb2549c5667eda59b3ec297ab7e2b5fc33eac69d2e7da87b"
+
+[[package]]
+name = "pathdiff"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd"
+
+[[package]]
+name = "pin-project-lite"
+version = "0.2.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116"
+
+[[package]]
+name = "proc-macro-error"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
+dependencies = [
+ "proc-macro-error-attr",
+ "proc-macro2",
+ "quote",
+ "syn",
+ "version_check",
+]
+
+[[package]]
+name = "proc-macro-error-attr"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "version_check",
+]
+
+[[package]]
+name = "proc-macro2"
+version = "1.0.39"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c54b25569025b7fc9651de43004ae593a75ad88543b17178aa5e1b9c4f15f56f"
+dependencies = [
+ "unicode-ident",
+]
+
+[[package]]
+name = "quote"
+version = "1.0.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1feb54ed693b93a84e14094943b84b7c4eae204c512b7ccb95ab0c66d278ad1"
+dependencies = [
+ "proc-macro2",
+]
+
+[[package]]
+name = "regex"
+version = "1.5.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d83f127d94bdbcda4c8cc2e50f6f84f4b611f69c902699ca385a39c3a75f9ff1"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-syntax",
+]
+
+[[package]]
+name = "regex-syntax"
+version = "0.6.26"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "49b3de9ec5dc0a3417da371aab17d729997c15010e7fd24ff707773a33bddb64"
+
+[[package]]
+name = "rustc-demangle"
+version = "0.1.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342"
+
+[[package]]
+name = "ryu"
+version = "1.0.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f3f6f92acf49d1b98f7a81226834412ada05458b7364277387724a237f062695"
+
+[[package]]
+name = "same-file"
+version = "1.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
+dependencies = [
+ "winapi-util",
+]
+
+[[package]]
+name = "serde"
+version = "1.0.137"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "61ea8d54c77f8315140a05f4c7237403bf38b72704d031543aa1d16abbf517d1"
+dependencies = [
+ "serde_derive",
+]
+
+[[package]]
+name = "serde_derive"
+version = "1.0.137"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1f26faba0c3959972377d3b2d306ee9f71faee9714294e41bb777f83f88578be"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "serde_json"
+version = "1.0.81"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9b7ce2b32a1aed03c558dc61a5cd328f15aff2dbc17daad8fb8af04d2100e15c"
+dependencies = [
+ "itoa",
+ "ryu",
+ "serde",
+]
+
+[[package]]
+name = "sharded-slab"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31"
+dependencies = [
+ "lazy_static",
+]
+
+[[package]]
+name = "strsim"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
+
+[[package]]
+name = "syn"
+version = "1.0.96"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0748dd251e24453cb8717f0354206b91557e4ec8703673a4b30208f2abaf1ebf"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
+[[package]]
+name = "termcolor"
+version = "1.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755"
+dependencies = [
+ "winapi-util",
+]
+
+[[package]]
+name = "terminal_size"
+version = "0.1.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "633c1a546cee861a1a6d0dc69ebeca693bf4296661ba7852b9d21d159e0506df"
+dependencies = [
+ "libc",
+ "winapi",
+]
+
+[[package]]
+name = "textwrap"
+version = "0.15.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb"
+
+[[package]]
+name = "thread_local"
+version = "1.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180"
+dependencies = [
+ "once_cell",
+]
+
+[[package]]
+name = "tracing"
+version = "0.1.35"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a400e31aa60b9d44a52a8ee0343b5b18566b03a8321e0d321f695cf56e940160"
+dependencies = [
+ "cfg-if",
+ "pin-project-lite",
+ "tracing-core",
+]
+
+[[package]]
+name = "tracing-core"
+version = "0.1.27"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7709595b8878a4965ce5e87ebf880a7d39c9afc6837721b21a5a816a8117d921"
+dependencies = [
+ "once_cell",
+ "valuable",
+]
+
+[[package]]
+name = "tracing-error"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d686ec1c0f384b1277f097b2f279a2ecc11afe8c133c1aabf036a27cb4cd206e"
+dependencies = [
+ "tracing",
+ "tracing-subscriber",
+]
+
+[[package]]
+name = "tracing-subscriber"
+version = "0.3.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4bc28f93baff38037f64e6f43d34cfa1605f27a49c34e8a04c5e78b0babf2596"
+dependencies = [
+ "sharded-slab",
+ "thread_local",
+ "tracing-core",
+]
+
+[[package]]
+name = "unicode-ident"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5bd2fe26506023ed7b5e1e315add59d6f584c621d037f9368fea9cfb988f368c"
+
+[[package]]
+name = "unsubscan"
+version = "0.1.3"
+dependencies = [
+ "clap",
+ "color-eyre",
+ "indicatif",
+ "lazy_static",
+ "linkify",
+ "maud",
+ "open",
+ "regex",
+ "serde",
+ "serde_json",
+ "walkdir",
+]
+
+[[package]]
+name = "valuable"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
+
+[[package]]
+name = "version_check"
+version = "0.9.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
+
+[[package]]
+name = "walkdir"
+version = "2.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56"
+dependencies = [
+ "same-file",
+ "winapi",
+ "winapi-util",
+]
+
+[[package]]
+name = "winapi"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+dependencies = [
+ "winapi-i686-pc-windows-gnu",
+ "winapi-x86_64-pc-windows-gnu",
+]
+
+[[package]]
+name = "winapi-i686-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+[[package]]
+name = "winapi-util"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
+dependencies = [
+ "winapi",
+]
+
+[[package]]
+name = "winapi-x86_64-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+
+[[package]]
+name = "windows-sys"
+version = "0.36.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2"
+dependencies = [
+ "windows_aarch64_msvc",
+ "windows_i686_gnu",
+ "windows_i686_msvc",
+ "windows_x86_64_gnu",
+ "windows_x86_64_msvc",
+]
+
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.36.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47"
+
+[[package]]
+name = "windows_i686_gnu"
+version = "0.36.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6"
+
+[[package]]
+name = "windows_i686_msvc"
+version = "0.36.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024"
+
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.36.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1"
+
+[[package]]
+name = "windows_x86_64_msvc"
+version = "0.36.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680"
+EOF
+
+# ---------------------------------------------------------------------------
+# Fetch all dependencies into the shared Cargo registry cache from the
+# generated manifest. The --manifest-path argument is passed directly on the
+# same line as the prefetch command so Cargo only ever runs against the
+# generated scratch manifest, never against /source_ro or the repository root.
+# This step only downloads into the CARGO_HOME registry cache; it does not
+# compile anything.
+# ---------------------------------------------------------------------------
+cargo fetch --manifest-path "$PB_DEP_DIR/Cargo.toml"
+
+if [ $? -ne 0 ]; then
+ pb_fail "Cargo dependency prefetch failed"
+fi
+
+# Keep the generated manifest directory from leaking into the offline build;
+# the Cargo registry cache under CARGO_HOME is what matters.
+rm -rf "$PB_DEP_DIR"
diff --git a/lgug2z--unsubscan.e64ee6d/tests/executable b/lgug2z--unsubscan.e64ee6d/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..93cc89ff527bbf2364348383c64d9cfadd1a55c1
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/tests/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9ff5f095aa2a3b4e31a7f5876c9bf2c4e35545ba7f30f2791a1dcab38d9e734f
+size 3154504
diff --git a/lgug2z--unsubscan.e64ee6d/tests/harbor_configure_apt_mirror.sh b/lgug2z--unsubscan.e64ee6d/tests/harbor_configure_apt_mirror.sh
new file mode 100644
index 0000000000000000000000000000000000000000..c70a651096880dece7733b26837f2ca8e24d2c7f
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/tests/harbor_configure_apt_mirror.sh
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+repository_base="${1%/}"
+if [[ -z "$repository_base" ]]; then
+ exit 0
+fi
+
+. /etc/os-release
+codename="${VERSION_CODENAME:-}"
+if [[ -z "$codename" ]]; then
+ echo "VERSION_CODENAME is not set" >&2
+ exit 1
+fi
+
+if [[ "$ID" == "ubuntu" ]]; then
+ repository_name="apt-proxy"
+ components="main universe restricted multiverse"
+else
+ repository_name="debian-proxy"
+ components="main contrib non-free non-free-firmware"
+fi
+
+install -d /etc/apt/sources.list.d
+rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
+printf 'deb [trusted=yes] %s/%s %s %s\n' \
+ "$repository_base" "$repository_name" "$codename" "$components" \
+ >/etc/apt/sources.list
+printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
+ "$repository_base" "$repository_name" "$codename" "$components" \
+ >>/etc/apt/sources.list
+
+if [[ "$ID" != "ubuntu" ]]; then
+ printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
+ "$repository_base" "debian-proxy-security" "$codename" "$components" \
+ >>/etc/apt/sources.list
+fi
diff --git a/lgug2z--unsubscan.e64ee6d/tests/harbor_prepare_download_env.sh b/lgug2z--unsubscan.e64ee6d/tests/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..4a3a33381308d53b7bd2216a2375c8cd54ac24c4
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/tests/harbor_prepare_download_env.sh
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+set -euo pipefail
+command -v cargo
+command -v rustc
+command -v rustup
+cd /workspace
+set -a
+source /tmp/programgym-download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/lgug2z--unsubscan.e64ee6d/tests/programgym_evaluator.py b/lgug2z--unsubscan.e64ee6d/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/lgug2z--unsubscan.e64ee6d/tests/programgym_task.json b/lgug2z--unsubscan.e64ee6d/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..bf65ff5880f6134437d7639db8e2054f0ec2ad4a
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/tests/programgym_task.json
@@ -0,0 +1,281 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_cli_help.test_dashdash_before_valid_directory_scans_normally",
+ "eval.tests.test_cli_help.test_dashdash_ends_flag_parsing",
+ "eval.tests.test_cli_help.test_debug_flag_directory_banner_exact",
+ "eval.tests.test_cli_help.test_debug_flag_multiple_files_all_listed",
+ "eval.tests.test_cli_help.test_debug_flag_order_invariance_combined_output",
+ "eval.tests.test_cli_help.test_debug_flag_prints_scan_message",
+ "eval.tests.test_cli_help.test_debug_flag_without_output_still_scans",
+ "eval.tests.test_cli_help.test_debug_markers_only_for_scanned_eml",
+ "eval.tests.test_cli_help.test_debug_true_value_rejected_exact_error",
+ "eval.tests.test_cli_help.test_directory_before_flags_accepted",
+ "eval.tests.test_cli_help.test_help_long_flag_matches_golden",
+ "eval.tests.test_cli_help.test_help_matches_version_header_line",
+ "eval.tests.test_cli_help.test_help_short_flag_matches_golden",
+ "eval.tests.test_cli_help.test_invalid_output_value_rejected_with_exact_message",
+ "eval.tests.test_cli_help.test_missing_directory_argument_exact_error",
+ "eval.tests.test_cli_help.test_no_debug_no_scan_noise",
+ "eval.tests.test_cli_help.test_output_accepts_valid_values_json_and_html",
+ "eval.tests.test_cli_help.test_output_enum_case_sensitive_variants",
+ "eval.tests.test_cli_help.test_output_equals_html_writes_report",
+ "eval.tests.test_cli_help.test_output_long_flag_equals_json_reports_valid_structured_output",
+ "eval.tests.test_cli_help.test_output_long_flag_too_many_values_rejected",
+ "eval.tests.test_cli_help.test_output_long_space_separated_json",
+ "eval.tests.test_cli_help.test_unknown_long_flag_exact_error",
+ "eval.tests.test_cli_help.test_unknown_short_flag_exact_error",
+ "eval.tests.test_cli_help.test_version_long_flag_matches_golden",
+ "eval.tests.test_cli_help.test_version_short_flag_matches_golden",
+ "eval.tests.test_error_handling.test_broken_symlink_directory_exact_error",
+ "eval.tests.test_error_handling.test_directory_arg_pointing_at_file_is_scanned",
+ "eval.tests.test_error_handling.test_empty_directory_is_valid_with_empty_json",
+ "eval.tests.test_error_handling.test_empty_directory_vs_no_eml_score_same",
+ "eval.tests.test_error_handling.test_exit_code_contract_for_input_classes",
+ "eval.tests.test_error_handling.test_invalid_output_enum_exact_error",
+ "eval.tests.test_error_handling.test_nonexistent_directory_exact_error",
+ "eval.tests.test_error_handling.test_nonexistent_directory_relative_path_error",
+ "eval.tests.test_error_handling.test_output_flag_without_value_exact_error[--output]",
+ "eval.tests.test_error_handling.test_output_flag_without_value_exact_error[-o]",
+ "eval.tests.test_error_handling.test_too_many_positional_args_exact_error",
+ "eval.tests.test_error_handling.test_unknown_long_flag_exact_error",
+ "eval.tests.test_error_handling.test_valid_invocation_reaches_terminal_state",
+ "eval.tests.test_file_selection.test_deep_tree_single_domain_aggregates_counts",
+ "eval.tests.test_file_selection.test_directory_arg_is_non_eml_file_scans_empty",
+ "eval.tests.test_file_selection.test_directory_name_containing_spaces",
+ "eval.tests.test_file_selection.test_directory_named_with_eml_extension_scans_its_contents",
+ "eval.tests.test_file_selection.test_directory_trailing_slash_accepted",
+ "eval.tests.test_file_selection.test_eml_extension_is_case_sensitive",
+ "eval.tests.test_file_selection.test_extension_match_is_exact_not_suffix",
+ "eval.tests.test_file_selection.test_file_named_dot_eml_skipped",
+ "eval.tests.test_file_selection.test_hidden_dot_directories_traversed",
+ "eval.tests.test_file_selection.test_incremental_rescan_reflects_current_directory",
+ "eval.tests.test_file_selection.test_large_link_count_groups",
+ "eval.tests.test_file_selection.test_nested_multiple_domains_separate_groups",
+ "eval.tests.test_file_selection.test_nested_subdirectories_scanned_recursively",
+ "eval.tests.test_file_selection.test_non_eml_extensions_ignored",
+ "eval.tests.test_file_selection.test_relative_directory_path_accepted",
+ "eval.tests.test_file_selection.test_relative_directory_with_trailing_slash",
+ "eval.tests.test_file_selection.test_scanning_a_single_file_arg",
+ "eval.tests.test_file_selection.test_symlink_target_filename_scanned_when_plain_eml",
+ "eval.tests.test_file_selection.test_symlink_to_directory_is_skipped",
+ "eval.tests.test_file_selection.test_symlinked_eml_is_not_scanned",
+ "eval.tests.test_html_output.test_default_output_writes_byte_exact_report",
+ "eval.tests.test_html_output.test_html_all_domains_total_reflects_link_count",
+ "eval.tests.test_html_output.test_html_domain_toggle_boxes_sorted_descending_by_count",
+ "eval.tests.test_html_output.test_html_each_domain_link_box_has_done_link",
+ "eval.tests.test_html_output.test_html_empty_scan_report_byte_exact",
+ "eval.tests.test_html_output.test_html_explicit_file_selection_matches_json",
+ "eval.tests.test_html_output.test_html_explicit_flag_writes_same_byte_exact_report",
+ "eval.tests.test_html_output.test_html_file_lands_in_tmpdir",
+ "eval.tests.test_html_output.test_html_filenames_escaped_safely",
+ "eval.tests.test_html_output.test_html_group_same_domain_links_are_coalesced",
+ "eval.tests.test_html_output.test_html_http_link_rendered",
+ "eval.tests.test_html_output.test_html_lists_group_with_count_and_domain_box",
+ "eval.tests.test_html_output.test_html_loading_script_present",
+ "eval.tests.test_html_output.test_html_multiple_urls_first_used",
+ "eval.tests.test_html_output.test_html_nested_link_anchor_uses_basename",
+ "eval.tests.test_html_output.test_html_renders_toggle_handler_per_domain",
+ "eval.tests.test_html_output.test_html_report_overwrites_previous_in_same_tmpdir",
+ "eval.tests.test_html_output.test_html_single_domain_report_byte_exact",
+ "eval.tests.test_html_output.test_html_subject_is_not_rendered",
+ "eval.tests.test_html_output.test_html_unicode_domain_toggle_and_link_boxes",
+ "eval.tests.test_html_output.test_html_uses_bulma_cdn_stylesheet_full_link",
+ "eval.tests.test_html_output.test_json_mode_leaves_no_html_file_in_tmpdir",
+ "eval.tests.test_json_output.test_combined_short_flag_ojson",
+ "eval.tests.test_json_output.test_directory_with_only_ignored_files_returns_empty",
+ "eval.tests.test_json_output.test_distinct_domains_are_separate_groups",
+ "eval.tests.test_json_output.test_domain_uses_subdomain_as_is",
+ "eval.tests.test_json_output.test_eml_missing_from_skipped",
+ "eval.tests.test_json_output.test_eml_missing_list_unsubscribe_skipped",
+ "eval.tests.test_json_output.test_eml_missing_subject_skipped",
+ "eval.tests.test_json_output.test_empty_body_still_parsed",
+ "eval.tests.test_json_output.test_empty_directory_returns_empty_list",
+ "eval.tests.test_json_output.test_empty_report_pretty_shape_exact",
+ "eval.tests.test_json_output.test_empty_subject_value_still_collected",
+ "eval.tests.test_json_output.test_first_url_from_list_unsubscribe_used",
+ "eval.tests.test_json_output.test_folded_from_header_skips_file",
+ "eval.tests.test_json_output.test_folded_list_unsubscribe_captures_first_line_url",
+ "eval.tests.test_json_output.test_folded_subject_captures_first_line_only",
+ "eval.tests.test_json_output.test_from_and_subject_headers_mid_file_still_found",
+ "eval.tests.test_json_output.test_from_bare_angle_bracket_address",
+ "eval.tests.test_json_output.test_from_email_embedded_in_sentence_first_extracted",
+ "eval.tests.test_json_output.test_from_email_first_used_when_multiple_addrs",
+ "eval.tests.test_json_output.test_from_local_part_with_plus_tag",
+ "eval.tests.test_json_output.test_from_semicolon_separated_addresses_first_used",
+ "eval.tests.test_json_output.test_from_with_parenthesized_comment_parsed",
+ "eval.tests.test_json_output.test_from_without_recognized_email_pattern",
+ "eval.tests.test_json_output.test_groups_sorted_by_count_descending",
+ "eval.tests.test_json_output.test_header_name_is_case_sensitive_exact_colon[SUBJECT: upper-case-subject]",
+ "eval.tests.test_json_output.test_header_name_is_case_sensitive_exact_colon[Subject : space-before-colon]",
+ "eval.tests.test_json_output.test_header_name_is_case_sensitive_exact_colon[Subject\\t: tab-before-colon]",
+ "eval.tests.test_json_output.test_header_name_is_case_sensitive_exact_colon[subject: lower-case-subject]",
+ "eval.tests.test_json_output.test_header_tab_after_colon_not_matched",
+ "eval.tests.test_json_output.test_header_value_with_trailing_semicolon",
+ "eval.tests.test_json_output.test_http_vs_https_both_captured",
+ "eval.tests.test_json_output.test_json_filename_preserves_special_chars_raw",
+ "eval.tests.test_json_output.test_json_pretty_shape_exact_for_single_item",
+ "eval.tests.test_json_output.test_lf_only_line_endings_parsed",
+ "eval.tests.test_json_output.test_list_unsubscribe_without_http_url_skipped",
+ "eval.tests.test_json_output.test_mixed_valid_and_invalid_files",
+ "eval.tests.test_json_output.test_multiple_at_in_address_last_part_domain",
+ "eval.tests.test_json_output.test_multiple_emails_same_domain_grouped_together",
+ "eval.tests.test_json_output.test_multiple_same_headers_first_wins",
+ "eval.tests.test_json_output.test_nested_file_filename_is_basename_only",
+ "eval.tests.test_json_output.test_no_space_between_name_and_email",
+ "eval.tests.test_json_output.test_non_utf8_bytes_do_not_crash",
+ "eval.tests.test_json_output.test_padded_angle_bracket_from_parsed",
+ "eval.tests.test_json_output.test_plain_from_without_display_name_parsed",
+ "eval.tests.test_json_output.test_quoted_display_name_parsed",
+ "eval.tests.test_json_output.test_single_email_grouped_by_domain",
+ "eval.tests.test_json_output.test_space_separated_multiple_urls_first_used[https://first.example/x https://second.example/y]",
+ "eval.tests.test_json_output.test_subject_double_prefix_stripped_repeatedly",
+ "eval.tests.test_json_output.test_subject_internal_colon_preserved",
+ "eval.tests.test_json_output.test_subject_is_trimmed",
+ "eval.tests.test_json_output.test_subject_prefixed_similarly_not_stripped",
+ "eval.tests.test_json_output.test_subject_with_tab_and_trailing_ws",
+ "eval.tests.test_json_output.test_unicode_domain_round_trips",
+ "eval.tests.test_json_output.test_uppercase_domain_is_distinct_group",
+ "eval.tests.test_json_output.test_url_with_fragment_preserved",
+ "eval.tests.test_json_output.test_url_with_port_and_auth_preserved",
+ "eval.tests.test_json_output.test_url_with_query_and_path_preserved",
+ "eval.tests.test_json_output.test_utf8_subject_preserved_exactly"
+ ]
+ }
+ },
+ "commit": "e64ee6d6dcd0afc003e139be2fb80493fc0cc06f",
+ "data_source": "synthetic_programgym",
+ "difficulty": "easy",
+ "difficulty_score": 1.5370631427816175,
+ "eval_clean_hashes": [
+ "9ff5f095aa2a3b4e31a7f5876c9bf2c4e35545ba7f30f2791a1dcab38d9e734f"
+ ],
+ "input_record": {
+ "codeql_db_mb": 83.64,
+ "codeql_status": true,
+ "codeql_time": 45.56414015800692,
+ "commit": "e64ee6d6dcd0afc003e139be2fb80493fc0cc06f",
+ "commits": 11,
+ "contributors": 2,
+ "difficulty": "easy",
+ "difficulty_code_lines": 287,
+ "difficulty_has_tests": false,
+ "difficulty_product_code_lines": 287,
+ "difficulty_runtime_deps": 11,
+ "difficulty_score": 1.5370631427816175,
+ "difficulty_test_code_lines": 0,
+ "full_name": "LGUG2Z/unsubscan",
+ "github_stars": 264,
+ "input_codeql_db": "rust_codeql/LGUG2Z__unsubscan",
+ "language": "rs",
+ "pb_match": [
+ {
+ "pb_fullname": "BurntSushi/xsv",
+ "rank": 835,
+ "similarity": 0.4642282724380493
+ },
+ {
+ "pb_fullname": "pemistahl/grex",
+ "rank": 838,
+ "similarity": 0.4482312798500061
+ },
+ {
+ "pb_fullname": "Drew-Alleman/DataSurgeon",
+ "rank": 77,
+ "similarity": 0.5658397674560547
+ },
+ {
+ "pb_fullname": "BurntSushi/ripgrep",
+ "rank": 703,
+ "similarity": 0.4089038372039795
+ },
+ {
+ "pb_fullname": "dalance/amber",
+ "rank": 905,
+ "similarity": 0.45222601294517517
+ },
+ {
+ "pb_fullname": "foriequal0/git-trim",
+ "rank": 186,
+ "similarity": 0.4330736994743347
+ },
+ {
+ "pb_fullname": "sstadick/hck",
+ "rank": 198,
+ "similarity": 0.47408387064933777
+ },
+ {
+ "pb_fullname": "bensadeh/tailspin",
+ "rank": 1000,
+ "similarity": 0.4662465453147888
+ },
+ {
+ "pb_fullname": "Isona/dirble",
+ "rank": 632,
+ "similarity": 0.45894837379455566
+ },
+ {
+ "pb_fullname": "ismaelgv/rnr",
+ "rank": 903,
+ "similarity": 0.3884693384170532
+ },
+ {
+ "pb_fullname": "astro/deadnix",
+ "rank": 465,
+ "similarity": 0.49454063177108765
+ },
+ {
+ "pb_fullname": "riquito/tuc",
+ "rank": 515,
+ "similarity": 0.4348240792751312
+ },
+ {
+ "pb_fullname": "mgdm/htmlq",
+ "rank": 205,
+ "similarity": 0.48872339725494385
+ },
+ {
+ "pb_fullname": "rochacbruno/marmite",
+ "rank": 919,
+ "similarity": 0.40753307938575745
+ },
+ {
+ "pb_fullname": "Byron/dua-cli",
+ "rank": 994,
+ "similarity": 0.41844016313552856
+ },
+ {
+ "pb_fullname": "agourlay/zip-password-finder",
+ "rank": 580,
+ "similarity": 0.47718462347984314
+ }
+ ],
+ "repo_age": 4.13,
+ "repo_path": "rust/LGUG2Z__unsubscan",
+ "rust_channel": "stable",
+ "rust_edition": "2021",
+ "rust_release_date": "2021-10-21",
+ "rust_version": "1.56.0",
+ "rust_version_source": "edition",
+ "source": "commit:e64ee6d6dcd0afc003e139be2fb80493fc0cc06f",
+ "status": "done",
+ "url": "https://github.com/LGUG2Z/unsubscan"
+ },
+ "instance_id": "LGUG2Z__unsubscan.e64ee6d",
+ "language": "rust",
+ "module_iterations": [
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_01",
+ "iteration_limit": 5,
+ "module_index": 1,
+ "module_kind": "source",
+ "termination_reason": "module_coverage_threshold_reached"
+ }
+ ],
+ "repository": "LGUG2Z/unsubscan"
+}
diff --git a/lgug2z--unsubscan.e64ee6d/tests/test.sh b/lgug2z--unsubscan.e64ee6d/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/lgug2z--unsubscan.e64ee6d/tests/workspace.tar.gz b/lgug2z--unsubscan.e64ee6d/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..a574c0961b8365d0c7f2d7ff613f71b171a8cef0
--- /dev/null
+++ b/lgug2z--unsubscan.e64ee6d/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:292fd3eb4db9bf0ee2e6bd72d6d78526c0495f5259813bc4c8d26564154d3bb4
+size 2223
diff --git a/liamg--gitjacker.437d37a/environment/Dockerfile b/liamg--gitjacker.437d37a/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..18c9b14a3dd87ff70c68d67e0e9cd3cb548e1b1a
--- /dev/null
+++ b/liamg--gitjacker.437d37a/environment/Dockerfile
@@ -0,0 +1,60 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+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"]
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# programgym-runtime-workspace-cleanup: v1
+RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/liamg--gitjacker.437d37a/environment/download.sh b/liamg--gitjacker.437d37a/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..37089056ea779008ae782787bfae720598b7322a
--- /dev/null
+++ b/liamg--gitjacker.437d37a/environment/download.sh
@@ -0,0 +1,240 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
+# Generated deterministically from repository module metadata; do not edit.
+set -u
+export GOTOOLCHAIN=auto
+mkdir -p /workspace/.programgym_build_env/go-prefetch
+cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
+module github.com/liamg/gitjacker
+
+go 1.15
+
+require (
+ github.com/go-git/go-git v4.7.0+incompatible // indirect
+ github.com/liamg/tml v0.3.0
+ github.com/magiconair/properties v1.8.0
+ github.com/sergi/go-diff v1.1.0 // indirect
+ github.com/sirupsen/logrus v1.2.0
+ github.com/spf13/cobra v1.0.0
+ gopkg.in/src-d/go-git.v4 v4.13.1 // indirect
+)
+PROGRAMGYM_GO_MOD_EOF
+cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
+cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
+github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
+github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
+github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7/go.mod h1:6zEj6s6u/ghQa61ZWa/C2Aw3RkjiTBOix7dkqa1VLIs=
+github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
+github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
+github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c=
+github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
+github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
+github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
+github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
+github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
+github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
+github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk=
+github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
+github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
+github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
+github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
+github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
+github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
+github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
+github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no=
+github.com/emirpasic/gods v1.12.0 h1:QAUIPSaCu4G+POclxeqb3F+WPpdKqFGlw36+yOzGlrg=
+github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o=
+github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc=
+github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
+github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
+github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0=
+github.com/go-git/go-git v1.0.0 h1:YcN9iDGDoXuIw0vHls6rINwV416HYa0EB2X+RBsyYp4=
+github.com/go-git/go-git v4.7.0+incompatible h1:+W9rgGY4DOKKdX2x6HxSR7HNeTxqiKrOvKnuittYVdA=
+github.com/go-git/go-git v4.7.0+incompatible/go.mod h1:6+421e08gnZWn30y26Vchf7efgYLe4dl5OQbBSUXShE=
+github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
+github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE=
+github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk=
+github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
+github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
+github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4=
+github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
+github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
+github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
+github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
+github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
+github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
+github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
+github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs=
+github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk=
+github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
+github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
+github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=
+github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
+github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A=
+github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo=
+github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
+github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo=
+github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
+github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd h1:Coekwdh0v2wtGp9Gmz1Ze3eVRAWJMLokvN3QjdzCHLY=
+github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
+github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q=
+github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
+github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk=
+github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
+github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
+github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
+github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
+github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw=
+github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
+github.com/liamg/tml v0.3.0 h1:Qz+R+E3BH07IgflYyB4dLijKZ+mZcKJEuC5pTNDWShc=
+github.com/liamg/tml v0.3.0/go.mod h1:0h4EAV/zBOsqI91EWONedjRpO8O0itjGJVd+wG5eC+E=
+github.com/magiconair/properties v1.8.0 h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY=
+github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
+github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
+github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
+github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
+github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
+github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
+github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
+github.com/pelletier/go-buffruneio v0.2.0/go.mod h1:JkE26KsDizTr40EUHkXVtNPvgGtbSNq5BcowyYOWdKo=
+github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
+github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
+github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
+github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso=
+github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
+github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
+github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro=
+github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
+github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
+github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA=
+github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU=
+github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
+github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
+github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
+github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
+github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
+github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
+github.com/sirupsen/logrus v1.2.0 h1:juTguoYk5qI21pwyTXY3B3Y5cOTH3ZUyZCg1v/mihuo=
+github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
+github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM=
+github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
+github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ=
+github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
+github.com/spf13/cobra v1.0.0 h1:6m/oheQuQ13N9ks4hubMG6BnvwOeaJrqSPLahSnczz8=
+github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE=
+github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo=
+github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg=
+github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
+github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE=
+github.com/src-d/gcfg v1.4.0 h1:xXbNR5AlLSA315x2UO+fTSSAXCDf+Ar38/6oyGbDKQ4=
+github.com/src-d/gcfg v1.4.0/go.mod h1:p/UMsR43ujA89BJY9duynAwIpvqEujIH/jFlfL7jWoI=
+github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE=
+github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
+github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
+github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
+github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
+github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc=
+github.com/xanzy/ssh-agent v0.2.1 h1:TCbipTQL2JiiCprBWx9frJ2eJlCYT00NmctrHxVAr70=
+github.com/xanzy/ssh-agent v0.2.1/go.mod h1:mLlQY/MoOhWBj+gOGMQkOeiEvkx+8pJSI+0Bx9h2kr4=
+github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU=
+github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q=
+go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
+go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
+go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0=
+go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
+golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
+golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
+golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 h1:VklqNMn3ovrHsnt90PveolxSbWFaJdECFbxSq0Mqo2M=
+golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
+golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4 h1:HuIa8hRrWRSrqYzx1qI49NNxhdi2PrY7gxVSq1JjLDc=
+golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
+golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
+golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20190724013045-ca1201d0de80 h1:Ao/3l156eZf2AW5wK8a7/smtodRU+gha3+BeqJ69lRk=
+golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
+golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190221075227-b4e8571b14e0/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e h1:D5TXcfTk7xF7hvieo4QErS3qqCB4teTffacDWr7CI+0=
+golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
+golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190729092621-ff9f1409240a/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI=
+google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
+google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
+google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
+google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
+gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo=
+gopkg.in/src-d/go-billy.v4 v4.3.2 h1:0SQA1pRztfTFx2miS8sA97XvooFeNOmvUenF4o0EcVg=
+gopkg.in/src-d/go-billy.v4 v4.3.2/go.mod h1:nDjArDMp+XMs1aFAESLRjfGSgfvoYN0hDfzEk0GjC98=
+gopkg.in/src-d/go-git-fixtures.v3 v3.5.0/go.mod h1:dLBcvytrw/TYZsNTWCnkNF2DSIlzWYqTe3rJR56Ac7g=
+gopkg.in/src-d/go-git.v4 v4.13.1 h1:SRtFyV8Kxc0UP7aCHcijOMQGPxHSmMOPrzulQWolkYE=
+gopkg.in/src-d/go-git.v4 v4.13.1/go.mod h1:nx5NYcxdKxq5fpltdHnPa2Exj4Sx0EclMWZQbYDu2z8=
+gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME=
+gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI=
+gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74=
+gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+PROGRAMGYM_GO_SUM_EOF
+PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
+if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && GOTOOLCHAIN=auto go env GOROOT)"; then
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+else
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
+fi
+export PATH="$GOROOT/bin:$PATH"
+export GOTOOLCHAIN=local
+if ! (cd /workspace/.programgym_build_env/go-prefetch && go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
diff --git a/liamg--gitjacker.437d37a/environment/executable b/liamg--gitjacker.437d37a/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..f667825db29db83125004d643504b9453952826c
--- /dev/null
+++ b/liamg--gitjacker.437d37a/environment/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:796fc859b07ebb5faa1b8b241a084f9bc09937e77480c153db8aea1eeb03c232
+size 12011934
diff --git a/liamg--gitjacker.437d37a/environment/programgym-go.tar.gz b/liamg--gitjacker.437d37a/environment/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/liamg--gitjacker.437d37a/environment/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/liamg--gitjacker.437d37a/environment/workspace.tar.gz b/liamg--gitjacker.437d37a/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..d5860211c9eaa521b9f113ca37666a20d75205b1
--- /dev/null
+++ b/liamg--gitjacker.437d37a/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9e95e42265cea4bb1ec6c3e86145da76bfccea1ac191093605c78529c20c086d
+size 1727
diff --git a/liamg--gitjacker.437d37a/instruction.md b/liamg--gitjacker.437d37a/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/liamg--gitjacker.437d37a/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/liamg--gitjacker.437d37a/solution/solve.sh b/liamg--gitjacker.437d37a/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/liamg--gitjacker.437d37a/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/liamg--gitjacker.437d37a/task.toml b/liamg--gitjacker.437d37a/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..c46ca6d43cb4ddba47ba813801d4640c474a5001
--- /dev/null
+++ b/liamg--gitjacker.437d37a/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/liamg--gitjacker.437d37a"
+description = "Synthetic ProgramGym cleanroom reconstruction task for liamg/gitjacker"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "go"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "liamg__gitjacker.437d37a"
+repository = "liamg/gitjacker"
+commit = "437d37a5cbcdff8b1666f650573dcb75e1e6333b"
+language = "go"
+difficulty = "easy"
+difficulty_score = 1.7717344253867688
+test_branches = 4
+test_count = 123
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/liamg--gitjacker.437d37a/tests/Dockerfile b/liamg--gitjacker.437d37a/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..a626a06f42b7d18ca8dda5f990bed0106ab28bf5
--- /dev/null
+++ b/liamg--gitjacker.437d37a/tests/Dockerfile
@@ -0,0 +1,68 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+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"]
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# programgym-runtime-workspace-cleanup: v1
+RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN python3 -m pip install --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/liamg--gitjacker.437d37a/tests/blobs/tests/generated_module_01.tar.gz b/liamg--gitjacker.437d37a/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..5c0f6d6b633e0a23515c7929f991d81868c9b851
--- /dev/null
+++ b/liamg--gitjacker.437d37a/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bbb34ef19d29d6c7ea79d87c287c386ca1b0bc69c831967044c1927639514324
+size 9757
diff --git a/liamg--gitjacker.437d37a/tests/blobs/tests/generated_module_02.tar.gz b/liamg--gitjacker.437d37a/tests/blobs/tests/generated_module_02.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..8dcb3c93c79946293be6e8cfc10eb8fc08cc0b12
--- /dev/null
+++ b/liamg--gitjacker.437d37a/tests/blobs/tests/generated_module_02.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:252b09e56fbd2f723e7fd53929deed705bced73b90722d4ef6a01fe21f473b4d
+size 9491
diff --git a/liamg--gitjacker.437d37a/tests/blobs/tests/generated_module_03.tar.gz b/liamg--gitjacker.437d37a/tests/blobs/tests/generated_module_03.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..334ab794e4ee8dce141606718c906f56cf06aa80
--- /dev/null
+++ b/liamg--gitjacker.437d37a/tests/blobs/tests/generated_module_03.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cacbb827fd020182dac0964588b33aa61e38ef86550135b525ac4f463f318d59
+size 3586
diff --git a/liamg--gitjacker.437d37a/tests/blobs/tests/generated_module_04.tar.gz b/liamg--gitjacker.437d37a/tests/blobs/tests/generated_module_04.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..5272d8ccb2a4a01e12a704d0fb0fb86cdfdf7495
--- /dev/null
+++ b/liamg--gitjacker.437d37a/tests/blobs/tests/generated_module_04.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8e48947a3f7bfe24f5e49ea888acc4292160e7dbd919908340899890083eeb72
+size 6694
diff --git a/liamg--gitjacker.437d37a/tests/download.sh b/liamg--gitjacker.437d37a/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..37089056ea779008ae782787bfae720598b7322a
--- /dev/null
+++ b/liamg--gitjacker.437d37a/tests/download.sh
@@ -0,0 +1,240 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
+# Generated deterministically from repository module metadata; do not edit.
+set -u
+export GOTOOLCHAIN=auto
+mkdir -p /workspace/.programgym_build_env/go-prefetch
+cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
+module github.com/liamg/gitjacker
+
+go 1.15
+
+require (
+ github.com/go-git/go-git v4.7.0+incompatible // indirect
+ github.com/liamg/tml v0.3.0
+ github.com/magiconair/properties v1.8.0
+ github.com/sergi/go-diff v1.1.0 // indirect
+ github.com/sirupsen/logrus v1.2.0
+ github.com/spf13/cobra v1.0.0
+ gopkg.in/src-d/go-git.v4 v4.13.1 // indirect
+)
+PROGRAMGYM_GO_MOD_EOF
+cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
+cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
+github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
+github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
+github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7/go.mod h1:6zEj6s6u/ghQa61ZWa/C2Aw3RkjiTBOix7dkqa1VLIs=
+github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
+github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
+github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c=
+github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
+github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
+github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
+github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
+github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
+github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
+github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk=
+github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
+github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
+github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
+github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
+github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
+github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
+github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
+github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no=
+github.com/emirpasic/gods v1.12.0 h1:QAUIPSaCu4G+POclxeqb3F+WPpdKqFGlw36+yOzGlrg=
+github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o=
+github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc=
+github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
+github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
+github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0=
+github.com/go-git/go-git v1.0.0 h1:YcN9iDGDoXuIw0vHls6rINwV416HYa0EB2X+RBsyYp4=
+github.com/go-git/go-git v4.7.0+incompatible h1:+W9rgGY4DOKKdX2x6HxSR7HNeTxqiKrOvKnuittYVdA=
+github.com/go-git/go-git v4.7.0+incompatible/go.mod h1:6+421e08gnZWn30y26Vchf7efgYLe4dl5OQbBSUXShE=
+github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
+github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE=
+github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk=
+github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
+github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
+github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4=
+github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
+github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
+github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
+github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
+github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
+github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
+github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
+github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs=
+github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk=
+github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
+github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
+github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=
+github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
+github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A=
+github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo=
+github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
+github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo=
+github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
+github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd h1:Coekwdh0v2wtGp9Gmz1Ze3eVRAWJMLokvN3QjdzCHLY=
+github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
+github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q=
+github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
+github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk=
+github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
+github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
+github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
+github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
+github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw=
+github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
+github.com/liamg/tml v0.3.0 h1:Qz+R+E3BH07IgflYyB4dLijKZ+mZcKJEuC5pTNDWShc=
+github.com/liamg/tml v0.3.0/go.mod h1:0h4EAV/zBOsqI91EWONedjRpO8O0itjGJVd+wG5eC+E=
+github.com/magiconair/properties v1.8.0 h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY=
+github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
+github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
+github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
+github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
+github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
+github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
+github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
+github.com/pelletier/go-buffruneio v0.2.0/go.mod h1:JkE26KsDizTr40EUHkXVtNPvgGtbSNq5BcowyYOWdKo=
+github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
+github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
+github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
+github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso=
+github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
+github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
+github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro=
+github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
+github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
+github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA=
+github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU=
+github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
+github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
+github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
+github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
+github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
+github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
+github.com/sirupsen/logrus v1.2.0 h1:juTguoYk5qI21pwyTXY3B3Y5cOTH3ZUyZCg1v/mihuo=
+github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
+github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM=
+github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
+github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ=
+github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
+github.com/spf13/cobra v1.0.0 h1:6m/oheQuQ13N9ks4hubMG6BnvwOeaJrqSPLahSnczz8=
+github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE=
+github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo=
+github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg=
+github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
+github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE=
+github.com/src-d/gcfg v1.4.0 h1:xXbNR5AlLSA315x2UO+fTSSAXCDf+Ar38/6oyGbDKQ4=
+github.com/src-d/gcfg v1.4.0/go.mod h1:p/UMsR43ujA89BJY9duynAwIpvqEujIH/jFlfL7jWoI=
+github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE=
+github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
+github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
+github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
+github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
+github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc=
+github.com/xanzy/ssh-agent v0.2.1 h1:TCbipTQL2JiiCprBWx9frJ2eJlCYT00NmctrHxVAr70=
+github.com/xanzy/ssh-agent v0.2.1/go.mod h1:mLlQY/MoOhWBj+gOGMQkOeiEvkx+8pJSI+0Bx9h2kr4=
+github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU=
+github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q=
+go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
+go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
+go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0=
+go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
+golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
+golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
+golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 h1:VklqNMn3ovrHsnt90PveolxSbWFaJdECFbxSq0Mqo2M=
+golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
+golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4 h1:HuIa8hRrWRSrqYzx1qI49NNxhdi2PrY7gxVSq1JjLDc=
+golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
+golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
+golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20190724013045-ca1201d0de80 h1:Ao/3l156eZf2AW5wK8a7/smtodRU+gha3+BeqJ69lRk=
+golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
+golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190221075227-b4e8571b14e0/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e h1:D5TXcfTk7xF7hvieo4QErS3qqCB4teTffacDWr7CI+0=
+golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
+golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190729092621-ff9f1409240a/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI=
+google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
+google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
+google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
+google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
+gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo=
+gopkg.in/src-d/go-billy.v4 v4.3.2 h1:0SQA1pRztfTFx2miS8sA97XvooFeNOmvUenF4o0EcVg=
+gopkg.in/src-d/go-billy.v4 v4.3.2/go.mod h1:nDjArDMp+XMs1aFAESLRjfGSgfvoYN0hDfzEk0GjC98=
+gopkg.in/src-d/go-git-fixtures.v3 v3.5.0/go.mod h1:dLBcvytrw/TYZsNTWCnkNF2DSIlzWYqTe3rJR56Ac7g=
+gopkg.in/src-d/go-git.v4 v4.13.1 h1:SRtFyV8Kxc0UP7aCHcijOMQGPxHSmMOPrzulQWolkYE=
+gopkg.in/src-d/go-git.v4 v4.13.1/go.mod h1:nx5NYcxdKxq5fpltdHnPa2Exj4Sx0EclMWZQbYDu2z8=
+gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME=
+gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI=
+gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74=
+gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+PROGRAMGYM_GO_SUM_EOF
+PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
+if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && GOTOOLCHAIN=auto go env GOROOT)"; then
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+else
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
+fi
+export PATH="$GOROOT/bin:$PATH"
+export GOTOOLCHAIN=local
+if ! (cd /workspace/.programgym_build_env/go-prefetch && go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
diff --git a/liamg--gitjacker.437d37a/tests/executable b/liamg--gitjacker.437d37a/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..f667825db29db83125004d643504b9453952826c
--- /dev/null
+++ b/liamg--gitjacker.437d37a/tests/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:796fc859b07ebb5faa1b8b241a084f9bc09937e77480c153db8aea1eeb03c232
+size 12011934
diff --git a/liamg--gitjacker.437d37a/tests/programgym-go.tar.gz b/liamg--gitjacker.437d37a/tests/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/liamg--gitjacker.437d37a/tests/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/liamg--gitjacker.437d37a/tests/programgym_evaluator.py b/liamg--gitjacker.437d37a/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/liamg--gitjacker.437d37a/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/liamg--gitjacker.437d37a/tests/programgym_task.json b/liamg--gitjacker.437d37a/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..4889b2473c5eed68b359e1f7c5887e3bbca22940
--- /dev/null
+++ b/liamg--gitjacker.437d37a/tests/programgym_task.json
@@ -0,0 +1,334 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_cli.TestArgArity.test_two_args_errors_on_stderr",
+ "eval.tests.test_cli.TestArgArity.test_zero_args_errors_on_stderr",
+ "eval.tests.test_cli.TestConfiguredSummary.test_branch_with_remote_rendered",
+ "eval.tests.test_cli.TestConfiguredSummary.test_configured_user_rendered",
+ "eval.tests.test_cli.TestConfiguredSummary.test_github_token_rendered",
+ "eval.tests.test_cli.TestConfiguredSummary.test_remote_url_and_name_rendered",
+ "eval.tests.test_cli.TestConfiguredSummary.test_repository_name_from_remote_url",
+ "eval.tests.test_cli.TestGitVersion.test_git_version_between_target_and_output_dir",
+ "eval.tests.test_cli.TestGitVersion.test_local_git_version_is_rendered",
+ "eval.tests.test_cli.TestGitjackingFailure.test_config_404_reports_gitjacking_failed",
+ "eval.tests.test_cli.TestGitjackingFailure.test_gitjacking_failed_is_distinct_from_not_vulnerable",
+ "eval.tests.test_cli.TestGitjackingFailure.test_gitjacking_failed_renders_no_summary",
+ "eval.tests.test_cli.TestGitjackingFailure.test_gitjacking_failed_under_verbose",
+ "eval.tests.test_cli.TestHelp.test_help_is_shown_without_url_argument",
+ "eval.tests.test_cli.TestHelp.test_help_lists_output_dir_flag",
+ "eval.tests.test_cli.TestHelp.test_help_lists_verbose_flag",
+ "eval.tests.test_cli.TestHelp.test_long_help_prints_short_description",
+ "eval.tests.test_cli.TestHelp.test_short_help_flag",
+ "eval.tests.test_cli.TestNotVulnerable.test_connection_refused_reports_not_vulnerable",
+ "eval.tests.test_cli.TestNotVulnerable.test_plain_server_reports_not_vulnerable",
+ "eval.tests.test_cli.TestOutputDir.test_default_output_dir_is_temp_created",
+ "eval.tests.test_cli.TestOutputDir.test_explicit_output_dir_is_used",
+ "eval.tests.test_cli.TestOutputDir.test_long_output_dir_flag",
+ "eval.tests.test_cli.TestOutputDir.test_output_dir_flag_requires_argument",
+ "eval.tests.test_cli.TestPartialSuccess.test_missing_object_reports_partial_success",
+ "eval.tests.test_cli.TestPartialSuccess.test_partial_success_counts_found_and_missing",
+ "eval.tests.test_cli.TestSuccessSummary.test_output_location_line_renders_dir",
+ "eval.tests.test_cli.TestSuccessSummary.test_pack_data_listed_is_boolean",
+ "eval.tests.test_cli.TestSuccessSummary.test_remotes_na_without_remote_config",
+ "eval.tests.test_cli.TestSuccessSummary.test_repository_line_rendered",
+ "eval.tests.test_cli.TestSuccessSummary.test_success_exit_code_is_zero",
+ "eval.tests.test_cli.TestSuccessSummary.test_success_status_and_objects",
+ "eval.tests.test_cli.TestSuccessSummary.test_user_info_renders_name_and_email",
+ "eval.tests.test_cli.TestTempDirFailure.test_tempdir_error_is_not_a_url_validation_error",
+ "eval.tests.test_cli.TestTempDirFailure.test_unavailable_temp_root_reports_tempdir_failure",
+ "eval.tests.test_cli.TestUrlSuffixTrimming.test_dotgit_slash_suffix_reachable",
+ "eval.tests.test_cli.TestUrlSuffixTrimming.test_dotgit_suffix_reachable_and_trimmed",
+ "eval.tests.test_cli.TestUrlValidation.test_malformed_url_rejected",
+ "eval.tests.test_cli.TestUrlValidation.test_protocol_relative_url_rejected",
+ "eval.tests.test_cli.TestUrlValidation.test_relative_url_rejected",
+ "eval.tests.test_cli.TestUserInfoNA.test_user_info_na_has_no_identity_lines",
+ "eval.tests.test_cli.TestUserInfoNA.test_user_info_na_without_identity_config",
+ "eval.tests.test_cli.TestVerbose.test_non_verbose_has_no_debug_logs",
+ "eval.tests.test_cli.TestVerbose.test_verbose_long_flag_enables_debug_logs",
+ "eval.tests.test_cli.TestVerbose.test_verbose_short_flag_enables_debug_logs"
+ ]
+ },
+ "generated_module_02": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_pack_handling.test_advertised_pack_reference_missing_still_succeeds_for_loose_content",
+ "eval.tests.test_pack_handling.test_commit_history_parent_traversal",
+ "eval.tests.test_pack_handling.test_linear_history_retrieves_both_commits",
+ "eval.tests.test_pack_handling.test_packed_objects_recovered_via_advertised_pack",
+ "eval.tests.test_pack_handling.test_packed_repo_with_dotted_subdirectory",
+ "eval.tests.test_retriever.test_config_branches_rendered[branch_remote]",
+ "eval.tests.test_retriever.test_config_remotes_rendered[multiple_remotes]",
+ "eval.tests.test_retriever.test_config_remotes_rendered[single_remote]",
+ "eval.tests.test_retriever.test_config_repository_name_rendered[remote_no_git_suffix]",
+ "eval.tests.test_retriever.test_config_repository_name_rendered[remote_repo_name]",
+ "eval.tests.test_retriever.test_config_user_and_github_token_rendered[github_token]",
+ "eval.tests.test_retriever.test_config_user_and_github_token_rendered[user_identity]",
+ "eval.tests.test_retriever.test_default_output_dir_is_temporary",
+ "eval.tests.test_retriever.test_help_flag_documents_flags",
+ "eval.tests.test_retriever.test_malformed_url_rejected",
+ "eval.tests.test_retriever.test_no_args_reports_error",
+ "eval.tests.test_retriever.test_pack_data_listed_reports_true_for_loose_repo",
+ "eval.tests.test_retriever.test_partial_success_when_object_missing[missing_blob]",
+ "eval.tests.test_retriever.test_partial_success_when_object_missing[missing_tree]",
+ "eval.tests.test_retriever.test_relative_url_rejected",
+ "eval.tests.test_retriever.test_successful_retrieval_materializes_files[deep_tree]",
+ "eval.tests.test_retriever.test_successful_retrieval_materializes_files[empty_blob]",
+ "eval.tests.test_retriever.test_successful_retrieval_materializes_files[flat_txt]",
+ "eval.tests.test_retriever.test_successful_retrieval_materializes_files[py_script]",
+ "eval.tests.test_retriever.test_traversal_retrieves_commit_tree_and_blob",
+ "eval.tests.test_retriever.test_verbose_flag_emits_debug_logs",
+ "eval.tests.test_retriever.test_vulnerability_probe[head_not_ref]",
+ "eval.tests.test_retriever.test_vulnerability_probe[head_ref_to_missing]",
+ "eval.tests.test_retriever.test_vulnerability_probe[missing_head]",
+ "eval.tests.test_retriever.test_working_tree_materialized_in_explicit_output_dir"
+ ]
+ },
+ "generated_module_03": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_version_banner.test_banner_line_url_then_version",
+ "eval.tests.test_version_banner.test_version_absent_on_help[long]",
+ "eval.tests.test_version_banner.test_version_absent_on_help[short]",
+ "eval.tests.test_version_banner.test_version_deterministic_across_invocations",
+ "eval.tests.test_version_banner.test_version_exact_default_value",
+ "eval.tests.test_version_banner.test_version_not_printed_no_args",
+ "eval.tests.test_version_banner.test_version_not_printed_too_many_args",
+ "eval.tests.test_version_banner.test_version_surfaced_in_banner_for_url_args[absolute]",
+ "eval.tests.test_version_banner.test_version_surfaced_in_banner_for_url_args[empty]",
+ "eval.tests.test_version_banner.test_version_surfaced_in_banner_for_url_args[ftp_scheme]",
+ "eval.tests.test_version_banner.test_version_surfaced_in_banner_for_url_args[relative]",
+ "eval.tests.test_version_banner.test_version_surfaced_in_banner_for_url_args[repo_suffix]",
+ "eval.tests.test_version_banner.test_version_surfaced_in_banner_for_url_args[scp_syntax]",
+ "eval.tests.test_version_banner.test_version_surfaced_with_flag_variants[output_dir]",
+ "eval.tests.test_version_banner.test_version_surfaced_with_flag_variants[v_and_o]",
+ "eval.tests.test_version_banner.test_version_surfaced_with_flag_variants[verbose_long]",
+ "eval.tests.test_version_banner.test_version_surfaced_with_flag_variants[verbose_short]",
+ "eval.tests.test_version_banner.test_version_unique_in_banner_output"
+ ]
+ },
+ "generated_module_04": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_cli_args.test_help_long_flag_exits_zero_and_prints_usage",
+ "eval.tests.test_cli_args.test_help_short_flag_exits_zero",
+ "eval.tests.test_cli_args.test_malformed_url_rejected",
+ "eval.tests.test_cli_args.test_no_args_fails_with_arg_count_error",
+ "eval.tests.test_cli_args.test_relative_url_rejected_as_not_absolute",
+ "eval.tests.test_cli_args.test_scheme_only_url_is_absolute_but_unreachable",
+ "eval.tests.test_cli_args.test_two_args_fails_with_arg_count_error",
+ "eval.tests.test_retrieval.test_bare_host_url_appends_git_suffix",
+ "eval.tests.test_retrieval.test_config_missing_still_completes",
+ "eval.tests.test_retrieval.test_config_parses_branch_remote",
+ "eval.tests.test_retrieval.test_config_parses_github_token",
+ "eval.tests.test_retrieval.test_config_parses_remote_and_branch_combination",
+ "eval.tests.test_retrieval.test_config_parses_remote_and_repo_name",
+ "eval.tests.test_retrieval.test_config_parses_user_name_and_email",
+ "eval.tests.test_retrieval.test_config_parses_user_username_and_email",
+ "eval.tests.test_retrieval.test_connection_refused_not_vulnerable",
+ "eval.tests.test_retrieval.test_default_output_dir_reported",
+ "eval.tests.test_retrieval.test_empty_server_not_vulnerable",
+ "eval.tests.test_retrieval.test_explicit_output_dir_reported",
+ "eval.tests.test_retrieval.test_head_not_ref_prefix_not_vulnerable",
+ "eval.tests.test_retrieval.test_no_remote_config_renders_n_a",
+ "eval.tests.test_retrieval.test_pack_data_listed_true",
+ "eval.tests.test_retrieval.test_recovers_committed_file_with_exact_content",
+ "eval.tests.test_retrieval.test_recovers_multiple_commits_and_history",
+ "eval.tests.test_retrieval.test_recovers_nested_file_layout",
+ "eval.tests.test_retrieval.test_recovers_tracked_working_tree_file",
+ "eval.tests.test_retrieval.test_summary_reports_found_objects_counts",
+ "eval.tests.test_retrieval.test_trailing_git_slash_stripped",
+ "eval.tests.test_retrieval.test_trailing_git_stripped",
+ "eval.tests.test_retrieval.test_verbose_emits_debug_object_logs"
+ ]
+ }
+ },
+ "commit": "437d37a5cbcdff8b1666f650573dcb75e1e6333b",
+ "data_source": "synthetic_programgym",
+ "difficulty": "easy",
+ "difficulty_score": 1.7717344253867688,
+ "eval_clean_hashes": [
+ "796fc859b07ebb5faa1b8b241a084f9bc09937e77480c153db8aea1eeb03c232"
+ ],
+ "input_record": {
+ "commit": "437d37a5cbcdff8b1666f650573dcb75e1e6333b",
+ "commits": 32,
+ "contributors": 4,
+ "difficulty": "easy",
+ "difficulty_code_lines": 739,
+ "difficulty_has_tests": false,
+ "difficulty_product_code_lines": 739,
+ "difficulty_runtime_deps": 7,
+ "difficulty_score": 1.7717344253867688,
+ "difficulty_test_code_lines": 141,
+ "full_name": "liamg/gitjacker",
+ "github_stars": 1608,
+ "input_joern_zip": "go_joern/liamg__gitjacker.zip",
+ "joern_status": true,
+ "joern_time": 54.77942306594923,
+ "language": "go",
+ "pb_match": [
+ {
+ "pb_fullname": "antonmedv/walk",
+ "rank": 768,
+ "similarity": 0.4635559320449829
+ },
+ {
+ "pb_fullname": "peco/peco",
+ "rank": 667,
+ "similarity": 0.4734848439693451
+ },
+ {
+ "pb_fullname": "rs/curlie",
+ "rank": 836,
+ "similarity": 0.48143577575683594
+ },
+ {
+ "pb_fullname": "mibk/dupl",
+ "rank": 530,
+ "similarity": 0.5332615375518799
+ },
+ {
+ "pb_fullname": "direnv/direnv",
+ "rank": 906,
+ "similarity": 0.4106966257095337
+ },
+ {
+ "pb_fullname": "mgechev/revive",
+ "rank": 502,
+ "similarity": 0.5392591953277588
+ },
+ {
+ "pb_fullname": "alecthomas/chroma",
+ "rank": 315,
+ "similarity": 0.506722629070282
+ },
+ {
+ "pb_fullname": "gabotechs/dep-tree",
+ "rank": 200,
+ "similarity": 0.5499840378761292
+ },
+ {
+ "pb_fullname": "jesseduffield/lazygit",
+ "rank": 91,
+ "similarity": 0.604273796081543
+ },
+ {
+ "pb_fullname": "FiloSottile/age",
+ "rank": 490,
+ "similarity": 0.47453510761260986
+ },
+ {
+ "pb_fullname": "boyter/scc",
+ "rank": 704,
+ "similarity": 0.49547863006591797
+ },
+ {
+ "pb_fullname": "noborus/ov",
+ "rank": 944,
+ "similarity": 0.4830186367034912
+ },
+ {
+ "pb_fullname": "sibprogrammer/xq",
+ "rank": 364,
+ "similarity": 0.5057564973831177
+ },
+ {
+ "pb_fullname": "sheepla/pingu",
+ "rank": 645,
+ "similarity": 0.4877420663833618
+ },
+ {
+ "pb_fullname": "raviqqe/muffet",
+ "rank": 30,
+ "similarity": 0.6127074956893921
+ },
+ {
+ "pb_fullname": "eliukblau/pixterm",
+ "rank": 494,
+ "similarity": 0.5160489678382874
+ },
+ {
+ "pb_fullname": "TheZoraiz/ascii-image-converter",
+ "rank": 871,
+ "similarity": 0.4666083753108978
+ },
+ {
+ "pb_fullname": "psampaz/go-mod-outdated",
+ "rank": 823,
+ "similarity": 0.4639287292957306
+ },
+ {
+ "pb_fullname": "dundee/gdu",
+ "rank": 842,
+ "similarity": 0.48031699657440186
+ },
+ {
+ "pb_fullname": "tomnomnom/gron",
+ "rank": 370,
+ "similarity": 0.5042909383773804
+ },
+ {
+ "pb_fullname": "junegunn/fzf",
+ "rank": 576,
+ "similarity": 0.47160983085632324
+ },
+ {
+ "pb_fullname": "zk-org/zk",
+ "rank": 825,
+ "similarity": 0.5234683752059937
+ }
+ ],
+ "repo_age": 5.86,
+ "repo_path": "go/liamg__gitjacker",
+ "source": "commit:437d37a5cbcdff8b1666f650573dcb75e1e6333b",
+ "status": "done",
+ "url": "https://github.com/liamg/gitjacker"
+ },
+ "instance_id": "liamg__gitjacker.437d37a",
+ "language": "go",
+ "module_iterations": [
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_01",
+ "iteration_limit": 5,
+ "module_index": 1,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_02",
+ "iteration_limit": 5,
+ "module_index": 2,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_03",
+ "iteration_limit": 5,
+ "module_index": 3,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_04",
+ "iteration_limit": 5,
+ "module_index": 4,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ }
+ ],
+ "repository": "liamg/gitjacker"
+}
diff --git a/liamg--gitjacker.437d37a/tests/test.sh b/liamg--gitjacker.437d37a/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/liamg--gitjacker.437d37a/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/liamg--gitjacker.437d37a/tests/workspace.tar.gz b/liamg--gitjacker.437d37a/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..d5860211c9eaa521b9f113ca37666a20d75205b1
--- /dev/null
+++ b/liamg--gitjacker.437d37a/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9e95e42265cea4bb1ec6c3e86145da76bfccea1ac191093605c78529c20c086d
+size 1727
diff --git a/liamg--memit.c06b266/environment/Dockerfile b/liamg--memit.c06b266/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..18c9b14a3dd87ff70c68d67e0e9cd3cb548e1b1a
--- /dev/null
+++ b/liamg--memit.c06b266/environment/Dockerfile
@@ -0,0 +1,60 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+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"]
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# programgym-runtime-workspace-cleanup: v1
+RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/liamg--memit.c06b266/environment/download.sh b/liamg--memit.c06b266/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..e6baa647eae894bc0c9aa08176f3eb0b61ce9c9a
--- /dev/null
+++ b/liamg--memit.c06b266/environment/download.sh
@@ -0,0 +1,726 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
+# Generated deterministically from repository module metadata; do not edit.
+set -u
+export GOTOOLCHAIN=auto
+mkdir -p /workspace/.programgym_build_env/go-prefetch
+cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
+module github.com/liamg/memit
+
+go 1.17
+
+require (
+ github.com/spf13/cobra v1.2.1
+ golang.org/x/sys v0.1.0
+)
+
+require (
+ github.com/inconshreveable/mousetrap v1.0.0 // indirect
+ github.com/spf13/pflag v1.0.5 // indirect
+)
+PROGRAMGYM_GO_MOD_EOF
+cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
+cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
+cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
+cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU=
+cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU=
+cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY=
+cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc=
+cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0=
+cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To=
+cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4=
+cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M=
+cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc=
+cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk=
+cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs=
+cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc=
+cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY=
+cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI=
+cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk=
+cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg=
+cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8=
+cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0=
+cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o=
+cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE=
+cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc=
+cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg=
+cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc=
+cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ=
+cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE=
+cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk=
+cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk=
+cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I=
+cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw=
+cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA=
+cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU=
+cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw=
+cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos=
+cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk=
+cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs=
+cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
+dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
+github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
+github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
+github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
+github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
+github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY=
+github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
+github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
+github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM=
+github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
+github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
+github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
+github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
+github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
+github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
+github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
+github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
+github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
+github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
+github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
+github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
+github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
+github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
+github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po=
+github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
+github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
+github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
+github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
+github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
+github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
+github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
+github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
+github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
+github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
+github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
+github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
+github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
+github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
+github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
+github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
+github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
+github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y=
+github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
+github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
+github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
+github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4=
+github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8=
+github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
+github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
+github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk=
+github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8=
+github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA=
+github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs=
+github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w=
+github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
+github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
+github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
+github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
+github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
+github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM=
+github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
+github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
+github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
+github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
+github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
+github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
+github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
+github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
+github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
+github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
+github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
+github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
+github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
+github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
+github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
+github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
+github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
+github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
+github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
+github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
+github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
+github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
+github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
+github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
+github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
+github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
+github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
+github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q=
+github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8=
+github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
+github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
+github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
+github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM=
+github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk=
+github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU=
+github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU=
+github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4=
+github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
+github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
+github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90=
+github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
+github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
+github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
+github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64=
+github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ=
+github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I=
+github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc=
+github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
+github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
+github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=
+github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
+github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
+github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
+github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk=
+github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
+github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
+github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
+github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg=
+github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
+github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
+github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
+github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60=
+github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
+github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
+github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
+github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc=
+github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
+github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=
+github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg=
+github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY=
+github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
+github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
+github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
+github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
+github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
+github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
+github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
+github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
+github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
+github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI=
+github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
+github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
+github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
+github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
+github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
+github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
+github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
+github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
+github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
+github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I=
+github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
+github.com/spf13/cobra v1.2.1 h1:+KmjbUw1hriSNMF55oPrkZcb27aECyrj8V2ytv7kWDw=
+github.com/spf13/cobra v1.2.1/go.mod h1:ExllRjgxM/piMAM+3tAZvg8fsklGAf3tPfi+i8t68Nk=
+github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo=
+github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
+github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
+github.com/spf13/viper v1.8.1/go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH9Ns=
+github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
+github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
+github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
+github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
+github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
+github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
+github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
+github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
+github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
+github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
+go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs=
+go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g=
+go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ=
+go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
+go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
+go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
+go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
+go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
+go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk=
+go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E=
+go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
+go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU=
+go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo=
+golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
+golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
+golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
+golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
+golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
+golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
+golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek=
+golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY=
+golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
+golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
+golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
+golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM=
+golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU=
+golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
+golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
+golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
+golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
+golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
+golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs=
+golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
+golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
+golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
+golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
+golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE=
+golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o=
+golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc=
+golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY=
+golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
+golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
+golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
+golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
+golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
+golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
+golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
+golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
+golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
+golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
+golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
+golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
+golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
+golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
+golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
+golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
+golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
+golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
+golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
+golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
+golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
+golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
+golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc=
+golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
+golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
+golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
+golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
+golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
+golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
+golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U=
+golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
+golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
+golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
+golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
+golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
+golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
+golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
+golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
+golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
+golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw=
+golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw=
+golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8=
+golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
+golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
+golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
+golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
+golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
+golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
+golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
+golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
+golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE=
+golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0=
+golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
+golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE=
+google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M=
+google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
+google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
+google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
+google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
+google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
+google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
+google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
+google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
+google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
+google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
+google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
+google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
+google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM=
+google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc=
+google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg=
+google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE=
+google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8=
+google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU=
+google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94=
+google.golang.org/api v0.44.0/go.mod h1:EBOGZqzyhtvMDoxwS97ctnh0zUmYY6CxqXsc1AvkYD8=
+google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
+google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
+google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
+google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0=
+google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
+google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
+google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
+google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
+google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
+google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
+google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8=
+google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
+google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
+google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
+google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
+google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
+google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
+google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA=
+google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U=
+google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
+google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA=
+google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A=
+google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0=
+google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
+google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
+google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
+google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
+google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
+google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
+google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
+google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
+google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60=
+google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk=
+google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
+google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
+google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
+google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0=
+google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
+google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8=
+google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
+google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
+google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
+google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM=
+google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
+google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
+google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
+google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE=
+google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo=
+google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
+google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
+google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
+google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4=
+google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
+google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
+google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
+gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
+gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
+gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
+honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
+honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
+rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
+rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
+rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
+PROGRAMGYM_GO_SUM_EOF
+PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY="${GOPROXY:-direct}"
+PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
+case "$PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY" in
+ *"|"*|*","*)
+ PROGRAMGYM_INTERNAL_GO_FIRST_PROXY="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY%%[,|]*}"
+ PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY#*[,|]}"
+ if [[ "$PROGRAMGYM_INTERNAL_GO_FIRST_PROXY" =~ [^[:space:]] ]] && [[ "$PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER" =~ [^[:space:]] ]]; then
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY="${PROGRAMGYM_GO_PUBLIC_FALLBACK_PROXY:-${PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER}}"
+ fi
+ ;;
+esac
+if ! [[ "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" =~ [^[:space:]] ]]; then
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
+fi
+cat > /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py <<'PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF'
+import os
+import signal
+import subprocess
+import sys
+import time
+
+sentinel_path, timeout_text, grace_text, proxy, *command = sys.argv[1:]
+if not command:
+ raise SystemExit(125)
+environment = os.environ.copy()
+environment["GOPROXY"] = proxy
+process = subprocess.Popen(command, env=environment, start_new_session=True)
+try:
+ returncode = process.wait(timeout=float(timeout_text))
+except subprocess.TimeoutExpired:
+ with open(sentinel_path, "w", encoding="utf-8") as sentinel:
+ sentinel.write("expired\n")
+ try:
+ os.killpg(process.pid, signal.SIGTERM)
+ except ProcessLookupError:
+ pass
+ deadline = time.monotonic() + float(grace_text)
+ group_alive = True
+ while time.monotonic() < deadline:
+ process.poll()
+ try:
+ os.killpg(process.pid, 0)
+ except ProcessLookupError:
+ group_alive = False
+ break
+ time.sleep(0.05)
+ if group_alive:
+ try:
+ os.killpg(process.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ process.wait()
+ raise SystemExit(124)
+if returncode < 0:
+ returncode = 128 - returncode
+raise SystemExit(returncode)
+PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF
+PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS="${PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS:-90}"
+if ! [[ "$PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS" =~ ^[1-9][0-9]*$ ]]; then
+ printf '%s\n' "download.sh: invalid PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS=${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}" >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if ! command -v python3 >/dev/null 2>&1; then
+ printf '%s\n' 'download.sh: python3 is required for bounded Nexus Go downloads' >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+_programgym_go_with_nexus_timeout() {
+ local programgym_go_rc
+ local programgym_go_timeout_sentinel
+ if ! programgym_go_timeout_sentinel="$(mktemp "${TMPDIR:-/tmp}/programgym-go-timeout.XXXXXX")"; then
+ return 1
+ fi
+ 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
+ programgym_go_rc=0
+ else
+ programgym_go_rc=$?
+ fi
+ if [ ! -s "$programgym_go_timeout_sentinel" ]; then
+ rm -f "$programgym_go_timeout_sentinel"
+ return "$programgym_go_rc"
+ fi
+ rm -f "$programgym_go_timeout_sentinel"
+ if [ -z "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" ]; then
+ printf '%s\n' "download.sh: primary Go request exceeded ${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}s; GOPROXY has no explicit non-empty fallback remainder" >&2
+ return "$programgym_go_rc"
+ fi
+ printf '%s\n' "download.sh: Nexus-first Go request exceeded ${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}s; retrying with GOPROXY=${PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY}" >&2
+ env GOPROXY="$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" "$@"
+}
+PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
+if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && _programgym_go_with_nexus_timeout env GOTOOLCHAIN=auto go env GOROOT)"; then
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+else
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
+fi
+export PATH="$GOROOT/bin:$PATH"
+export GOTOOLCHAIN=local
+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
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+unset -f _programgym_go_with_nexus_timeout
+unset PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY
+unset PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY
+unset PROGRAMGYM_INTERNAL_GO_FIRST_PROXY
+unset PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER
+unset PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS
diff --git a/liamg--memit.c06b266/environment/executable b/liamg--memit.c06b266/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..6ab1446631107cac08b81b024a14ff37f70e4c23
--- /dev/null
+++ b/liamg--memit.c06b266/environment/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:eb46bc704f31eeafa6389b213bf9b78a3ba0eeaba5d48886a700ec147a0f2e5f
+size 11176711
diff --git a/liamg--memit.c06b266/environment/programgym-go.tar.gz b/liamg--memit.c06b266/environment/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/liamg--memit.c06b266/environment/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/liamg--memit.c06b266/environment/workspace.tar.gz b/liamg--memit.c06b266/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..9361eb9c31da93ba741a2957a9e5bc9a747a01fa
--- /dev/null
+++ b/liamg--memit.c06b266/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:28ba7e8c802afa5dab58360b5844acf4d0b4bbcc2b17b3cbe63517f11e923d4d
+size 110614
diff --git a/liamg--memit.c06b266/instruction.md b/liamg--memit.c06b266/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/liamg--memit.c06b266/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/liamg--memit.c06b266/solution/solve.sh b/liamg--memit.c06b266/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/liamg--memit.c06b266/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/liamg--memit.c06b266/task.toml b/liamg--memit.c06b266/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..c54f3b081e07b38913073fbe8211e333f98368ab
--- /dev/null
+++ b/liamg--memit.c06b266/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/liamg--memit.c06b266"
+description = "Synthetic ProgramGym cleanroom reconstruction task for liamg/memit"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "go"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "liamg__memit.c06b266"
+repository = "liamg/memit"
+commit = "c06b266945c43765a53812085ceb98ee870a59d2"
+language = "go"
+difficulty = "easy"
+difficulty_score = 0.5740312677277188
+test_branches = 2
+test_count = 53
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/liamg--memit.c06b266/tests/Dockerfile b/liamg--memit.c06b266/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..a626a06f42b7d18ca8dda5f990bed0106ab28bf5
--- /dev/null
+++ b/liamg--memit.c06b266/tests/Dockerfile
@@ -0,0 +1,68 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+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"]
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# programgym-runtime-workspace-cleanup: v1
+RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN python3 -m pip install --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/liamg--memit.c06b266/tests/blobs/tests/generated_module_01.tar.gz b/liamg--memit.c06b266/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..471544d23a508f5ba8c2e0e6fd84c023b02fe5fb
--- /dev/null
+++ b/liamg--memit.c06b266/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d5cc060958056c361fef0a2f98aa23e21c409c74e56908e0a091d2debc91eb6c
+size 6628
diff --git a/liamg--memit.c06b266/tests/blobs/tests/generated_module_02.tar.gz b/liamg--memit.c06b266/tests/blobs/tests/generated_module_02.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..29179f8dc136b054b300ae122058171b595697a9
--- /dev/null
+++ b/liamg--memit.c06b266/tests/blobs/tests/generated_module_02.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8311b4bd5063238c968f03c577c258e05edfe5618fd7aade70c9085e6e30a117
+size 2462934
diff --git a/liamg--memit.c06b266/tests/download.sh b/liamg--memit.c06b266/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..e6baa647eae894bc0c9aa08176f3eb0b61ce9c9a
--- /dev/null
+++ b/liamg--memit.c06b266/tests/download.sh
@@ -0,0 +1,726 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
+# Generated deterministically from repository module metadata; do not edit.
+set -u
+export GOTOOLCHAIN=auto
+mkdir -p /workspace/.programgym_build_env/go-prefetch
+cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
+module github.com/liamg/memit
+
+go 1.17
+
+require (
+ github.com/spf13/cobra v1.2.1
+ golang.org/x/sys v0.1.0
+)
+
+require (
+ github.com/inconshreveable/mousetrap v1.0.0 // indirect
+ github.com/spf13/pflag v1.0.5 // indirect
+)
+PROGRAMGYM_GO_MOD_EOF
+cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
+cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
+cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
+cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU=
+cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU=
+cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY=
+cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc=
+cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0=
+cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To=
+cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4=
+cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M=
+cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc=
+cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk=
+cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs=
+cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc=
+cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY=
+cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI=
+cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk=
+cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg=
+cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8=
+cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0=
+cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o=
+cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE=
+cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc=
+cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg=
+cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc=
+cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ=
+cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE=
+cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk=
+cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk=
+cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I=
+cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw=
+cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA=
+cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU=
+cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw=
+cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos=
+cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk=
+cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs=
+cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
+dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
+github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
+github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
+github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
+github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
+github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY=
+github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
+github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
+github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM=
+github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
+github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
+github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
+github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
+github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
+github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
+github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
+github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
+github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
+github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
+github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
+github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
+github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
+github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
+github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po=
+github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
+github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
+github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
+github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
+github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
+github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
+github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
+github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
+github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
+github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
+github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
+github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
+github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
+github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
+github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
+github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
+github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
+github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y=
+github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
+github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
+github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
+github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4=
+github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8=
+github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
+github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
+github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk=
+github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8=
+github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA=
+github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs=
+github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w=
+github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
+github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
+github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
+github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
+github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
+github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM=
+github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
+github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
+github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
+github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
+github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
+github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
+github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
+github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
+github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
+github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
+github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
+github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
+github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
+github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
+github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
+github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
+github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
+github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
+github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
+github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
+github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
+github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
+github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
+github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
+github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
+github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
+github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
+github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q=
+github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8=
+github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
+github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
+github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
+github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM=
+github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk=
+github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU=
+github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU=
+github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4=
+github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
+github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
+github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90=
+github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
+github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
+github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
+github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64=
+github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ=
+github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I=
+github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc=
+github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
+github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
+github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=
+github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
+github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
+github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
+github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk=
+github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
+github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
+github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
+github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg=
+github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
+github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
+github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
+github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60=
+github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
+github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
+github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
+github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc=
+github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
+github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=
+github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg=
+github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY=
+github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
+github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
+github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
+github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
+github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
+github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
+github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
+github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
+github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
+github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI=
+github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
+github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
+github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
+github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
+github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
+github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
+github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
+github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
+github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
+github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I=
+github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
+github.com/spf13/cobra v1.2.1 h1:+KmjbUw1hriSNMF55oPrkZcb27aECyrj8V2ytv7kWDw=
+github.com/spf13/cobra v1.2.1/go.mod h1:ExllRjgxM/piMAM+3tAZvg8fsklGAf3tPfi+i8t68Nk=
+github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo=
+github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
+github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
+github.com/spf13/viper v1.8.1/go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH9Ns=
+github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
+github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
+github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
+github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
+github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
+github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
+github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
+github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
+github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
+github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
+go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs=
+go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g=
+go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ=
+go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
+go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
+go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
+go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
+go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
+go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk=
+go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E=
+go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
+go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU=
+go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo=
+golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
+golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
+golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
+golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
+golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
+golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
+golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek=
+golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY=
+golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
+golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
+golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
+golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM=
+golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU=
+golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
+golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
+golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
+golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
+golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
+golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs=
+golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
+golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
+golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
+golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
+golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE=
+golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o=
+golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc=
+golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY=
+golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
+golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
+golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
+golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
+golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
+golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
+golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
+golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
+golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
+golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
+golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
+golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
+golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
+golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
+golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
+golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
+golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
+golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
+golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
+golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
+golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
+golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
+golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc=
+golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
+golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
+golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
+golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
+golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
+golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
+golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U=
+golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
+golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
+golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
+golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
+golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
+golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
+golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
+golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
+golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
+golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw=
+golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw=
+golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8=
+golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
+golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
+golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
+golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
+golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
+golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
+golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
+golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
+golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE=
+golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0=
+golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
+golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE=
+google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M=
+google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
+google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
+google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
+google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
+google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
+google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
+google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
+google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
+google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
+google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
+google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
+google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
+google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM=
+google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc=
+google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg=
+google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE=
+google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8=
+google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU=
+google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94=
+google.golang.org/api v0.44.0/go.mod h1:EBOGZqzyhtvMDoxwS97ctnh0zUmYY6CxqXsc1AvkYD8=
+google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
+google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
+google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
+google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0=
+google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
+google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
+google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
+google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
+google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
+google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
+google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8=
+google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
+google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
+google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
+google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
+google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
+google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
+google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA=
+google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
+google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U=
+google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
+google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA=
+google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A=
+google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0=
+google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
+google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
+google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
+google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
+google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
+google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
+google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
+google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
+google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60=
+google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk=
+google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
+google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
+google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
+google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0=
+google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
+google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8=
+google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
+google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
+google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
+google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM=
+google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
+google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
+google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
+google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE=
+google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo=
+google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
+google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
+google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
+google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4=
+google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
+google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
+google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
+gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
+gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
+gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
+honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
+honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
+rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
+rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
+rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
+PROGRAMGYM_GO_SUM_EOF
+PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY="${GOPROXY:-direct}"
+PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
+case "$PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY" in
+ *"|"*|*","*)
+ PROGRAMGYM_INTERNAL_GO_FIRST_PROXY="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY%%[,|]*}"
+ PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY#*[,|]}"
+ if [[ "$PROGRAMGYM_INTERNAL_GO_FIRST_PROXY" =~ [^[:space:]] ]] && [[ "$PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER" =~ [^[:space:]] ]]; then
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY="${PROGRAMGYM_GO_PUBLIC_FALLBACK_PROXY:-${PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER}}"
+ fi
+ ;;
+esac
+if ! [[ "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" =~ [^[:space:]] ]]; then
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
+fi
+cat > /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py <<'PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF'
+import os
+import signal
+import subprocess
+import sys
+import time
+
+sentinel_path, timeout_text, grace_text, proxy, *command = sys.argv[1:]
+if not command:
+ raise SystemExit(125)
+environment = os.environ.copy()
+environment["GOPROXY"] = proxy
+process = subprocess.Popen(command, env=environment, start_new_session=True)
+try:
+ returncode = process.wait(timeout=float(timeout_text))
+except subprocess.TimeoutExpired:
+ with open(sentinel_path, "w", encoding="utf-8") as sentinel:
+ sentinel.write("expired\n")
+ try:
+ os.killpg(process.pid, signal.SIGTERM)
+ except ProcessLookupError:
+ pass
+ deadline = time.monotonic() + float(grace_text)
+ group_alive = True
+ while time.monotonic() < deadline:
+ process.poll()
+ try:
+ os.killpg(process.pid, 0)
+ except ProcessLookupError:
+ group_alive = False
+ break
+ time.sleep(0.05)
+ if group_alive:
+ try:
+ os.killpg(process.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ process.wait()
+ raise SystemExit(124)
+if returncode < 0:
+ returncode = 128 - returncode
+raise SystemExit(returncode)
+PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF
+PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS="${PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS:-90}"
+if ! [[ "$PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS" =~ ^[1-9][0-9]*$ ]]; then
+ printf '%s\n' "download.sh: invalid PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS=${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}" >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if ! command -v python3 >/dev/null 2>&1; then
+ printf '%s\n' 'download.sh: python3 is required for bounded Nexus Go downloads' >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+_programgym_go_with_nexus_timeout() {
+ local programgym_go_rc
+ local programgym_go_timeout_sentinel
+ if ! programgym_go_timeout_sentinel="$(mktemp "${TMPDIR:-/tmp}/programgym-go-timeout.XXXXXX")"; then
+ return 1
+ fi
+ 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
+ programgym_go_rc=0
+ else
+ programgym_go_rc=$?
+ fi
+ if [ ! -s "$programgym_go_timeout_sentinel" ]; then
+ rm -f "$programgym_go_timeout_sentinel"
+ return "$programgym_go_rc"
+ fi
+ rm -f "$programgym_go_timeout_sentinel"
+ if [ -z "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" ]; then
+ printf '%s\n' "download.sh: primary Go request exceeded ${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}s; GOPROXY has no explicit non-empty fallback remainder" >&2
+ return "$programgym_go_rc"
+ fi
+ printf '%s\n' "download.sh: Nexus-first Go request exceeded ${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}s; retrying with GOPROXY=${PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY}" >&2
+ env GOPROXY="$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" "$@"
+}
+PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
+if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && _programgym_go_with_nexus_timeout env GOTOOLCHAIN=auto go env GOROOT)"; then
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+else
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
+fi
+export PATH="$GOROOT/bin:$PATH"
+export GOTOOLCHAIN=local
+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
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+unset -f _programgym_go_with_nexus_timeout
+unset PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY
+unset PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY
+unset PROGRAMGYM_INTERNAL_GO_FIRST_PROXY
+unset PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER
+unset PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS
diff --git a/liamg--memit.c06b266/tests/executable b/liamg--memit.c06b266/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..6ab1446631107cac08b81b024a14ff37f70e4c23
--- /dev/null
+++ b/liamg--memit.c06b266/tests/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:eb46bc704f31eeafa6389b213bf9b78a3ba0eeaba5d48886a700ec147a0f2e5f
+size 11176711
diff --git a/liamg--memit.c06b266/tests/programgym-go.tar.gz b/liamg--memit.c06b266/tests/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/liamg--memit.c06b266/tests/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/liamg--memit.c06b266/tests/programgym_evaluator.py b/liamg--memit.c06b266/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/liamg--memit.c06b266/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/liamg--memit.c06b266/tests/programgym_task.json b/liamg--memit.c06b266/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..748cfc50180340f641ee9a226a0bd4284c5b2cb7
--- /dev/null
+++ b/liamg--memit.c06b266/tests/programgym_task.json
@@ -0,0 +1,129 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_command.test_binary_server_returns_well_formed_url",
+ "eval.tests.test_command.test_cat_preserves_binary_stdio_bytes",
+ "eval.tests.test_command.test_child_exit_one_surfaces_as_memit_failure",
+ "eval.tests.test_command.test_connection_refused_fails_retrieval",
+ "eval.tests.test_command.test_echo_argument_passthrough[argv0-single\\n]",
+ "eval.tests.test_command.test_echo_argument_passthrough[argv1-a b c d e\\n]",
+ "eval.tests.test_command.test_echo_argument_passthrough[argv2-sp ace tab\\tsep\\n]",
+ "eval.tests.test_command.test_echo_argument_passthrough[argv3-line1\\nline2\\n]",
+ "eval.tests.test_command.test_echo_argument_passthrough[argv4-123 456 0\\n]",
+ "eval.tests.test_command.test_echo_argument_passthrough[argv5---dash -x -\\n]",
+ "eval.tests.test_command.test_echo_argument_passthrough[argv6-\\n]",
+ "eval.tests.test_command.test_echo_argument_passthrough[argv7-a= b&c %d\\n]",
+ "eval.tests.test_command.test_echo_executes_in_memory",
+ "eval.tests.test_command.test_empty_reader_fails_exec",
+ "eval.tests.test_command.test_empty_stdin_cat_emits_no_child_output",
+ "eval.tests.test_command.test_help_flag_prints_usage[--help]",
+ "eval.tests.test_command.test_help_flag_prints_usage[-h]",
+ "eval.tests.test_command.test_memfd_child_sees_coherent_argv",
+ "eval.tests.test_command.test_missing_host_fails_retrieval",
+ "eval.tests.test_command.test_missing_payload_results_in_exec_failure",
+ "eval.tests.test_command.test_no_args_reports_min_arg_error",
+ "eval.tests.test_command.test_non_executable_content_fails_gracefully",
+ "eval.tests.test_command.test_path_printer_like_sh_exposes_memfd_exec",
+ "eval.tests.test_command.test_plain_positional_with_no_separator_works",
+ "eval.tests.test_command.test_printf_formats_args",
+ "eval.tests.test_command.test_repeated_requests_stay_consistent",
+ "eval.tests.test_command.test_shell_runs_from_memfd",
+ "eval.tests.test_command.test_stdin_passthrough_to_in_memory_cat",
+ "eval.tests.test_command.test_true_exits_zero_with_progress_only",
+ "eval.tests.test_command.test_truncated_content_length_body_fails_create_command",
+ "eval.tests.test_command.test_unknown_flag_rejected",
+ "eval.tests.test_command.test_unparseable_url_fails_retrieval"
+ ]
+ },
+ "generated_module_02": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_memit_cli.test_child_invalid_numeric_arg_defaults_to_error",
+ "eval.tests.test_memit_cli.test_child_nonzero_exit_report_to_stderr[status-5]",
+ "eval.tests.test_memit_cli.test_child_nonzero_exit_report_to_stderr[status-9]",
+ "eval.tests.test_memit_cli.test_child_stderr_is_wired_to_cli_stderr",
+ "eval.tests.test_memit_cli.test_connection_refused_fails_retrieval",
+ "eval.tests.test_memit_cli.test_empty_body_fails_execution",
+ "eval.tests.test_memit_cli.test_empty_url_fails_hls_retrieval",
+ "eval.tests.test_memit_cli.test_help_flag_prints_usage[help-beats-extra-arg]",
+ "eval.tests.test_memit_cli.test_help_flag_prints_usage[long-help]",
+ "eval.tests.test_memit_cli.test_help_flag_prints_usage[short-help]",
+ "eval.tests.test_memit_cli.test_http_404_body_fails_execution",
+ "eval.tests.test_memit_cli.test_no_arguments_reports_usage_but_exits_zero",
+ "eval.tests.test_memit_cli.test_passes_args_after_double_dash_to_child[arg-with-space]",
+ "eval.tests.test_memit_cli.test_passes_args_after_double_dash_to_child[one-empty-arg]",
+ "eval.tests.test_memit_cli.test_passes_args_after_double_dash_to_child[one-word-args]",
+ "eval.tests.test_memit_cli.test_runs_elf_from_http_and_reports_stages",
+ "eval.tests.test_memit_cli.test_stdin_is_wired_to_child",
+ "eval.tests.test_memit_cli.test_text_body_fails_execution",
+ "eval.tests.test_memit_cli.test_unknown_flag_reports_error_but_exits_zero",
+ "eval.tests.test_memit_cli.test_unsupported_scheme_fails_retrieval[file-scheme]",
+ "eval.tests.test_memit_cli.test_unsupported_scheme_fails_retrieval[ftp-scheme]"
+ ]
+ }
+ },
+ "commit": "c06b266945c43765a53812085ceb98ee870a59d2",
+ "data_source": "synthetic_programgym",
+ "difficulty": "easy",
+ "difficulty_score": 0.5740312677277188,
+ "eval_clean_hashes": [
+ "eb46bc704f31eeafa6389b213bf9b78a3ba0eeaba5d48886a700ec147a0f2e5f"
+ ],
+ "input_record": {
+ "commit": "c06b266945c43765a53812085ceb98ee870a59d2",
+ "commits": 7,
+ "contributors": 2,
+ "difficulty": "easy",
+ "difficulty_code_lines": 75,
+ "difficulty_has_tests": false,
+ "difficulty_product_code_lines": 75,
+ "difficulty_runtime_deps": 4,
+ "difficulty_score": 0.5740312677277188,
+ "difficulty_test_code_lines": 0,
+ "full_name": "liamg/memit",
+ "github_stars": 322,
+ "input_joern_zip": "go_joern/liamg__memit.zip",
+ "joern_status": true,
+ "joern_time": 13.115094741107896,
+ "language": "go",
+ "pb_match": [
+ {
+ "pb_fullname": "direnv/direnv",
+ "rank": 401,
+ "similarity": 0.4348215162754059
+ }
+ ],
+ "repo_age": 4.71,
+ "repo_path": "go/liamg__memit",
+ "source": "commit:c06b266945c43765a53812085ceb98ee870a59d2",
+ "status": "done",
+ "url": "https://github.com/liamg/memit"
+ },
+ "instance_id": "liamg__memit.c06b266",
+ "language": "go",
+ "module_iterations": [
+ {
+ "actual_iterations": 3,
+ "branch_name": "generated_module_01",
+ "iteration_limit": 5,
+ "module_index": 1,
+ "module_kind": "source",
+ "termination_reason": "module_coverage_threshold_reached"
+ },
+ {
+ "actual_iterations": 2,
+ "branch_name": "generated_module_02",
+ "iteration_limit": 5,
+ "module_index": 2,
+ "module_kind": "source",
+ "termination_reason": "module_coverage_threshold_reached"
+ }
+ ],
+ "repository": "liamg/memit"
+}
diff --git a/liamg--memit.c06b266/tests/test.sh b/liamg--memit.c06b266/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/liamg--memit.c06b266/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/liamg--memit.c06b266/tests/workspace.tar.gz b/liamg--memit.c06b266/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..9361eb9c31da93ba741a2957a9e5bc9a747a01fa
--- /dev/null
+++ b/liamg--memit.c06b266/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:28ba7e8c802afa5dab58360b5844acf4d0b4bbcc2b17b3cbe63517f11e923d4d
+size 110614
diff --git a/liamg--siphon.6a6e402/environment/Dockerfile b/liamg--siphon.6a6e402/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..18c9b14a3dd87ff70c68d67e0e9cd3cb548e1b1a
--- /dev/null
+++ b/liamg--siphon.6a6e402/environment/Dockerfile
@@ -0,0 +1,60 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+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"]
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# programgym-runtime-workspace-cleanup: v1
+RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/liamg--siphon.6a6e402/environment/download.sh b/liamg--siphon.6a6e402/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..7050416f3a37ecd9a63bb4a91bf165ed279c2c41
--- /dev/null
+++ b/liamg--siphon.6a6e402/environment/download.sh
@@ -0,0 +1,76 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
+# Generated deterministically from repository module metadata; do not edit.
+set -u
+export GOTOOLCHAIN=auto
+mkdir -p /workspace/.programgym_build_env/go-prefetch
+cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
+module github.com/liamg/siphon
+
+go 1.19
+
+require (
+ github.com/spf13/cobra v1.6.0
+ github.com/stretchr/testify v1.7.4
+)
+
+require (
+ github.com/davecgh/go-spew v1.1.1 // indirect
+ github.com/inconshreveable/mousetrap v1.0.1 // indirect
+ github.com/pmezard/go-difflib v1.0.0 // indirect
+ github.com/spf13/pflag v1.0.5 // indirect
+ gopkg.in/yaml.v3 v3.0.1 // indirect
+)
+PROGRAMGYM_GO_MOD_EOF
+cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
+github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
+github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc=
+github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
+github.com/spf13/cobra v1.6.0 h1:42a0n6jwCot1pUmomAp4T7DeMD+20LFv4Q54pxLf2LI=
+github.com/spf13/cobra v1.6.0/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY=
+github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
+github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
+github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
+github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/stretchr/testify v1.7.4 h1:wZRexSlwd7ZXfKINDLsO4r7WBt3gTKONc6K/VesHvHM=
+github.com/stretchr/testify v1.7.4/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
+gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+PROGRAMGYM_GO_SUM_EOF
+PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
+if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && GOTOOLCHAIN=auto go env GOROOT)"; then
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+else
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
+fi
+export PATH="$GOROOT/bin:$PATH"
+export GOTOOLCHAIN=local
+if ! (cd /workspace/.programgym_build_env/go-prefetch && go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
diff --git a/liamg--siphon.6a6e402/environment/executable b/liamg--siphon.6a6e402/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..6f9eeb657632feb1527d4e548cd667de56cb2374
--- /dev/null
+++ b/liamg--siphon.6a6e402/environment/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e4f9d4f07aa737773f28e77e2e18ae3961ae55a8c9c9eaaf915ebc99a0b37509
+size 5283470
diff --git a/liamg--siphon.6a6e402/environment/programgym-go.tar.gz b/liamg--siphon.6a6e402/environment/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/liamg--siphon.6a6e402/environment/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/liamg--siphon.6a6e402/environment/workspace.tar.gz b/liamg--siphon.6a6e402/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..c5d3038ecf43f97ba001625dd09e8b771e4db851
--- /dev/null
+++ b/liamg--siphon.6a6e402/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:884dfa5e03bc9d13e2879070a52a0f8fd5fe63ce2d8d53ab0cc61fb373db3ed5
+size 613
diff --git a/liamg--siphon.6a6e402/instruction.md b/liamg--siphon.6a6e402/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/liamg--siphon.6a6e402/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/liamg--siphon.6a6e402/solution/solve.sh b/liamg--siphon.6a6e402/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/liamg--siphon.6a6e402/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/liamg--siphon.6a6e402/task.toml b/liamg--siphon.6a6e402/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..3a98af6487842b17c97f218f80afb597d946c41e
--- /dev/null
+++ b/liamg--siphon.6a6e402/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/liamg--siphon.6a6e402"
+description = "Synthetic ProgramGym cleanroom reconstruction task for liamg/siphon"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "go"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "liamg__siphon.6a6e402"
+repository = "liamg/siphon"
+commit = "6a6e402ef506a0aa0d35ffc268c7ed2c7ce84b1c"
+language = "go"
+difficulty = "easy"
+difficulty_score = 1.313023110323238
+test_branches = 4
+test_count = 253
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/liamg--siphon.6a6e402/tests/Dockerfile b/liamg--siphon.6a6e402/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..a626a06f42b7d18ca8dda5f990bed0106ab28bf5
--- /dev/null
+++ b/liamg--siphon.6a6e402/tests/Dockerfile
@@ -0,0 +1,68 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+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"]
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# programgym-runtime-workspace-cleanup: v1
+RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN python3 -m pip install --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/liamg--siphon.6a6e402/tests/blobs/tests/generated_module_01.tar.gz b/liamg--siphon.6a6e402/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..757935ec5f592bcbadfdccb85cd5713aef01cd12
--- /dev/null
+++ b/liamg--siphon.6a6e402/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ceccf4073459462835428f4b1c856f6a6fd7b44124c1ce05a4e4f6b4d67eb8e2
+size 9779
diff --git a/liamg--siphon.6a6e402/tests/blobs/tests/generated_module_02.tar.gz b/liamg--siphon.6a6e402/tests/blobs/tests/generated_module_02.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..06e65bbe6747083ddff985c3c06ce9b850a5186f
--- /dev/null
+++ b/liamg--siphon.6a6e402/tests/blobs/tests/generated_module_02.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:14b4ef075662bb53027d6c9661933b5e0e3d9ddefd2d94d970403f20797a8f3d
+size 3288
diff --git a/liamg--siphon.6a6e402/tests/blobs/tests/generated_module_03.tar.gz b/liamg--siphon.6a6e402/tests/blobs/tests/generated_module_03.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..b8bfcddc395dae657108aea85bcb232098f2d122
--- /dev/null
+++ b/liamg--siphon.6a6e402/tests/blobs/tests/generated_module_03.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ab8b899cc158372f6cf5ddc300aae43a7361b1b5741763ffe0b83071c1edb7bd
+size 7023
diff --git a/liamg--siphon.6a6e402/tests/blobs/tests/generated_module_04.tar.gz b/liamg--siphon.6a6e402/tests/blobs/tests/generated_module_04.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..90a06fd037eb42ca30d683dbc96b47aa4066d63e
--- /dev/null
+++ b/liamg--siphon.6a6e402/tests/blobs/tests/generated_module_04.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:91ddc3d61b2a20b39893d7d0314f4f8ba79615f8fcb65be6c2c27317cad31c95
+size 6219
diff --git a/liamg--siphon.6a6e402/tests/download.sh b/liamg--siphon.6a6e402/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..7050416f3a37ecd9a63bb4a91bf165ed279c2c41
--- /dev/null
+++ b/liamg--siphon.6a6e402/tests/download.sh
@@ -0,0 +1,76 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
+# Generated deterministically from repository module metadata; do not edit.
+set -u
+export GOTOOLCHAIN=auto
+mkdir -p /workspace/.programgym_build_env/go-prefetch
+cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
+module github.com/liamg/siphon
+
+go 1.19
+
+require (
+ github.com/spf13/cobra v1.6.0
+ github.com/stretchr/testify v1.7.4
+)
+
+require (
+ github.com/davecgh/go-spew v1.1.1 // indirect
+ github.com/inconshreveable/mousetrap v1.0.1 // indirect
+ github.com/pmezard/go-difflib v1.0.0 // indirect
+ github.com/spf13/pflag v1.0.5 // indirect
+ gopkg.in/yaml.v3 v3.0.1 // indirect
+)
+PROGRAMGYM_GO_MOD_EOF
+cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
+github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
+github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc=
+github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
+github.com/spf13/cobra v1.6.0 h1:42a0n6jwCot1pUmomAp4T7DeMD+20LFv4Q54pxLf2LI=
+github.com/spf13/cobra v1.6.0/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY=
+github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
+github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
+github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
+github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/stretchr/testify v1.7.4 h1:wZRexSlwd7ZXfKINDLsO4r7WBt3gTKONc6K/VesHvHM=
+github.com/stretchr/testify v1.7.4/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
+gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+PROGRAMGYM_GO_SUM_EOF
+PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
+if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && GOTOOLCHAIN=auto go env GOROOT)"; then
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+else
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
+fi
+export PATH="$GOROOT/bin:$PATH"
+export GOTOOLCHAIN=local
+if ! (cd /workspace/.programgym_build_env/go-prefetch && go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
diff --git a/liamg--siphon.6a6e402/tests/executable b/liamg--siphon.6a6e402/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..6f9eeb657632feb1527d4e548cd667de56cb2374
--- /dev/null
+++ b/liamg--siphon.6a6e402/tests/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e4f9d4f07aa737773f28e77e2e18ae3961ae55a8c9c9eaaf915ebc99a0b37509
+size 5283470
diff --git a/liamg--siphon.6a6e402/tests/programgym-go.tar.gz b/liamg--siphon.6a6e402/tests/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/liamg--siphon.6a6e402/tests/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/liamg--siphon.6a6e402/tests/programgym_evaluator.py b/liamg--siphon.6a6e402/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/liamg--siphon.6a6e402/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/liamg--siphon.6a6e402/tests/programgym_task.json b/liamg--siphon.6a6e402/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..657399a427ad2e62c28c96e44789bd68e793e347
--- /dev/null
+++ b/liamg--siphon.6a6e402/tests/programgym_task.json
@@ -0,0 +1,374 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_arity.test_arity_error_exit_code_is_zero",
+ "eval.tests.test_arity.test_arity_error_never_reaches_watchprocess",
+ "eval.tests.test_arity.test_arity_error_repeats_flags_section",
+ "eval.tests.test_arity.test_arity_error_stdout_is_empty",
+ "eval.tests.test_arity.test_many_args_arity_error",
+ "eval.tests.test_arity.test_two_args_arity_error",
+ "eval.tests.test_arity.test_two_args_error_printed_twice",
+ "eval.tests.test_arity.test_zero_args_arity_error",
+ "eval.tests.test_arity.test_zero_args_error_printed_twice",
+ "eval.tests.test_arity.test_zero_args_prints_usage_banner",
+ "eval.tests.test_error_routing.test_all_errors_routed_exclusively_to_stderr",
+ "eval.tests.test_error_routing.test_error_prints_Error_prefix_to_stderr",
+ "eval.tests.test_error_routing.test_process_exit_code_always_zero_on_error",
+ "eval.tests.test_error_routing.test_rune_error_single_occurrence",
+ "eval.tests.test_error_routing.test_success_help_exit_code_zero",
+ "eval.tests.test_error_routing.test_usage_layer_error_duplicated_on_stderr",
+ "eval.tests.test_error_routing.test_watchprocess_attach_error_mentions_permissions",
+ "eval.tests.test_error_routing.test_watchprocess_domain_error_single_and_no_usage",
+ "eval.tests.test_error_routing.test_watchprocess_stops_at_first_read_write_intercept",
+ "eval.tests.test_flags.test_all_flags_explicit_false_reach_watchprocess",
+ "eval.tests.test_flags.test_combined_short_ex_o",
+ "eval.tests.test_flags.test_combined_short_flags_accepted",
+ "eval.tests.test_flags.test_dash_word_parsed_as_unknown_shorthand",
+ "eval.tests.test_flags.test_default_flags_reach_watchprocess",
+ "eval.tests.test_flags.test_double_dash_end_of_flags_allows_dash_positional",
+ "eval.tests.test_flags.test_flag_before_positional_pid",
+ "eval.tests.test_flags.test_flag_equal_without_space_before_pid",
+ "eval.tests.test_flags.test_long_bool_flag_equal_false_accepted[--stderr]",
+ "eval.tests.test_flags.test_long_bool_flag_equal_false_accepted[--stdin]",
+ "eval.tests.test_flags.test_long_bool_flag_equal_false_accepted[--stdout]",
+ "eval.tests.test_flags.test_long_bool_flag_equal_true_accepted[--stderr]",
+ "eval.tests.test_flags.test_long_bool_flag_equal_true_accepted[--stdin]",
+ "eval.tests.test_flags.test_long_bool_flag_equal_true_accepted[--stdout]",
+ "eval.tests.test_flags.test_numeric_dash_parsed_as_unknown_shorthand",
+ "eval.tests.test_flags.test_parsebool_error_mentions_parsebool",
+ "eval.tests.test_flags.test_parsebool_error_prints_usage",
+ "eval.tests.test_flags.test_parsebool_error_quotes_flag_name",
+ "eval.tests.test_flags.test_parsebool_rejects_nonboolean_values[2]",
+ "eval.tests.test_flags.test_parsebool_rejects_nonboolean_values[TRUE ]",
+ "eval.tests.test_flags.test_parsebool_rejects_nonboolean_values[]",
+ "eval.tests.test_flags.test_parsebool_rejects_nonboolean_values[maybe]",
+ "eval.tests.test_flags.test_parsebool_rejects_nonboolean_values[no]",
+ "eval.tests.test_flags.test_parsebool_rejects_nonboolean_values[off]",
+ "eval.tests.test_flags.test_parsebool_rejects_nonboolean_values[on]",
+ "eval.tests.test_flags.test_parsebool_rejects_nonboolean_values[truex]",
+ "eval.tests.test_flags.test_parsebool_rejects_nonboolean_values[yes]",
+ "eval.tests.test_flags.test_parsebool_special_values_accepted[0]",
+ "eval.tests.test_flags.test_parsebool_special_values_accepted[1]",
+ "eval.tests.test_flags.test_parsebool_special_values_accepted[F]",
+ "eval.tests.test_flags.test_parsebool_special_values_accepted[T]",
+ "eval.tests.test_flags.test_parsebool_special_values_accepted[f]",
+ "eval.tests.test_flags.test_parsebool_special_values_accepted[t]",
+ "eval.tests.test_flags.test_short_flag_alone_accepted[-e]",
+ "eval.tests.test_flags.test_short_flag_alone_accepted[-i]",
+ "eval.tests.test_flags.test_short_flag_alone_accepted[-o]",
+ "eval.tests.test_flags.test_short_flag_explicit_true_value",
+ "eval.tests.test_flags.test_short_flag_with_equal_value",
+ "eval.tests.test_flags.test_stdin_flag_true_reaches_watchprocess",
+ "eval.tests.test_flags.test_unknown_long_flag_printed_twice",
+ "eval.tests.test_flags.test_unknown_long_flag_reports_unknown_flag",
+ "eval.tests.test_flags.test_unknown_long_flag_shows_usage",
+ "eval.tests.test_flags.test_unknown_short_flag_reports_unknown_shorthand",
+ "eval.tests.test_flags.test_unknown_short_flag_shows_usage",
+ "eval.tests.test_help.test_help_does_not_emit_error_to_stderr",
+ "eval.tests.test_help.test_help_error_message_format_uses_pipe_in_usage",
+ "eval.tests.test_help.test_help_exact_use_line_and_sections",
+ "eval.tests.test_help.test_help_exit_code_is_zero",
+ "eval.tests.test_help.test_help_flag_can_follow_positional_no_valid_pid",
+ "eval.tests.test_help.test_help_includes_flags_section_heading",
+ "eval.tests.test_help.test_help_lists_only_known_flags",
+ "eval.tests.test_help.test_help_long_flag_prints_usage_to_stdout",
+ "eval.tests.test_help.test_help_short_h_flag_prints_usage_to_stdout",
+ "eval.tests.test_help.test_help_shows_help_flag_entry",
+ "eval.tests.test_help.test_help_shows_stderr_flag_and_default_true",
+ "eval.tests.test_help.test_help_shows_stdin_flag_defaults_false",
+ "eval.tests.test_help.test_help_shows_stdout_flag_and_default_true",
+ "eval.tests.test_help.test_help_stdout_contains_all_three_flag_descriptions",
+ "eval.tests.test_io.test_errors_go_to_stderr_not_stdout_for_all_branches",
+ "eval.tests.test_io.test_help_goes_to_stdout_not_stderr",
+ "eval.tests.test_io.test_piped_stdin_does_not_alter_arg_processing",
+ "eval.tests.test_io.test_piped_stdin_with_valid_pid_reaches_watchprocess",
+ "eval.tests.test_io.test_stdout_flag_off_stderr_off_reaches_watchprocess",
+ "eval.tests.test_io.test_stdout_stdin_reflection_flags_combinations_reach_watchprocess",
+ "eval.tests.test_pid_parsing.test_double_separator_alone_parse_failure",
+ "eval.tests.test_pid_parsing.test_empty_string_pid_invalid",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[ ]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[ ]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[+]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[+abc]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[--]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[-]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[-abc]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[0x10]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[1..2]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[12 34]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[12,34]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[123abc]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[12a34]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[1_000]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[1e3]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[3.5]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[Inf]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[NaN]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[abc123]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[abc]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[hello]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[not-a-number]",
+ "eval.tests.test_pid_parsing.test_invalid_nonnumeric_pid_reports_invalid_pid[null]",
+ "eval.tests.test_pid_parsing.test_invalid_pid_exit_code_zero",
+ "eval.tests.test_pid_parsing.test_invalid_pid_parse_reference_in_error[0x10]",
+ "eval.tests.test_pid_parsing.test_invalid_pid_parse_reference_in_error[3.5]",
+ "eval.tests.test_pid_parsing.test_invalid_pid_parse_reference_in_error[abc]",
+ "eval.tests.test_pid_parsing.test_invalid_pid_prints_exactly_once",
+ "eval.tests.test_pid_parsing.test_invalid_pid_stdout_empty",
+ "eval.tests.test_pid_parsing.test_invalid_pid_suppresses_flags_section",
+ "eval.tests.test_pid_parsing.test_invalid_pid_suppresses_usage_banner",
+ "eval.tests.test_pid_parsing.test_overflow_pid_huge_values[100000000000000000000000000000000]",
+ "eval.tests.test_pid_parsing.test_overflow_pid_huge_values[18446744073709551616]",
+ "eval.tests.test_pid_parsing.test_overflow_pid_huge_values[9223372036854775808]",
+ "eval.tests.test_pid_parsing.test_overflow_pid_value_out_of_range",
+ "eval.tests.test_pid_parsing.test_plus_sign_valid_integer",
+ "eval.tests.test_pid_parsing.test_underscore_separator_parse_failure",
+ "eval.tests.test_pid_parsing.test_whitespace_pid_invalid",
+ "eval.tests.test_subcommands.test_completion_subcommand_word_pair_is_arity_error",
+ "eval.tests.test_subcommands.test_completion_word_is_positional",
+ "eval.tests.test_subcommands.test_help_word_as_single_arg_is_invalid_pid",
+ "eval.tests.test_subcommands.test_help_word_pair_is_arity_error",
+ "eval.tests.test_subcommands.test_only_root_command_no_subcommand_listing_in_help",
+ "eval.tests.test_subcommands.test_version_long_flag_is_unknown_flag",
+ "eval.tests.test_subcommands.test_version_long_flag_shows_usage",
+ "eval.tests.test_subcommands.test_version_word_is_positional_not_subcommand",
+ "eval.tests.test_watchprocess_reach.test_int64_boundary_and_leading_plus_pids_parse[+30000000]",
+ "eval.tests.test_watchprocess_reach.test_int64_boundary_and_leading_plus_pids_parse[-1]",
+ "eval.tests.test_watchprocess_reach.test_int64_boundary_and_leading_plus_pids_parse[-9223372036854775808]",
+ "eval.tests.test_watchprocess_reach.test_int64_boundary_and_leading_plus_pids_parse[00030000000]",
+ "eval.tests.test_watchprocess_reach.test_int64_boundary_and_leading_plus_pids_parse[9223372036854775807]",
+ "eval.tests.test_watchprocess_reach.test_int64_max_pid_lookup_esrch",
+ "eval.tests.test_watchprocess_reach.test_live_process_attach_reached",
+ "eval.tests.test_watchprocess_reach.test_negative_pid_domain_lookup_with_separator",
+ "eval.tests.test_watchprocess_reach.test_pid_one_live_process_attach_permission_reached",
+ "eval.tests.test_watchprocess_reach.test_valid_numeric_pid_reaches_watchprocess[0]",
+ "eval.tests.test_watchprocess_reach.test_valid_numeric_pid_reaches_watchprocess[10000000]",
+ "eval.tests.test_watchprocess_reach.test_valid_numeric_pid_reaches_watchprocess[30000000]",
+ "eval.tests.test_watchprocess_reach.test_valid_numeric_pid_reaches_watchprocess[67000000]",
+ "eval.tests.test_watchprocess_reach.test_valid_numeric_pid_reaches_watchprocess[88888888]",
+ "eval.tests.test_watchprocess_reach.test_whitespace_padded_number_fails_parse",
+ "eval.tests.test_watchprocess_reach.test_zero_pid_is_not_invalid_parse"
+ ]
+ },
+ "generated_module_02": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_intercept_attach.TestWatchProcessAttachEperm.test_attach_live_sibling_permission_denied[all three selectors off]",
+ "eval.tests.test_intercept_attach.TestWatchProcessAttachEperm.test_attach_live_sibling_permission_denied[both forwarding selectors off]",
+ "eval.tests.test_intercept_attach.TestWatchProcessAttachEperm.test_attach_live_sibling_permission_denied[both stdout/stderr on (defaults)]",
+ "eval.tests.test_intercept_attach.TestWatchProcessAttachEperm.test_attach_live_sibling_permission_denied[stderr only]",
+ "eval.tests.test_intercept_attach.TestWatchProcessAttachEperm.test_attach_live_sibling_permission_denied[stdin forwarding on only]",
+ "eval.tests.test_intercept_attach.TestWatchProcessAttachEperm.test_attach_live_sibling_permission_denied[stdout and stdin, stderr off]",
+ "eval.tests.test_intercept_attach.TestWatchProcessAttachEperm.test_attach_live_sibling_stdout_enabled_no_forward",
+ "eval.tests.test_intercept_attach.TestWatchProcessAttachEperm.test_attach_system_init_permission_denied",
+ "eval.tests.test_intercept_attach.TestWatchProcessBoundaryPids.test_maximal_pid_argument_is_boarded_numeric",
+ "eval.tests.test_intercept_attach.TestWatchProcessRawAttachError.test_attach_nonexistent_pid_esrch[0]",
+ "eval.tests.test_intercept_attach.TestWatchProcessRawAttachError.test_attach_nonexistent_pid_esrch[4611686018427387904]",
+ "eval.tests.test_intercept_attach.TestWatchProcessRawAttachError.test_attach_nonexistent_pid_esrch[99999999]",
+ "eval.tests.test_intercept_attach.TestWatchProcessRawAttachError.test_live_sibling_is_attachable_process_not_nosuch"
+ ]
+ },
+ "generated_module_03": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_cli_interface.test_argument_validation[argv0-received 0-missing pid]",
+ "eval.tests.test_cli_interface.test_argument_validation[argv1-received 2-too many positionals]",
+ "eval.tests.test_cli_interface.test_argument_validation[argv2-invalid pid-non-numeric pid]",
+ "eval.tests.test_cli_interface.test_argument_validation[argv3-invalid pid-partially numeric pid]",
+ "eval.tests.test_cli_interface.test_argument_validation[argv4-invalid pid-leading alpha pid]",
+ "eval.tests.test_cli_interface.test_argument_validation[argv5-received 0-bare -- terminator only]",
+ "eval.tests.test_cli_interface.test_help_invoked[--help=true]",
+ "eval.tests.test_cli_interface.test_help_invoked[--help]",
+ "eval.tests.test_cli_interface.test_help_invoked[-h]",
+ "eval.tests.test_cli_interface.test_help_lists_stderr_and_stdin_flags",
+ "eval.tests.test_cli_interface.test_help_lists_stdout_flag",
+ "eval.tests.test_cli_interface.test_negative_number_is_flag_error",
+ "eval.tests.test_cli_interface.test_nonexistent_flag_rejected",
+ "eval.tests.test_cli_interface.test_nonexistent_pid_reported",
+ "eval.tests.test_cli_interface.test_version_flag_absent",
+ "eval.tests.test_registers_interception.test_all_flags_together",
+ "eval.tests.test_registers_interception.test_default_flags_forward_both_streams",
+ "eval.tests.test_registers_interception.test_large_block_payload_forwarded_complete",
+ "eval.tests.test_registers_interception.test_multiple_sequential_writes_to_stdout_forwarded",
+ "eval.tests.test_registers_interception.test_read_syscall_intercepted_but_not_forwarded_to_stdout",
+ "eval.tests.test_registers_interception.test_read_then_write_causal_chain",
+ "eval.tests.test_registers_interception.test_stderr_writes_forwarded_under_default_flags",
+ "eval.tests.test_registers_interception.test_stdin_flag_accepted_and_graceful",
+ "eval.tests.test_registers_interception.test_stdout_forwarded_payload_is_byte_exact",
+ "eval.tests.test_registers_interception.test_stdout_forwarding_enabled[--stdout-bare --stdout enables stdout]",
+ "eval.tests.test_registers_interception.test_stdout_forwarding_enabled[--stdout=true---stdout=true]",
+ "eval.tests.test_registers_interception.test_stdout_forwarding_enabled[-default flags show stdout]",
+ "eval.tests.test_registers_interception.test_stdout_forwarding_enabled[-e=false-stderr off leaves stdout on]",
+ "eval.tests.test_registers_interception.test_stdout_forwarding_enabled[-o-bare -o enables stdout]",
+ "eval.tests.test_registers_interception.test_stdout_forwarding_enabled[-o=true-stdout true form]",
+ "eval.tests.test_registers_interception.test_stdout_forwarding_suppressed[--stdout=false---stdout=false suppresses]",
+ "eval.tests.test_registers_interception.test_stdout_forwarding_suppressed[-o=false -e=false-both streams off]",
+ "eval.tests.test_registers_interception.test_stdout_forwarding_suppressed[-o=false--o=false suppresses stdout]"
+ ]
+ },
+ "generated_module_04": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_args.test_double_dash_allows_dash_prefixed_positional",
+ "eval.tests.test_args.test_error_exits_zero_by_design",
+ "eval.tests.test_args.test_excess_three_args_reports_received_three",
+ "eval.tests.test_args.test_excess_two_args_reports_received_two",
+ "eval.tests.test_args.test_flag_only_without_pid_reports_received_zero",
+ "eval.tests.test_args.test_negative_number_is_treated_as_shorthand_flag",
+ "eval.tests.test_args.test_no_args_reports_received_zero",
+ "eval.tests.test_args.test_non_integer_pid_is_invalid[alpha]",
+ "eval.tests.test_args.test_non_integer_pid_is_invalid[dash-only]",
+ "eval.tests.test_args.test_non_integer_pid_is_invalid[decimal]",
+ "eval.tests.test_args.test_non_integer_pid_is_invalid[hex]",
+ "eval.tests.test_args.test_non_integer_pid_is_invalid[plus-only]",
+ "eval.tests.test_args.test_non_integer_pid_is_invalid[scientific]",
+ "eval.tests.test_args.test_non_integer_pid_is_invalid[trailing-letter]",
+ "eval.tests.test_args.test_oversized_integer_is_out_of_range",
+ "eval.tests.test_args.test_pid_with_whitespace_is_invalid[both-spaces]",
+ "eval.tests.test_args.test_pid_with_whitespace_is_invalid[empty]",
+ "eval.tests.test_args.test_pid_with_whitespace_is_invalid[leading-space]",
+ "eval.tests.test_args.test_pid_with_whitespace_is_invalid[tab]",
+ "eval.tests.test_args.test_pid_with_whitespace_is_invalid[trailing-space]",
+ "eval.tests.test_args.test_unknown_long_flag_is_rejected_with_usage",
+ "eval.tests.test_args.test_unknown_short_flag_is_rejected",
+ "eval.tests.test_flags.test_flag_combinations_still_reach_watch[both-disabled]",
+ "eval.tests.test_flags.test_flag_combinations_still_reach_watch[e-short]",
+ "eval.tests.test_flags.test_flag_combinations_still_reach_watch[i-short]",
+ "eval.tests.test_flags.test_flag_combinations_still_reach_watch[o-and-e]",
+ "eval.tests.test_flags.test_flag_combinations_still_reach_watch[o-false]",
+ "eval.tests.test_flags.test_flag_combinations_still_reach_watch[o-short]",
+ "eval.tests.test_flags.test_flag_combinations_still_reach_watch[oei-combined]",
+ "eval.tests.test_flags.test_flag_combinations_still_reach_watch[oi-combined]",
+ "eval.tests.test_flags.test_flag_combinations_still_reach_watch[stderr-long]",
+ "eval.tests.test_flags.test_flag_combinations_still_reach_watch[stdin-long]",
+ "eval.tests.test_flags.test_flag_combinations_still_reach_watch[stdout-false]",
+ "eval.tests.test_flags.test_flag_combinations_still_reach_watch[stdout-long]",
+ "eval.tests.test_flags.test_flag_may_precede_or_follow_positional[leading-e]",
+ "eval.tests.test_flags.test_flag_may_precede_or_follow_positional[leading-i]",
+ "eval.tests.test_flags.test_flag_may_precede_or_follow_positional[leading-o]",
+ "eval.tests.test_flags.test_flag_may_precede_or_follow_positional[o-then-stderr]",
+ "eval.tests.test_flags.test_flag_may_precede_or_follow_positional[positional-then-flag]",
+ "eval.tests.test_help.test_help_documents_object_flag_and_defaults",
+ "eval.tests.test_help.test_help_documents_short_flag_aliases",
+ "eval.tests.test_help.test_help_lists_all_stdout_stdin_stderr_flags",
+ "eval.tests.test_help.test_help_prints_usage_to_stdout[long-help]",
+ "eval.tests.test_help.test_help_prints_usage_to_stdout[short-help]",
+ "eval.tests.test_help.test_help_short_circuits_when_a_flag_is_present[e-short]",
+ "eval.tests.test_help.test_help_short_circuits_when_a_flag_is_present[i-short]",
+ "eval.tests.test_help.test_help_short_circuits_when_a_flag_is_present[o-short]",
+ "eval.tests.test_help.test_help_short_circuits_when_a_flag_is_present[stderr-flag]",
+ "eval.tests.test_help.test_help_short_circuits_when_a_flag_is_present[stdin-flag]",
+ "eval.tests.test_help.test_help_short_circuits_when_a_flag_is_present[stdout-flag]",
+ "eval.tests.test_help.test_help_text_is_nonempty_usage_block",
+ "eval.tests.test_watch.test_watch_exited_pid_reports_no_such_process",
+ "eval.tests.test_watch.test_watch_large_valid_pid_but_nonexistent_reports_no_such_process[huge-valid]",
+ "eval.tests.test_watch.test_watch_large_valid_pid_but_nonexistent_reports_no_such_process[int32-max]",
+ "eval.tests.test_watch.test_watch_large_valid_pid_but_nonexistent_reports_no_such_process[large-valid]",
+ "eval.tests.test_watch.test_watch_living_foreign_process_attach_eprem",
+ "eval.tests.test_watch.test_watch_nonexistent_pid_reports_no_such_process",
+ "eval.tests.test_watch.test_watch_spawned_child_that_writes_stderr",
+ "eval.tests.test_watch.test_watch_spawned_child_that_writes_stdout",
+ "eval.tests.test_watch.test_watch_system_pid_1_attach_eprem"
+ ]
+ }
+ },
+ "commit": "6a6e402ef506a0aa0d35ffc268c7ed2c7ce84b1c",
+ "data_source": "synthetic_programgym",
+ "difficulty": "easy",
+ "difficulty_score": 1.313023110323238,
+ "eval_clean_hashes": [
+ "e4f9d4f07aa737773f28e77e2e18ae3961ae55a8c9c9eaaf915ebc99a0b37509"
+ ],
+ "input_record": {
+ "commit": "6a6e402ef506a0aa0d35ffc268c7ed2c7ce84b1c",
+ "commits": 9,
+ "contributors": 1,
+ "difficulty": "easy",
+ "difficulty_code_lines": 257,
+ "difficulty_has_tests": false,
+ "difficulty_product_code_lines": 257,
+ "difficulty_runtime_deps": 7,
+ "difficulty_score": 1.313023110323238,
+ "difficulty_test_code_lines": 43,
+ "full_name": "liamg/siphon",
+ "github_stars": 206,
+ "input_joern_zip": "go_joern/liamg__siphon.zip",
+ "joern_status": true,
+ "joern_time": 6.443329916102812,
+ "language": "go",
+ "pb_match": [
+ {
+ "pb_fullname": "peco/peco",
+ "rank": 151,
+ "similarity": 0.5301039814949036
+ },
+ {
+ "pb_fullname": "direnv/direnv",
+ "rank": 904,
+ "similarity": 0.41083958745002747
+ },
+ {
+ "pb_fullname": "antonmedv/fx",
+ "rank": 996,
+ "similarity": 0.46546220779418945
+ },
+ {
+ "pb_fullname": "junegunn/fzf",
+ "rank": 603,
+ "similarity": 0.46937453746795654
+ }
+ ],
+ "repo_age": 3.77,
+ "repo_path": "go/liamg__siphon",
+ "source": "commit:6a6e402ef506a0aa0d35ffc268c7ed2c7ce84b1c",
+ "status": "done",
+ "url": "https://github.com/liamg/siphon"
+ },
+ "instance_id": "liamg__siphon.6a6e402",
+ "language": "go",
+ "module_iterations": [
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_01",
+ "iteration_limit": 5,
+ "module_index": 1,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_02",
+ "iteration_limit": 5,
+ "module_index": 2,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_03",
+ "iteration_limit": 5,
+ "module_index": 3,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_04",
+ "iteration_limit": 5,
+ "module_index": 4,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ }
+ ],
+ "repository": "liamg/siphon"
+}
diff --git a/liamg--siphon.6a6e402/tests/test.sh b/liamg--siphon.6a6e402/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/liamg--siphon.6a6e402/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/liamg--siphon.6a6e402/tests/workspace.tar.gz b/liamg--siphon.6a6e402/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..c5d3038ecf43f97ba001625dd09e8b771e4db851
--- /dev/null
+++ b/liamg--siphon.6a6e402/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:884dfa5e03bc9d13e2879070a52a0f8fd5fe63ce2d8d53ab0cc61fb373db3ed5
+size 613
diff --git a/liamg--tml.d3bb484/environment/Dockerfile b/liamg--tml.d3bb484/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..18c9b14a3dd87ff70c68d67e0e9cd3cb548e1b1a
--- /dev/null
+++ b/liamg--tml.d3bb484/environment/Dockerfile
@@ -0,0 +1,60 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+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"]
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# programgym-runtime-workspace-cleanup: v1
+RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/liamg--tml.d3bb484/environment/download.sh b/liamg--tml.d3bb484/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..dcb659f27cf9c78c08a908f19632f8202bb7c617
--- /dev/null
+++ b/liamg--tml.d3bb484/environment/download.sh
@@ -0,0 +1,58 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
+# Generated deterministically from repository module metadata; do not edit.
+set -u
+export GOTOOLCHAIN=auto
+mkdir -p /workspace/.programgym_build_env/go-prefetch
+cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
+module github.com/liamg/tml
+
+go 1.20
+
+require github.com/stretchr/testify v1.8.3
+
+require (
+ github.com/davecgh/go-spew v1.1.1 // indirect
+ github.com/pmezard/go-difflib v1.0.0 // indirect
+ gopkg.in/yaml.v3 v3.0.1 // indirect
+)
+PROGRAMGYM_GO_MOD_EOF
+cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
+github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY=
+github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
+gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+PROGRAMGYM_GO_SUM_EOF
+PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
+if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && GOTOOLCHAIN=auto go env GOROOT)"; then
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+else
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
+fi
+export PATH="$GOROOT/bin:$PATH"
+export GOTOOLCHAIN=local
+if ! (cd /workspace/.programgym_build_env/go-prefetch && go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
diff --git a/liamg--tml.d3bb484/environment/executable b/liamg--tml.d3bb484/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..3b3f67ba5cac6d5244b9209fe6203ac1e8fbfb1d
--- /dev/null
+++ b/liamg--tml.d3bb484/environment/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c21c6b8fcd7f4f1a6561ac9c0145efb724cfc5ec206aef0e85a52abf5689e14c
+size 2315591
diff --git a/liamg--tml.d3bb484/environment/programgym-go.tar.gz b/liamg--tml.d3bb484/environment/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/liamg--tml.d3bb484/environment/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/liamg--tml.d3bb484/environment/workspace.tar.gz b/liamg--tml.d3bb484/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..dea2dd89758b89af1e7c5c33684cd8e31e182fd4
--- /dev/null
+++ b/liamg--tml.d3bb484/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a427a64006a8aad55a66bef6859e6eff2e0c834889add2f48c96e86951e4fa0d
+size 18454
diff --git a/liamg--tml.d3bb484/instruction.md b/liamg--tml.d3bb484/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/liamg--tml.d3bb484/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/liamg--tml.d3bb484/solution/solve.sh b/liamg--tml.d3bb484/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/liamg--tml.d3bb484/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/liamg--tml.d3bb484/task.toml b/liamg--tml.d3bb484/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..590ca66239053accabf36083853965ce4f5f3f43
--- /dev/null
+++ b/liamg--tml.d3bb484/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/liamg--tml.d3bb484"
+description = "Synthetic ProgramGym cleanroom reconstruction task for liamg/tml"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "go"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "liamg__tml.d3bb484"
+repository = "liamg/tml"
+commit = "d3bb4841d4d62fc347748db0d77cb579a742ee72"
+language = "go"
+difficulty = "easy"
+difficulty_score = 1.2753113545418118
+test_branches = 4
+test_count = 700
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/liamg--tml.d3bb484/tests/Dockerfile b/liamg--tml.d3bb484/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..a626a06f42b7d18ca8dda5f990bed0106ab28bf5
--- /dev/null
+++ b/liamg--tml.d3bb484/tests/Dockerfile
@@ -0,0 +1,68 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+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"]
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# programgym-runtime-workspace-cleanup: v1
+RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN python3 -m pip install --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/liamg--tml.d3bb484/tests/blobs/tests/generated_module_01.tar.gz b/liamg--tml.d3bb484/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..3001ac6867cabc03398727e277b6bec30ace828d
--- /dev/null
+++ b/liamg--tml.d3bb484/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e9fbc92fdb112a04f61b57f6ce1a97b3e515eefc303763c7f8fedac1159b41bb
+size 10318
diff --git a/liamg--tml.d3bb484/tests/blobs/tests/generated_module_02.tar.gz b/liamg--tml.d3bb484/tests/blobs/tests/generated_module_02.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..3891db9b9d3242726bb97647b6f014476bb956f1
--- /dev/null
+++ b/liamg--tml.d3bb484/tests/blobs/tests/generated_module_02.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2035ed62fc21ac900a2e20aad148a181028ac8160b9138d42006894316eb35ce
+size 11599
diff --git a/liamg--tml.d3bb484/tests/blobs/tests/generated_module_03.tar.gz b/liamg--tml.d3bb484/tests/blobs/tests/generated_module_03.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..ba72500b84ea5e8f069356ef450723d7f8c4200b
--- /dev/null
+++ b/liamg--tml.d3bb484/tests/blobs/tests/generated_module_03.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4253cf1f59e8607c0e93c36de1dd82ddb0c7de1eabe0ce1d678be4b780d66660
+size 23557
diff --git a/liamg--tml.d3bb484/tests/blobs/tests/generated_module_04.tar.gz b/liamg--tml.d3bb484/tests/blobs/tests/generated_module_04.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..aaf0b749aa653c4684f455a744fb0a3f071ad0b1
--- /dev/null
+++ b/liamg--tml.d3bb484/tests/blobs/tests/generated_module_04.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f8d02766836b308cd2ade9a5bcc49aec01bc18b7e9778dba3c64cf8dc624417a
+size 7781
diff --git a/liamg--tml.d3bb484/tests/download.sh b/liamg--tml.d3bb484/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..dcb659f27cf9c78c08a908f19632f8202bb7c617
--- /dev/null
+++ b/liamg--tml.d3bb484/tests/download.sh
@@ -0,0 +1,58 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
+# Generated deterministically from repository module metadata; do not edit.
+set -u
+export GOTOOLCHAIN=auto
+mkdir -p /workspace/.programgym_build_env/go-prefetch
+cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
+module github.com/liamg/tml
+
+go 1.20
+
+require github.com/stretchr/testify v1.8.3
+
+require (
+ github.com/davecgh/go-spew v1.1.1 // indirect
+ github.com/pmezard/go-difflib v1.0.0 // indirect
+ gopkg.in/yaml.v3 v3.0.1 // indirect
+)
+PROGRAMGYM_GO_MOD_EOF
+cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
+github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY=
+github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
+gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+PROGRAMGYM_GO_SUM_EOF
+PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
+if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && GOTOOLCHAIN=auto go env GOROOT)"; then
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+else
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
+fi
+export PATH="$GOROOT/bin:$PATH"
+export GOTOOLCHAIN=local
+if ! (cd /workspace/.programgym_build_env/go-prefetch && go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
diff --git a/liamg--tml.d3bb484/tests/executable b/liamg--tml.d3bb484/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..3b3f67ba5cac6d5244b9209fe6203ac1e8fbfb1d
--- /dev/null
+++ b/liamg--tml.d3bb484/tests/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c21c6b8fcd7f4f1a6561ac9c0145efb724cfc5ec206aef0e85a52abf5689e14c
+size 2315591
diff --git a/liamg--tml.d3bb484/tests/programgym-go.tar.gz b/liamg--tml.d3bb484/tests/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/liamg--tml.d3bb484/tests/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/liamg--tml.d3bb484/tests/programgym_evaluator.py b/liamg--tml.d3bb484/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/liamg--tml.d3bb484/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/liamg--tml.d3bb484/tests/programgym_task.json b/liamg--tml.d3bb484/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..10a02dfd60ca22260e61f33dcffb14dd32509e2d
--- /dev/null
+++ b/liamg--tml.d3bb484/tests/programgym_task.json
@@ -0,0 +1,921 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_tags.test_attribute_tag_emits_anattr_escape[blink-\\x1b[5m-1]",
+ "eval.tests.test_tags.test_attribute_tag_emits_anattr_escape[bold-\\x1b[1m-1]",
+ "eval.tests.test_tags.test_attribute_tag_emits_anattr_escape[dim-\\x1b[2m-1]",
+ "eval.tests.test_tags.test_attribute_tag_emits_anattr_escape[hidden-\\x1b[8m-1]",
+ "eval.tests.test_tags.test_attribute_tag_emits_anattr_escape[italic-\\x1b[3m-1]",
+ "eval.tests.test_tags.test_attribute_tag_emits_anattr_escape[reverse-\\x1b[7m-1]",
+ "eval.tests.test_tags.test_attribute_tag_emits_anattr_escape[strikethrough-\\x1b[9m-2]",
+ "eval.tests.test_tags.test_attribute_tag_emits_anattr_escape[underline-\\x1b[4m-1]",
+ "eval.tests.test_tags.test_background_color_tag_emits_anbg_escape[bg-black-\\x1b[40m]",
+ "eval.tests.test_tags.test_background_color_tag_emits_anbg_escape[bg-blue-\\x1b[44m]",
+ "eval.tests.test_tags.test_background_color_tag_emits_anbg_escape[bg-cyan-\\x1b[46m]",
+ "eval.tests.test_tags.test_background_color_tag_emits_anbg_escape[bg-darkgrey-\\x1b[40m]",
+ "eval.tests.test_tags.test_background_color_tag_emits_anbg_escape[bg-green-\\x1b[42m]",
+ "eval.tests.test_tags.test_background_color_tag_emits_anbg_escape[bg-lightblue-\\x1b[104m]",
+ "eval.tests.test_tags.test_background_color_tag_emits_anbg_escape[bg-lightcyan-\\x1b[106m]",
+ "eval.tests.test_tags.test_background_color_tag_emits_anbg_escape[bg-lightgreen-\\x1b[102m]",
+ "eval.tests.test_tags.test_background_color_tag_emits_anbg_escape[bg-lightgrey-\\x1b[47m]",
+ "eval.tests.test_tags.test_background_color_tag_emits_anbg_escape[bg-lightmagenta-\\x1b[105m]",
+ "eval.tests.test_tags.test_background_color_tag_emits_anbg_escape[bg-lightred-\\x1b[101m]",
+ "eval.tests.test_tags.test_background_color_tag_emits_anbg_escape[bg-lightyellow-\\x1b[103m]",
+ "eval.tests.test_tags.test_background_color_tag_emits_anbg_escape[bg-magenta-\\x1b[45m]",
+ "eval.tests.test_tags.test_background_color_tag_emits_anbg_escape[bg-red-\\x1b[41m]",
+ "eval.tests.test_tags.test_background_color_tag_emits_anbg_escape[bg-white-\\x1b[107m]",
+ "eval.tests.test_tags.test_background_color_tag_emits_anbg_escape[bg-yellow-\\x1b[43m]",
+ "eval.tests.test_tags.test_close_background_emits_anbg_reset_only[bg-black]",
+ "eval.tests.test_tags.test_close_background_emits_anbg_reset_only[bg-blue]",
+ "eval.tests.test_tags.test_close_background_emits_anbg_reset_only[bg-cyan]",
+ "eval.tests.test_tags.test_close_background_emits_anbg_reset_only[bg-darkgrey]",
+ "eval.tests.test_tags.test_close_background_emits_anbg_reset_only[bg-green]",
+ "eval.tests.test_tags.test_close_background_emits_anbg_reset_only[bg-lightblue]",
+ "eval.tests.test_tags.test_close_background_emits_anbg_reset_only[bg-lightcyan]",
+ "eval.tests.test_tags.test_close_background_emits_anbg_reset_only[bg-lightgreen]",
+ "eval.tests.test_tags.test_close_background_emits_anbg_reset_only[bg-lightgrey]",
+ "eval.tests.test_tags.test_close_background_emits_anbg_reset_only[bg-lightmagenta]",
+ "eval.tests.test_tags.test_close_background_emits_anbg_reset_only[bg-lightred]",
+ "eval.tests.test_tags.test_close_background_emits_anbg_reset_only[bg-lightyellow]",
+ "eval.tests.test_tags.test_close_background_emits_anbg_reset_only[bg-magenta]",
+ "eval.tests.test_tags.test_close_background_emits_anbg_reset_only[bg-red]",
+ "eval.tests.test_tags.test_close_background_emits_anbg_reset_only[bg-white]",
+ "eval.tests.test_tags.test_close_background_emits_anbg_reset_only[bg-yellow]",
+ "eval.tests.test_tags.test_closing_attribute_reapplies_active_foreground",
+ "eval.tests.test_tags.test_closing_unknown_tag_emitted_literally",
+ "eval.tests.test_tags.test_deep_nesting_matches_exact_byte_stream",
+ "eval.tests.test_tags.test_empty_input_yields_only_resets",
+ "eval.tests.test_tags.test_empty_tag_emitted_literally",
+ "eval.tests.test_tags.test_exit_code_zero_for_valid_input",
+ "eval.tests.test_tags.test_fg_switch_from_one_color_to_another",
+ "eval.tests.test_tags.test_fg_then_bg_stacking_order",
+ "eval.tests.test_tags.test_foreground_color_tag_emits_anfg_escape[black-\\x1b[30m]",
+ "eval.tests.test_tags.test_foreground_color_tag_emits_anfg_escape[blue-\\x1b[34m]",
+ "eval.tests.test_tags.test_foreground_color_tag_emits_anfg_escape[cyan-\\x1b[36m]",
+ "eval.tests.test_tags.test_foreground_color_tag_emits_anfg_escape[darkgrey-\\x1b[90m]",
+ "eval.tests.test_tags.test_foreground_color_tag_emits_anfg_escape[green-\\x1b[32m]",
+ "eval.tests.test_tags.test_foreground_color_tag_emits_anfg_escape[lightblue-\\x1b[94m]",
+ "eval.tests.test_tags.test_foreground_color_tag_emits_anfg_escape[lightcyan-\\x1b[96m]",
+ "eval.tests.test_tags.test_foreground_color_tag_emits_anfg_escape[lightgreen-\\x1b[92m]",
+ "eval.tests.test_tags.test_foreground_color_tag_emits_anfg_escape[lightgrey-\\x1b[37m]",
+ "eval.tests.test_tags.test_foreground_color_tag_emits_anfg_escape[lightmagenta-\\x1b[95m]",
+ "eval.tests.test_tags.test_foreground_color_tag_emits_anfg_escape[lightred-\\x1b[91m]",
+ "eval.tests.test_tags.test_foreground_color_tag_emits_anfg_escape[lightyellow-\\x1b[93m]",
+ "eval.tests.test_tags.test_foreground_color_tag_emits_anfg_escape[magenta-\\x1b[35m]",
+ "eval.tests.test_tags.test_foreground_color_tag_emits_anfg_escape[red-\\x1b[31m]",
+ "eval.tests.test_tags.test_foreground_color_tag_emits_anfg_escape[white-\\x1b[97m]",
+ "eval.tests.test_tags.test_foreground_color_tag_emits_anfg_escape[yellow-\\x1b[33m]",
+ "eval.tests.test_tags.test_italic_and_strikethrough_combo",
+ "eval.tests.test_tags.test_multiple_attributes_stack_in_bit_order",
+ "eval.tests.test_tags.test_newline_is_preserved",
+ "eval.tests.test_tags.test_no_trailing_newline_appended",
+ "eval.tests.test_tags.test_plain_text_passthrough_with_resets",
+ "eval.tests.test_tags.test_plain_text_then_nothing_is_exact",
+ "eval.tests.test_tags.test_repeated_same_background_is_not_re_emitted_when_equal",
+ "eval.tests.test_tags.test_repeated_same_foreground_is_not_re_emitted_when_equal",
+ "eval.tests.test_tags.test_reset_foreground_emits_anfg_reset_only[black]",
+ "eval.tests.test_tags.test_reset_foreground_emits_anfg_reset_only[blue]",
+ "eval.tests.test_tags.test_reset_foreground_emits_anfg_reset_only[cyan]",
+ "eval.tests.test_tags.test_reset_foreground_emits_anfg_reset_only[darkgrey]",
+ "eval.tests.test_tags.test_reset_foreground_emits_anfg_reset_only[green]",
+ "eval.tests.test_tags.test_reset_foreground_emits_anfg_reset_only[lightblue]",
+ "eval.tests.test_tags.test_reset_foreground_emits_anfg_reset_only[lightcyan]",
+ "eval.tests.test_tags.test_reset_foreground_emits_anfg_reset_only[lightgreen]",
+ "eval.tests.test_tags.test_reset_foreground_emits_anfg_reset_only[lightgrey]",
+ "eval.tests.test_tags.test_reset_foreground_emits_anfg_reset_only[lightmagenta]",
+ "eval.tests.test_tags.test_reset_foreground_emits_anfg_reset_only[lightred]",
+ "eval.tests.test_tags.test_reset_foreground_emits_anfg_reset_only[lightyellow]",
+ "eval.tests.test_tags.test_reset_foreground_emits_anfg_reset_only[magenta]",
+ "eval.tests.test_tags.test_reset_foreground_emits_anfg_reset_only[red]",
+ "eval.tests.test_tags.test_reset_foreground_emits_anfg_reset_only[white]",
+ "eval.tests.test_tags.test_reset_foreground_emits_anfg_reset_only[yellow]",
+ "eval.tests.test_tags.test_unclosed_background_tag_still_emits_escape",
+ "eval.tests.test_tags.test_unclosed_foreground_tag_still_emits_escape",
+ "eval.tests.test_tags.test_unknown_tag_emitted_literally[bg]",
+ "eval.tests.test_tags.test_unknown_tag_emitted_literally[fg-]",
+ "eval.tests.test_tags.test_unknown_tag_emitted_literally[foo]",
+ "eval.tests.test_tags.test_unknown_tag_emitted_literally[light]",
+ "eval.tests.test_tags.test_unknown_tag_emitted_literally[nope]",
+ "eval.tests.test_tags.test_unknown_tag_emitted_literally[redgreen]",
+ "eval.tests.test_tags.test_unterminated_less_than_is_literal",
+ "eval.tests.test_tags.test_utf8_multibyte_text_preserved",
+ "eval.tests.test_tags.test_whitespace_only_input",
+ "eval.tests.test_tags_sequences.test_attr_close_reapplies_active_bg_only[blink-0]",
+ "eval.tests.test_tags_sequences.test_attr_close_reapplies_active_bg_only[bold-0]",
+ "eval.tests.test_tags_sequences.test_attr_close_reapplies_active_bg_only[dim-0]",
+ "eval.tests.test_tags_sequences.test_attr_close_reapplies_active_bg_only[hidden-0]",
+ "eval.tests.test_tags_sequences.test_attr_close_reapplies_active_bg_only[italic-0]",
+ "eval.tests.test_tags_sequences.test_attr_close_reapplies_active_bg_only[reverse-0]",
+ "eval.tests.test_tags_sequences.test_attr_close_reapplies_active_bg_only[strikethrough-1]",
+ "eval.tests.test_tags_sequences.test_attr_close_reapplies_active_bg_only[underline-0]",
+ "eval.tests.test_tags_sequences.test_attr_close_reapplies_active_fg_and_bg[blink-0]",
+ "eval.tests.test_tags_sequences.test_attr_close_reapplies_active_fg_and_bg[bold-0]",
+ "eval.tests.test_tags_sequences.test_attr_close_reapplies_active_fg_and_bg[dim-0]",
+ "eval.tests.test_tags_sequences.test_attr_close_reapplies_active_fg_and_bg[hidden-0]",
+ "eval.tests.test_tags_sequences.test_attr_close_reapplies_active_fg_and_bg[italic-0]",
+ "eval.tests.test_tags_sequences.test_attr_close_reapplies_active_fg_and_bg[reverse-0]",
+ "eval.tests.test_tags_sequences.test_attr_close_reapplies_active_fg_and_bg[strikethrough-1]",
+ "eval.tests.test_tags_sequences.test_attr_close_reapplies_active_fg_and_bg[underline-0]",
+ "eval.tests.test_tags_sequences.test_attr_pair_open_close_clean_cycle",
+ "eval.tests.test_tags_sequences.test_attr_reopen_toggles_to_next_bit_code[blink-\\x1b[0m\\x1b[5ma\\x1b[7mb\\x1b[0m\\x1b[5mc\\x1b[0m\\x1b[0m]",
+ "eval.tests.test_tags_sequences.test_attr_reopen_toggles_to_next_bit_code[bold-\\x1b[0m\\x1b[1ma\\x1b[2mb\\x1b[0m\\x1b[1mc\\x1b[0m\\x1b[0m]",
+ "eval.tests.test_tags_sequences.test_attr_reopen_toggles_to_next_bit_code[dim-\\x1b[0m\\x1b[2ma\\x1b[4mb\\x1b[0m\\x1b[2mc\\x1b[0m\\x1b[0m]",
+ "eval.tests.test_tags_sequences.test_attr_reopen_toggles_to_next_bit_code[hidden-\\x1b[0m\\x1b[8ma\\x1b[3mb\\x1b[0m\\x1b[8mc\\x1b[0m\\x1b[0m]",
+ "eval.tests.test_tags_sequences.test_attr_reopen_toggles_to_next_bit_code[italic-\\x1b[0m\\x1b[3ma\\x1b[9mb\\x1b[0m\\x1b[3mc\\x1b[0m\\x1b[0m]",
+ "eval.tests.test_tags_sequences.test_attr_reopen_toggles_to_next_bit_code[reverse-\\x1b[0m\\x1b[7ma\\x1b[8mb\\x1b[0m\\x1b[7mc\\x1b[0m\\x1b[0m]",
+ "eval.tests.test_tags_sequences.test_attr_reopen_toggles_to_next_bit_code[strikethrough-\\x1b[0m\\x1b[0m\\x1b[9ma\\x1b[0mb\\x1b[0m\\x1b[9mc\\x1b[0m\\x1b[0m]",
+ "eval.tests.test_tags_sequences.test_attr_reopen_toggles_to_next_bit_code[underline-\\x1b[0m\\x1b[4ma\\x1b[5mb\\x1b[0m\\x1b[4mc\\x1b[0m\\x1b[0m]",
+ "eval.tests.test_tags_sequences.test_background_switch_suppresses_repeat_background",
+ "eval.tests.test_tags_sequences.test_close_background_when_not_active_is_suppressed",
+ "eval.tests.test_tags_sequences.test_close_foreground_when_not_active_is_suppressed",
+ "eval.tests.test_tags_sequences.test_foreground_switch_around_an_attribute",
+ "eval.tests.test_tags_sequences.test_golden_additive_bit_flip_document",
+ "eval.tests.test_tags_sequences.test_golden_attr_close_reapply_fg_bg",
+ "eval.tests.test_tags_sequences.test_golden_multi_line_document",
+ "eval.tests.test_tags_sequences.test_golden_nested_fg_bg_attr_sequence",
+ "eval.tests.test_tags_sequences.test_golden_strikethrough_overflow_chain",
+ "eval.tests.test_tags_sequences.test_golden_suppressed_close_stream",
+ "eval.tests.test_tags_sequences.test_reopen_foreground_after_close_reinitializes_state",
+ "eval.tests.test_tags_sequences.test_tag_straddling_read_buffer_boundaries[1020-z]",
+ "eval.tests.test_tags_sequences.test_tag_straddling_read_buffer_boundaries[1021-z]",
+ "eval.tests.test_tags_sequences.test_tag_straddling_read_buffer_boundaries[1024-z]",
+ "eval.tests.test_tags_sequences.test_tag_straddling_read_buffer_boundaries[3000-w]",
+ "eval.tests.test_tags_sequences.test_trailing_bare_less_than_is_dropped_at_eof"
+ ]
+ },
+ "generated_module_02": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_attributes.test_attr_close_while_fg_active_restores_fg[blink-\\x1b[5m]",
+ "eval.tests.test_attributes.test_attr_close_while_fg_active_restores_fg[bold-\\x1b[1m]",
+ "eval.tests.test_attributes.test_attr_close_while_fg_active_restores_fg[dim-\\x1b[2m]",
+ "eval.tests.test_attributes.test_attr_close_while_fg_active_restores_fg[hidden-\\x1b[8m]",
+ "eval.tests.test_attributes.test_attr_close_while_fg_active_restores_fg[italic-\\x1b[3m]",
+ "eval.tests.test_attributes.test_attr_close_while_fg_active_restores_fg[reverse-\\x1b[7m]",
+ "eval.tests.test_attributes.test_attr_close_while_fg_active_restores_fg[strikethrough-\\x1b[9m]",
+ "eval.tests.test_attributes.test_attr_close_while_fg_active_restores_fg[underline-\\x1b[4m]",
+ "eval.tests.test_attributes.test_attr_close_with_leftover_attr_keeps_it",
+ "eval.tests.test_attributes.test_attribute_open_and_close_clean_cancel[blink-\\x1b[5m-False]",
+ "eval.tests.test_attributes.test_attribute_open_and_close_clean_cancel[bold-\\x1b[1m-False]",
+ "eval.tests.test_attributes.test_attribute_open_and_close_clean_cancel[dim-\\x1b[2m-False]",
+ "eval.tests.test_attributes.test_attribute_open_and_close_clean_cancel[hidden-\\x1b[8m-False]",
+ "eval.tests.test_attributes.test_attribute_open_and_close_clean_cancel[italic-\\x1b[3m-False]",
+ "eval.tests.test_attributes.test_attribute_open_and_close_clean_cancel[reverse-\\x1b[7m-False]",
+ "eval.tests.test_attributes.test_attribute_open_and_close_clean_cancel[strikethrough-\\x1b[9m-True]",
+ "eval.tests.test_attributes.test_attribute_open_and_close_clean_cancel[underline-\\x1b[4m-False]",
+ "eval.tests.test_attributes.test_attribute_open_unclosed[blink-\\x1b[5m-False]",
+ "eval.tests.test_attributes.test_attribute_open_unclosed[bold-\\x1b[1m-False]",
+ "eval.tests.test_attributes.test_attribute_open_unclosed[dim-\\x1b[2m-False]",
+ "eval.tests.test_attributes.test_attribute_open_unclosed[hidden-\\x1b[8m-False]",
+ "eval.tests.test_attributes.test_attribute_open_unclosed[italic-\\x1b[3m-False]",
+ "eval.tests.test_attributes.test_attribute_open_unclosed[reverse-\\x1b[7m-False]",
+ "eval.tests.test_attributes.test_attribute_open_unclosed[strikethrough-\\x1b[9m-True]",
+ "eval.tests.test_attributes.test_attribute_open_unclosed[underline-\\x1b[4m-False]",
+ "eval.tests.test_attributes.test_double_attr_close_overflows_to_all",
+ "eval.tests.test_attributes.test_reopen_attribute_shifts_bitmask",
+ "eval.tests.test_attributes.test_two_attributes_emit_both_escapes",
+ "eval.tests.test_background_colors.test_background_color[bg-black-\\x1b[40m]",
+ "eval.tests.test_background_colors.test_background_color[bg-blue-\\x1b[44m]",
+ "eval.tests.test_background_colors.test_background_color[bg-cyan-\\x1b[46m]",
+ "eval.tests.test_background_colors.test_background_color[bg-darkgrey-\\x1b[40m]",
+ "eval.tests.test_background_colors.test_background_color[bg-green-\\x1b[42m]",
+ "eval.tests.test_background_colors.test_background_color[bg-lightblue-\\x1b[104m]",
+ "eval.tests.test_background_colors.test_background_color[bg-lightcyan-\\x1b[106m]",
+ "eval.tests.test_background_colors.test_background_color[bg-lightgreen-\\x1b[102m]",
+ "eval.tests.test_background_colors.test_background_color[bg-lightgrey-\\x1b[47m]",
+ "eval.tests.test_background_colors.test_background_color[bg-lightmagenta-\\x1b[105m]",
+ "eval.tests.test_background_colors.test_background_color[bg-lightred-\\x1b[101m]",
+ "eval.tests.test_background_colors.test_background_color[bg-lightyellow-\\x1b[103m]",
+ "eval.tests.test_background_colors.test_background_color[bg-magenta-\\x1b[45m]",
+ "eval.tests.test_background_colors.test_background_color[bg-red-\\x1b[41m]",
+ "eval.tests.test_background_colors.test_background_color[bg-white-\\x1b[107m]",
+ "eval.tests.test_background_colors.test_background_color[bg-yellow-\\x1b[43m]",
+ "eval.tests.test_background_colors.test_background_color_unclosed[bg-black-\\x1b[40m]",
+ "eval.tests.test_background_colors.test_background_color_unclosed[bg-blue-\\x1b[44m]",
+ "eval.tests.test_background_colors.test_background_color_unclosed[bg-cyan-\\x1b[46m]",
+ "eval.tests.test_background_colors.test_background_color_unclosed[bg-darkgrey-\\x1b[40m]",
+ "eval.tests.test_background_colors.test_background_color_unclosed[bg-green-\\x1b[42m]",
+ "eval.tests.test_background_colors.test_background_color_unclosed[bg-lightblue-\\x1b[104m]",
+ "eval.tests.test_background_colors.test_background_color_unclosed[bg-lightcyan-\\x1b[106m]",
+ "eval.tests.test_background_colors.test_background_color_unclosed[bg-lightgreen-\\x1b[102m]",
+ "eval.tests.test_background_colors.test_background_color_unclosed[bg-lightgrey-\\x1b[47m]",
+ "eval.tests.test_background_colors.test_background_color_unclosed[bg-lightmagenta-\\x1b[105m]",
+ "eval.tests.test_background_colors.test_background_color_unclosed[bg-lightred-\\x1b[101m]",
+ "eval.tests.test_background_colors.test_background_color_unclosed[bg-lightyellow-\\x1b[103m]",
+ "eval.tests.test_background_colors.test_background_color_unclosed[bg-magenta-\\x1b[45m]",
+ "eval.tests.test_background_colors.test_background_color_unclosed[bg-red-\\x1b[41m]",
+ "eval.tests.test_background_colors.test_background_color_unclosed[bg-white-\\x1b[107m]",
+ "eval.tests.test_background_colors.test_background_color_unclosed[bg-yellow-\\x1b[43m]",
+ "eval.tests.test_background_colors.test_bg_darkgrey_and_black_same_escape",
+ "eval.tests.test_background_colors.test_foreground_and_background_combined",
+ "eval.tests.test_background_colors.test_same_background_reopened_is_noop",
+ "eval.tests.test_background_colors.test_switching_background_without_close",
+ "eval.tests.test_basic_parsing.test_double_open_angle_bracket",
+ "eval.tests.test_basic_parsing.test_empty_angle_brackets_passthrough",
+ "eval.tests.test_basic_parsing.test_empty_tag_pair_leaves_no_text",
+ "eval.tests.test_basic_parsing.test_leading_and_trailing_resets_present",
+ "eval.tests.test_basic_parsing.test_lone_greater_than_passthrough",
+ "eval.tests.test_basic_parsing.test_lone_less_than_opens_tag_swallows_tail",
+ "eval.tests.test_basic_parsing.test_plain_text_wrapped_with_resets[bare-newline]",
+ "eval.tests.test_basic_parsing.test_plain_text_wrapped_with_resets[embedded-newline]",
+ "eval.tests.test_basic_parsing.test_plain_text_wrapped_with_resets[empty-input]",
+ "eval.tests.test_basic_parsing.test_plain_text_wrapped_with_resets[multiple-extreme-spaces]",
+ "eval.tests.test_basic_parsing.test_plain_text_wrapped_with_resets[plain-text]",
+ "eval.tests.test_basic_parsing.test_plain_text_wrapped_with_resets[single-space]",
+ "eval.tests.test_basic_parsing.test_plain_text_wrapped_with_resets[tabs-preserved]",
+ "eval.tests.test_basic_parsing.test_plain_text_wrapped_with_resets[utf8-multibyte-preserved]",
+ "eval.tests.test_basic_parsing.test_unknown_open_and_close_tags_literal_in_context",
+ "eval.tests.test_basic_parsing.test_unknown_open_tags_are_literal[fg-unknown-dash]",
+ "eval.tests.test_basic_parsing.test_unknown_open_tags_are_literal[fg-unknown-digits]",
+ "eval.tests.test_basic_parsing.test_unknown_open_tags_are_literal[fg-unknown-word]",
+ "eval.tests.test_basic_parsing.test_unterminated_color_tag_drops_name",
+ "eval.tests.test_basic_parsing.test_unterminated_tag_swallows_remaining_input",
+ "eval.tests.test_basic_parsing.test_whitespace_only_tag_passthrough",
+ "eval.tests.test_buffer_boundaries.test_close_tag_crossing_buffer_boundary",
+ "eval.tests.test_buffer_boundaries.test_literal_escape_byte_in_text_passthrough",
+ "eval.tests.test_buffer_boundaries.test_long_nested_colour_block",
+ "eval.tests.test_buffer_boundaries.test_long_plain_text_spans_multiple_reads",
+ "eval.tests.test_buffer_boundaries.test_many_tags_in_one_long_input",
+ "eval.tests.test_buffer_boundaries.test_tag_crossing_buffer_boundary",
+ "eval.tests.test_buffer_boundaries.test_tag_name_ending_at_buffer_boundary",
+ "eval.tests.test_buffer_boundaries.test_unknown_tag_spanning_buffer_boundary_literal",
+ "eval.tests.test_cli_entry.test_exit_zero_on_empty_stdin",
+ "eval.tests.test_cli_entry.test_exit_zero_on_valid_input",
+ "eval.tests.test_cli_entry.test_mixed_ascii_and_escape_bytes",
+ "eval.tests.test_cli_entry.test_percent_percent_is_literal",
+ "eval.tests.test_cli_entry.test_percent_sign_treated_as_format_verb",
+ "eval.tests.test_cli_entry.test_percent_within_tag_body_keeps_verb",
+ "eval.tests.test_cli_entry.test_stdout_contains_no_raw_tags_when_valid",
+ "eval.tests.test_documentation_and_reset_edges.test_adjacent_close_open_without_text_in_between",
+ "eval.tests.test_documentation_and_reset_edges.test_bg_reset_then_fg_reset_independent",
+ "eval.tests.test_documentation_and_reset_edges.test_close_bg_tag_never_opened",
+ "eval.tests.test_documentation_and_reset_edges.test_close_fg_tag_never_opened",
+ "eval.tests.test_documentation_and_reset_edges.test_close_mixed_tags_never_opened",
+ "eval.tests.test_documentation_and_reset_edges.test_fg_dedup_between_independent_runs",
+ "eval.tests.test_documentation_and_reset_edges.test_readme_documented_example",
+ "eval.tests.test_foreground_colors.test_foreground_color[black-\\x1b[30m]",
+ "eval.tests.test_foreground_colors.test_foreground_color[blue-\\x1b[34m]",
+ "eval.tests.test_foreground_colors.test_foreground_color[cyan-\\x1b[36m]",
+ "eval.tests.test_foreground_colors.test_foreground_color[darkgrey-\\x1b[90m]",
+ "eval.tests.test_foreground_colors.test_foreground_color[green-\\x1b[32m]",
+ "eval.tests.test_foreground_colors.test_foreground_color[lightblue-\\x1b[94m]",
+ "eval.tests.test_foreground_colors.test_foreground_color[lightcyan-\\x1b[96m]",
+ "eval.tests.test_foreground_colors.test_foreground_color[lightgreen-\\x1b[92m]",
+ "eval.tests.test_foreground_colors.test_foreground_color[lightgrey-\\x1b[37m]",
+ "eval.tests.test_foreground_colors.test_foreground_color[lightmagenta-\\x1b[95m]",
+ "eval.tests.test_foreground_colors.test_foreground_color[lightred-\\x1b[91m]",
+ "eval.tests.test_foreground_colors.test_foreground_color[lightyellow-\\x1b[93m]",
+ "eval.tests.test_foreground_colors.test_foreground_color[magenta-\\x1b[35m]",
+ "eval.tests.test_foreground_colors.test_foreground_color[red-\\x1b[31m]",
+ "eval.tests.test_foreground_colors.test_foreground_color[white-\\x1b[97m]",
+ "eval.tests.test_foreground_colors.test_foreground_color[yellow-\\x1b[33m]",
+ "eval.tests.test_foreground_colors.test_foreground_color_unclosed[black-\\x1b[30m]",
+ "eval.tests.test_foreground_colors.test_foreground_color_unclosed[blue-\\x1b[34m]",
+ "eval.tests.test_foreground_colors.test_foreground_color_unclosed[cyan-\\x1b[36m]",
+ "eval.tests.test_foreground_colors.test_foreground_color_unclosed[darkgrey-\\x1b[90m]",
+ "eval.tests.test_foreground_colors.test_foreground_color_unclosed[green-\\x1b[32m]",
+ "eval.tests.test_foreground_colors.test_foreground_color_unclosed[lightblue-\\x1b[94m]",
+ "eval.tests.test_foreground_colors.test_foreground_color_unclosed[lightcyan-\\x1b[96m]",
+ "eval.tests.test_foreground_colors.test_foreground_color_unclosed[lightgreen-\\x1b[92m]",
+ "eval.tests.test_foreground_colors.test_foreground_color_unclosed[lightgrey-\\x1b[37m]",
+ "eval.tests.test_foreground_colors.test_foreground_color_unclosed[lightmagenta-\\x1b[95m]",
+ "eval.tests.test_foreground_colors.test_foreground_color_unclosed[lightred-\\x1b[91m]",
+ "eval.tests.test_foreground_colors.test_foreground_color_unclosed[lightyellow-\\x1b[93m]",
+ "eval.tests.test_foreground_colors.test_foreground_color_unclosed[magenta-\\x1b[35m]",
+ "eval.tests.test_foreground_colors.test_foreground_color_unclosed[red-\\x1b[31m]",
+ "eval.tests.test_foreground_colors.test_foreground_color_unclosed[white-\\x1b[97m]",
+ "eval.tests.test_foreground_colors.test_foreground_color_unclosed[yellow-\\x1b[33m]",
+ "eval.tests.test_foreground_colors.test_same_foreground_reopened_is_noop",
+ "eval.tests.test_foreground_colors.test_switching_foreground_without_close[darkgrey-white]",
+ "eval.tests.test_foreground_colors.test_switching_foreground_without_close[green-lightred]",
+ "eval.tests.test_foreground_colors.test_switching_foreground_without_close[red-blue]",
+ "eval.tests.test_multiaxis_state.test_attr_close_reemits_bg",
+ "eval.tests.test_multiaxis_state.test_attr_close_reflects_current_fg_not_open_time",
+ "eval.tests.test_multiaxis_state.test_attr_within_fg_switch_replays_changed_fg_exact",
+ "eval.tests.test_multiaxis_state.test_close_empty_angle_slash_passthrough",
+ "eval.tests.test_multiaxis_state.test_close_fg_while_bg_and_attr_active",
+ "eval.tests.test_multiaxis_state.test_deep_alternation_fg_bg_attr",
+ "eval.tests.test_multiaxis_state.test_fg_bg_attr_triple_with_partial_closes",
+ "eval.tests.test_multiaxis_state.test_premature_close_unknown_tag_passthrough",
+ "eval.tests.test_multiaxis_state.test_reverse_order_attribute_close",
+ "eval.tests.test_multiaxis_state.test_three_attributes_accumulate_in_one_span",
+ "eval.tests.test_multiaxis_state.test_unclosed_fg_then_unclosed_attr_then_text",
+ "eval.tests.test_nesting_state.test_adjacent_open_and_close_without_text",
+ "eval.tests.test_nesting_state.test_attr_inside_fg_restores_fg_on_close",
+ "eval.tests.test_nesting_state.test_bg_inside_fg_compose_scalars",
+ "eval.tests.test_nesting_state.test_causal_sequence_roundtrip",
+ "eval.tests.test_nesting_state.test_fg_close_resets_to_plain_not_outer",
+ "eval.tests.test_nesting_state.test_fg_nested_inside_fg",
+ "eval.tests.test_nesting_state.test_multiple_independent_colour_runs",
+ "eval.tests.test_nesting_state.test_nested_deep_mixed",
+ "eval.tests.test_nesting_state.test_trailing_newline_inside_tag",
+ "eval.tests.test_nesting_state.test_unknown_inline_tag_does_not_break_colour"
+ ]
+ },
+ "generated_module_03": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_printf_attr.test_attribute_inside_color_redisapplies_fg",
+ "eval.tests.test_printf_attr.test_attributes_in_map_have_distinct_codes",
+ "eval.tests.test_printf_attr.test_blink_and_hidden_attribute_codes",
+ "eval.tests.test_printf_attr.test_color_inside_attribute_close_appends_fg_state",
+ "eval.tests.test_printf_attr.test_nested_attributes_stack",
+ "eval.tests.test_printf_attr.test_reopen_blink_accumulates_to_reverse_bit",
+ "eval.tests.test_printf_attr.test_reopen_bold_accumulates_to_dim_bit",
+ "eval.tests.test_printf_attr.test_single_attribute_open_close[blink-\\x1b[5m]",
+ "eval.tests.test_printf_attr.test_single_attribute_open_close[bold-\\x1b[1m]",
+ "eval.tests.test_printf_attr.test_single_attribute_open_close[dim-\\x1b[2m]",
+ "eval.tests.test_printf_attr.test_single_attribute_open_close[hidden-\\x1b[8m]",
+ "eval.tests.test_printf_attr.test_single_attribute_open_close[italic-\\x1b[3m]",
+ "eval.tests.test_printf_attr.test_single_attribute_open_close[reverse-\\x1b[7m]",
+ "eval.tests.test_printf_attr.test_single_attribute_open_close[underline-\\x1b[4m]",
+ "eval.tests.test_printf_attr.test_strikethrough_overflow_emits_extra_reset_on_open",
+ "eval.tests.test_printf_attr.test_unopened_attribute_close_wraps_and_emits_all_attrs",
+ "eval.tests.test_printf_attr_accumulator.test_attr_close_inside_bold_reemits_remaining_bold",
+ "eval.tests.test_printf_attr_accumulator.test_bold_open_under_underline_then_close_reemits_underline",
+ "eval.tests.test_printf_attr_accumulator.test_midtext_attr_close_keeps_remaining_attr_active",
+ "eval.tests.test_printf_attr_accumulator.test_triple_blink_open_accumulates_to_reverse_and_close_reemits_reverse",
+ "eval.tests.test_printf_attr_accumulator.test_triple_bold_open_accumulates_and_closes_step_down_deterministically",
+ "eval.tests.test_printf_attr_nested_close.test_attr_close_then_literal_tail_keeps_fg",
+ "eval.tests.test_printf_attr_nested_close.test_inner_attr_close_reapplies_bg_and_remaining_attr",
+ "eval.tests.test_printf_attr_nested_close.test_inner_attr_close_reapplies_fg_and_remaining_attr",
+ "eval.tests.test_printf_attr_nested_close.test_inner_attr_close_reapplies_fg_then_bg_and_remaining_attr",
+ "eval.tests.test_printf_attr_nested_close.test_two_seq_attr_regions_under_one_color_exact_tail",
+ "eval.tests.test_printf_bg.test_bg_black_and_bg_darkgrey_share_escape",
+ "eval.tests.test_printf_bg.test_bg_does_not_emit_fg_reset",
+ "eval.tests.test_printf_bg.test_bg_exact_escape_codes[bg-black-\\x1b[40m]",
+ "eval.tests.test_printf_bg.test_bg_exact_escape_codes[bg-blue-\\x1b[44m]",
+ "eval.tests.test_printf_bg.test_bg_exact_escape_codes[bg-cyan-\\x1b[46m]",
+ "eval.tests.test_printf_bg.test_bg_exact_escape_codes[bg-darkgrey-\\x1b[40m]",
+ "eval.tests.test_printf_bg.test_bg_exact_escape_codes[bg-green-\\x1b[42m]",
+ "eval.tests.test_printf_bg.test_bg_exact_escape_codes[bg-lightblue-\\x1b[104m]",
+ "eval.tests.test_printf_bg.test_bg_exact_escape_codes[bg-lightcyan-\\x1b[106m]",
+ "eval.tests.test_printf_bg.test_bg_exact_escape_codes[bg-lightgreen-\\x1b[102m]",
+ "eval.tests.test_printf_bg.test_bg_exact_escape_codes[bg-lightgrey-\\x1b[47m]",
+ "eval.tests.test_printf_bg.test_bg_exact_escape_codes[bg-lightmagenta-\\x1b[105m]",
+ "eval.tests.test_printf_bg.test_bg_exact_escape_codes[bg-lightred-\\x1b[101m]",
+ "eval.tests.test_printf_bg.test_bg_exact_escape_codes[bg-lightyellow-\\x1b[103m]",
+ "eval.tests.test_printf_bg.test_bg_exact_escape_codes[bg-magenta-\\x1b[45m]",
+ "eval.tests.test_printf_bg.test_bg_exact_escape_codes[bg-red-\\x1b[41m]",
+ "eval.tests.test_printf_bg.test_bg_exact_escape_codes[bg-white-\\x1b[107m]",
+ "eval.tests.test_printf_bg.test_bg_exact_escape_codes[bg-yellow-\\x1b[43m]",
+ "eval.tests.test_printf_bg.test_bg_tag_renders[bg-black-\\x1b[40m]",
+ "eval.tests.test_printf_bg.test_bg_tag_renders[bg-blue-\\x1b[44m]",
+ "eval.tests.test_printf_bg.test_bg_tag_renders[bg-cyan-\\x1b[46m]",
+ "eval.tests.test_printf_bg.test_bg_tag_renders[bg-darkgrey-\\x1b[40m]",
+ "eval.tests.test_printf_bg.test_bg_tag_renders[bg-green-\\x1b[42m]",
+ "eval.tests.test_printf_bg.test_bg_tag_renders[bg-lightblue-\\x1b[104m]",
+ "eval.tests.test_printf_bg.test_bg_tag_renders[bg-lightcyan-\\x1b[106m]",
+ "eval.tests.test_printf_bg.test_bg_tag_renders[bg-lightgreen-\\x1b[102m]",
+ "eval.tests.test_printf_bg.test_bg_tag_renders[bg-lightgrey-\\x1b[47m]",
+ "eval.tests.test_printf_bg.test_bg_tag_renders[bg-lightmagenta-\\x1b[105m]",
+ "eval.tests.test_printf_bg.test_bg_tag_renders[bg-lightred-\\x1b[101m]",
+ "eval.tests.test_printf_bg.test_bg_tag_renders[bg-lightyellow-\\x1b[103m]",
+ "eval.tests.test_printf_bg.test_bg_tag_renders[bg-magenta-\\x1b[45m]",
+ "eval.tests.test_printf_bg.test_bg_tag_renders[bg-red-\\x1b[41m]",
+ "eval.tests.test_printf_bg.test_bg_tag_renders[bg-white-\\x1b[107m]",
+ "eval.tests.test_printf_bg.test_bg_tag_renders[bg-yellow-\\x1b[43m]",
+ "eval.tests.test_printf_bg.test_switch_background_between_opens",
+ "eval.tests.test_printf_bg_alias.test_alias_after_reset_reemits_bg",
+ "eval.tests.test_printf_bg_alias.test_alias_bg_under_fg_tail_keeps_fg",
+ "eval.tests.test_printf_bg_alias.test_alias_under_foreground_nests_cleanly",
+ "eval.tests.test_printf_bg_alias.test_alias_with_verb_in_region",
+ "eval.tests.test_printf_bg_alias.test_reopen_other_alias_active_is_dedup",
+ "eval.tests.test_printf_bg_alias.test_reopen_other_alias_active_reverse_dedup",
+ "eval.tests.test_printf_buffer_boundary.test_close_tag_split_across_buffer_boundary",
+ "eval.tests.test_printf_buffer_boundary.test_leading_angle_at_boundary_continues_tag_in_next_chunk",
+ "eval.tests.test_printf_buffer_boundary.test_long_attribute_tag_split_preserves_overflow_quirk",
+ "eval.tests.test_printf_buffer_boundary.test_long_tag_name_split_across_boundary[bg-lightcyan-\\x1b[106m-\\x1b[49m]",
+ "eval.tests.test_printf_buffer_boundary.test_long_tag_name_split_across_boundary[lightcyan-\\x1b[96m-\\x1b[39m]",
+ "eval.tests.test_printf_buffer_boundary.test_long_tag_name_split_across_boundary[lightyellow-\\x1b[93m-\\x1b[39m]",
+ "eval.tests.test_printf_buffer_boundary.test_multibyte_char_fully_inside_chunk_at_tail_is_preserved",
+ "eval.tests.test_printf_buffer_boundary.test_multibyte_char_fully_inside_chunk_is_preserved",
+ "eval.tests.test_printf_buffer_boundary.test_multibyte_char_split_across_boundary_becomes_replacements[2byte]",
+ "eval.tests.test_printf_buffer_boundary.test_multibyte_char_split_across_boundary_becomes_replacements[3byte]",
+ "eval.tests.test_printf_buffer_boundary.test_multibyte_char_split_across_boundary_becomes_replacements[4byte]",
+ "eval.tests.test_printf_buffer_boundary.test_open_tag_split_across_buffer_boundary",
+ "eval.tests.test_printf_buffer_boundary.test_push_1024_fill_then_tag_and_multibyte",
+ "eval.tests.test_printf_buffer_boundary.test_two_consecutive_splits_render_independently",
+ "eval.tests.test_printf_closing.test_close_with_leading_reset_framing",
+ "eval.tests.test_printf_closing.test_closing_bg_never_opened_still_emits_bg_reset",
+ "eval.tests.test_printf_closing.test_closing_fg_never_opened_still_emits_fg_reset",
+ "eval.tests.test_printf_closing.test_closing_mismatched_open_type",
+ "eval.tests.test_printf_closing.test_closing_unknown_tag_is_literal",
+ "eval.tests.test_printf_closing.test_double_close_of_same_fg_is_deduplicated",
+ "eval.tests.test_printf_closing.test_empty_closing_tag_is_literal",
+ "eval.tests.test_printf_combination.test_attr_open_before_color_applies_both",
+ "eval.tests.test_printf_combination.test_bg_set_with_active_fg_does_not_emit_fg_reset",
+ "eval.tests.test_printf_combination.test_close_then_reopen_same_bg_not_deduplicated",
+ "eval.tests.test_printf_combination.test_close_then_reopen_same_fg_not_deldeduplicated",
+ "eval.tests.test_printf_combination.test_closing_fg_already_reset_by_inner_close_is_deduplicated",
+ "eval.tests.test_printf_combination.test_color_reset_codes_are_distinct",
+ "eval.tests.test_printf_combination.test_fg_then_bg_then_fg_reapply_order",
+ "eval.tests.test_printf_combination.test_foreground_and_background_combined",
+ "eval.tests.test_printf_combination.test_same_fg_tag_opened_twice_is_deduplicated",
+ "eval.tests.test_printf_combination.test_switch_foreground_mid_text",
+ "eval.tests.test_printf_combined_state.test_attr_close_reapply_order_bg_first_nesting",
+ "eval.tests.test_printf_combined_state.test_attr_close_reapply_segment_order_semantic",
+ "eval.tests.test_printf_combined_state.test_attr_close_reapply_with_switch_colours",
+ "eval.tests.test_printf_combined_state.test_attr_close_redisapplies_fg_then_bg",
+ "eval.tests.test_printf_combined_state.test_attr_close_with_bg_only_reapplies_bg",
+ "eval.tests.test_printf_combined_state.test_attr_close_with_fg_only_reapplies_fg",
+ "eval.tests.test_printf_combined_state.test_reopened_attr_under_two_colours",
+ "eval.tests.test_printf_combined_state.test_swap_fg_between_attr_regions_under_same_bg",
+ "eval.tests.test_printf_escaped_percent_regions.test_escaped_percent_and_verb_in_attribute",
+ "eval.tests.test_printf_escaped_percent_regions.test_escaped_percent_and_verb_in_background",
+ "eval.tests.test_printf_escaped_percent_regions.test_escaped_percent_in_attribute_region",
+ "eval.tests.test_printf_escaped_percent_regions.test_escaped_percent_in_background_region",
+ "eval.tests.test_printf_escaped_percent_regions.test_mixed_color_body_escaped_and_verb",
+ "eval.tests.test_printf_escaped_percent_regions.test_multiple_escaped_percents_in_attribute",
+ "eval.tests.test_printf_escaped_percent_regions.test_multiple_escaped_percents_in_background",
+ "eval.tests.test_printf_escaped_percent_regions.test_verb_inside_attr_under_background_reapplies_bg",
+ "eval.tests.test_printf_escaped_percent_regions.test_verb_inside_attribute_region_closes",
+ "eval.tests.test_printf_exit_stdout.test_bounded_runtime_on_large_input",
+ "eval.tests.test_printf_exit_stdout.test_deeply_nested_tags_finish",
+ "eval.tests.test_printf_exit_stdout.test_exit_code_is_zero_for_stdin_payloads[ \\n\\t ]",
+ "eval.tests.test_printf_exit_stdout.test_exit_code_is_zero_for_stdin_payloads[<\\x01>raw-control\\x01>]",
+ "eval.tests.test_printf_exit_stdout.test_exit_code_is_zero_for_stdin_payloads[x]",
+ "eval.tests.test_printf_exit_stdout.test_exit_code_is_zero_for_stdin_payloads[x]",
+ "eval.tests.test_printf_exit_stdout.test_exit_code_is_zero_for_stdin_payloads[]",
+ "eval.tests.test_printf_exit_stdout.test_exit_code_is_zero_for_stdin_payloads[plain]",
+ "eval.tests.test_printf_exit_stdout.test_large_single_color_run_renders",
+ "eval.tests.test_printf_exit_stdout.test_many_distinct_tags_scale",
+ "eval.tests.test_printf_exit_stdout.test_really_long_plain_input_roundtrips",
+ "eval.tests.test_printf_exit_stdout.test_stdout_is_binary_clean_ansi",
+ "eval.tests.test_printf_fg.test_fg_exact_escape_codes[black-\\x1b[30m]",
+ "eval.tests.test_printf_fg.test_fg_exact_escape_codes[blue-\\x1b[34m]",
+ "eval.tests.test_printf_fg.test_fg_exact_escape_codes[cyan-\\x1b[36m]",
+ "eval.tests.test_printf_fg.test_fg_exact_escape_codes[darkgrey-\\x1b[90m]",
+ "eval.tests.test_printf_fg.test_fg_exact_escape_codes[green-\\x1b[32m]",
+ "eval.tests.test_printf_fg.test_fg_exact_escape_codes[lightblue-\\x1b[94m]",
+ "eval.tests.test_printf_fg.test_fg_exact_escape_codes[lightcyan-\\x1b[96m]",
+ "eval.tests.test_printf_fg.test_fg_exact_escape_codes[lightgreen-\\x1b[92m]",
+ "eval.tests.test_printf_fg.test_fg_exact_escape_codes[lightgrey-\\x1b[37m]",
+ "eval.tests.test_printf_fg.test_fg_exact_escape_codes[lightmagenta-\\x1b[95m]",
+ "eval.tests.test_printf_fg.test_fg_exact_escape_codes[lightred-\\x1b[91m]",
+ "eval.tests.test_printf_fg.test_fg_exact_escape_codes[lightyellow-\\x1b[93m]",
+ "eval.tests.test_printf_fg.test_fg_exact_escape_codes[magenta-\\x1b[35m]",
+ "eval.tests.test_printf_fg.test_fg_exact_escape_codes[red-\\x1b[31m]",
+ "eval.tests.test_printf_fg.test_fg_exact_escape_codes[white-\\x1b[97m]",
+ "eval.tests.test_printf_fg.test_fg_exact_escape_codes[yellow-\\x1b[33m]",
+ "eval.tests.test_printf_fg.test_fg_foreground_does_not_touch_background",
+ "eval.tests.test_printf_fg.test_fg_tag_at_start_has_no_duplicate_leading_reset",
+ "eval.tests.test_printf_fg.test_fg_tag_pairs_are_not_reordered[black-\\x1b[30m]",
+ "eval.tests.test_printf_fg.test_fg_tag_pairs_are_not_reordered[blue-\\x1b[34m]",
+ "eval.tests.test_printf_fg.test_fg_tag_pairs_are_not_reordered[cyan-\\x1b[36m]",
+ "eval.tests.test_printf_fg.test_fg_tag_pairs_are_not_reordered[darkgrey-\\x1b[90m]",
+ "eval.tests.test_printf_fg.test_fg_tag_pairs_are_not_reordered[green-\\x1b[32m]",
+ "eval.tests.test_printf_fg.test_fg_tag_pairs_are_not_reordered[lightblue-\\x1b[94m]",
+ "eval.tests.test_printf_fg.test_fg_tag_pairs_are_not_reordered[lightcyan-\\x1b[96m]",
+ "eval.tests.test_printf_fg.test_fg_tag_pairs_are_not_reordered[lightgreen-\\x1b[92m]",
+ "eval.tests.test_printf_fg.test_fg_tag_pairs_are_not_reordered[lightgrey-\\x1b[37m]",
+ "eval.tests.test_printf_fg.test_fg_tag_pairs_are_not_reordered[lightmagenta-\\x1b[95m]",
+ "eval.tests.test_printf_fg.test_fg_tag_pairs_are_not_reordered[lightred-\\x1b[91m]",
+ "eval.tests.test_printf_fg.test_fg_tag_pairs_are_not_reordered[lightyellow-\\x1b[93m]",
+ "eval.tests.test_printf_fg.test_fg_tag_pairs_are_not_reordered[magenta-\\x1b[35m]",
+ "eval.tests.test_printf_fg.test_fg_tag_pairs_are_not_reordered[red-\\x1b[31m]",
+ "eval.tests.test_printf_fg.test_fg_tag_pairs_are_not_reordered[white-\\x1b[97m]",
+ "eval.tests.test_printf_fg.test_fg_tag_pairs_are_not_reordered[yellow-\\x1b[33m]",
+ "eval.tests.test_printf_fg.test_fg_tag_renders[black-\\x1b[30m]",
+ "eval.tests.test_printf_fg.test_fg_tag_renders[blue-\\x1b[34m]",
+ "eval.tests.test_printf_fg.test_fg_tag_renders[cyan-\\x1b[36m]",
+ "eval.tests.test_printf_fg.test_fg_tag_renders[darkgrey-\\x1b[90m]",
+ "eval.tests.test_printf_fg.test_fg_tag_renders[green-\\x1b[32m]",
+ "eval.tests.test_printf_fg.test_fg_tag_renders[lightblue-\\x1b[94m]",
+ "eval.tests.test_printf_fg.test_fg_tag_renders[lightcyan-\\x1b[96m]",
+ "eval.tests.test_printf_fg.test_fg_tag_renders[lightgreen-\\x1b[92m]",
+ "eval.tests.test_printf_fg.test_fg_tag_renders[lightgrey-\\x1b[37m]",
+ "eval.tests.test_printf_fg.test_fg_tag_renders[lightmagenta-\\x1b[95m]",
+ "eval.tests.test_printf_fg.test_fg_tag_renders[lightred-\\x1b[91m]",
+ "eval.tests.test_printf_fg.test_fg_tag_renders[lightyellow-\\x1b[93m]",
+ "eval.tests.test_printf_fg.test_fg_tag_renders[magenta-\\x1b[35m]",
+ "eval.tests.test_printf_fg.test_fg_tag_renders[red-\\x1b[31m]",
+ "eval.tests.test_printf_fg.test_fg_tag_renders[white-\\x1b[97m]",
+ "eval.tests.test_printf_fg.test_fg_tag_renders[yellow-\\x1b[33m]",
+ "eval.tests.test_printf_fg.test_switching_fg_between_opens",
+ "eval.tests.test_printf_format_flags.test_additional_bare_verbs_mark_missing[%A-%!A(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_additional_bare_verbs_mark_missing[%E-%!E(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_additional_bare_verbs_mark_missing[%F-%!F(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_additional_bare_verbs_mark_missing[%G-%!G(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_additional_bare_verbs_mark_missing[%T-%!T(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_additional_bare_verbs_mark_missing[%U-%!U(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_additional_bare_verbs_mark_missing[%a-%!a(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_additional_bare_verbs_mark_missing[%b-%!b(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_additional_bare_verbs_mark_missing[%g-%!g(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_additional_bare_verbs_mark_missing[%n-%!n(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_additional_bare_verbs_mark_missing[%o-%!o(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_additional_bare_verbs_mark_missing[%u-%!u(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_escaped_percent_inside_colour",
+ "eval.tests.test_printf_format_flags.test_flag_width_precision_still_missing_marker[% 5d-%!d(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_flag_width_precision_still_missing_marker[%#x-%!x(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_flag_width_precision_still_missing_marker[%+d-%!d(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_flag_width_precision_still_missing_marker[%- 5d-%!d(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_flag_width_precision_still_missing_marker[%-5s-%!s(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_flag_width_precision_still_missing_marker[%.2f-%!f(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_flag_width_precision_still_missing_marker[%08x-%!x(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_flag_width_precision_still_missing_marker[%2.3s-%!s(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_flag_width_precision_still_missing_marker[%5.1d-%!d(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_flag_width_precision_still_missing_marker[%5d-%!d(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_flag_width_precision_still_missing_marker[%8x-%!x(MISSING)]",
+ "eval.tests.test_printf_format_flags.test_star_width_emits_badwidth_then_missing",
+ "eval.tests.test_printf_format_flags.test_verb_hidden_in_literal_unknown_tag_is_converted",
+ "eval.tests.test_printf_format_flags.test_verb_inside_attribute_tag_renders",
+ "eval.tests.test_printf_format_flags.test_verb_inside_background_tag_renders",
+ "eval.tests.test_printf_format_flags.test_verb_inside_color_and_attribute",
+ "eval.tests.test_printf_format_flags.test_verbs_interleaved_across_tags",
+ "eval.tests.test_printf_format_verbs.test_argless_verb_is_missing[%c-%!c(MISSING)]",
+ "eval.tests.test_printf_format_verbs.test_argless_verb_is_missing[%d-%!d(MISSING)]",
+ "eval.tests.test_printf_format_verbs.test_argless_verb_is_missing[%e-%!e(MISSING)]",
+ "eval.tests.test_printf_format_verbs.test_argless_verb_is_missing[%f-%!f(MISSING)]",
+ "eval.tests.test_printf_format_verbs.test_argless_verb_is_missing[%p-%!p(MISSING)]",
+ "eval.tests.test_printf_format_verbs.test_argless_verb_is_missing[%q-%!q(MISSING)]",
+ "eval.tests.test_printf_format_verbs.test_argless_verb_is_missing[%s-%!s(MISSING)]",
+ "eval.tests.test_printf_format_verbs.test_argless_verb_is_missing[%t-%!t(MISSING)]",
+ "eval.tests.test_printf_format_verbs.test_argless_verb_is_missing[%v-%!v(MISSING)]",
+ "eval.tests.test_printf_format_verbs.test_argless_verb_is_missing[%x-%!x(MISSING)]",
+ "eval.tests.test_printf_format_verbs.test_invalid_verb_sequence_is_missing",
+ "eval.tests.test_printf_format_verbs.test_missing_verb_inside_color[%d-%!d(MISSING)]",
+ "eval.tests.test_printf_format_verbs.test_missing_verb_inside_color[%s-%!s(MISSING)]",
+ "eval.tests.test_printf_format_verbs.test_missing_verb_inside_color[%x-%!x(MISSING)]",
+ "eval.tests.test_printf_format_verbs.test_multi_verb_line_is_each_missing",
+ "eval.tests.test_printf_format_verbs.test_percent_percent_escapes_to_literal",
+ "eval.tests.test_printf_format_verbs.test_percent_then_verb_adjacent",
+ "eval.tests.test_printf_format_verbs.test_verb_never_emits_literal_percent_question[%c]",
+ "eval.tests.test_printf_format_verbs.test_verb_never_emits_literal_percent_question[%d]",
+ "eval.tests.test_printf_format_verbs.test_verb_never_emits_literal_percent_question[%e]",
+ "eval.tests.test_printf_format_verbs.test_verb_never_emits_literal_percent_question[%f]",
+ "eval.tests.test_printf_format_verbs.test_verb_never_emits_literal_percent_question[%p]",
+ "eval.tests.test_printf_format_verbs.test_verb_never_emits_literal_percent_question[%q]",
+ "eval.tests.test_printf_format_verbs.test_verb_never_emits_literal_percent_question[%s]",
+ "eval.tests.test_printf_format_verbs.test_verb_never_emits_literal_percent_question[%t]",
+ "eval.tests.test_printf_format_verbs.test_verb_never_emits_literal_percent_question[%v]",
+ "eval.tests.test_printf_format_verbs.test_verb_never_emits_literal_percent_question[%x]",
+ "eval.tests.test_printf_malformed.test_angle_brackets_with_no_tags_passthrough",
+ "eval.tests.test_printf_malformed.test_closed_angle_inside_text_is_plain",
+ "eval.tests.test_printf_malformed.test_double_angle_then_valid_tag_is_literal_plus_colour",
+ "eval.tests.test_printf_malformed.test_empty_tag_is_literal",
+ "eval.tests.test_printf_malformed.test_lone_angle_with_tail_letters_drops_tag_body",
+ "eval.tests.test_printf_malformed.test_lone_open_angle_is_dropped",
+ "eval.tests.test_printf_malformed.test_mixed_case_tag_is_literal",
+ "eval.tests.test_printf_malformed.test_open_angle_in_tag_name_keeps_scanning",
+ "eval.tests.test_printf_malformed.test_slash_in_plain_text_passthrough",
+ "eval.tests.test_printf_malformed.test_unknown_open_tag_is_literal",
+ "eval.tests.test_printf_malformed.test_uppercase_tag_is_literal",
+ "eval.tests.test_printf_multibyte_in_tags.test_multibyte_char_inside_attr_tag_exact[2byte]",
+ "eval.tests.test_printf_multibyte_in_tags.test_multibyte_char_inside_attr_tag_exact[3byte]",
+ "eval.tests.test_printf_multibyte_in_tags.test_multibyte_char_inside_bg_tag_exact[2byte]",
+ "eval.tests.test_printf_multibyte_in_tags.test_multibyte_char_inside_bg_tag_exact[3byte]",
+ "eval.tests.test_printf_multibyte_in_tags.test_multibyte_char_inside_fg_tag_exact[2byte]",
+ "eval.tests.test_printf_multibyte_in_tags.test_multibyte_char_inside_fg_tag_exact[3byte]",
+ "eval.tests.test_printf_multibyte_in_tags.test_multibyte_char_inside_fg_tag_exact[4byte]",
+ "eval.tests.test_printf_multibyte_in_tags.test_multibyte_in_fg_bg_combined",
+ "eval.tests.test_printf_multibyte_in_tags.test_multibyte_plus_latin_and_tag_roundtrip",
+ "eval.tests.test_printf_multibyte_in_tags.test_two_multibyte_chars_in_distinct_colours",
+ "eval.tests.test_printf_plain.test_arbitrary_plain_text_roundtrips[1234567890]",
+ "eval.tests.test_printf_plain.test_arbitrary_plain_text_roundtrips[\\xe9ter \\xe9 \\u4e2d\\u6587 \\U0001f600]",
+ "eval.tests.test_printf_plain.test_arbitrary_plain_text_roundtrips[alpha]",
+ "eval.tests.test_printf_plain.test_arbitrary_plain_text_roundtrips[symbols !@#$^&*()_+-=[]{}|;:'\",.<>/?]",
+ "eval.tests.test_printf_plain.test_arbitrary_plain_text_roundtrips[the quick brown fox]",
+ "eval.tests.test_printf_plain.test_empty_input_yields_two_resets",
+ "eval.tests.test_printf_plain.test_leading_and_internal_whitespace",
+ "eval.tests.test_printf_plain.test_leading_newline_preserved",
+ "eval.tests.test_printf_plain.test_newline_char_is_preserved",
+ "eval.tests.test_printf_plain.test_null_byte_and_control_passthrough",
+ "eval.tests.test_printf_plain.test_percent_verb_in_symbol_text_is_format_converted",
+ "eval.tests.test_printf_plain.test_plain_text_wrapped_in_resets",
+ "eval.tests.test_printf_plain.test_raw_escape_not_generated_for_plain",
+ "eval.tests.test_printf_plain.test_trailing_newline_preserved",
+ "eval.tests.test_printf_region_boundaries.test_color_region_with_only_escaped_percent",
+ "eval.tests.test_printf_region_boundaries.test_color_then_attribute_region_each_with_verb",
+ "eval.tests.test_printf_region_boundaries.test_empty_attr_region_inside_color_reapplies_fg",
+ "eval.tests.test_printf_region_boundaries.test_empty_color_region_emits_open_and_reset",
+ "eval.tests.test_printf_region_boundaries.test_single_verb_only_in_color_region",
+ "eval.tests.test_printf_region_boundaries.test_text_after_closed_region_sits_between_reset_and_trailing",
+ "eval.tests.test_printf_region_boundaries.test_text_after_nested_attr_region_keeps_colour_closed",
+ "eval.tests.test_printf_region_boundaries.test_two_color_regions_each_with_distinct_verb",
+ "eval.tests.test_printf_region_boundaries.test_verb_followed_by_plain_text_tail",
+ "eval.tests.test_printf_strikethrough_under_color.test_strikethrough_close_after_reopen_under_fg_stays_exact",
+ "eval.tests.test_printf_strikethrough_under_color.test_strikethrough_open_quirk_under_bg",
+ "eval.tests.test_printf_strikethrough_under_color.test_strikethrough_open_quirk_under_fg",
+ "eval.tests.test_printf_strikethrough_under_color.test_strikethrough_open_quirk_under_fg_and_bg",
+ "eval.tests.test_printf_unclosed.test_color_after_unclosed_then_closed",
+ "eval.tests.test_printf_unclosed.test_fully_unterminated_tag_is_dropped",
+ "eval.tests.test_printf_unclosed.test_unclosed_attribute_is_applied",
+ "eval.tests.test_printf_unclosed.test_unclosed_bg_color_is_applied",
+ "eval.tests.test_printf_unclosed.test_unclosed_fg_color_emits_no_fg_reset",
+ "eval.tests.test_printf_unclosed.test_unclosed_fg_color_is_applied",
+ "eval.tests.test_printf_unclosed.test_unclosed_second_color_while_first_active",
+ "eval.tests.test_printf_unclosed.test_unclosed_tag_then_text_then_reset",
+ "eval.tests.test_printf_unopened_attr_under_color.test_unopened_blink_close_wrap_under_fg_five_attrs",
+ "eval.tests.test_printf_unopened_attr_under_color.test_unopened_bold_close_counts_under_fg",
+ "eval.tests.test_printf_unopened_attr_under_color.test_unopened_bold_close_wrap_under_bg",
+ "eval.tests.test_printf_unopened_attr_under_color.test_unopened_bold_close_wrap_under_fg",
+ "eval.tests.test_printf_unopened_attr_under_color.test_unopened_bold_close_wrap_under_fg_then_plain_tail",
+ "eval.tests.test_printf_unopened_attr_under_color.test_unopened_dim_close_wrap_under_fg_all_but_bold",
+ "eval.tests.test_printf_unopened_attr_under_color.test_unopened_hidden_close_wrap_under_fg_three_attrs"
+ ]
+ },
+ "generated_module_04": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_tml_cli.test_adjacent_foreground_tags_apply_and_reset_independently",
+ "eval.tests.test_tml_cli.test_attribute_then_adjacent_colour_span_renders_both",
+ "eval.tests.test_tml_cli.test_background_black_equals_darkgrey_40m",
+ "eval.tests.test_tml_cli.test_closing_bold_with_no_active_bold_corrupts_attr_state",
+ "eval.tests.test_tml_cli.test_closing_foreground_inside_bold_reconstructs_fg_state",
+ "eval.tests.test_tml_cli.test_color_change_inside_attribute_tracks_active_fg_on_close",
+ "eval.tests.test_tml_cli.test_colour_change_inside_open_span_restores_outer_on_close",
+ "eval.tests.test_tml_cli.test_decimal_verb_without_argument_reports_missing",
+ "eval.tests.test_tml_cli.test_double_left_angle_brackets_are_not_parsed_as_tag",
+ "eval.tests.test_tml_cli.test_double_percent_escapes_to_a_single_percent",
+ "eval.tests.test_tml_cli.test_each_attribute_tag_emits_its_exact_escape[blink-\\x1b[5m]",
+ "eval.tests.test_tml_cli.test_each_attribute_tag_emits_its_exact_escape[bold-\\x1b[1m]",
+ "eval.tests.test_tml_cli.test_each_attribute_tag_emits_its_exact_escape[dim-\\x1b[2m]",
+ "eval.tests.test_tml_cli.test_each_attribute_tag_emits_its_exact_escape[hidden-\\x1b[8m]",
+ "eval.tests.test_tml_cli.test_each_attribute_tag_emits_its_exact_escape[italic-\\x1b[3m]",
+ "eval.tests.test_tml_cli.test_each_attribute_tag_emits_its_exact_escape[reverse-\\x1b[7m]",
+ "eval.tests.test_tml_cli.test_each_attribute_tag_emits_its_exact_escape[underline-\\x1b[4m]",
+ "eval.tests.test_tml_cli.test_each_background_tag_emits_its_exact_escape[bg-black-\\x1b[40m]",
+ "eval.tests.test_tml_cli.test_each_background_tag_emits_its_exact_escape[bg-blue-\\x1b[44m]",
+ "eval.tests.test_tml_cli.test_each_background_tag_emits_its_exact_escape[bg-cyan-\\x1b[46m]",
+ "eval.tests.test_tml_cli.test_each_background_tag_emits_its_exact_escape[bg-darkgrey-\\x1b[40m]",
+ "eval.tests.test_tml_cli.test_each_background_tag_emits_its_exact_escape[bg-green-\\x1b[42m]",
+ "eval.tests.test_tml_cli.test_each_background_tag_emits_its_exact_escape[bg-lightblue-\\x1b[104m]",
+ "eval.tests.test_tml_cli.test_each_background_tag_emits_its_exact_escape[bg-lightcyan-\\x1b[106m]",
+ "eval.tests.test_tml_cli.test_each_background_tag_emits_its_exact_escape[bg-lightgreen-\\x1b[102m]",
+ "eval.tests.test_tml_cli.test_each_background_tag_emits_its_exact_escape[bg-lightgrey-\\x1b[47m]",
+ "eval.tests.test_tml_cli.test_each_background_tag_emits_its_exact_escape[bg-lightmagenta-\\x1b[105m]",
+ "eval.tests.test_tml_cli.test_each_background_tag_emits_its_exact_escape[bg-lightred-\\x1b[101m]",
+ "eval.tests.test_tml_cli.test_each_background_tag_emits_its_exact_escape[bg-lightyellow-\\x1b[103m]",
+ "eval.tests.test_tml_cli.test_each_background_tag_emits_its_exact_escape[bg-magenta-\\x1b[45m]",
+ "eval.tests.test_tml_cli.test_each_background_tag_emits_its_exact_escape[bg-red-\\x1b[41m]",
+ "eval.tests.test_tml_cli.test_each_background_tag_emits_its_exact_escape[bg-white-\\x1b[107m]",
+ "eval.tests.test_tml_cli.test_each_background_tag_emits_its_exact_escape[bg-yellow-\\x1b[43m]",
+ "eval.tests.test_tml_cli.test_each_foreground_tag_emits_its_exact_escape[black-\\x1b[30m]",
+ "eval.tests.test_tml_cli.test_each_foreground_tag_emits_its_exact_escape[blue-\\x1b[34m]",
+ "eval.tests.test_tml_cli.test_each_foreground_tag_emits_its_exact_escape[cyan-\\x1b[36m]",
+ "eval.tests.test_tml_cli.test_each_foreground_tag_emits_its_exact_escape[darkgrey-\\x1b[90m]",
+ "eval.tests.test_tml_cli.test_each_foreground_tag_emits_its_exact_escape[green-\\x1b[32m]",
+ "eval.tests.test_tml_cli.test_each_foreground_tag_emits_its_exact_escape[lightblue-\\x1b[94m]",
+ "eval.tests.test_tml_cli.test_each_foreground_tag_emits_its_exact_escape[lightcyan-\\x1b[96m]",
+ "eval.tests.test_tml_cli.test_each_foreground_tag_emits_its_exact_escape[lightgreen-\\x1b[92m]",
+ "eval.tests.test_tml_cli.test_each_foreground_tag_emits_its_exact_escape[lightgrey-\\x1b[37m]",
+ "eval.tests.test_tml_cli.test_each_foreground_tag_emits_its_exact_escape[lightmagenta-\\x1b[95m]",
+ "eval.tests.test_tml_cli.test_each_foreground_tag_emits_its_exact_escape[lightred-\\x1b[91m]",
+ "eval.tests.test_tml_cli.test_each_foreground_tag_emits_its_exact_escape[lightyellow-\\x1b[93m]",
+ "eval.tests.test_tml_cli.test_each_foreground_tag_emits_its_exact_escape[magenta-\\x1b[35m]",
+ "eval.tests.test_tml_cli.test_each_foreground_tag_emits_its_exact_escape[red-\\x1b[31m]",
+ "eval.tests.test_tml_cli.test_each_foreground_tag_emits_its_exact_escape[white-\\x1b[97m]",
+ "eval.tests.test_tml_cli.test_each_foreground_tag_emits_its_exact_escape[yellow-\\x1b[33m]",
+ "eval.tests.test_tml_cli.test_empty_input_emits_only_the_two_resets",
+ "eval.tests.test_tml_cli.test_empty_tag_is_emitted_literally",
+ "eval.tests.test_tml_cli.test_fg_and_bg_stack_and_reset_independently",
+ "eval.tests.test_tml_cli.test_float_verb_without_argument_reports_missing",
+ "eval.tests.test_tml_cli.test_foreground_tag_closes_restore_only_fg",
+ "eval.tests.test_tml_cli.test_format_verb_inside_attribute_tag_renders_missing",
+ "eval.tests.test_tml_cli.test_format_verb_inside_colour_tag_renders_missing",
+ "eval.tests.test_tml_cli.test_inner_foreground_tag_overrides_and_restores_outer",
+ "eval.tests.test_tml_cli.test_lone_less_than_inside_text_swallows_remaining_text",
+ "eval.tests.test_tml_cli.test_mixed_lower_and_upper_in_tag_name_are_left_literal",
+ "eval.tests.test_tml_cli.test_multiline_inside_colour_tag_keeps_tags_structurally_intact",
+ "eval.tests.test_tml_cli.test_multiple_escaped_percents_become_single_percents",
+ "eval.tests.test_tml_cli.test_nested_attribute_stack_never_loses_the_underline_bit",
+ "eval.tests.test_tml_cli.test_nested_attributes_underline_close_reemits_outer_bold",
+ "eval.tests.test_tml_cli.test_nested_foreground_and_bold_tags_render_in_order",
+ "eval.tests.test_tml_cli.test_newlines_inside_input_are_preserved_literally",
+ "eval.tests.test_tml_cli.test_nul_byte_in_coloured_span_is_preserved",
+ "eval.tests.test_tml_cli.test_percent_escape_before_tag_close_is_literal",
+ "eval.tests.test_tml_cli.test_plain_text_is_passed_through_between_resets",
+ "eval.tests.test_tml_cli.test_quoted_verb_without_argument_reports_missing",
+ "eval.tests.test_tml_cli.test_reopening_same_foreground_tag_does_not_reemit",
+ "eval.tests.test_tml_cli.test_self_closing_tag_is_emitted_literally",
+ "eval.tests.test_tml_cli.test_stdin_directory_error_is_reported_on_stdout_not_stderr",
+ "eval.tests.test_tml_cli.test_stdin_directory_triggers_read_error_and_exit_1",
+ "eval.tests.test_tml_cli.test_stray_closing_background_tag_emits_bg_reset_only",
+ "eval.tests.test_tml_cli.test_stray_closing_foreground_tag_emits_fg_reset_only",
+ "eval.tests.test_tml_cli.test_strikethrough_open_emits_leading_reset_and_9m",
+ "eval.tests.test_tml_cli.test_string_verb_without_argument_reports_missing",
+ "eval.tests.test_tml_cli.test_tag_name_containing_colon_is_emitted_literally",
+ "eval.tests.test_tml_cli.test_tag_name_with_leading_space_is_unmatched",
+ "eval.tests.test_tml_cli.test_tag_open_inside_existing_tag_accumulates_characters",
+ "eval.tests.test_tml_cli.test_text_with_spaces_around_tags_is_preserved",
+ "eval.tests.test_tml_cli.test_trailing_double_percent_preserved_as_percent",
+ "eval.tests.test_tml_cli.test_trailing_less_than_alone_is_swallowed",
+ "eval.tests.test_tml_cli.test_triple_stack_fg_bg_bold_closes_in_reverse",
+ "eval.tests.test_tml_cli.test_unclosed_attribute_persists_to_trailing_reset",
+ "eval.tests.test_tml_cli.test_unclosed_foreground_tag_applies_colour_until_end",
+ "eval.tests.test_tml_cli.test_underline_and_blue_stack_like_attrs_and_colours",
+ "eval.tests.test_tml_cli.test_unknown_closing_tag_is_emitted_literally",
+ "eval.tests.test_tml_cli.test_unknown_tag_is_emitted_literally",
+ "eval.tests.test_tml_cli.test_unterminated_less_than_swallows_remaining_text",
+ "eval.tests.test_tml_cli.test_utf8_multibyte_text_passes_through",
+ "eval.tests.test_tml_cli.test_various_literal_text_is_echoed_exactly[carriage-return]",
+ "eval.tests.test_tml_cli.test_various_literal_text_is_echoed_exactly[dash]",
+ "eval.tests.test_tml_cli.test_various_literal_text_is_echoed_exactly[dots]",
+ "eval.tests.test_tml_cli.test_various_literal_text_is_echoed_exactly[gt]",
+ "eval.tests.test_tml_cli.test_various_literal_text_is_echoed_exactly[punct]",
+ "eval.tests.test_tml_cli.test_various_literal_text_is_echoed_exactly[spaces]",
+ "eval.tests.test_tml_cli.test_various_literal_text_is_echoed_exactly[tabs]"
+ ]
+ }
+ },
+ "commit": "d3bb4841d4d62fc347748db0d77cb579a742ee72",
+ "data_source": "synthetic_programgym",
+ "difficulty": "easy",
+ "difficulty_score": 1.2753113545418118,
+ "eval_clean_hashes": [
+ "c21c6b8fcd7f4f1a6561ac9c0145efb724cfc5ec206aef0e85a52abf5689e14c"
+ ],
+ "input_record": {
+ "commit": "d3bb4841d4d62fc347748db0d77cb579a742ee72",
+ "commits": 19,
+ "contributors": 3,
+ "difficulty": "easy",
+ "difficulty_code_lines": 377,
+ "difficulty_has_tests": false,
+ "difficulty_product_code_lines": 377,
+ "difficulty_runtime_deps": 4,
+ "difficulty_score": 1.2753113545418118,
+ "difficulty_test_code_lines": 123,
+ "full_name": "liamg/tml",
+ "github_stars": 746,
+ "input_joern_zip": "go_joern/liamg__tml.zip",
+ "joern_status": true,
+ "joern_time": 8.903876759810373,
+ "language": "go",
+ "pb_match": [
+ {
+ "pb_fullname": "sclevine/yj",
+ "rank": 441,
+ "similarity": 0.49860337376594543
+ },
+ {
+ "pb_fullname": "antonmedv/walk",
+ "rank": 406,
+ "similarity": 0.4989604949951172
+ },
+ {
+ "pb_fullname": "peco/peco",
+ "rank": 244,
+ "similarity": 0.5143409967422485
+ },
+ {
+ "pb_fullname": "mikefarah/yq",
+ "rank": 759,
+ "similarity": 0.5146763324737549
+ },
+ {
+ "pb_fullname": "rs/curlie",
+ "rank": 995,
+ "similarity": 0.4746224284172058
+ },
+ {
+ "pb_fullname": "johnkerl/miller",
+ "rank": 673,
+ "similarity": 0.47020941972732544
+ },
+ {
+ "pb_fullname": "JohannesKaufmann/html-to-markdown",
+ "rank": 109,
+ "similarity": 0.5388948917388916
+ },
+ {
+ "pb_fullname": "alecthomas/chroma",
+ "rank": 13,
+ "similarity": 0.6292381286621094
+ },
+ {
+ "pb_fullname": "gabotechs/dep-tree",
+ "rank": 571,
+ "similarity": 0.5136109590530396
+ },
+ {
+ "pb_fullname": "jesseduffield/lazygit",
+ "rank": 504,
+ "similarity": 0.5220312476158142
+ },
+ {
+ "pb_fullname": "boyter/scc",
+ "rank": 667,
+ "similarity": 0.49805134534835815
+ },
+ {
+ "pb_fullname": "rs/jplot",
+ "rank": 257,
+ "similarity": 0.534641444683075
+ },
+ {
+ "pb_fullname": "naggie/dstask",
+ "rank": 404,
+ "similarity": 0.5027172565460205
+ },
+ {
+ "pb_fullname": "noborus/trdsql",
+ "rank": 780,
+ "similarity": 0.48528560996055603
+ },
+ {
+ "pb_fullname": "noborus/ov",
+ "rank": 225,
+ "similarity": 0.5498648285865784
+ },
+ {
+ "pb_fullname": "sibprogrammer/xq",
+ "rank": 55,
+ "similarity": 0.563583493232727
+ },
+ {
+ "pb_fullname": "sheepla/pingu",
+ "rank": 23,
+ "similarity": 0.579763650894165
+ },
+ {
+ "pb_fullname": "kyoh86/richgo",
+ "rank": 527,
+ "similarity": 0.5203469395637512
+ },
+ {
+ "pb_fullname": "eliukblau/pixterm",
+ "rank": 12,
+ "similarity": 0.6636067628860474
+ },
+ {
+ "pb_fullname": "TheZoraiz/ascii-image-converter",
+ "rank": 4,
+ "similarity": 0.6756539344787598
+ },
+ {
+ "pb_fullname": "cheat/cheat",
+ "rank": 341,
+ "similarity": 0.5311586856842041
+ },
+ {
+ "pb_fullname": "antonmedv/fx",
+ "rank": 516,
+ "similarity": 0.490619033575058
+ },
+ {
+ "pb_fullname": "dundee/gdu",
+ "rank": 317,
+ "similarity": 0.5234820246696472
+ },
+ {
+ "pb_fullname": "zk-org/zk",
+ "rank": 933,
+ "similarity": 0.5169554352760315
+ }
+ ],
+ "repo_age": 7.26,
+ "repo_path": "go/liamg__tml",
+ "source": "commit:d3bb4841d4d62fc347748db0d77cb579a742ee72",
+ "status": "done",
+ "url": "https://github.com/liamg/tml"
+ },
+ "instance_id": "liamg__tml.d3bb484",
+ "language": "go",
+ "module_iterations": [
+ {
+ "actual_iterations": 2,
+ "branch_name": "generated_module_01",
+ "iteration_limit": 5,
+ "module_index": 1,
+ "module_kind": "source",
+ "termination_reason": "coverage_path_attribution_failure"
+ },
+ {
+ "actual_iterations": 2,
+ "branch_name": "generated_module_02",
+ "iteration_limit": 5,
+ "module_index": 2,
+ "module_kind": "source",
+ "termination_reason": "module_coverage_threshold_reached"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_03",
+ "iteration_limit": 5,
+ "module_index": 3,
+ "module_kind": "source",
+ "termination_reason": "early_stopping"
+ },
+ {
+ "actual_iterations": 2,
+ "branch_name": "generated_module_04",
+ "iteration_limit": 5,
+ "module_index": 4,
+ "module_kind": "source",
+ "termination_reason": "module_coverage_threshold_reached"
+ }
+ ],
+ "repository": "liamg/tml"
+}
diff --git a/liamg--tml.d3bb484/tests/test.sh b/liamg--tml.d3bb484/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/liamg--tml.d3bb484/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/liamg--tml.d3bb484/tests/workspace.tar.gz b/liamg--tml.d3bb484/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..dea2dd89758b89af1e7c5c33684cd8e31e182fd4
--- /dev/null
+++ b/liamg--tml.d3bb484/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a427a64006a8aad55a66bef6859e6eff2e0c834889add2f48c96e86951e4fa0d
+size 18454
diff --git a/libcg--bfp.525d8e6/environment/Dockerfile b/libcg--bfp.525d8e6/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..1bcfa04437d24f8eb8652a133e82f9c25c0c57a0
--- /dev/null
+++ b/libcg--bfp.525d8e6/environment/Dockerfile
@@ -0,0 +1,64 @@
+FROM ubuntu:22.04
+ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
+ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
+ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
+ARG PROGRAMGYM_NPM_STRICT_SSL="true"
+ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
+ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
+ARG PROGRAMGYM_UV_INSECURE_HOST=""
+ENV GOPROXY=${PROGRAMGYM_GOPROXY}
+ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
+ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
+ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
+ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
+ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
+ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
+COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
+RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
+ && /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
+ && rm -f /tmp/harbor_configure_apt_mirror.sh
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_cache=/workspace/.cache/npm
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip autoconf automake gettext file binutils g++ libtool libncurses-dev meson ninja-build python3-pytest python3-pytest-xdist python3-coverage curl tar && rm -rf /var/lib/apt/lists/*
+ARG CMAKE_VERSION=3.31.12
+RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) CMAKE_ARCH="x86_64" ;; arm64) CMAKE_ARCH="aarch64" ;; *) echo "unsupported architecture for CMake: ${ARCH}" >&2; exit 1 ;; esac; curl -fsSL -o /tmp/cmake.tar.gz "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-${CMAKE_ARCH}.tar.gz"; rm -rf /opt/cmake; mkdir -p /opt/cmake; tar -xzf /tmp/cmake.tar.gz --strip-components=1 -C /opt/cmake; ln -sf /opt/cmake/bin/cmake /usr/local/bin/cmake; ln -sf /opt/cmake/bin/ctest /usr/local/bin/ctest; ln -sf /opt/cmake/bin/cpack /usr/local/bin/cpack; rm -f /tmp/cmake.tar.gz; cmake --version
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /workspace/download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/libcg--bfp.525d8e6/environment/docker-compose.yaml b/libcg--bfp.525d8e6/environment/docker-compose.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..f3bd71ea40d31cf72c3c886f85cbca1450add2cc
--- /dev/null
+++ b/libcg--bfp.525d8e6/environment/docker-compose.yaml
@@ -0,0 +1,11 @@
+services:
+ main:
+ build:
+ args:
+ PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
+ PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
+ PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
+ PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
+ PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
+ PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
+ PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
diff --git a/libcg--bfp.525d8e6/environment/download.sh b/libcg--bfp.525d8e6/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..6671e0a7892f5590aa911465fbe2c287e7e3061d
--- /dev/null
+++ b/libcg--bfp.525d8e6/environment/download.sh
@@ -0,0 +1,44 @@
+#!/usr/bin/env bash
+#
+# download.sh — ProgramGym networked download/prefetch stage for libcg/bfp.
+#
+# This script is SOURCED (not executed): `source /source_ro/download.sh`.
+# It runs in a read-only repository mount with network access, before the
+# offline build stage. Its only job is to install the C/C++ build toolchain that
+# build.sh needs (the compiler, linker front-end, and archive tool all come from
+# the build-essential package) and export the environment variables build.sh
+# relies on. It performs NO compilation, linking, testing, or packaging.
+#
+# It is valid in shell source mode: it exports environment variables into the
+# current shell, avoids positional arguments, and never calls `exit` in normal
+# control flow. All dependency information is explicit and inline; it reads no
+# repository source or build files.
+
+# Export variables into the current (sourcing) shell.
+export DEBIAN_FRONTEND=noninteractive
+
+# Install the C/C++ build toolchain (the compiler, linker front-end, and
+# archive tool are all provided by build-essential). apt-get install is
+# idempotent, so running it unconditionally
+# is safe even when the toolchain is already present. Real command failures are
+# exposed with an explicit branch so a sourced failure returns, not exits.
+if ! apt-get install -y --no-install-recommends build-essential; then
+ echo "download.sh: failed to install build-essential toolchain" >&2
+ if [ "${BASH_SOURCE[0]}" = "$0" ]; then
+ exit 1
+ else
+ return 1
+ fi
+fi
+
+# Export the toolchain environment that build.sh may rely on, if not already set.
+if [ -z "${CC:-}" ]; then
+ export CC=gcc
+fi
+if [ -z "${CXX:-}" ]; then
+ export CXX=g++
+fi
+export CFLAGS="-std=c99"
+export CXXFLAGS="-std=c++11"
+
+echo "download.sh: C/C++ toolchain ready (CC=$CC, CXX=$CXX)"
diff --git a/libcg--bfp.525d8e6/environment/executable b/libcg--bfp.525d8e6/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..c4a2e622613d06e7a8fb0620f5726afdb19fab88
Binary files /dev/null and b/libcg--bfp.525d8e6/environment/executable differ
diff --git a/libcg--bfp.525d8e6/environment/harbor_configure_apt_mirror.sh b/libcg--bfp.525d8e6/environment/harbor_configure_apt_mirror.sh
new file mode 100644
index 0000000000000000000000000000000000000000..c70a651096880dece7733b26837f2ca8e24d2c7f
--- /dev/null
+++ b/libcg--bfp.525d8e6/environment/harbor_configure_apt_mirror.sh
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+repository_base="${1%/}"
+if [[ -z "$repository_base" ]]; then
+ exit 0
+fi
+
+. /etc/os-release
+codename="${VERSION_CODENAME:-}"
+if [[ -z "$codename" ]]; then
+ echo "VERSION_CODENAME is not set" >&2
+ exit 1
+fi
+
+if [[ "$ID" == "ubuntu" ]]; then
+ repository_name="apt-proxy"
+ components="main universe restricted multiverse"
+else
+ repository_name="debian-proxy"
+ components="main contrib non-free non-free-firmware"
+fi
+
+install -d /etc/apt/sources.list.d
+rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
+printf 'deb [trusted=yes] %s/%s %s %s\n' \
+ "$repository_base" "$repository_name" "$codename" "$components" \
+ >/etc/apt/sources.list
+printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
+ "$repository_base" "$repository_name" "$codename" "$components" \
+ >>/etc/apt/sources.list
+
+if [[ "$ID" != "ubuntu" ]]; then
+ printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
+ "$repository_base" "debian-proxy-security" "$codename" "$components" \
+ >>/etc/apt/sources.list
+fi
diff --git a/libcg--bfp.525d8e6/environment/harbor_prepare_download_env.sh b/libcg--bfp.525d8e6/environment/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..2c7dd2f2b8fff5fb8926261279d38518e59e407c
--- /dev/null
+++ b/libcg--bfp.525d8e6/environment/harbor_prepare_download_env.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+set -euo pipefail
+cd /workspace
+set -a
+source /workspace/download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/libcg--bfp.525d8e6/environment/workspace.tar.gz b/libcg--bfp.525d8e6/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..ff2241efb0537a563780c660a01f7c46d6a54d28
--- /dev/null
+++ b/libcg--bfp.525d8e6/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:246ee54acd8e10e9777369588861db440bc7e265f6255fc78cc47e38745183dc
+size 1327
diff --git a/libcg--bfp.525d8e6/instruction.md b/libcg--bfp.525d8e6/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/libcg--bfp.525d8e6/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/libcg--bfp.525d8e6/solution/solve.sh b/libcg--bfp.525d8e6/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/libcg--bfp.525d8e6/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/libcg--bfp.525d8e6/task.toml b/libcg--bfp.525d8e6/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..411d1e15d2f9cd004eb75c21987178ae0ed3532b
--- /dev/null
+++ b/libcg--bfp.525d8e6/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/libcg--bfp.525d8e6"
+description = "Synthetic ProgramGym cleanroom reconstruction task for libcg/bfp"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "cpp"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "libcg__bfp.525d8e6"
+repository = "libcg/bfp"
+commit = "525d8e61e54d986345b2de8c84c58ff2d0e84993"
+language = "cpp"
+difficulty = "easy"
+difficulty_score = 1.049605612594973
+test_branches = 4
+test_count = 49
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/libcg--bfp.525d8e6/tests/Dockerfile b/libcg--bfp.525d8e6/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..ef45becedb352d71e0d28eefebe80e3c73de2bd3
--- /dev/null
+++ b/libcg--bfp.525d8e6/tests/Dockerfile
@@ -0,0 +1,72 @@
+FROM ubuntu:22.04
+ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
+ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
+ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
+ARG PROGRAMGYM_NPM_STRICT_SSL="true"
+ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
+ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
+ARG PROGRAMGYM_UV_INSECURE_HOST=""
+ENV GOPROXY=${PROGRAMGYM_GOPROXY}
+ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
+ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
+ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
+ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
+ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
+ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
+COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
+RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
+ && /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
+ && rm -f /tmp/harbor_configure_apt_mirror.sh
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_cache=/workspace/.cache/npm
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip autoconf automake gettext file binutils g++ libtool libncurses-dev meson ninja-build python3-pytest python3-pytest-xdist python3-coverage curl tar && rm -rf /var/lib/apt/lists/*
+ARG CMAKE_VERSION=3.31.12
+RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) CMAKE_ARCH="x86_64" ;; arm64) CMAKE_ARCH="aarch64" ;; *) echo "unsupported architecture for CMake: ${ARCH}" >&2; exit 1 ;; esac; curl -fsSL -o /tmp/cmake.tar.gz "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-${CMAKE_ARCH}.tar.gz"; rm -rf /opt/cmake; mkdir -p /opt/cmake; tar -xzf /tmp/cmake.tar.gz --strip-components=1 -C /opt/cmake; ln -sf /opt/cmake/bin/cmake /usr/local/bin/cmake; ln -sf /opt/cmake/bin/ctest /usr/local/bin/ctest; ln -sf /opt/cmake/bin/cpack /usr/local/bin/cpack; rm -f /tmp/cmake.tar.gz; cmake --version
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /workspace/download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN python3 -m pip install --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/libcg--bfp.525d8e6/tests/blobs/tests/generated_module_01.tar.gz b/libcg--bfp.525d8e6/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..d3e5ee013be4096bc67d72db83c0c1103822e4cd
--- /dev/null
+++ b/libcg--bfp.525d8e6/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bcd3a70cdbc198bb1bd7c4f24e3c1b53e3af55095b535e67a0afd4ba8cf6f12e
+size 7387
diff --git a/libcg--bfp.525d8e6/tests/blobs/tests/generated_module_02.tar.gz b/libcg--bfp.525d8e6/tests/blobs/tests/generated_module_02.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..2045ec92dfa3ef273161c313ee4692da8ef51c5f
--- /dev/null
+++ b/libcg--bfp.525d8e6/tests/blobs/tests/generated_module_02.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:55bf9b124b970122b86d155df92264723153ab1fb205baaf4e88cee6c46802ef
+size 4086
diff --git a/libcg--bfp.525d8e6/tests/blobs/tests/generated_module_03.tar.gz b/libcg--bfp.525d8e6/tests/blobs/tests/generated_module_03.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..2a585d9980db62cf673fa0ce0a9d2feafbc2badd
--- /dev/null
+++ b/libcg--bfp.525d8e6/tests/blobs/tests/generated_module_03.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f1d40cb42bf6d0b26442e7aaf3c785727ebf5b13bc71bdcb0eb39042e32efdac
+size 8146
diff --git a/libcg--bfp.525d8e6/tests/blobs/tests/generated_module_04.tar.gz b/libcg--bfp.525d8e6/tests/blobs/tests/generated_module_04.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..4dfb825794901a4a1604c17f7c728391f013f8f8
--- /dev/null
+++ b/libcg--bfp.525d8e6/tests/blobs/tests/generated_module_04.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c10c8bf8cca2fa5ecd698f5cd33959369102f5357558a9902cebc27b20f751cc
+size 7188
diff --git a/libcg--bfp.525d8e6/tests/docker-compose.yaml b/libcg--bfp.525d8e6/tests/docker-compose.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..f3bd71ea40d31cf72c3c886f85cbca1450add2cc
--- /dev/null
+++ b/libcg--bfp.525d8e6/tests/docker-compose.yaml
@@ -0,0 +1,11 @@
+services:
+ main:
+ build:
+ args:
+ PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
+ PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
+ PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
+ PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
+ PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
+ PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
+ PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
diff --git a/libcg--bfp.525d8e6/tests/download.sh b/libcg--bfp.525d8e6/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..6671e0a7892f5590aa911465fbe2c287e7e3061d
--- /dev/null
+++ b/libcg--bfp.525d8e6/tests/download.sh
@@ -0,0 +1,44 @@
+#!/usr/bin/env bash
+#
+# download.sh — ProgramGym networked download/prefetch stage for libcg/bfp.
+#
+# This script is SOURCED (not executed): `source /source_ro/download.sh`.
+# It runs in a read-only repository mount with network access, before the
+# offline build stage. Its only job is to install the C/C++ build toolchain that
+# build.sh needs (the compiler, linker front-end, and archive tool all come from
+# the build-essential package) and export the environment variables build.sh
+# relies on. It performs NO compilation, linking, testing, or packaging.
+#
+# It is valid in shell source mode: it exports environment variables into the
+# current shell, avoids positional arguments, and never calls `exit` in normal
+# control flow. All dependency information is explicit and inline; it reads no
+# repository source or build files.
+
+# Export variables into the current (sourcing) shell.
+export DEBIAN_FRONTEND=noninteractive
+
+# Install the C/C++ build toolchain (the compiler, linker front-end, and
+# archive tool are all provided by build-essential). apt-get install is
+# idempotent, so running it unconditionally
+# is safe even when the toolchain is already present. Real command failures are
+# exposed with an explicit branch so a sourced failure returns, not exits.
+if ! apt-get install -y --no-install-recommends build-essential; then
+ echo "download.sh: failed to install build-essential toolchain" >&2
+ if [ "${BASH_SOURCE[0]}" = "$0" ]; then
+ exit 1
+ else
+ return 1
+ fi
+fi
+
+# Export the toolchain environment that build.sh may rely on, if not already set.
+if [ -z "${CC:-}" ]; then
+ export CC=gcc
+fi
+if [ -z "${CXX:-}" ]; then
+ export CXX=g++
+fi
+export CFLAGS="-std=c99"
+export CXXFLAGS="-std=c++11"
+
+echo "download.sh: C/C++ toolchain ready (CC=$CC, CXX=$CXX)"
diff --git a/libcg--bfp.525d8e6/tests/executable b/libcg--bfp.525d8e6/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..c4a2e622613d06e7a8fb0620f5726afdb19fab88
Binary files /dev/null and b/libcg--bfp.525d8e6/tests/executable differ
diff --git a/libcg--bfp.525d8e6/tests/harbor_configure_apt_mirror.sh b/libcg--bfp.525d8e6/tests/harbor_configure_apt_mirror.sh
new file mode 100644
index 0000000000000000000000000000000000000000..c70a651096880dece7733b26837f2ca8e24d2c7f
--- /dev/null
+++ b/libcg--bfp.525d8e6/tests/harbor_configure_apt_mirror.sh
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+repository_base="${1%/}"
+if [[ -z "$repository_base" ]]; then
+ exit 0
+fi
+
+. /etc/os-release
+codename="${VERSION_CODENAME:-}"
+if [[ -z "$codename" ]]; then
+ echo "VERSION_CODENAME is not set" >&2
+ exit 1
+fi
+
+if [[ "$ID" == "ubuntu" ]]; then
+ repository_name="apt-proxy"
+ components="main universe restricted multiverse"
+else
+ repository_name="debian-proxy"
+ components="main contrib non-free non-free-firmware"
+fi
+
+install -d /etc/apt/sources.list.d
+rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
+printf 'deb [trusted=yes] %s/%s %s %s\n' \
+ "$repository_base" "$repository_name" "$codename" "$components" \
+ >/etc/apt/sources.list
+printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
+ "$repository_base" "$repository_name" "$codename" "$components" \
+ >>/etc/apt/sources.list
+
+if [[ "$ID" != "ubuntu" ]]; then
+ printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
+ "$repository_base" "debian-proxy-security" "$codename" "$components" \
+ >>/etc/apt/sources.list
+fi
diff --git a/libcg--bfp.525d8e6/tests/harbor_prepare_download_env.sh b/libcg--bfp.525d8e6/tests/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..2c7dd2f2b8fff5fb8926261279d38518e59e407c
--- /dev/null
+++ b/libcg--bfp.525d8e6/tests/harbor_prepare_download_env.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+set -euo pipefail
+cd /workspace
+set -a
+source /workspace/download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/libcg--bfp.525d8e6/tests/programgym_evaluator.py b/libcg--bfp.525d8e6/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/libcg--bfp.525d8e6/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/libcg--bfp.525d8e6/tests/programgym_task.json b/libcg--bfp.525d8e6/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..5645f530496d64a6e524dc6f39220f2209c997e8
--- /dev/null
+++ b/libcg--bfp.525d8e6/tests/programgym_task.json
@@ -0,0 +1,144 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_entry_point_reachability.test_argument_shapes_do_not_dispatch_arithmetic",
+ "eval.tests.test_entry_point_reachability.test_stdin_is_ignored_and_output_is_batch_deterministic",
+ "eval.tests.test_main_iteration.test_exit_code_and_stderr_clean",
+ "eval.tests.test_main_iteration.test_iterates_exactly_all_bit_patterns_once",
+ "eval.tests.test_main_iteration.test_magnitude_monotonic_both_halves",
+ "eval.tests.test_main_iteration.test_output_is_deterministic_across_runs",
+ "eval.tests.test_main_iteration.test_positive_one_is_rigid_decomposition",
+ "eval.tests.test_main_iteration.test_regime_and_exponent_split_present_on_body_rows",
+ "eval.tests.test_main_iteration.test_sign_bit_and_negation_symmetry",
+ "eval.tests.test_main_iteration.test_special_rows_zero_one_and_nar",
+ "eval.tests.test_main_iteration.test_stdout_matches_golden_fixture_exactly",
+ "eval.tests.test_posit_independent_decoder.test_each_printed_value_matches_independent_posit_decode",
+ "eval.tests.test_posit_independent_decoder.test_nar_sentinel_row_is_exactly_expected"
+ ]
+ },
+ "generated_module_02": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_pack_bfp_output.test_enumeration_has_all_32_patterns_and_nar_midpoint",
+ "eval.tests.test_pack_bfp_output.test_full_double_enumeration_matches_golden",
+ "eval.tests.test_pack_bfp_output.test_known_pattern_value_mapping",
+ "eval.tests.test_pack_bfp_output.test_negative_patterns_mirror_positives",
+ "eval.tests.test_pack_bfp_output.test_zero_and_nar_special_rows"
+ ]
+ },
+ "generated_module_03": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_argv_ignored.test_all_argument_invocations_produce_identical_table",
+ "eval.tests.test_argv_ignored.test_empty_argument_list_equals_single_argument",
+ "eval.tests.test_argv_ignored.test_operator_style_arguments_are_ignored",
+ "eval.tests.test_argv_ignored.test_output_is_stateless_across_invocations",
+ "eval.tests.test_stdin_ignored.test_batch_stdin_payload_is_ignored_emits_single_canonical_table",
+ "eval.tests.test_stdin_ignored.test_empty_stdin_equals_absent_stdin_and_no_stdin_runs",
+ "eval.tests.test_stdin_ignored.test_stdin_payload_does_not_change_row_count_or_content",
+ "eval.tests.test_table.test_bare_run_matches_exact_full_table",
+ "eval.tests.test_table.test_full_table_has_32_rows_each_with_config_header",
+ "eval.tests.test_table.test_negative_half_exactly_mirrors_positive",
+ "eval.tests.test_table.test_no_stderr_and_clean_exit",
+ "eval.tests.test_table.test_positive_half_monotone_from_zero_to_max_finite",
+ "eval.tests.test_table.test_zero_and_nar_rows",
+ "eval.tests.test_table_rows.test_every_binary_pattern_has_exactly_one_row",
+ "eval.tests.test_table_rows.test_every_non_nar_row_carries_exact_decimal_value",
+ "eval.tests.test_table_rows.test_sentinel_patterns_decode_to_exact_rows",
+ "eval.tests.test_table_rows.test_table_partitions_into_one_nar_one_zero_15_pos_15_neg",
+ "eval.tests.test_table_rows.test_whole_table_equals_canonical_text"
+ ]
+ },
+ "generated_module_04": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_util_posit_fields.test_arguments_are_ignored_and_output_identical",
+ "eval.tests.test_util_posit_fields.test_exactly_32_lines_header_shape",
+ "eval.tests.test_util_posit_fields.test_exactly_one_nar_at_0x80000000",
+ "eval.tests.test_util_posit_fields.test_exit_zero_and_clean_stderr",
+ "eval.tests.test_util_posit_fields.test_exponent_field_respects_configured_size",
+ "eval.tests.test_util_posit_fields.test_field_breakdown_matches_util_oracle",
+ "eval.tests.test_util_posit_fields.test_field_invariant_sign_regime_exp_frac_sum_to_nbits",
+ "eval.tests.test_util_posit_fields.test_golden_output_exact_match",
+ "eval.tests.test_util_posit_fields.test_max_magnitude_and_extremes",
+ "eval.tests.test_util_posit_fields.test_negation_symmetry_magnitudes",
+ "eval.tests.test_util_posit_fields.test_sign_prefix_and_value_sign",
+ "eval.tests.test_util_posit_fields.test_specific_decoded_values",
+ "eval.tests.test_util_posit_fields.test_zero_pattern_is_zero"
+ ]
+ }
+ },
+ "commit": "525d8e61e54d986345b2de8c84c58ff2d0e84993",
+ "data_source": "synthetic_programgym",
+ "difficulty": "easy",
+ "difficulty_score": 1.049605612594973,
+ "eval_clean_hashes": [
+ "4530f0ebee0443a37e4b1121ae18ca115fc4516471bb1e8015e7d05acb5c5b00"
+ ],
+ "input_record": {
+ "commit": "525d8e61e54d986345b2de8c84c58ff2d0e84993",
+ "full_name": "libcg/bfp",
+ "input_joern_zip": "cpp_joern/libcg__bfp.zip",
+ "joern_status": true,
+ "joern_time": 9.587349883047864,
+ "language": "cpp",
+ "pb_match": [
+ {
+ "pb_fullname": "OSGeo/PROJ",
+ "rank": 808,
+ "similarity": 0.3913014829158783
+ }
+ ],
+ "repo_path": "cpp/libcg__bfp",
+ "source": "commit:525d8e61e54d986345b2de8c84c58ff2d0e84993",
+ "status": "done",
+ "url": "https://github.com/libcg/bfp"
+ },
+ "instance_id": "libcg__bfp.525d8e6",
+ "language": "cpp",
+ "module_iterations": [
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_01",
+ "iteration_limit": 5,
+ "module_index": 1,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_02",
+ "iteration_limit": 5,
+ "module_index": 2,
+ "module_kind": "source",
+ "termination_reason": "early_stopping"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_03",
+ "iteration_limit": 5,
+ "module_index": 3,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_04",
+ "iteration_limit": 5,
+ "module_index": 4,
+ "module_kind": "source",
+ "termination_reason": "early_stopping"
+ }
+ ],
+ "repository": "libcg/bfp"
+}
diff --git a/libcg--bfp.525d8e6/tests/test.sh b/libcg--bfp.525d8e6/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/libcg--bfp.525d8e6/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/libcg--bfp.525d8e6/tests/workspace.tar.gz b/libcg--bfp.525d8e6/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..ff2241efb0537a563780c660a01f7c46d6a54d28
--- /dev/null
+++ b/libcg--bfp.525d8e6/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:246ee54acd8e10e9777369588861db440bc7e265f6255fc78cc47e38745183dc
+size 1327
diff --git a/libgeos--geos.2c89410/environment/Dockerfile b/libgeos--geos.2c89410/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..edce77c9eff98ecfdd18ea41d0dd516062fb88d9
--- /dev/null
+++ b/libgeos--geos.2c89410/environment/Dockerfile
@@ -0,0 +1,55 @@
+FROM ubuntu:22.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip autoconf automake gettext file binutils g++ libtool libncurses-dev meson ninja-build unzip wget curl xz-utils bzip2 zip zstd patch python3-pytest python3-pytest-xdist python3-coverage tar && rm -rf /var/lib/apt/lists/*
+ARG CMAKE_VERSION=3.31.12
+RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) CMAKE_ARCH="x86_64" ;; arm64) CMAKE_ARCH="aarch64" ;; *) echo "unsupported architecture for CMake: ${ARCH}" >&2; exit 1 ;; esac; curl -fsSL -o /tmp/cmake.tar.gz "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-${CMAKE_ARCH}.tar.gz"; rm -rf /opt/cmake; mkdir -p /opt/cmake; tar -xzf /tmp/cmake.tar.gz --strip-components=1 -C /opt/cmake; ln -sf /opt/cmake/bin/cmake /usr/local/bin/cmake; ln -sf /opt/cmake/bin/ctest /usr/local/bin/ctest; ln -sf /opt/cmake/bin/cpack /usr/local/bin/cpack; rm -f /tmp/cmake.tar.gz; cmake --version
+ARG GCC_VERSION=13.3.0
+RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) GCC_ARCH="x64" ;; arm64) GCC_ARCH="arm64" ;; *) echo "unsupported architecture for GCC 13: ${ARCH}" >&2; exit 1 ;; esac; wget -O /tmp/gcc.tar.gz "https://github.com/xpack-dev-tools/gcc-xpack/releases/download/v13.3.0-2/xpack-gcc-13.3.0-2-linux-${GCC_ARCH}.tar.gz"; rm -rf /opt/gcc-13; mkdir -p /opt/gcc-13; tar -xzf /tmp/gcc.tar.gz --strip-components=1 -C /opt/gcc-13; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/c++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc-13; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++-13; for PROGRAMGYM_GCOV_TOOL in gcov gcov-dump gcov-tool; do if [ -x "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" ]; then ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}-13"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/bin/${PROGRAMGYM_GCOV_TOOL}"; fi; done; ln -sf /opt/gcc-13/bin/gcc /usr/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/c++; rm -f /tmp/gcc.tar.gz; gcc --version; g++ --version; gcov --version; command -v gcov-dump >/dev/null && gcov-dump --version | head -n 1 || true
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /workspace/download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/libgeos--geos.2c89410/environment/download.sh b/libgeos--geos.2c89410/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..580f3c5b811c82c22afca9831c3e1a36a8fc3808
--- /dev/null
+++ b/libgeos--geos.2c89410/environment/download.sh
@@ -0,0 +1,81 @@
+#!/usr/bin/env bash
+#
+# ProgramGym download stage for libgeos/geos.
+#
+# This script is `source`'d into the current shell (NOT executed as a subprocess)
+# by the ProgramGym pipeline, so it must be safe to run in shell source mode:
+# * keep exported environment variables in the current shell,
+# * never call `exit` in normal control flow,
+# * propagate a nonzero status to the caller on any failure (so a broken
+# toolchain is never disguised as success),
+# * not depend on any repository source file (the repo is not mounted here
+# beyond this script itself).
+#
+# Responsibilities (download-only; NO compile/link/test/package step):
+# * verify the C/C++ toolchain and CMake required to build the `geosop` CLI
+# target are present in the base image,
+# * export the environment variables that build.sh relies on.
+#
+# The GEOS build for the `geosop` CLI only needs a C++17 compiler, CMake, make,
+# and the standard C runtime (libc/libm). All of those are already present in
+# the ProgramGym base image (gcc/g++ 13.3.0, cmake 3.31.12, make 4.3, libc6),
+# so no apt install or archive download is required. Missing tools are reported
+# explicitly rather than masked.
+
+main() {
+ # --------------------------------------------------------------------
+ # Export the build environment build.sh relies on.
+ # --------------------------------------------------------------------
+
+ # The default compiler is GCC 13 (xPack at /opt/gcc-13), whose libstdc++
+ # is newer than the Ubuntu system libstdc++ (GLIBCXX_3.4.32 vs 3.4.30). If
+ # left dynamically linked, ./executable would resolve the older system
+ # libstdc++ at runtime and fail with "GLIBCXX_3.4.32 not found". Linking the
+ # C++ runtime statically embeds it into the binary. GEOS itself is also
+ # linked statically (BUILD_SHARED_LIBS=OFF), yielding a portable executable
+ # whose only runtime dependencies are glibc/libm.
+ export PROGRAMGYM_EXE_LINKER_FLAGS="-static-libstdc++ -static-libgcc"
+
+ export PROGRAMGYM_CXX="$(command -v g++)"
+ export PROGRAMGYM_CMAKE="$(command -v cmake)"
+ export PROGRAMGYM_MAKE="$(command -v make)"
+
+ # --------------------------------------------------------------------
+ # Verify the required build tools (all expected in the base image).
+ # --------------------------------------------------------------------
+
+ for tool in g++ gcc cmake make; do
+ if ! command -v "$tool"; then
+ echo "download.sh: ERROR: required build tool '$tool' was not found in PATH" >&2
+ return 1
+ fi
+ done
+
+ # Confirm the compiler can actually compile a trivial C++17 translation
+ # unit. This catches a broken toolchain in the download (networked) stage
+ # instead of inside the offline build. No trailing artifacts are left
+ # behind.
+ probe_src="$(mktemp --suffix=.cpp)"
+ printf '%s\n' 'int main() { return 0; }' > "$probe_src"
+ if ! g++ -std=c++17 -fsyntax-only "$probe_src"; then
+ rm -f "$probe_src"
+ echo "download.sh: ERROR: g++ is present but cannot compile a trivial C++17 translation unit" >&2
+ return 1
+ fi
+ rm -f "$probe_src"
+
+ return 0
+}
+
+# Execute main() once. Propagate any failure to the caller with a nonzero
+# status and without leaving a misleading success message behind. The final
+# success line only runs after main() returns 0.
+if main; then
+ echo "download.sh: toolchain verified; build environment exported."
+else
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
diff --git a/libgeos--geos.2c89410/environment/executable b/libgeos--geos.2c89410/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..5006d3deb4978b75adfaaf6037678202158f8b6d
--- /dev/null
+++ b/libgeos--geos.2c89410/environment/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1f665b1680745d7a7e01156b10f3aa414a4bec0a758d002f1ce581aa4dfe5c79
+size 7272496
diff --git a/libgeos--geos.2c89410/environment/harbor_prepare_download_env.sh b/libgeos--geos.2c89410/environment/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..2c7dd2f2b8fff5fb8926261279d38518e59e407c
--- /dev/null
+++ b/libgeos--geos.2c89410/environment/harbor_prepare_download_env.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+set -euo pipefail
+cd /workspace
+set -a
+source /workspace/download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/libgeos--geos.2c89410/environment/workspace.tar.gz b/libgeos--geos.2c89410/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..e80e1f7b6634ad47b94d2b74a677074613234058
--- /dev/null
+++ b/libgeos--geos.2c89410/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e555dfa4476fa20902b3919a9df839c1416cc9e8b920542e12fb2e8264e2cc3f
+size 4633
diff --git a/libgeos--geos.2c89410/instruction.md b/libgeos--geos.2c89410/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/libgeos--geos.2c89410/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/libgeos--geos.2c89410/solution/solve.sh b/libgeos--geos.2c89410/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/libgeos--geos.2c89410/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/libgeos--geos.2c89410/task.toml b/libgeos--geos.2c89410/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..35f6329fb781cf0ef92db7b130fb80a1e9e3da49
--- /dev/null
+++ b/libgeos--geos.2c89410/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/libgeos--geos.2c89410"
+description = "Synthetic ProgramGym cleanroom reconstruction task for libgeos/geos"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "cpp"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "libgeos__geos.2c89410"
+repository = "libgeos/geos"
+commit = "2c89410f5c6aef61a3f0d72a29c1f88cfb3573a4"
+language = "cpp"
+difficulty = "medium"
+difficulty_score = 3.6609678759837205
+test_branches = 7
+test_count = 4872
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/libgeos--geos.2c89410/tests/Dockerfile b/libgeos--geos.2c89410/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..76cacca3a4006591209a34f93e00d4142b6fe407
--- /dev/null
+++ b/libgeos--geos.2c89410/tests/Dockerfile
@@ -0,0 +1,63 @@
+FROM ubuntu:22.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip autoconf automake gettext file binutils g++ libtool libncurses-dev meson ninja-build unzip wget curl xz-utils bzip2 zip zstd patch python3-pytest python3-pytest-xdist python3-coverage tar && rm -rf /var/lib/apt/lists/*
+ARG CMAKE_VERSION=3.31.12
+RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) CMAKE_ARCH="x86_64" ;; arm64) CMAKE_ARCH="aarch64" ;; *) echo "unsupported architecture for CMake: ${ARCH}" >&2; exit 1 ;; esac; curl -fsSL -o /tmp/cmake.tar.gz "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-${CMAKE_ARCH}.tar.gz"; rm -rf /opt/cmake; mkdir -p /opt/cmake; tar -xzf /tmp/cmake.tar.gz --strip-components=1 -C /opt/cmake; ln -sf /opt/cmake/bin/cmake /usr/local/bin/cmake; ln -sf /opt/cmake/bin/ctest /usr/local/bin/ctest; ln -sf /opt/cmake/bin/cpack /usr/local/bin/cpack; rm -f /tmp/cmake.tar.gz; cmake --version
+ARG GCC_VERSION=13.3.0
+RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) GCC_ARCH="x64" ;; arm64) GCC_ARCH="arm64" ;; *) echo "unsupported architecture for GCC 13: ${ARCH}" >&2; exit 1 ;; esac; wget -O /tmp/gcc.tar.gz "https://github.com/xpack-dev-tools/gcc-xpack/releases/download/v13.3.0-2/xpack-gcc-13.3.0-2-linux-${GCC_ARCH}.tar.gz"; rm -rf /opt/gcc-13; mkdir -p /opt/gcc-13; tar -xzf /tmp/gcc.tar.gz --strip-components=1 -C /opt/gcc-13; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/c++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc-13; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++-13; for PROGRAMGYM_GCOV_TOOL in gcov gcov-dump gcov-tool; do if [ -x "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" ]; then ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}-13"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/bin/${PROGRAMGYM_GCOV_TOOL}"; fi; done; ln -sf /opt/gcc-13/bin/gcc /usr/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/c++; rm -f /tmp/gcc.tar.gz; gcc --version; g++ --version; gcov --version; command -v gcov-dump >/dev/null && gcov-dump --version | head -n 1 || true
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /workspace/download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN python3 -m pip install --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/libgeos--geos.2c89410/tests/blobs/tests/generated_module_01.tar.gz b/libgeos--geos.2c89410/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..75fa921c8c8d99657ab9b32588c4dd3919c1e117
--- /dev/null
+++ b/libgeos--geos.2c89410/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ec57bb42b2a22b7d256e2231869af08e0099e40d6e5c1f60bfab6fc267cf975a
+size 23478
diff --git a/libgeos--geos.2c89410/tests/blobs/tests/generated_module_02.tar.gz b/libgeos--geos.2c89410/tests/blobs/tests/generated_module_02.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..6e65de4f740450c1bf8959a59b1cf638f89663ef
--- /dev/null
+++ b/libgeos--geos.2c89410/tests/blobs/tests/generated_module_02.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ee877b53ffe3fe6d2c926f861626b486540e4770384729231ce1b24258cf65ce
+size 86719
diff --git a/libgeos--geos.2c89410/tests/blobs/tests/generated_module_03.tar.gz b/libgeos--geos.2c89410/tests/blobs/tests/generated_module_03.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..a5ce241e8f08db4a20476d5ca6701d9a1b407c9f
--- /dev/null
+++ b/libgeos--geos.2c89410/tests/blobs/tests/generated_module_03.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:68dbc19687634e9b92d6519e0ce062cdc7cfb74ff91e9f92aa4287ed284c11fc
+size 31213
diff --git a/libgeos--geos.2c89410/tests/blobs/tests/generated_module_04.tar.gz b/libgeos--geos.2c89410/tests/blobs/tests/generated_module_04.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..e11db5d5ad72e8e7f1978cbf14bfc57803e389e2
--- /dev/null
+++ b/libgeos--geos.2c89410/tests/blobs/tests/generated_module_04.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:89b0b04c0ed29bd6807119b2052e62c94e3d39fc89277a13d066f37fc3b2de40
+size 55953
diff --git a/libgeos--geos.2c89410/tests/blobs/tests/generated_module_05.tar.gz b/libgeos--geos.2c89410/tests/blobs/tests/generated_module_05.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..1f1e1b48621b468adc8753d67bc7c488d730d5de
--- /dev/null
+++ b/libgeos--geos.2c89410/tests/blobs/tests/generated_module_05.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d517a6fdf56bf977b2f6471ab15b5eac714eae35e9a9e38a2d754b4f9715e662
+size 44456
diff --git a/libgeos--geos.2c89410/tests/blobs/tests/generated_module_06.tar.gz b/libgeos--geos.2c89410/tests/blobs/tests/generated_module_06.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..82f17acac35a66bd62358462440a417c8747ba2a
--- /dev/null
+++ b/libgeos--geos.2c89410/tests/blobs/tests/generated_module_06.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:65f253cfed0829609a5de506289778b2d52831997cd6fe9aec9949786422e0d5
+size 88934
diff --git a/libgeos--geos.2c89410/tests/blobs/tests/generated_upstream.tar.gz b/libgeos--geos.2c89410/tests/blobs/tests/generated_upstream.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..6a3fbbd69f5477dc5aa049eac620db668f6b1a8f
--- /dev/null
+++ b/libgeos--geos.2c89410/tests/blobs/tests/generated_upstream.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bf1da095c07e601c92847051888f9c32d2a50855eb7d143333bf33b92a9206bc
+size 132858
diff --git a/libgeos--geos.2c89410/tests/download.sh b/libgeos--geos.2c89410/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..580f3c5b811c82c22afca9831c3e1a36a8fc3808
--- /dev/null
+++ b/libgeos--geos.2c89410/tests/download.sh
@@ -0,0 +1,81 @@
+#!/usr/bin/env bash
+#
+# ProgramGym download stage for libgeos/geos.
+#
+# This script is `source`'d into the current shell (NOT executed as a subprocess)
+# by the ProgramGym pipeline, so it must be safe to run in shell source mode:
+# * keep exported environment variables in the current shell,
+# * never call `exit` in normal control flow,
+# * propagate a nonzero status to the caller on any failure (so a broken
+# toolchain is never disguised as success),
+# * not depend on any repository source file (the repo is not mounted here
+# beyond this script itself).
+#
+# Responsibilities (download-only; NO compile/link/test/package step):
+# * verify the C/C++ toolchain and CMake required to build the `geosop` CLI
+# target are present in the base image,
+# * export the environment variables that build.sh relies on.
+#
+# The GEOS build for the `geosop` CLI only needs a C++17 compiler, CMake, make,
+# and the standard C runtime (libc/libm). All of those are already present in
+# the ProgramGym base image (gcc/g++ 13.3.0, cmake 3.31.12, make 4.3, libc6),
+# so no apt install or archive download is required. Missing tools are reported
+# explicitly rather than masked.
+
+main() {
+ # --------------------------------------------------------------------
+ # Export the build environment build.sh relies on.
+ # --------------------------------------------------------------------
+
+ # The default compiler is GCC 13 (xPack at /opt/gcc-13), whose libstdc++
+ # is newer than the Ubuntu system libstdc++ (GLIBCXX_3.4.32 vs 3.4.30). If
+ # left dynamically linked, ./executable would resolve the older system
+ # libstdc++ at runtime and fail with "GLIBCXX_3.4.32 not found". Linking the
+ # C++ runtime statically embeds it into the binary. GEOS itself is also
+ # linked statically (BUILD_SHARED_LIBS=OFF), yielding a portable executable
+ # whose only runtime dependencies are glibc/libm.
+ export PROGRAMGYM_EXE_LINKER_FLAGS="-static-libstdc++ -static-libgcc"
+
+ export PROGRAMGYM_CXX="$(command -v g++)"
+ export PROGRAMGYM_CMAKE="$(command -v cmake)"
+ export PROGRAMGYM_MAKE="$(command -v make)"
+
+ # --------------------------------------------------------------------
+ # Verify the required build tools (all expected in the base image).
+ # --------------------------------------------------------------------
+
+ for tool in g++ gcc cmake make; do
+ if ! command -v "$tool"; then
+ echo "download.sh: ERROR: required build tool '$tool' was not found in PATH" >&2
+ return 1
+ fi
+ done
+
+ # Confirm the compiler can actually compile a trivial C++17 translation
+ # unit. This catches a broken toolchain in the download (networked) stage
+ # instead of inside the offline build. No trailing artifacts are left
+ # behind.
+ probe_src="$(mktemp --suffix=.cpp)"
+ printf '%s\n' 'int main() { return 0; }' > "$probe_src"
+ if ! g++ -std=c++17 -fsyntax-only "$probe_src"; then
+ rm -f "$probe_src"
+ echo "download.sh: ERROR: g++ is present but cannot compile a trivial C++17 translation unit" >&2
+ return 1
+ fi
+ rm -f "$probe_src"
+
+ return 0
+}
+
+# Execute main() once. Propagate any failure to the caller with a nonzero
+# status and without leaving a misleading success message behind. The final
+# success line only runs after main() returns 0.
+if main; then
+ echo "download.sh: toolchain verified; build environment exported."
+else
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
diff --git a/libgeos--geos.2c89410/tests/executable b/libgeos--geos.2c89410/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..5006d3deb4978b75adfaaf6037678202158f8b6d
--- /dev/null
+++ b/libgeos--geos.2c89410/tests/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1f665b1680745d7a7e01156b10f3aa414a4bec0a758d002f1ce581aa4dfe5c79
+size 7272496
diff --git a/libgeos--geos.2c89410/tests/harbor_prepare_download_env.sh b/libgeos--geos.2c89410/tests/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..2c7dd2f2b8fff5fb8926261279d38518e59e407c
--- /dev/null
+++ b/libgeos--geos.2c89410/tests/harbor_prepare_download_env.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+set -euo pipefail
+cd /workspace
+set -a
+source /workspace/download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/libgeos--geos.2c89410/tests/programgym_evaluator.py b/libgeos--geos.2c89410/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/libgeos--geos.2c89410/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/libgeos--geos.2c89410/tests/programgym_task.json b/libgeos--geos.2c89410/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..dedf20e2d167b11b9acda494979c595847e52c38
--- /dev/null
+++ b/libgeos--geos.2c89410/tests/programgym_task.json
@@ -0,0 +1,5067 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_additional_ops.test_boundary_maps_to_convex_hull_semantics",
+ "eval.tests.test_additional_ops.test_buffer_single_sided_negative_distance",
+ "eval.tests.test_additional_ops.test_build_area_from_closed_line",
+ "eval.tests.test_additional_ops.test_cluster_within_distance",
+ "eval.tests.test_additional_ops.test_concave_hull_by_length_of_triangle",
+ "eval.tests.test_additional_ops.test_concave_hull_of_points",
+ "eval.tests.test_additional_ops.test_convex_hull_of_point_is_point",
+ "eval.tests.test_additional_ops.test_coverage_clean_returns_geometry_list",
+ "eval.tests.test_additional_ops.test_coverage_simplify_two_adjacent_polygons",
+ "eval.tests.test_additional_ops.test_coverage_validate_of_valid_coverage",
+ "eval.tests.test_additional_ops.test_geojson_of_collected_multipoint",
+ "eval.tests.test_additional_ops.test_geojson_of_multi_line_collected",
+ "eval.tests.test_additional_ops.test_largest_empty_circle_radius_line",
+ "eval.tests.test_additional_ops.test_max_diameter_of_line_equals_line",
+ "eval.tests.test_additional_ops.test_max_inscribed_circle_radius_line",
+ "eval.tests.test_additional_ops.test_min_diameter_of_square",
+ "eval.tests.test_additional_ops.test_min_diameter_of_square_polygon",
+ "eval.tests.test_additional_ops.test_offset_curve_join",
+ "eval.tests.test_additional_ops.test_polygonize_valid_produces_polygon",
+ "eval.tests.test_additional_ops.test_reduce_precision_keep_collapsed_rounds_line",
+ "eval.tests.test_additional_ops.test_reduce_precision_pointwise",
+ "eval.tests.test_additional_ops.test_remove_repeated_points",
+ "eval.tests.test_additional_ops.test_repeat_count_appears_in_stats",
+ "eval.tests.test_additional_ops.test_repeat_zero_clamped_to_one",
+ "eval.tests.test_additional_ops.test_unary_union_sr_aggregate",
+ "eval.tests.test_argument_handling.test_double_dash_separator_parses_op_args",
+ "eval.tests.test_argument_handling.test_empty_opname_uses_default_copy",
+ "eval.tests.test_argument_handling.test_format_accepts_geojson_aliases[geojson]",
+ "eval.tests.test_argument_handling.test_format_accepts_geojson_aliases[json]",
+ "eval.tests.test_argument_handling.test_format_accepts_text_and_wkt[txt-POINT (1 1)]",
+ "eval.tests.test_argument_handling.test_format_accepts_text_and_wkt[wkt-LINESTRING (0 0, 1 1)]",
+ "eval.tests.test_argument_handling.test_format_accepts_text_and_wkt[wkt-POINT (1 1)]",
+ "eval.tests.test_argument_handling.test_format_value_is_case_insensitive",
+ "eval.tests.test_argument_handling.test_help_and_usage_screens_match_golden[args0]",
+ "eval.tests.test_argument_handling.test_help_and_usage_screens_match_golden[args1]",
+ "eval.tests.test_argument_handling.test_help_and_usage_screens_match_golden[args2]",
+ "eval.tests.test_argument_handling.test_help_lists_operations_as_full_lines",
+ "eval.tests.test_argument_handling.test_help_notes_describe_negative_number_syntax",
+ "eval.tests.test_argument_handling.test_invalid_format_value_errors_with_exact_message[WKBX]",
+ "eval.tests.test_argument_handling.test_invalid_format_value_errors_with_exact_message[bogus]",
+ "eval.tests.test_argument_handling.test_invalid_format_value_errors_with_exact_message[gml]",
+ "eval.tests.test_argument_handling.test_invalid_format_value_errors_with_exact_message[shp]",
+ "eval.tests.test_argument_handling.test_negative_op_argument_via_N_prefix",
+ "eval.tests.test_argument_handling.test_negative_op_argument_via_N_prefix_negative",
+ "eval.tests.test_argument_handling.test_non_numeric_op_argument_errors",
+ "eval.tests.test_argument_handling.test_noop_default_opname",
+ "eval.tests.test_argument_handling.test_option_parse_error_shows_hint",
+ "eval.tests.test_argument_handling.test_out_of_range_op_argument_errors",
+ "eval.tests.test_argument_handling.test_run_time_exception_from_bad_op_arg",
+ "eval.tests.test_argument_handling.test_time_flag_emits_stats",
+ "eval.tests.test_argument_handling.test_too_many_positional_arguments",
+ "eval.tests.test_argument_handling.test_unknown_operation",
+ "eval.tests.test_argument_handling.test_usage_screen_excludes_operations_list",
+ "eval.tests.test_argument_handling.test_verbose_default_is_false",
+ "eval.tests.test_argument_handling.test_verbose_flag_emits_log_and_stats",
+ "eval.tests.test_argument_handling.test_wrong_number_of_op_arguments_is_reported",
+ "eval.tests.test_argument_handling.test_wrong_source_file_read_silently_yields_no_geoms",
+ "eval.tests.test_binary_ops.test_clip_rect_clips_line_to_envelope",
+ "eval.tests.test_binary_ops.test_cluster_intersecting_agglomerates",
+ "eval.tests.test_binary_ops.test_coverage_union_of_adjacent_cells",
+ "eval.tests.test_binary_ops.test_crosses_true_for_line_through_polygon",
+ "eval.tests.test_binary_ops.test_difference_of_squares",
+ "eval.tests.test_binary_ops.test_equals_true_for_identical_geometries",
+ "eval.tests.test_binary_ops.test_frechet_distance_between_parallel_lines",
+ "eval.tests.test_binary_ops.test_hausdorff_distance_between_parallel_lines",
+ "eval.tests.test_binary_ops.test_intersection_of_disjoint_squares_is_empty",
+ "eval.tests.test_binary_ops.test_intersection_of_overlapping_squares",
+ "eval.tests.test_binary_ops.test_nearest_points_line",
+ "eval.tests.test_binary_ops.test_nearest_points_prepared",
+ "eval.tests.test_binary_ops.test_node_of_line_is_multilinestring",
+ "eval.tests.test_binary_ops.test_overlaps_true_for_partially_overlapping_squares",
+ "eval.tests.test_binary_ops.test_prepared_relation_ops[containsPrep]",
+ "eval.tests.test_binary_ops.test_prepared_relation_ops[containsProperlyPrep]",
+ "eval.tests.test_binary_ops.test_prepared_relation_ops[coversPrep]",
+ "eval.tests.test_binary_ops.test_prepared_relation_ops[intersectsPrep]",
+ "eval.tests.test_binary_ops.test_relate_bnr_valid_rules",
+ "eval.tests.test_binary_ops.test_snap_rounding_overlays_polygon[differenceSR]",
+ "eval.tests.test_binary_ops.test_snap_rounding_overlays_polygon[intersectionSR]",
+ "eval.tests.test_binary_ops.test_snap_rounding_overlays_polygon[unionSR]",
+ "eval.tests.test_binary_ops.test_snap_rounding_sym_difference_is_multipolygon",
+ "eval.tests.test_binary_ops.test_split_geometry_by_point",
+ "eval.tests.test_binary_ops.test_sym_difference_is_multipolygon",
+ "eval.tests.test_binary_ops.test_touches_true_for_edge_adjacent_squares",
+ "eval.tests.test_binary_ops.test_union_of_disjoint_points",
+ "eval.tests.test_binary_ops.test_union_of_overlapping_squares",
+ "eval.tests.test_binary_ops.test_within_reversed_predicate",
+ "eval.tests.test_construction_ops.test_constrained_delaunay_of_collinear_extra_site",
+ "eval.tests.test_construction_ops.test_delaunay_list_of_two_triangles",
+ "eval.tests.test_construction_ops.test_delaunay_of_three_points",
+ "eval.tests.test_construction_ops.test_delaunay_with_interior_site_creates_four_triangles",
+ "eval.tests.test_construction_ops.test_polygonize_of_open_chain_yields_nothing",
+ "eval.tests.test_construction_ops.test_polygonize_of_square_ring",
+ "eval.tests.test_construction_ops.test_polygonize_of_two_adjacent_rings",
+ "eval.tests.test_cxxopts_parsing.test_double_dash_consumes_remaining_as_positional",
+ "eval.tests.test_cxxopts_parsing.test_double_dash_reaches_unmatched_tail",
+ "eval.tests.test_cxxopts_parsing.test_hexadecimal_precision_values_are_accepted",
+ "eval.tests.test_cxxopts_parsing.test_hexadecimal_zero_precision_rounds_half_up",
+ "eval.tests.test_cxxopts_parsing.test_integer_option_overflow_is_a_parse_error[-2147483649]",
+ "eval.tests.test_cxxopts_parsing.test_integer_option_overflow_is_a_parse_error[2147483648]",
+ "eval.tests.test_cxxopts_parsing.test_integer_option_overflow_is_a_parse_error[99999999999999999999]",
+ "eval.tests.test_cxxopts_parsing.test_integer_option_value_that_matches_no_integer_pattern[argv0-0x]",
+ "eval.tests.test_cxxopts_parsing.test_integer_option_value_that_matches_no_integer_pattern[argv1-0xg]",
+ "eval.tests.test_cxxopts_parsing.test_integer_option_value_that_matches_no_integer_pattern[argv2-0x_]",
+ "eval.tests.test_cxxopts_parsing.test_integer_option_value_that_matches_no_integer_pattern[argv3-+]",
+ "eval.tests.test_cxxopts_parsing.test_integer_option_zero_value_takes_zero_branch[-0]",
+ "eval.tests.test_cxxopts_parsing.test_integer_option_zero_value_takes_zero_branch[-0x0]",
+ "eval.tests.test_cxxopts_parsing.test_integer_option_zero_value_takes_zero_branch[0]",
+ "eval.tests.test_cxxopts_parsing.test_integer_option_zero_value_takes_zero_branch[0x0]",
+ "eval.tests.test_cxxopts_parsing.test_limit_accepts_hex_counts",
+ "eval.tests.test_cxxopts_parsing.test_long_option_equals_form_sets_format",
+ "eval.tests.test_cxxopts_parsing.test_long_option_equals_form_sets_limit",
+ "eval.tests.test_cxxopts_parsing.test_long_option_equals_form_sets_value",
+ "eval.tests.test_cxxopts_parsing.test_negative_hex_precision_option[-0x10-16]",
+ "eval.tests.test_cxxopts_parsing.test_negative_hex_precision_option[-0x1f-31]",
+ "eval.tests.test_cxxopts_parsing.test_negative_hex_precision_option[-0xa-10]",
+ "eval.tests.test_cxxopts_parsing.test_negative_integer_option_values_reach_checked_negate[argv0-expected0]",
+ "eval.tests.test_cxxopts_parsing.test_negative_integer_option_values_reach_checked_negate[argv1-expected1]",
+ "eval.tests.test_cxxopts_parsing.test_negative_limit_value_is_accepted",
+ "eval.tests.test_cxxopts_parsing.test_negative_precision_is_accepted_without_rounding[-1-POINT (1.23456789 2.98123456)]",
+ "eval.tests.test_cxxopts_parsing.test_negative_precision_is_accepted_without_rounding[-2-POINT (1.23456789 2.98123456)]",
+ "eval.tests.test_cxxopts_parsing.test_negative_precision_is_accepted_without_rounding[-5-POINT (1.23456789 2.98123456)]",
+ "eval.tests.test_cxxopts_parsing.test_op_name_survives_options_that_consume_values",
+ "eval.tests.test_cxxopts_parsing.test_option_missing_its_argument[argv0-p]",
+ "eval.tests.test_cxxopts_parsing.test_option_missing_its_argument[argv1-f]",
+ "eval.tests.test_cxxopts_parsing.test_option_missing_its_argument[argv2-limita]",
+ "eval.tests.test_cxxopts_parsing.test_option_missing_its_argument[argv3-l]",
+ "eval.tests.test_cxxopts_parsing.test_option_missing_its_argument[argv4-o]",
+ "eval.tests.test_cxxopts_parsing.test_option_missing_its_argument[argv5-r]",
+ "eval.tests.test_cxxopts_parsing.test_option_starts_with_dash_but_invalid_syntax[argv0--p=]",
+ "eval.tests.test_cxxopts_parsing.test_option_starts_with_dash_but_invalid_syntax[argv1---a=POINT (1 1)]",
+ "eval.tests.test_cxxopts_parsing.test_option_starts_with_dash_but_invalid_syntax[argv2--aPOINT (1 1)]",
+ "eval.tests.test_cxxopts_parsing.test_option_starts_with_dash_but_invalid_syntax[argv3--q=true]",
+ "eval.tests.test_cxxopts_parsing.test_precision_31_uppercase_and_lowercase_hex",
+ "eval.tests.test_cxxopts_parsing.test_short_cluster_of_boolean_flags_is_legal[argv0]",
+ "eval.tests.test_cxxopts_parsing.test_short_cluster_of_boolean_flags_is_legal[argv1]",
+ "eval.tests.test_cxxopts_parsing.test_short_option_cluster_without_implicit_value[argv0-p]",
+ "eval.tests.test_cxxopts_parsing.test_short_option_cluster_without_implicit_value[argv1-f]",
+ "eval.tests.test_cxxopts_parsing.test_unknown_short_and_long_options[argv0-z]",
+ "eval.tests.test_cxxopts_parsing.test_unknown_short_and_long_options[argv1-x]",
+ "eval.tests.test_cxxopts_parsing.test_unknown_short_and_long_options[argv2-bogus]",
+ "eval.tests.test_cxxopts_parsing.test_unknown_short_and_long_options[argv3-quality]",
+ "eval.tests.test_cxxopts_parsing.test_uppercase_hex_prefix_fails_to_parse[argv0-0X10]",
+ "eval.tests.test_cxxopts_parsing.test_uppercase_hex_prefix_fails_to_parse[argv1-0Xa]",
+ "eval.tests.test_cxxopts_parsing.test_uppercase_hex_prefix_fails_to_parse[argv2--0X10]",
+ "eval.tests.test_geometry_ops.test_boundary_of_line_returns_endpoints",
+ "eval.tests.test_geometry_ops.test_bowtie_is_invalid",
+ "eval.tests.test_geometry_ops.test_buffer_join_bevel",
+ "eval.tests.test_geometry_ops.test_buffer_negative_also_produces_round_polygon",
+ "eval.tests.test_geometry_ops.test_buffer_positive_produces_polygon",
+ "eval.tests.test_geometry_ops.test_buffer_quad_segs_changes_shape",
+ "eval.tests.test_geometry_ops.test_buffer_zero_produces_empty_polygon",
+ "eval.tests.test_geometry_ops.test_centroid_of_point_is_itself",
+ "eval.tests.test_geometry_ops.test_centroid_of_square",
+ "eval.tests.test_geometry_ops.test_convex_hull_of_points",
+ "eval.tests.test_geometry_ops.test_copy_roundtrip[LINESTRING (0 0, 2 2)-LINESTRING (0 0, 2 2)]",
+ "eval.tests.test_geometry_ops.test_copy_roundtrip[POINT (1 1)-POINT (1 1)]",
+ "eval.tests.test_geometry_ops.test_densify_inserts_vertices",
+ "eval.tests.test_geometry_ops.test_densify_polygon_inserts_edge_vertices",
+ "eval.tests.test_geometry_ops.test_envelope_of_line",
+ "eval.tests.test_geometry_ops.test_envelope_of_point",
+ "eval.tests.test_geometry_ops.test_explode_split_into_two_lines",
+ "eval.tests.test_geometry_ops.test_extract_line_between_measures",
+ "eval.tests.test_geometry_ops.test_fix_invalid_bowtie_becomes_multipolygon",
+ "eval.tests.test_geometry_ops.test_interior_point_of_square",
+ "eval.tests.test_geometry_ops.test_interpolate_at_both_endpoints",
+ "eval.tests.test_geometry_ops.test_interpolate_point_along_line",
+ "eval.tests.test_geometry_ops.test_line_merge_of_two_line_parts",
+ "eval.tests.test_geometry_ops.test_make_valid_on_invalid_bowtie",
+ "eval.tests.test_geometry_ops.test_minimum_area_rectangle_of_line",
+ "eval.tests.test_geometry_ops.test_minimum_bounding_circle_of_point",
+ "eval.tests.test_geometry_ops.test_normalize_reverses_coordinate_order",
+ "eval.tests.test_geometry_ops.test_normalize_single_point_is_identity",
+ "eval.tests.test_geometry_ops.test_offset_curve_negative_distance",
+ "eval.tests.test_geometry_ops.test_offset_curve_of_line",
+ "eval.tests.test_geometry_ops.test_project_point_beyond_line_end_clamps",
+ "eval.tests.test_geometry_ops.test_reduce_precision_scales_coordinates",
+ "eval.tests.test_geometry_ops.test_remove_repeated_points_large_tolerance_collapses",
+ "eval.tests.test_geometry_ops.test_remove_repeated_points_with_tolerance",
+ "eval.tests.test_geometry_ops.test_reverse_line",
+ "eval.tests.test_geometry_ops.test_simplify_douglas_peucker_collapses_near_straight_line",
+ "eval.tests.test_geometry_ops.test_voronoi_returns_geometry_list",
+ "eval.tests.test_input_handling.test_b_source_as_wkb_file",
+ "eval.tests.test_input_handling.test_b_source_as_wkt_file",
+ "eval.tests.test_input_handling.test_binary_op_b_literal_must_be_single_geometry",
+ "eval.tests.test_input_handling.test_binary_op_cartesian_product_across_inputs",
+ "eval.tests.test_input_handling.test_collect_merges_input_into_geometrycollection",
+ "eval.tests.test_input_handling.test_collect_then_aggregate_union",
+ "eval.tests.test_input_handling.test_empty_stdin_reads_no_geometries",
+ "eval.tests.test_input_handling.test_empty_wkt_literal_has_parens_detected_as_wkt",
+ "eval.tests.test_input_handling.test_explode_on_single_geometry_is_identity",
+ "eval.tests.test_input_handling.test_explode_split_multipoint",
+ "eval.tests.test_input_handling.test_file_a_vs_file_b_cartesian_distances",
+ "eval.tests.test_input_handling.test_hex_wkb_literal_input",
+ "eval.tests.test_input_handling.test_hex_wkb_literal_uppercase_detected",
+ "eval.tests.test_input_handling.test_limit_and_offset_combined",
+ "eval.tests.test_input_handling.test_limit_reads_only_first_n",
+ "eval.tests.test_input_handling.test_missing_b_source_uses_empty_b_input",
+ "eval.tests.test_input_handling.test_negative_offset_returns_all_geometries[-1]",
+ "eval.tests.test_input_handling.test_negative_offset_returns_all_geometries[-2]",
+ "eval.tests.test_input_handling.test_negative_offset_returns_all_geometries[-5]",
+ "eval.tests.test_input_handling.test_no_collect_processes_each_geometry",
+ "eval.tests.test_input_handling.test_offset_and_precision_combine",
+ "eval.tests.test_input_handling.test_offset_skips_first_n",
+ "eval.tests.test_input_handling.test_single_geometry_does_not_auto_collect",
+ "eval.tests.test_input_handling.test_stdin_alias_tokens_read_wkt[-.wkt]",
+ "eval.tests.test_input_handling.test_stdin_alias_tokens_read_wkt[-]",
+ "eval.tests.test_input_handling.test_stdin_alias_tokens_read_wkt[stdin.wkt]",
+ "eval.tests.test_input_handling.test_stdin_alias_tokens_read_wkt[stdin]",
+ "eval.tests.test_input_handling.test_stdin_dash_reads_wkt",
+ "eval.tests.test_input_handling.test_stdin_empty_geometry_in_middle_errors",
+ "eval.tests.test_input_handling.test_stdin_empty_geometry_last_line_parses_cleanly",
+ "eval.tests.test_input_handling.test_stdin_whitespace_only_reads_no_geometries",
+ "eval.tests.test_input_handling.test_stdin_wkb_reads_hex",
+ "eval.tests.test_input_handling.test_wkb_file_input_reads_hex",
+ "eval.tests.test_input_handling.test_wkb_file_input_roundtrip_to_hex",
+ "eval.tests.test_input_handling.test_wkb_literal_as_b_source",
+ "eval.tests.test_input_handling.test_wkt_file_input",
+ "eval.tests.test_input_handling.test_wkt_file_input_explicit_wkt_suffix",
+ "eval.tests.test_input_handling.test_wkt_file_length_per_geometry",
+ "eval.tests.test_input_handling.test_wkt_file_mixed_geometry_types",
+ "eval.tests.test_input_handling.test_wkt_literal_copy",
+ "eval.tests.test_input_handling.test_wkt_literal_types_roundtrip[GEOMETRYCOLLECTION (POINT (1 1))]",
+ "eval.tests.test_input_handling.test_wkt_literal_types_roundtrip[LINESTRING (0 0, 1 1, 2 2)]",
+ "eval.tests.test_input_handling.test_wkt_literal_types_roundtrip[MULTILINESTRING ((0 0, 1 1), (2 2, 3 3))]",
+ "eval.tests.test_input_handling.test_wkt_literal_types_roundtrip[MULTIPOINT ((1 1), (2 2))]",
+ "eval.tests.test_input_handling.test_wkt_literal_types_roundtrip[POINT (1 1)]",
+ "eval.tests.test_input_handling.test_wkt_literal_types_roundtrip[POLYGON ((0 0, 4 0, 4 4, 0 4, 0 0))]",
+ "eval.tests.test_metric_and_bool_ops.test_area_of_line_is_zero",
+ "eval.tests.test_metric_and_bool_ops.test_area_of_polygon_with_hole",
+ "eval.tests.test_metric_and_bool_ops.test_area_of_square",
+ "eval.tests.test_metric_and_bool_ops.test_area_of_triangle",
+ "eval.tests.test_metric_and_bool_ops.test_bool_result_printed_even_with_geometry_format",
+ "eval.tests.test_metric_and_bool_ops.test_distance_between_points",
+ "eval.tests.test_metric_and_bool_ops.test_distance_pythagorean_triple",
+ "eval.tests.test_metric_and_bool_ops.test_distance_zero_between_same_point",
+ "eval.tests.test_metric_and_bool_ops.test_hasM_on_m_point",
+ "eval.tests.test_metric_and_bool_ops.test_hasM_on_plain_point",
+ "eval.tests.test_metric_and_bool_ops.test_hasZ_on_2d_point",
+ "eval.tests.test_metric_and_bool_ops.test_hasZ_on_3d_point",
+ "eval.tests.test_metric_and_bool_ops.test_is_empty_on_empty_point",
+ "eval.tests.test_metric_and_bool_ops.test_is_empty_on_nonempty_point",
+ "eval.tests.test_metric_and_bool_ops.test_is_simple_crossing_line_is_false",
+ "eval.tests.test_metric_and_bool_ops.test_is_simple_straight_line_is_true",
+ "eval.tests.test_metric_and_bool_ops.test_is_valid_bowtie_is_false",
+ "eval.tests.test_metric_and_bool_ops.test_is_valid_valid_square",
+ "eval.tests.test_metric_and_bool_ops.test_length_of_empty_line",
+ "eval.tests.test_metric_and_bool_ops.test_length_of_line",
+ "eval.tests.test_metric_and_bool_ops.test_length_of_point_is_zero",
+ "eval.tests.test_metric_and_bool_ops.test_orientation_index_predicate",
+ "eval.tests.test_metric_and_bool_ops.test_other_distance_variants_are_nonnegative[distancePrep]",
+ "eval.tests.test_metric_and_bool_ops.test_other_distance_variants_are_nonnegative[frechetDistance]",
+ "eval.tests.test_metric_and_bool_ops.test_other_distance_variants_are_nonnegative[hausdorffDistance]",
+ "eval.tests.test_metric_and_bool_ops.test_project_point_onto_line",
+ "eval.tests.test_metric_and_bool_ops.test_quiet_still_runs_op_and_counts",
+ "eval.tests.test_metric_and_bool_ops.test_quiet_suppresses_all_result_output",
+ "eval.tests.test_metric_and_bool_ops.test_relate_full_reads_as_string_type",
+ "eval.tests.test_metric_and_bool_ops.test_relate_returns_de9im_string",
+ "eval.tests.test_metric_and_bool_ops.test_relational_predicates_point_inside_polygon[contains-true]",
+ "eval.tests.test_metric_and_bool_ops.test_relational_predicates_point_inside_polygon[covers-true]",
+ "eval.tests.test_metric_and_bool_ops.test_relational_predicates_point_inside_polygon[disjoint-false]",
+ "eval.tests.test_metric_and_bool_ops.test_relational_predicates_point_inside_polygon[equals-false]",
+ "eval.tests.test_metric_and_bool_ops.test_relational_predicates_point_inside_polygon[intersects-true]",
+ "eval.tests.test_metric_and_bool_ops.test_relational_predicates_point_inside_polygon[touches-false]",
+ "eval.tests.test_metric_and_bool_ops.test_relational_predicates_point_inside_polygon[within-false]",
+ "eval.tests.test_metric_and_bool_ops.test_select_all_true_returns_all",
+ "eval.tests.test_metric_and_bool_ops.test_select_keeps_true_hasZ_geometry",
+ "eval.tests.test_metric_and_bool_ops.test_select_keeps_true_valid_geometry",
+ "eval.tests.test_metric_and_bool_ops.test_select_not_keeps_invalid_geometry",
+ "eval.tests.test_output_formats.test_double_result_is_precise",
+ "eval.tests.test_output_formats.test_format_wkb_geometry_list_splits_lines",
+ "eval.tests.test_output_formats.test_geojson_explode_multipoint",
+ "eval.tests.test_output_formats.test_geojson_point_output",
+ "eval.tests.test_output_formats.test_geojson_polygon_structure",
+ "eval.tests.test_output_formats.test_geojson_polygon_with_hole",
+ "eval.tests.test_output_formats.test_geometry_list_non_exploded_prints_each_geometry",
+ "eval.tests.test_output_formats.test_geometry_list_with_explode",
+ "eval.tests.test_output_formats.test_precision_adds_decimal_places",
+ "eval.tests.test_output_formats.test_precision_not_applied_to_geojson",
+ "eval.tests.test_output_formats.test_precision_rounds_coordinates",
+ "eval.tests.test_output_formats.test_precision_zero_adds_no_decimals",
+ "eval.tests.test_output_formats.test_precision_zero_rounds_negative_coordinates",
+ "eval.tests.test_output_formats.test_text_format_is_default",
+ "eval.tests.test_output_formats.test_txt_format_output",
+ "eval.tests.test_output_formats.test_wkb_hex_of_geometrycollection",
+ "eval.tests.test_output_formats.test_wkb_hex_of_negative_coordinate",
+ "eval.tests.test_output_formats.test_wkb_hex_roundtrips_back_to_wkt",
+ "eval.tests.test_output_formats.test_wkt_hex_of_linestring_is_wellformed",
+ "eval.tests.test_output_formats.test_wkt_hex_of_point",
+ "eval.tests.test_output_formats.test_wkt_m_coordinate_roundtrip",
+ "eval.tests.test_output_formats.test_wkt_z_coordinate_roundtrip",
+ "eval.tests.test_output_formats.test_wkt_z_line_roundtrip"
+ ]
+ },
+ "generated_module_02": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_circular_arc.test_circularstring_arc_to_arc_distance_zero",
+ "eval.tests.test_circular_arc.test_circularstring_arc_to_arc_nearest_points",
+ "eval.tests.test_circular_arc.test_circularstring_arc_to_line_distance",
+ "eval.tests.test_circular_arc.test_circularstring_arc_to_line_nearest_points",
+ "eval.tests.test_circular_arc.test_circularstring_area_is_zero",
+ "eval.tests.test_circular_arc.test_circularstring_copy_cw_keeps_orientation",
+ "eval.tests.test_circular_arc.test_circularstring_copy_full_circle",
+ "eval.tests.test_circular_arc.test_circularstring_copy_m_preserved",
+ "eval.tests.test_circular_arc.test_circularstring_copy_round_trip",
+ "eval.tests.test_circular_arc.test_circularstring_copy_z_preserved",
+ "eval.tests.test_circular_arc.test_circularstring_copy_zm_preserved",
+ "eval.tests.test_circular_arc.test_circularstring_difference_crossing_line_golden",
+ "eval.tests.test_circular_arc.test_circularstring_difference_self_empty_line",
+ "eval.tests.test_circular_arc.test_circularstring_distance_point_on_arc_is_zero",
+ "eval.tests.test_circular_arc.test_circularstring_distance_to_centre_point",
+ "eval.tests.test_circular_arc.test_circularstring_distance_to_far_point",
+ "eval.tests.test_circular_arc.test_circularstring_envelope_full_circle",
+ "eval.tests.test_circular_arc.test_circularstring_envelope_semicircle",
+ "eval.tests.test_circular_arc.test_circularstring_intersection_crossing_line",
+ "eval.tests.test_circular_arc.test_circularstring_intersection_inside_polygon",
+ "eval.tests.test_circular_arc.test_circularstring_length_cw_same",
+ "eval.tests.test_circular_arc.test_circularstring_length_full_circle",
+ "eval.tests.test_circular_arc.test_circularstring_length_linear_arc",
+ "eval.tests.test_circular_arc.test_circularstring_length_semicircle",
+ "eval.tests.test_circular_arc.test_circularstring_linear_arc_distance",
+ "eval.tests.test_circular_arc.test_circularstring_nearest_points_arc_endpoint",
+ "eval.tests.test_circular_arc.test_circularstring_nearest_points_mid_arc",
+ "eval.tests.test_circular_arc.test_circularstring_reverse_ccw",
+ "eval.tests.test_circular_arc.test_circularstring_reverse_cw",
+ "eval.tests.test_circular_arc.test_circularstring_symdifference_crossing_line_golden",
+ "eval.tests.test_circular_arc.test_circularstring_union_self_round_trip",
+ "eval.tests.test_circular_arc.test_compoundcurve_copy_segments",
+ "eval.tests.test_circular_arc.test_compoundcurve_distance_above",
+ "eval.tests.test_circular_arc.test_compoundcurve_envelope",
+ "eval.tests.test_circular_arc.test_compoundcurve_intersection_polygon_golden",
+ "eval.tests.test_circular_arc.test_compoundcurve_length_arc_plus_lines",
+ "eval.tests.test_circular_arc.test_compoundcurve_nearest_points_arc_end",
+ "eval.tests.test_circular_arc.test_compoundcurve_reverse_sections",
+ "eval.tests.test_circular_arc_linear_variants.test_area_linear_arc_zero",
+ "eval.tests.test_circular_arc_linear_variants.test_diag_arc_distance_to_centre",
+ "eval.tests.test_circular_arc_linear_variants.test_diag_arc_distance_to_horizontal_line_above",
+ "eval.tests.test_circular_arc_linear_variants.test_diag_arc_distance_to_off_arc_point",
+ "eval.tests.test_circular_arc_linear_variants.test_diag_arc_length_semicircle_radius2",
+ "eval.tests.test_circular_arc_linear_variants.test_diag_arc_nearest_points_to_centre",
+ "eval.tests.test_circular_arc_linear_variants.test_diag_arc_nearest_points_to_horizontal_line",
+ "eval.tests.test_circular_arc_linear_variants.test_diag_arc_nearest_points_to_off_arc_point",
+ "eval.tests.test_circular_arc_linear_variants.test_diag_arc_reverse_midpoints",
+ "eval.tests.test_circular_arc_linear_variants.test_diag_arc_split_vertical_through_apex",
+ "eval.tests.test_circular_arc_linear_variants.test_envelope_linear_arc_is_flat_box",
+ "eval.tests.test_circular_arc_linear_variants.test_length_linear_arc_chord",
+ "eval.tests.test_circular_arc_linear_variants.test_linear_arc_difference_by_vertical_unchanged",
+ "eval.tests.test_circular_arc_linear_variants.test_linear_arc_intersection_endpoint_point",
+ "eval.tests.test_circular_arc_linear_variants.test_linear_arc_intersection_with_vertical_empty",
+ "eval.tests.test_circular_arc_linear_variants.test_linear_arc_nearest_points_above",
+ "eval.tests.test_circular_arc_linear_variants.test_linear_arc_nearest_points_to_end_aligned",
+ "eval.tests.test_circular_arc_linear_variants.test_linear_arc_split_by_crossing_vertical_unsplit",
+ "eval.tests.test_circular_arc_linear_variants.test_reverse_closed_circle_string_four_points",
+ "eval.tests.test_circular_arc_linear_variants.test_reverse_linear_arc_points_only",
+ "eval.tests.test_circular_arc_ops.test_arc_to_line_split_distance",
+ "eval.tests.test_circular_arc_ops.test_big_arc_distance_to_interior_point",
+ "eval.tests.test_circular_arc_ops.test_big_arc_nearest_points_to_interior_point",
+ "eval.tests.test_circular_arc_ops.test_buffer_compoundcurve_raises_exact_stderr",
+ "eval.tests.test_circular_arc_ops.test_cliprect_curved_raises_exact_stderr",
+ "eval.tests.test_circular_arc_ops.test_cw_arc_distance_to_line_below",
+ "eval.tests.test_circular_arc_ops.test_cw_arc_nearest_points_below",
+ "eval.tests.test_circular_arc_ops.test_difference_disjoint_ring_from_overlapping",
+ "eval.tests.test_circular_arc_ops.test_disjoint_arcs_symdifference_keeps_both",
+ "eval.tests.test_circular_arc_ops.test_geojson_format_curved_raises_exact_stderr",
+ "eval.tests.test_circular_arc_ops.test_half_radius_arc_length",
+ "eval.tests.test_circular_arc_ops.test_reverse_z_arc_keeps_z_ordinates",
+ "eval.tests.test_circular_arc_ops.test_separated_arcs_distance",
+ "eval.tests.test_circular_arc_ops.test_separated_arcs_nearest_points",
+ "eval.tests.test_circular_arc_ops.test_share_endpoint_arcs_intersection_is_point",
+ "eval.tests.test_circular_arc_ops.test_split_arc_by_endpoint_point_unsplit",
+ "eval.tests.test_circular_arc_ops.test_split_arc_by_midpoint_point",
+ "eval.tests.test_circular_arc_ops.test_split_arc_by_non_crossing_line_unsplit",
+ "eval.tests.test_circular_arc_ops.test_split_closed_circle_by_x_axis_chord",
+ "eval.tests.test_circular_arc_ops.test_split_compoundcurve_across_arc_deep_linearization",
+ "eval.tests.test_circular_arc_ops.test_split_compoundcurve_at_line_section",
+ "eval.tests.test_circular_arc_ops.test_split_m_arc_interpolates_midpoint_m",
+ "eval.tests.test_circular_arc_ops.test_split_semicircle_by_diagonal_chord",
+ "eval.tests.test_circular_arc_ops.test_split_semicircle_by_tangent_at_apex",
+ "eval.tests.test_circular_arc_ops.test_split_semicircle_by_vertical_midpoint",
+ "eval.tests.test_circular_arc_ops.test_split_wide_270deg_arc_interpolates_split",
+ "eval.tests.test_circular_arc_ops.test_split_z_arc_interpolates_midpoint_z",
+ "eval.tests.test_circular_arc_ops.test_symdifference_two_overlapping_closed_rings",
+ "eval.tests.test_circular_arc_ops.test_union_two_overlapping_closed_rings",
+ "eval.tests.test_circular_arc_ops.test_wkb_format_curved_is_supported",
+ "eval.tests.test_compound_curve.test_compound_curve_boundary_closed_linear",
+ "eval.tests.test_compound_curve.test_compound_curve_boundary_curved_rejected",
+ "eval.tests.test_compound_curve.test_compound_curve_boundary_linear",
+ "eval.tests.test_compound_curve.test_compound_curve_convex_hull_curved_rejected",
+ "eval.tests.test_compound_curve.test_compound_curve_convex_hull_linear",
+ "eval.tests.test_compound_curve.test_compound_curve_copy_curved_round_trip",
+ "eval.tests.test_compound_curve.test_compound_curve_copy_m",
+ "eval.tests.test_compound_curve.test_compound_curve_copy_round_trip",
+ "eval.tests.test_compound_curve.test_compound_curve_copy_z",
+ "eval.tests.test_compound_curve.test_compound_curve_copy_zm",
+ "eval.tests.test_compound_curve.test_compound_curve_difference_linearizes",
+ "eval.tests.test_compound_curve.test_compound_curve_distinct_endpoint_distance",
+ "eval.tests.test_compound_curve.test_compound_curve_empty_round_trip",
+ "eval.tests.test_compound_curve.test_compound_curve_empty_section_rejected",
+ "eval.tests.test_compound_curve.test_compound_curve_envelope_empty",
+ "eval.tests.test_compound_curve.test_compound_curve_envelope_linear",
+ "eval.tests.test_compound_curve.test_compound_curve_has_m",
+ "eval.tests.test_compound_curve.test_compound_curve_has_z",
+ "eval.tests.test_compound_curve.test_compound_curve_length_closed_linear",
+ "eval.tests.test_compound_curve.test_compound_curve_length_curved",
+ "eval.tests.test_compound_curve.test_compound_curve_length_empty_zero",
+ "eval.tests.test_compound_curve.test_compound_curve_length_linear",
+ "eval.tests.test_compound_curve.test_compound_curve_line_merge_linear",
+ "eval.tests.test_compound_curve.test_compound_curve_make_valid_rejects_linear",
+ "eval.tests.test_compound_curve.test_compound_curve_non_contiguous_rejected",
+ "eval.tests.test_compound_curve.test_compound_curve_normalize_closed_already_normalized",
+ "eval.tests.test_compound_curve.test_compound_curve_normalize_closed_ccw_reverses",
+ "eval.tests.test_compound_curve.test_compound_curve_normalize_closed_reorders_minpoint",
+ "eval.tests.test_compound_curve.test_compound_curve_normalize_empty",
+ "eval.tests.test_compound_curve.test_compound_curve_normalize_open_start_gt_end",
+ "eval.tests.test_compound_curve.test_compound_curve_normalize_open_start_lt_end",
+ "eval.tests.test_compound_curve.test_compound_curve_offset_curve_rejected",
+ "eval.tests.test_compound_curve.test_compound_curve_relate_to_line",
+ "eval.tests.test_compound_curve.test_compound_curve_reverse_curved",
+ "eval.tests.test_compound_curve.test_compound_curve_reverse_empty",
+ "eval.tests.test_compound_curve.test_compound_curve_reverse_linear",
+ "eval.tests.test_compound_curve.test_compound_curve_simplify_linear",
+ "eval.tests.test_compound_curve.test_compound_curve_single_empty_rejected",
+ "eval.tests.test_compound_curve.test_compound_curve_union_linearizes",
+ "eval.tests.test_construction_extent_ops.test_largest_empty_circle_small_square",
+ "eval.tests.test_construction_extent_ops.test_largest_empty_circle_square_obstacles",
+ "eval.tests.test_construction_extent_ops.test_largest_empty_circle_triangle_obstacles",
+ "eval.tests.test_construction_extent_ops.test_max_diameter_l_shape",
+ "eval.tests.test_construction_extent_ops.test_max_diameter_multipoint",
+ "eval.tests.test_construction_extent_ops.test_max_inscribed_circle_l_shape",
+ "eval.tests.test_construction_extent_ops.test_max_inscribed_circle_large_square",
+ "eval.tests.test_construction_extent_ops.test_max_inscribed_circle_triangle",
+ "eval.tests.test_construction_extent_ops.test_min_area_rectangle_L_shape",
+ "eval.tests.test_construction_extent_ops.test_min_area_rectangle_axes_aligned_square",
+ "eval.tests.test_construction_extent_ops.test_min_area_rectangle_point_degenerate",
+ "eval.tests.test_construction_extent_ops.test_min_area_rectangle_right_triangle",
+ "eval.tests.test_construction_extent_ops.test_min_area_rectangle_rotated_quad",
+ "eval.tests.test_construction_extent_ops.test_min_area_rectangle_slanted_line_degenerate",
+ "eval.tests.test_construction_extent_ops.test_min_area_rectangle_wide_strip",
+ "eval.tests.test_construction_extent_ops.test_min_bounding_circle_right_triangle",
+ "eval.tests.test_construction_extent_ops.test_min_bounding_circle_segment_bisector",
+ "eval.tests.test_construction_extent_ops.test_min_diameter_line_segment",
+ "eval.tests.test_construction_extent_ops.test_min_diameter_point_degenerate",
+ "eval.tests.test_construction_extent_ops.test_min_diameter_right_triangle",
+ "eval.tests.test_construction_extent_ops.test_min_diameter_slanted_parallelogram",
+ "eval.tests.test_coordinate_geometry.test_buffer_interpolates_xy_only_on_z_input",
+ "eval.tests.test_coordinate_geometry.test_convex_hull_carries_z",
+ "eval.tests.test_coordinate_geometry.test_hasz_collection_of_xy_mixed_with_z",
+ "eval.tests.test_coordinate_geometry.test_hasz_dropped_by_normalize",
+ "eval.tests.test_coordinate_geometry.test_intersection_interpolates_z",
+ "eval.tests.test_coordinate_geometry.test_point_to_point_distance_is_euclidean",
+ "eval.tests.test_coordinate_geometry.test_scientific_negative_large_coordinate_round_trip",
+ "eval.tests.test_coordinate_geometry.test_z_point_distance_uses_2d_components",
+ "eval.tests.test_coordinate_getnull.test_interpolate_empty_multilinestring_returns_null",
+ "eval.tests.test_coordinate_getnull.test_interpolate_m_empty_line_returns_null",
+ "eval.tests.test_coordinate_getnull.test_interpolate_negative_distance_from_start",
+ "eval.tests.test_coordinate_getnull.test_interpolate_nonempty_line_is_not_null",
+ "eval.tests.test_coordinate_getnull.test_interpolate_plain_empty_line_returns_null",
+ "eval.tests.test_coordinate_getnull.test_interpolate_z_empty_line_returns_null",
+ "eval.tests.test_coordinate_getnull.test_interpolate_zm_empty_line_returns_null",
+ "eval.tests.test_coordinate_values.test_extract_line_full",
+ "eval.tests.test_coordinate_values.test_extract_line_interior_segment",
+ "eval.tests.test_coordinate_values.test_frechet_distance_metrics",
+ "eval.tests.test_coordinate_values.test_hasm_polygon_m_true",
+ "eval.tests.test_coordinate_values.test_hasm_xy_polygon_false",
+ "eval.tests.test_coordinate_values.test_hasz_collection_containing_z_true",
+ "eval.tests.test_coordinate_values.test_hasz_minus_zero_clear",
+ "eval.tests.test_coordinate_values.test_hasz_multipoint_z_true",
+ "eval.tests.test_coordinate_values.test_hasz_polygon_z_preserved",
+ "eval.tests.test_coordinate_values.test_hasz_xy_line_false",
+ "eval.tests.test_coordinate_values.test_hasz_xyz_line_true",
+ "eval.tests.test_coordinate_values.test_hausdorff_distance_metrics",
+ "eval.tests.test_coordinate_values.test_interpolate_point_along_z_carries_ordinate",
+ "eval.tests.test_coordinate_values.test_interpolate_start_point",
+ "eval.tests.test_coordinate_values.test_large_magnitude_coordinate_renders_scientific",
+ "eval.tests.test_coordinate_values.test_m_only_point_preserved",
+ "eval.tests.test_coordinate_values.test_nearest_points_coordinate_pair",
+ "eval.tests.test_coordinate_values.test_output_precision_negative_leaves_full_precision",
+ "eval.tests.test_coordinate_values.test_output_precision_rounds_zygote_ordinates",
+ "eval.tests.test_coordinate_values.test_projection_distance",
+ "eval.tests.test_coordinate_values.test_remove_repeated_points_collapses_duplicates",
+ "eval.tests.test_coordinate_values.test_remove_repeated_points_within_tolerance",
+ "eval.tests.test_coordinate_values.test_scientific_notation_tiny_coordinate",
+ "eval.tests.test_coordinate_values.test_wkb_linestring_hex",
+ "eval.tests.test_coordinate_values.test_wkb_point_hex_header",
+ "eval.tests.test_coordinate_values.test_wkb_point_z_has_zm_flag",
+ "eval.tests.test_coordinate_values.test_z_preserved_in_multipoint",
+ "eval.tests.test_coordinate_values.test_zm_preserved_in_polygon",
+ "eval.tests.test_coordinateseq_core.test_coverage_validate_overlap_reports_gap_lines",
+ "eval.tests.test_coordinateseq_core.test_coverage_validate_valid_silent",
+ "eval.tests.test_coordinateseq_core.test_delaunay_builds_from_site_sequence",
+ "eval.tests.test_coordinateseq_core.test_delaunay_four_corners_two_triangles",
+ "eval.tests.test_coordinateseq_core.test_hasm_multilinestring_m",
+ "eval.tests.test_coordinateseq_core.test_hasm_point_m_drives_get_ordinate_m",
+ "eval.tests.test_coordinateseq_core.test_hasm_point_zm_drives_xyz_m_branch",
+ "eval.tests.test_coordinateseq_core.test_hasz_point_drives_get_ordinate_z",
+ "eval.tests.test_coordinateseq_core.test_hasz_xy_point_no_z_ordinate",
+ "eval.tests.test_coordinateseq_core.test_interpolate_m_line_keeps_2d_coordinate",
+ "eval.tests.test_coordinateseq_core.test_min_bounding_circle_two_point_line",
+ "eval.tests.test_coordinateseq_core.test_mixed_multipoint_union_dedups",
+ "eval.tests.test_coordinateseq_core.test_mixed_point_union_sorts_sequence",
+ "eval.tests.test_coordinateseq_core.test_node_doubled_vertex_collinear",
+ "eval.tests.test_coordinateseq_core.test_node_line_with_repeated_vertex",
+ "eval.tests.test_coordinateseq_core.test_normalize_closes_unclosed_ring",
+ "eval.tests.test_coordinateseq_core.test_normalize_linestring_reorients",
+ "eval.tests.test_coordinateseq_core.test_normalize_ring_starting_at_min_unchanged",
+ "eval.tests.test_coordinateseq_core.test_normalize_scrolls_ring_to_min_vertex",
+ "eval.tests.test_coordinateseq_core.test_remove_repeated_points_collapses_block",
+ "eval.tests.test_coordinateseq_core.test_remove_repeated_points_keeps_distinct",
+ "eval.tests.test_coordinateseq_core.test_remove_repeated_points_polygon_ring",
+ "eval.tests.test_coordinateseq_core.test_reverse_m_line_stride4",
+ "eval.tests.test_coordinateseq_core.test_reverse_polygon_m_ring_stride4",
+ "eval.tests.test_coordinateseq_core.test_reverse_xy_line_keeps_2d",
+ "eval.tests.test_coordinateseq_core.test_reverse_zm_line_stride4",
+ "eval.tests.test_coordinateseq_core.test_split_linestring_by_endpoint_unsplit",
+ "eval.tests.test_coordinateseq_core.test_split_linestring_flips_zm_state",
+ "eval.tests.test_coordinateseq_core.test_split_polygon_by_vertical_line",
+ "eval.tests.test_coordinateseq_core.test_split_three_interior_points_quadruples",
+ "eval.tests.test_coordinateseq_core.test_symdifference_two_multipoints_sorted",
+ "eval.tests.test_coordinateseq_core.test_union_line_with_on_point_dedups",
+ "eval.tests.test_curve_dimensional_variants.test_cc_z_difference_at_vertical_line",
+ "eval.tests.test_curve_dimensional_variants.test_cc_z_intersection_container_preserved",
+ "eval.tests.test_curve_dimensional_variants.test_cc_z_node_preserves_sections",
+ "eval.tests.test_curve_dimensional_variants.test_cc_z_reverse_reorders_sections",
+ "eval.tests.test_curve_dimensional_variants.test_cc_zm_length",
+ "eval.tests.test_curve_dimensional_variants.test_cc_zm_node_keeps_both_dimensions",
+ "eval.tests.test_curve_dimensional_variants.test_cs_cw_z_reverse_flips_orientation",
+ "eval.tests.test_curve_dimensional_variants.test_cs_m_difference_chord_interpolates_m",
+ "eval.tests.test_curve_dimensional_variants.test_cs_m_distance_to_point",
+ "eval.tests.test_curve_dimensional_variants.test_cs_m_intersection_container_clips_back",
+ "eval.tests.test_curve_dimensional_variants.test_cs_m_symdifference_emits_nan_line_m",
+ "eval.tests.test_curve_dimensional_variants.test_cs_z_difference_chord_interpolates_z",
+ "eval.tests.test_curve_dimensional_variants.test_cs_z_difference_self_empty",
+ "eval.tests.test_curve_dimensional_variants.test_cs_z_nearest_points_to_far_point",
+ "eval.tests.test_curve_dimensional_variants.test_cs_z_node_wraps_in_multicurve",
+ "eval.tests.test_curve_dimensional_variants.test_cs_zm_area_is_zero",
+ "eval.tests.test_curve_dimensional_variants.test_cs_zm_copy_round_trip",
+ "eval.tests.test_curve_dimensional_variants.test_cs_zm_difference_chord_carries_both_dimensions",
+ "eval.tests.test_curve_dimensional_variants.test_cs_zm_distance_to_off_arc_point",
+ "eval.tests.test_curve_dimensional_variants.test_cs_zm_intersection_chord_points",
+ "eval.tests.test_curve_dimensional_variants.test_cs_zm_length_semicircle",
+ "eval.tests.test_curve_dimensional_variants.test_cs_zm_nearest_points_apex",
+ "eval.tests.test_curve_dimensional_variants.test_curvepolygon_z_area_full_circle",
+ "eval.tests.test_curve_dimensional_variants.test_curvepolygon_z_difference_vertical_splits_ring",
+ "eval.tests.test_curve_dimensional_variants.test_curvepolygon_z_intersection_vertical_line",
+ "eval.tests.test_curve_dimensional_variants.test_curvepolygon_z_length_perimeter",
+ "eval.tests.test_curve_dimensional_variants.test_curvepolygon_z_node_triangulates_arcs",
+ "eval.tests.test_curve_dimensional_variants.test_curvepolygon_z_normalize_reorients_start",
+ "eval.tests.test_curve_dimensional_variants.test_curvepolygon_zm_area_square_circle",
+ "eval.tests.test_curve_dimensional_variants.test_curvepolygon_zm_intersection_vertical_carries_m",
+ "eval.tests.test_curve_dimensional_variants.test_curvepolygon_zm_reverse_reorients_ring",
+ "eval.tests.test_curvepolygon.test_curvepolygon_area",
+ "eval.tests.test_curvepolygon.test_curvepolygon_boundary_rejected_for_curved",
+ "eval.tests.test_curvepolygon.test_curvepolygon_buffer_rejects_curved",
+ "eval.tests.test_curvepolygon.test_curvepolygon_centroid_rejected_for_curved",
+ "eval.tests.test_curvepolygon.test_curvepolygon_copy_round_trip",
+ "eval.tests.test_curvepolygon.test_curvepolygon_difference_with_interior_point_turns_to_triangle",
+ "eval.tests.test_curvepolygon.test_curvepolygon_distance_prep_rejects_curved",
+ "eval.tests.test_curvepolygon.test_curvepolygon_distance_to_disjoint_point",
+ "eval.tests.test_curvepolygon.test_curvepolygon_envelope_matches_arc_extent",
+ "eval.tests.test_curvepolygon.test_curvepolygon_inside_linear_polygon_within_false",
+ "eval.tests.test_curvepolygon.test_curvepolygon_intersection_with_line_linearises",
+ "eval.tests.test_curvepolygon.test_curvepolygon_is_simple_rejected_for_curved",
+ "eval.tests.test_curvepolygon.test_curvepolygon_normalize_reorders_shell",
+ "eval.tests.test_curvepolygon.test_curvepolygon_reverse",
+ "eval.tests.test_curvepolygon.test_curvepolygon_symdifference_with_leaving_point",
+ "eval.tests.test_curvepolygon.test_curvepolygon_union_with_disjoint_point",
+ "eval.tests.test_curvepolygon.test_curvepolygon_with_hole_area",
+ "eval.tests.test_curvepolygon.test_curvepolygon_with_hole_copy",
+ "eval.tests.test_curvepolygon.test_curvepolygon_with_hole_normalize_reverses_hole",
+ "eval.tests.test_curvepolygon.test_curvepolygon_with_hole_reverse",
+ "eval.tests.test_curvepolygon.test_empty_curvepolygon_area_zero",
+ "eval.tests.test_curvepolygon.test_empty_curvepolygon_normalize_preserved",
+ "eval.tests.test_curvepolygon.test_empty_curvepolygon_round_trip",
+ "eval.tests.test_curvepolygon.test_multicurve_copy",
+ "eval.tests.test_curvepolygon.test_multisurface_copy",
+ "eval.tests.test_curvepolygon_area.test_curvepolygon_area_donut_shell_minus_hole",
+ "eval.tests.test_curvepolygon_area.test_curvepolygon_area_half_radius_disk",
+ "eval.tests.test_curvepolygon_area.test_curvepolygon_area_unit_disk",
+ "eval.tests.test_curvepolygon_area.test_curvepolygon_difference_containing_polygon_empty",
+ "eval.tests.test_curvepolygon_area.test_curvepolygon_length_donut_outer_plus_inner",
+ "eval.tests.test_curvepolygon_area.test_curvepolygon_length_half_radius",
+ "eval.tests.test_curvepolygon_area.test_curvepolygon_length_perimeter_unit",
+ "eval.tests.test_curvepolygon_area.test_curvepolygon_reverse_flips_ring",
+ "eval.tests.test_curvepolygon_area.test_curvepolygon_union_self_linearizes_ring",
+ "eval.tests.test_curvepolygon_area.test_multicurve_difference_line_arc_split",
+ "eval.tests.test_curvepolygon_area.test_multicurve_intersection_containing_polygon_roundtrip",
+ "eval.tests.test_curvepolygon_area.test_multicurve_reverse_members",
+ "eval.tests.test_curvepolygon_boundary.test_curvepolygon_boundary_holes_via_node",
+ "eval.tests.test_curvepolygon_boundary.test_curvepolygon_boundary_linring_conversion_via_node",
+ "eval.tests.test_curvepolygon_boundary.test_curvepolygon_boundary_single_ring_via_node",
+ "eval.tests.test_curvepolygon_boundary.test_curvepolygon_buffer_rejects_curved_hole",
+ "eval.tests.test_curvepolygon_boundary.test_curvepolygon_centroid_rejects_curved_hole",
+ "eval.tests.test_curvepolygon_boundary.test_curvepolygon_convex_hull_linearizes_curved_hole",
+ "eval.tests.test_curvepolygon_boundary.test_curvepolygon_copy_two_holes",
+ "eval.tests.test_curvepolygon_boundary.test_curvepolygon_distance_to_curved_hole_interior",
+ "eval.tests.test_curvepolygon_boundary.test_curvepolygon_intersection_keeps_hole_with_clip",
+ "eval.tests.test_curvepolygon_boundary.test_curvepolygon_is_valid_rejects_curved_hole",
+ "eval.tests.test_curvepolygon_boundary.test_curvepolygon_multi_hole_area",
+ "eval.tests.test_curvepolygon_boundary.test_curvepolygon_multi_hole_normalize",
+ "eval.tests.test_curvepolygon_boundary.test_curvepolygon_multi_hole_reverse",
+ "eval.tests.test_curvepolygon_donut_overlay.test_bigger_donut_area_closed_form",
+ "eval.tests.test_curvepolygon_donut_overlay.test_bigger_donut_reverse_flips_both_rings",
+ "eval.tests.test_curvepolygon_donut_overlay.test_donut_difference_containing_polygon_empty",
+ "eval.tests.test_curvepolygon_donut_overlay.test_donut_intersect_anti_diagonal_rim_only",
+ "eval.tests.test_curvepolygon_donut_overlay.test_donut_intersect_diagonal_through_shell_and_hole",
+ "eval.tests.test_curvepolygon_donut_overlay.test_donut_intersect_horizontal_left_side_only",
+ "eval.tests.test_curvepolygon_donut_overlay.test_donut_intersect_horizontal_line_three_pieces",
+ "eval.tests.test_curvepolygon_donut_overlay.test_donut_intersect_polygon_filling_part_of_hole",
+ "eval.tests.test_curvepolygon_donut_overlay.test_donut_intersect_raised_horizontal_ray",
+ "eval.tests.test_curvepolygon_donut_overlay.test_donut_intersect_short_horizontal_two_pieces",
+ "eval.tests.test_curvepolygon_donut_overlay.test_donut_intersect_vertical_through_left_rim",
+ "eval.tests.test_curvepolygon_donut_overlay.test_donut_intersect_vertical_thru_hole_center",
+ "eval.tests.test_curvepolygon_donut_overlay.test_donut_union_self_linearizes_shell_and_hole",
+ "eval.tests.test_curvepolygon_donut_overlay.test_hole_ring_multicurve_unions_into_donut",
+ "eval.tests.test_curvepolygon_mixed_rings.test_all_linear_curvepolygon_area",
+ "eval.tests.test_curvepolygon_mixed_rings.test_all_linear_curvepolygon_copy_round_trip",
+ "eval.tests.test_curvepolygon_mixed_rings.test_all_linear_curvepolygon_length",
+ "eval.tests.test_curvepolygon_mixed_rings.test_curved_shell_linear_hole_area",
+ "eval.tests.test_curvepolygon_mixed_rings.test_curved_shell_linear_hole_copy_round_trip",
+ "eval.tests.test_curvepolygon_mixed_rings.test_curved_shell_linear_hole_length",
+ "eval.tests.test_curvepolygon_mixed_rings.test_mixed_hole_types_area_subtracts_both",
+ "eval.tests.test_curvepolygon_mixed_rings.test_mixed_hole_types_length",
+ "eval.tests.test_curvepolygon_mixed_rings.test_mixed_ring_types_copy_round_trip",
+ "eval.tests.test_curvepolygon_mixed_rings.test_node_all_linear_curvepolygon_no_curved_output",
+ "eval.tests.test_curvepolygon_mixed_rings.test_node_curved_shell_linear_hole_converts_linerring",
+ "eval.tests.test_curvepolygon_mixed_rings.test_node_mixed_hole_types_both_converted",
+ "eval.tests.test_curvepolygon_mixed_rings.test_normalize_all_linear_curvepolygon",
+ "eval.tests.test_curvepolygon_mixed_rings.test_normalize_curved_shell_linear_hole",
+ "eval.tests.test_curvepolygon_mixed_rings.test_normalize_mixed_hole_types_reorders",
+ "eval.tests.test_curvepolygon_mixed_rings.test_reverse_all_linear_curvepolygon",
+ "eval.tests.test_curvepolygon_mixed_rings.test_reverse_curved_shell_linear_hole",
+ "eval.tests.test_curvepolygon_mixed_rings.test_reverse_mixed_hole_types",
+ "eval.tests.test_curvepolygon_point_location.test_ccw_disc_arc_end_boundary",
+ "eval.tests.test_curvepolygon_point_location.test_ccw_disc_arc_mid_boundary",
+ "eval.tests.test_curvepolygon_point_location.test_ccw_disc_arc_start_boundary",
+ "eval.tests.test_curvepolygon_point_location.test_ccw_disc_centre_interior",
+ "eval.tests.test_curvepolygon_point_location.test_ccw_disc_left_rim",
+ "eval.tests.test_curvepolygon_point_location.test_ccw_disc_ne_quadrant_inside",
+ "eval.tests.test_curvepolygon_point_location.test_ccw_disc_nw_quadrant_interior",
+ "eval.tests.test_curvepolygon_point_location.test_ccw_disc_outside_between_arms",
+ "eval.tests.test_curvepolygon_point_location.test_ccw_disc_outside_east",
+ "eval.tests.test_curvepolygon_point_location.test_ccw_disc_outside_far_north",
+ "eval.tests.test_curvepolygon_point_location.test_ccw_disc_outside_leftwest",
+ "eval.tests.test_curvepolygon_point_location.test_ccw_disc_se_quadrant_interior",
+ "eval.tests.test_curvepolygon_point_location.test_ccw_disc_south_edge_interior",
+ "eval.tests.test_curvepolygon_point_location.test_curvepolygon_envelope_of_donut",
+ "eval.tests.test_curvepolygon_point_location.test_curvepolygon_envelope_span",
+ "eval.tests.test_curvepolygon_point_location.test_curvepolygon_has_m_absent",
+ "eval.tests.test_curvepolygon_point_location.test_curvepolygon_has_z_absent",
+ "eval.tests.test_curvepolygon_point_location.test_curvepolygon_is_empty",
+ "eval.tests.test_curvepolygon_point_location.test_curvepolygon_normalize_idempotent",
+ "eval.tests.test_curvepolygon_point_location.test_cw_disc_arc_mid_boundary",
+ "eval.tests.test_curvepolygon_point_location.test_cw_disc_centre_interior",
+ "eval.tests.test_curvepolygon_point_location.test_cw_disc_ne_quadrant_interior",
+ "eval.tests.test_curvepolygon_point_location.test_cw_disc_outside_east",
+ "eval.tests.test_curvepolygon_point_location.test_cw_disc_outside_far_west",
+ "eval.tests.test_curvepolygon_point_location.test_cw_disc_south_edge_interior",
+ "eval.tests.test_curvepolygon_point_location.test_cw_disc_sw_quadrant_interior",
+ "eval.tests.test_curvepolygon_point_location.test_donut_point_annulus_ne_arc",
+ "eval.tests.test_curvepolygon_point_location.test_donut_point_annulus_north",
+ "eval.tests.test_curvepolygon_point_location.test_donut_point_annulus_upper_left",
+ "eval.tests.test_curvepolygon_point_location.test_donut_point_in_hole_interior",
+ "eval.tests.test_curvepolygon_point_location.test_donut_point_in_hole_upper",
+ "eval.tests.test_curvepolygon_point_location.test_donut_point_left_gap",
+ "eval.tests.test_curvepolygon_point_location.test_donut_point_on_inner_arc",
+ "eval.tests.test_curvepolygon_point_location.test_donut_point_on_inner_ring_vertex",
+ "eval.tests.test_curvepolygon_point_location.test_donut_point_outer_boundary",
+ "eval.tests.test_curvepolygon_point_location.test_donut_point_outside",
+ "eval.tests.test_dimension.test_predicate_crosses_crossing_lines",
+ "eval.tests.test_dimension.test_predicate_crosses_line_polygon",
+ "eval.tests.test_dimension.test_predicate_disjoint_disjoint_points",
+ "eval.tests.test_dimension.test_predicate_disjoint_outside_line",
+ "eval.tests.test_dimension.test_predicate_equals_reversed_line",
+ "eval.tests.test_dimension.test_predicate_equals_same_line",
+ "eval.tests.test_dimension.test_predicate_intersects_line_polygon",
+ "eval.tests.test_dimension.test_predicate_touches_polygon_point_corner",
+ "eval.tests.test_dimension.test_predicate_within_point_polygon",
+ "eval.tests.test_dimension.test_relate_disjoint_lines_matrix",
+ "eval.tests.test_dimension.test_relate_line_crossing_polygon_matrix",
+ "eval.tests.test_dimension.test_relate_line_inside_polygon_matrix",
+ "eval.tests.test_dimension.test_relate_multilinestring_line_polygon_matrix",
+ "eval.tests.test_dimension.test_relate_multipoint_on_polygon_boundary_matrix",
+ "eval.tests.test_dimension.test_relate_polygon_line_on_edge_matrix",
+ "eval.tests.test_dimension.test_relate_polygons_share_edge_matrix",
+ "eval.tests.test_dimension.test_relate_two_disjoint_points_matrix",
+ "eval.tests.test_dimension.test_relate_two_equal_polygons_matrix",
+ "eval.tests.test_dimension.test_relatebnr_crossing_lines_multivalent",
+ "eval.tests.test_dimension.test_relatebnr_invalid_rule_rejected",
+ "eval.tests.test_dimension.test_relatebnr_line_along_boundary_monovalent",
+ "eval.tests.test_dimension.test_relatebnr_line_from_interior_crossing_endpoint_rule",
+ "eval.tests.test_dimension.test_relatebnr_line_inside_polygon_mod2",
+ "eval.tests.test_envelope.test_envelope_drops_z_ordinate",
+ "eval.tests.test_envelope.test_envelope_of_collection_combines_component_extents",
+ "eval.tests.test_envelope.test_envelope_of_collinear_zero_area",
+ "eval.tests.test_envelope.test_envelope_of_diagonal_polygon_is_polygon",
+ "eval.tests.test_envelope.test_envelope_of_empty_collection_is_null",
+ "eval.tests.test_envelope.test_envelope_of_empty_point_is_null",
+ "eval.tests.test_envelope.test_envelope_of_empty_polygon_is_null",
+ "eval.tests.test_envelope.test_envelope_of_large_polygon",
+ "eval.tests.test_envelope.test_envelope_of_linestring_is_polygon",
+ "eval.tests.test_envelope.test_envelope_of_multipoint_is_polygon",
+ "eval.tests.test_envelope.test_envelope_of_point_is_point",
+ "eval.tests.test_envelope_core.test_envelope_centre_via_largest_empty_circle",
+ "eval.tests.test_envelope_core.test_envelope_centre_via_max_inscribed_circle",
+ "eval.tests.test_envelope_core.test_envelope_covers_line_crossing_envelope_false",
+ "eval.tests.test_envelope_core.test_envelope_covers_line_inside_true",
+ "eval.tests.test_envelope_core.test_envelope_covers_point_inside_geometry",
+ "eval.tests.test_envelope_core.test_envelope_covers_point_on_boundary_true",
+ "eval.tests.test_envelope_core.test_envelope_covers_point_on_lower_left_envelope_false",
+ "eval.tests.test_envelope_core.test_envelope_covers_point_outside_envelope_false",
+ "eval.tests.test_envelope_core.test_envelope_equals_axis_aligned_same_bounds_true",
+ "eval.tests.test_envelope_core.test_envelope_equals_different_extent_false",
+ "eval.tests.test_envelope_core.test_envelope_equals_disjoint_different_boxes_false",
+ "eval.tests.test_envelope_core.test_envelope_equals_identical_geometry_true",
+ "eval.tests.test_envelope_core.test_envelope_equals_point_geometry_false",
+ "eval.tests.test_envelope_core.test_envelope_equals_reflected_same_box_true",
+ "eval.tests.test_envelope_core.test_envelope_equals_two_different_identical_bbox_geometries",
+ "eval.tests.test_envelope_core.test_envelope_expand_by_via_voronoi_corners",
+ "eval.tests.test_envelope_core.test_envelope_expand_by_via_voronoi_frame",
+ "eval.tests.test_envelope_core.test_envelope_intersection_contained_smaller",
+ "eval.tests.test_envelope_core.test_envelope_intersection_disjoint_is_empty",
+ "eval.tests.test_envelope_core.test_envelope_intersection_overlapping_boxes",
+ "eval.tests.test_envelope_core.test_envelope_intersection_partial_overlap",
+ "eval.tests.test_envelope_core.test_envelope_intersection_touch_at_edge_is_line",
+ "eval.tests.test_envelope_core.test_envelope_intersection_two_double_box_clip",
+ "eval.tests.test_envelope_core.test_envelope_intersects_disjoint_box_fast_reject",
+ "eval.tests.test_envelope_core.test_envelope_isfinite_via_coverage_clean",
+ "eval.tests.test_envelope_core.test_largest_empty_circle_empty_polygon_rejects",
+ "eval.tests.test_envelope_core.test_voronoi_empty_input_output_empty",
+ "eval.tests.test_envelope_core.test_voronoi_single_point_no_cells",
+ "eval.tests.test_envelope_geometry.test_centroid_of_polygon_with_hole",
+ "eval.tests.test_envelope_geometry.test_clip_rect_by_point_envelope_rejected",
+ "eval.tests.test_envelope_geometry.test_clip_rect_clip_by_polygon_envelope",
+ "eval.tests.test_envelope_geometry.test_clip_rect_clips_line_to_bbox",
+ "eval.tests.test_envelope_geometry.test_clip_rect_empty_b_clips_to_empty",
+ "eval.tests.test_envelope_geometry.test_clip_rect_keeps_point_inside",
+ "eval.tests.test_envelope_geometry.test_clip_rect_multipolygon_partial",
+ "eval.tests.test_envelope_geometry.test_contains_point_far_outside_false",
+ "eval.tests.test_envelope_geometry.test_covers_point_on_polygon_edge_true",
+ "eval.tests.test_envelope_geometry.test_disjoint_separated_polygons_true",
+ "eval.tests.test_envelope_geometry.test_envelope_collection_of_two_points",
+ "eval.tests.test_envelope_geometry.test_envelope_linearring",
+ "eval.tests.test_envelope_geometry.test_envelope_linestring_with_z_drops_ordinate",
+ "eval.tests.test_envelope_geometry.test_envelope_multilinestring_extent",
+ "eval.tests.test_envelope_geometry.test_envelope_multipolygon_union_of_part_extents",
+ "eval.tests.test_envelope_geometry.test_envelope_negative_coordinates",
+ "eval.tests.test_envelope_geometry.test_envelope_single_negative_point",
+ "eval.tests.test_envelope_geometry.test_envelope_tiny_polygon",
+ "eval.tests.test_envelope_geometry.test_envelope_vertical_line_is_degenerate_polygon",
+ "eval.tests.test_envelope_geometry.test_interior_point_empty_polygon",
+ "eval.tests.test_envelope_geometry.test_interior_point_hole_polygon_avoids_hole",
+ "eval.tests.test_envelope_geometry.test_interior_point_line_starts_at_first_endpoint",
+ "eval.tests.test_envelope_geometry.test_interior_point_square_centre",
+ "eval.tests.test_envelope_geometry.test_intersects_disjoint_envelopes_false",
+ "eval.tests.test_envelope_geometry.test_intersects_touching_corner_true",
+ "eval.tests.test_geometry_editor.test_geometry_editor_collection_geometrycollection",
+ "eval.tests.test_geometry_editor.test_geometry_editor_collection_multilinestring",
+ "eval.tests.test_geometry_editor.test_geometry_editor_collection_multipoint",
+ "eval.tests.test_geometry_editor.test_geometry_editor_collection_multipolygon",
+ "eval.tests.test_geometry_editor.test_geometry_editor_collection_polygon_and_point",
+ "eval.tests.test_geometry_editor.test_geometry_editor_curved_rejected",
+ "eval.tests.test_geometry_editor.test_geometry_editor_empty_shell_branch",
+ "eval.tests.test_geometry_editor.test_geometry_editor_linestring_edit_densified",
+ "eval.tests.test_geometry_editor.test_geometry_editor_point_edit_unchanged",
+ "eval.tests.test_geometry_editor.test_geometry_editor_polygon_shell_densified",
+ "eval.tests.test_geometry_editor.test_geometry_editor_polygon_with_hole",
+ "eval.tests.test_geometry_editor.test_geometry_editor_remove_repeated_line",
+ "eval.tests.test_geometry_editor.test_geometry_editor_remove_repeated_multilinestring",
+ "eval.tests.test_geometry_editor.test_geometry_editor_remove_repeated_multipolygon",
+ "eval.tests.test_geometry_editor.test_geometry_editor_remove_repeated_polygon",
+ "eval.tests.test_geometry_editor.test_geometry_editor_short_linestring_unchanged",
+ "eval.tests.test_geometry_factory_extra.test_boundary_linestring_is_endpoints_closed",
+ "eval.tests.test_geometry_factory_extra.test_boundary_point_is_empty",
+ "eval.tests.test_geometry_factory_extra.test_boundary_polygon_ring",
+ "eval.tests.test_geometry_factory_extra.test_boundary_polygon_with_hole_returns_exterior",
+ "eval.tests.test_geometry_factory_extra.test_collect_single_geometry_stays_typed",
+ "eval.tests.test_geometry_factory_extra.test_convex_hull_collinear_points_is_line",
+ "eval.tests.test_geometry_factory_extra.test_convex_hull_of_points",
+ "eval.tests.test_geometry_factory_extra.test_convex_hull_single_point_is_point",
+ "eval.tests.test_geometry_factory_extra.test_explode_collection_into_components",
+ "eval.tests.test_geometry_factory_extra.test_isempty_multilinestring_segments_false",
+ "eval.tests.test_geometry_factory_extra.test_isempty_multipolygon_empty",
+ "eval.tests.test_geometry_factory_extra.test_issimple_crossing_lines_false",
+ "eval.tests.test_geometry_factory_extra.test_issimple_single_line_true",
+ "eval.tests.test_geometry_factory_extra.test_isvalid_self_touching_ring_false",
+ "eval.tests.test_geometry_factory_extra.test_isvalid_valid_polygon_true",
+ "eval.tests.test_geometry_factory_extra.test_reduce_precision_polygon",
+ "eval.tests.test_geometry_factory_extra.test_select_filters_by_predicate",
+ "eval.tests.test_geometry_factory_extra.test_unary_union_identical_parts_collapses",
+ "eval.tests.test_geometry_transformer.test_densify_closed_linear_ring",
+ "eval.tests.test_geometry_transformer.test_densify_collection_preserves_member_types",
+ "eval.tests.test_geometry_transformer.test_densify_empty_linestring_preserved",
+ "eval.tests.test_geometry_transformer.test_densify_linestring_inserts_segment_points",
+ "eval.tests.test_geometry_transformer.test_densify_multipoint_unchanged",
+ "eval.tests.test_geometry_transformer.test_densify_multipolygon_each_part",
+ "eval.tests.test_geometry_transformer.test_densify_nested_collection_preserved",
+ "eval.tests.test_geometry_transformer.test_densify_point_unchanged",
+ "eval.tests.test_geometry_transformer.test_densify_polygon_unchanged_when_segments_short",
+ "eval.tests.test_geometry_transformer.test_simplifydp_circularstring_unchanged",
+ "eval.tests.test_geometry_transformer.test_simplifydp_collection_preserves_component_types",
+ "eval.tests.test_geometry_transformer.test_simplifydp_compoundcurve_drops_linear_wiggle",
+ "eval.tests.test_geometry_transformer.test_simplifydp_empty_polygon_preserved",
+ "eval.tests.test_geometry_transformer.test_simplifydp_flattens_collinear_wiggle",
+ "eval.tests.test_geometry_transformer.test_simplifydp_keeps_large_deviation",
+ "eval.tests.test_geometry_transformer.test_simplifydp_multilinestring_collapses_per_line",
+ "eval.tests.test_geometry_transformer.test_simplifydp_multipoint_unchanged",
+ "eval.tests.test_geometry_transformer.test_simplifydp_point_passes_through",
+ "eval.tests.test_geometry_transformer.test_simplifydp_polygon_ring_simplified",
+ "eval.tests.test_geometry_transformer.test_simplifytp_collection_simplifies_each_member",
+ "eval.tests.test_geometry_transformer.test_simplifytp_linestring_preserves_high_deviation",
+ "eval.tests.test_geometry_transformer.test_simplifytp_polygon_removes_collinear_vertices",
+ "eval.tests.test_geometry_transformer.test_simplifytp_polygon_with_hole_preserves_topology",
+ "eval.tests.test_geometry_transformer.test_split_empty_linestring_keeps_empty_shell",
+ "eval.tests.test_geometry_transformer.test_split_linestring_by_disjoint_point_returns_unsplit",
+ "eval.tests.test_geometry_transformer.test_split_linestring_by_endpoint_returns_unsplit",
+ "eval.tests.test_geometry_transformer.test_split_linestring_by_interior_point",
+ "eval.tests.test_geometry_transformer.test_split_linestring_by_multipoint",
+ "eval.tests.test_geometry_transformer.test_split_multilinestring_by_multipoint",
+ "eval.tests.test_geometry_transformer.test_split_multipoint_keeps_all_components",
+ "eval.tests.test_geometry_transformer.test_split_multipolygon_only_splits_intersected_part",
+ "eval.tests.test_geometry_transformer.test_split_point_by_coincident_point_is_unchanged",
+ "eval.tests.test_geometry_transformer.test_split_polygon_by_interior_linestring",
+ "eval.tests.test_geometry_transformer.test_transformer_prunes_empty_member",
+ "eval.tests.test_geometry_types.test_circularstring_round_trip",
+ "eval.tests.test_geometry_types.test_compoundcurve_round_trip",
+ "eval.tests.test_geometry_types.test_copy_geometrycollection",
+ "eval.tests.test_geometry_types.test_copy_linestring",
+ "eval.tests.test_geometry_types.test_copy_multilinestring",
+ "eval.tests.test_geometry_types.test_copy_multipoint",
+ "eval.tests.test_geometry_types.test_copy_multipolygon",
+ "eval.tests.test_geometry_types.test_copy_point",
+ "eval.tests.test_geometry_types.test_copy_point_negative_coords",
+ "eval.tests.test_geometry_types.test_copy_polygon",
+ "eval.tests.test_geometry_types.test_copy_polygon_with_hole",
+ "eval.tests.test_geometry_types.test_curvepolygon_round_trip",
+ "eval.tests.test_geometry_types.test_empty_geometrycollection_output",
+ "eval.tests.test_geometry_types.test_empty_linestring_output",
+ "eval.tests.test_geometry_types.test_empty_multipolygon_output",
+ "eval.tests.test_geometry_types.test_empty_point_output",
+ "eval.tests.test_geometry_types.test_empty_polygon_output",
+ "eval.tests.test_geometry_types.test_geojson_default_format_is_wkt",
+ "eval.tests.test_geometry_types.test_hasM_2d_point_false",
+ "eval.tests.test_geometry_types.test_hasM_3d_point_false",
+ "eval.tests.test_geometry_types.test_hasM_m_point_true",
+ "eval.tests.test_geometry_types.test_hasM_zm_point_true",
+ "eval.tests.test_geometry_types.test_hasZ_2d_point_false",
+ "eval.tests.test_geometry_types.test_hasZ_3d_point_true",
+ "eval.tests.test_geometry_types.test_hasZ_zm_point_true",
+ "eval.tests.test_geometry_types.test_isempty_empty_collection",
+ "eval.tests.test_geometry_types.test_isempty_empty_linestring",
+ "eval.tests.test_geometry_types.test_isempty_empty_point",
+ "eval.tests.test_geometry_types.test_isempty_empty_polygon",
+ "eval.tests.test_geometry_types.test_isempty_nonempty_point",
+ "eval.tests.test_geometry_types.test_isempty_nonempty_polygon",
+ "eval.tests.test_geometry_types.test_large_coordinates_round_trip_scientific",
+ "eval.tests.test_geometry_types.test_large_negative_coordinate_round_trip",
+ "eval.tests.test_geometry_types.test_linearring_round_trip_as_linestring",
+ "eval.tests.test_geometry_types.test_m_ordinate_preserved_in_round_trip",
+ "eval.tests.test_geometry_types.test_normalize_multipoint_preserves_component_order",
+ "eval.tests.test_geometry_types.test_normalize_polygon_ring_start_orientation",
+ "eval.tests.test_geometry_types.test_normalize_polygon_with_hole_repositions_ring_start",
+ "eval.tests.test_geometry_types.test_reverse_linestring_reverses_coordinate_sequence",
+ "eval.tests.test_geometry_types.test_reverse_multipoint_no_component_reorder",
+ "eval.tests.test_geometry_types.test_reverse_normalizes_linestring_coordinate_record",
+ "eval.tests.test_geometry_types.test_reverse_polygon_reverses_both_rings",
+ "eval.tests.test_geometry_types.test_reverse_spiral_ring",
+ "eval.tests.test_geometry_types.test_z_ordinate_preserved_in_round_trip",
+ "eval.tests.test_geometry_types.test_z_preserved_in_linestring",
+ "eval.tests.test_geometry_types.test_zm_linestring_preserved",
+ "eval.tests.test_geometry_types.test_zm_ordinate_preserved_in_round_trip",
+ "eval.tests.test_heuristic_overlay.test_difference_overlapping_polygons",
+ "eval.tests.test_heuristic_overlay.test_intersection_overlapping_polygons",
+ "eval.tests.test_heuristic_overlay.test_symdifference_disjoint_polygons_fast_combine",
+ "eval.tests.test_heuristic_overlay.test_symdifference_overlapping_polygons_full_overlay",
+ "eval.tests.test_heuristic_overlay.test_union_disjoint_different_dimensions_fast_combine",
+ "eval.tests.test_heuristic_overlay.test_union_disjoint_lines_fast_combine",
+ "eval.tests.test_heuristic_overlay.test_union_disjoint_points_fast_combine",
+ "eval.tests.test_heuristic_overlay.test_union_disjoint_polygons_fast_combine",
+ "eval.tests.test_heuristic_overlay.test_union_empty_gc_with_polygon_drops_empty",
+ "eval.tests.test_heuristic_overlay.test_union_gc_with_multiple_nonempty_not_combinable",
+ "eval.tests.test_heuristic_overlay.test_union_mixed_dimension_gc_structured_overlay",
+ "eval.tests.test_heuristic_overlay.test_union_nested_gc_single_nonempty_fast_combine",
+ "eval.tests.test_heuristic_overlay.test_union_overlapping_polygons_full_overlay",
+ "eval.tests.test_heuristic_overlay.test_union_polygonal_gc_structured_overlay",
+ "eval.tests.test_heuristic_overlay.test_union_two_empty_polygons_both_empty",
+ "eval.tests.test_intersection_matrix.test_predicate_contains_nested_polygon",
+ "eval.tests.test_intersection_matrix.test_predicate_contains_point_interior",
+ "eval.tests.test_intersection_matrix.test_predicate_covered_by_boundary_point",
+ "eval.tests.test_intersection_matrix.test_predicate_covers_boundary_point",
+ "eval.tests.test_intersection_matrix.test_predicate_crosses_false_shared_interior",
+ "eval.tests.test_intersection_matrix.test_predicate_crosses_lines_intersecting",
+ "eval.tests.test_intersection_matrix.test_predicate_disjoint_far_polygons",
+ "eval.tests.test_intersection_matrix.test_predicate_equals_same_line",
+ "eval.tests.test_intersection_matrix.test_predicate_equals_same_point",
+ "eval.tests.test_intersection_matrix.test_predicate_intersects_false_outside_point",
+ "eval.tests.test_intersection_matrix.test_predicate_intersects_true_boundary_point",
+ "eval.tests.test_intersection_matrix.test_predicate_overlaps_lines_partial",
+ "eval.tests.test_intersection_matrix.test_predicate_overlaps_polygons_partial",
+ "eval.tests.test_intersection_matrix.test_predicate_touches_edge_shared_polygons",
+ "eval.tests.test_intersection_matrix.test_predicate_touches_false_for_contained_point",
+ "eval.tests.test_intersection_matrix.test_predicate_touches_line_on_boundary",
+ "eval.tests.test_intersection_matrix.test_predicate_touches_point_on_vertex",
+ "eval.tests.test_intersection_matrix.test_predicate_within_point_interior",
+ "eval.tests.test_intersection_matrix.test_relate_crossing_lines",
+ "eval.tests.test_intersection_matrix.test_relate_disjoint_polygons_exact_matrix",
+ "eval.tests.test_intersection_matrix.test_relate_empty_input",
+ "eval.tests.test_intersection_matrix.test_relate_equal_lines",
+ "eval.tests.test_intersection_matrix.test_relate_line_contained_in_line",
+ "eval.tests.test_intersection_matrix.test_relate_line_crosses_polygon",
+ "eval.tests.test_intersection_matrix.test_relate_line_touches_polygon_boundary",
+ "eval.tests.test_intersection_matrix.test_relate_lines_sharing_an_endpoint",
+ "eval.tests.test_intersection_matrix.test_relate_point_in_polygon_interior",
+ "eval.tests.test_intersection_matrix.test_relate_point_of_reverse_argument_order",
+ "eval.tests.test_intersection_matrix.test_relate_point_on_polygon_boundary",
+ "eval.tests.test_intersection_matrix.test_relate_point_outside_polygon",
+ "eval.tests.test_intersection_matrix.test_relate_polygons_overlap",
+ "eval.tests.test_intersection_matrix.test_relate_two_equal_points",
+ "eval.tests.test_intersection_matrix.test_relatebNR_endpoint_rule_on_open_line",
+ "eval.tests.test_intersection_matrix.test_relatebNR_polygon_line_through_vertex_multivalent",
+ "eval.tests.test_intersection_matrix.test_relatebNR_polygon_line_touching_vertex_mod2",
+ "eval.tests.test_intersection_matrix.test_relatebNR_polygon_line_touching_vertex_monovalent",
+ "eval.tests.test_io_factory.test_area_of_empty_polygon_zero",
+ "eval.tests.test_io_factory.test_area_of_large_rectangle",
+ "eval.tests.test_io_factory.test_area_of_multipolygon_sums_parts",
+ "eval.tests.test_io_factory.test_area_of_polygon_with_hole",
+ "eval.tests.test_io_factory.test_collect_gathers_all_file_geometries",
+ "eval.tests.test_io_factory.test_length_of_linestring",
+ "eval.tests.test_io_factory.test_length_of_multilinestring_sums",
+ "eval.tests.test_io_factory.test_length_of_point_zero",
+ "eval.tests.test_io_factory.test_length_of_polygon_perimeter",
+ "eval.tests.test_io_factory.test_limit_reads_first_n",
+ "eval.tests.test_io_factory.test_m_ordinate_read_from_file",
+ "eval.tests.test_io_factory.test_offset_skips_first_n",
+ "eval.tests.test_io_factory.test_output_format_geojson_collection",
+ "eval.tests.test_io_factory.test_output_format_geojson_empty_linestring",
+ "eval.tests.test_io_factory.test_output_format_geojson_empty_polygon",
+ "eval.tests.test_io_factory.test_output_format_geojson_linestring",
+ "eval.tests.test_io_factory.test_output_format_geojson_multipolygon",
+ "eval.tests.test_io_factory.test_output_format_geojson_point",
+ "eval.tests.test_io_factory.test_output_format_txt_default",
+ "eval.tests.test_io_factory.test_output_format_wkb_hex_prefix",
+ "eval.tests.test_io_factory.test_output_precision_flag_rounds_coordinates",
+ "eval.tests.test_io_factory.test_output_precision_flag_zero_rounds_to_integer",
+ "eval.tests.test_io_factory.test_read_geometry_from_file",
+ "eval.tests.test_io_factory.test_read_geometry_from_stdin_dash",
+ "eval.tests.test_io_factory.test_read_geometry_from_stdin_wkt_token",
+ "eval.tests.test_io_factory.test_read_multi_geometry_stdin_no_collect_emits_each",
+ "eval.tests.test_io_factory.test_z_m_ordinates_read_from_file",
+ "eval.tests.test_line_segment.test_distance_point_before_start_extension",
+ "eval.tests.test_line_segment.test_distance_point_beyond_end_extension",
+ "eval.tests.test_line_segment.test_distance_point_interior_perpendicular",
+ "eval.tests.test_line_segment.test_distance_point_on_line_zero",
+ "eval.tests.test_line_segment.test_distance_point_on_start_endpoint",
+ "eval.tests.test_line_segment.test_nearest_points_crossing_lines_intersection",
+ "eval.tests.test_line_segment.test_nearest_points_disjoint_lines_endpoint_pair",
+ "eval.tests.test_line_segment.test_nearest_points_line_and_offline_point",
+ "eval.tests.test_line_segment.test_nearest_points_polygon_edge_and_point",
+ "eval.tests.test_line_segment.test_offset_curve_negative_distance_rejected",
+ "eval.tests.test_line_segment.test_offset_curve_positive_side",
+ "eval.tests.test_line_segment.test_offset_curve_with_round_join",
+ "eval.tests.test_line_segment.test_project_point_at_end",
+ "eval.tests.test_line_segment.test_project_point_at_endpoint",
+ "eval.tests.test_line_segment.test_project_point_before_start_clamps",
+ "eval.tests.test_line_segment.test_project_point_interior_along_line",
+ "eval.tests.test_line_segment.test_project_point_onto_diagonal_line",
+ "eval.tests.test_line_segment.test_project_point_past_end_clamps",
+ "eval.tests.test_multicurve.test_multicurve_area_zero",
+ "eval.tests.test_multicurve.test_multicurve_closed_linear_boundary",
+ "eval.tests.test_multicurve.test_multicurve_curved_boundary_rejected",
+ "eval.tests.test_multicurve.test_multicurve_curved_centroid_rejected",
+ "eval.tests.test_multicurve.test_multicurve_curved_convex_hull_rejected",
+ "eval.tests.test_multicurve.test_multicurve_curved_envelope",
+ "eval.tests.test_multicurve.test_multicurve_curved_is_simple_rejected",
+ "eval.tests.test_multicurve.test_multicurve_curved_length",
+ "eval.tests.test_multicurve.test_multicurve_curved_round_trip",
+ "eval.tests.test_multicurve.test_multicurve_difference_linearizes",
+ "eval.tests.test_multicurve.test_multicurve_empty_is_empty_true",
+ "eval.tests.test_multicurve.test_multicurve_empty_length_zero",
+ "eval.tests.test_multicurve.test_multicurve_empty_reverse_is_clone",
+ "eval.tests.test_multicurve.test_multicurve_empty_round_trip",
+ "eval.tests.test_multicurve.test_multicurve_is_empty_false",
+ "eval.tests.test_multicurve.test_multicurve_linear_distance_to_endpoint",
+ "eval.tests.test_multicurve.test_multicurve_linear_envelope",
+ "eval.tests.test_multicurve.test_multicurve_linear_length",
+ "eval.tests.test_multicurve.test_multicurve_linear_round_trip",
+ "eval.tests.test_multicurve.test_multicurve_normalize_reorders_components",
+ "eval.tests.test_multicurve.test_multicurve_open_linear_boundary",
+ "eval.tests.test_multicurve.test_multicurve_reverse_curved",
+ "eval.tests.test_multicurve.test_multicurve_reverse_linear",
+ "eval.tests.test_multicurve.test_multicurve_single_closed_ring_boundary",
+ "eval.tests.test_multicurve.test_multicurve_unary_union_linearizes",
+ "eval.tests.test_multicurve.test_multicurve_union_linearizes",
+ "eval.tests.test_multilinestring.test_multilinestring_area_zero",
+ "eval.tests.test_multilinestring.test_multilinestring_boundary_all_open_sharing_point",
+ "eval.tests.test_multilinestring.test_multilinestring_boundary_empty",
+ "eval.tests.test_multilinestring.test_multilinestring_boundary_open_members",
+ "eval.tests.test_multilinestring.test_multilinestring_boundary_ring_plus_open",
+ "eval.tests.test_multilinestring.test_multilinestring_boundary_single_open",
+ "eval.tests.test_multilinestring.test_multilinestring_boundary_z",
+ "eval.tests.test_multilinestring.test_multilinestring_buffer_positive_width",
+ "eval.tests.test_multilinestring.test_multilinestring_centroid",
+ "eval.tests.test_multilinestring.test_multilinestring_convex_hull_collinear_extremes",
+ "eval.tests.test_multilinestring.test_multilinestring_copy_empty",
+ "eval.tests.test_multilinestring.test_multilinestring_copy_round_trip",
+ "eval.tests.test_multilinestring.test_multilinestring_copy_single_member",
+ "eval.tests.test_multilinestring.test_multilinestring_copy_z_keeps_ordinates",
+ "eval.tests.test_multilinestring.test_multilinestring_distance_to_point",
+ "eval.tests.test_multilinestring.test_multilinestring_envelope",
+ "eval.tests.test_multilinestring.test_multilinestring_envelope_empty",
+ "eval.tests.test_multilinestring.test_multilinestring_has_m",
+ "eval.tests.test_multilinestring.test_multilinestring_has_z",
+ "eval.tests.test_multilinestring.test_multilinestring_is_simple_crossing",
+ "eval.tests.test_multilinestring.test_multilinestring_is_simple_disjoint",
+ "eval.tests.test_multilinestring.test_multilinestring_is_simple_self_overlap",
+ "eval.tests.test_multilinestring.test_multilinestring_is_simple_shared_endpoint",
+ "eval.tests.test_multilinestring.test_multilinestring_length_empty_is_zero",
+ "eval.tests.test_multilinestring.test_multilinestring_length_overlapping_members",
+ "eval.tests.test_multilinestring.test_multilinestring_length_ring_and_diagonal",
+ "eval.tests.test_multilinestring.test_multilinestring_length_single",
+ "eval.tests.test_multilinestring.test_multilinestring_length_two_diagonals",
+ "eval.tests.test_multilinestring.test_multilinestring_node_crossing",
+ "eval.tests.test_multilinestring.test_multilinestring_normalize_empty",
+ "eval.tests.test_multilinestring.test_multilinestring_normalize_orders",
+ "eval.tests.test_multilinestring.test_multilinestring_relate_polygon_dim_one",
+ "eval.tests.test_multilinestring.test_multilinestring_reverse_empty_unchanged",
+ "eval.tests.test_multilinestring.test_multilinestring_reverse_orders",
+ "eval.tests.test_multilinestring.test_multilinestring_reverse_single",
+ "eval.tests.test_multilinestring.test_multilinestring_reverse_z_preserved",
+ "eval.tests.test_multilinestring.test_multilinestring_unary_union_noded",
+ "eval.tests.test_multilinestring_reverse.test_multilinestring_reverse_empty_is_clone",
+ "eval.tests.test_multilinestring_reverse.test_multilinestring_reverse_m_members",
+ "eval.tests.test_multilinestring_reverse.test_multilinestring_reverse_single_three_vertex_member",
+ "eval.tests.test_multilinestring_reverse.test_multilinestring_reverse_three_members_mixed_length",
+ "eval.tests.test_multilinestring_reverse.test_multilinestring_reverse_zm_members",
+ "eval.tests.test_multipolygon.test_multipolygon_area_two_disjoint",
+ "eval.tests.test_multipolygon.test_multipolygon_area_with_hole",
+ "eval.tests.test_multipolygon.test_multipolygon_buffer_keeps_multipolygon",
+ "eval.tests.test_multipolygon.test_multipolygon_buffer_large_merges",
+ "eval.tests.test_multipolygon.test_multipolygon_centroid_of_balanced_pair",
+ "eval.tests.test_multipolygon.test_multipolygon_centroid_with_hole",
+ "eval.tests.test_multipolygon.test_multipolygon_contains_point_in_second_member",
+ "eval.tests.test_multipolygon.test_multipolygon_convex_hull_touches_extremes",
+ "eval.tests.test_multipolygon.test_multipolygon_copy_empty",
+ "eval.tests.test_multipolygon.test_multipolygon_copy_single_member",
+ "eval.tests.test_multipolygon.test_multipolygon_copy_with_hole",
+ "eval.tests.test_multipolygon.test_multipolygon_copy_z_preserves_ordinates",
+ "eval.tests.test_multipolygon.test_multipolygon_difference_with_clipping_polygon",
+ "eval.tests.test_multipolygon.test_multipolygon_dim_line_crossing",
+ "eval.tests.test_multipolygon.test_multipolygon_dim_point_in_hole",
+ "eval.tests.test_multipolygon.test_multipolygon_dim_via_relate_point",
+ "eval.tests.test_multipolygon.test_multipolygon_distance_between_near_edges",
+ "eval.tests.test_multipolygon.test_multipolygon_envelope_bounds_all_members",
+ "eval.tests.test_multipolygon.test_multipolygon_has_z_false_for_2d",
+ "eval.tests.test_multipolygon.test_multipolygon_intersection_with_clipping_polygon",
+ "eval.tests.test_multipolygon.test_multipolygon_invalid_adjacent_shared_edge",
+ "eval.tests.test_multipolygon.test_multipolygon_invalid_overlapping_members",
+ "eval.tests.test_multipolygon.test_multipolygon_is_simple_corner_touch",
+ "eval.tests.test_multipolygon.test_multipolygon_is_simple_disjoint",
+ "eval.tests.test_multipolygon.test_multipolygon_is_simple_touching_edge",
+ "eval.tests.test_multipolygon.test_multipolygon_length_with_hole",
+ "eval.tests.test_multipolygon.test_multipolygon_normalize_sorts_members",
+ "eval.tests.test_multipolygon.test_multipolygon_points_inside_first_member",
+ "eval.tests.test_multipolygon.test_multipolygon_reverse_empty_is_clone",
+ "eval.tests.test_multipolygon.test_multipolygon_reverse_reorders_coordinates",
+ "eval.tests.test_multipolygon.test_multipolygon_reverse_single_member",
+ "eval.tests.test_multipolygon.test_multipolygon_symdifference_overlapping_squares",
+ "eval.tests.test_multipolygon.test_multipolygon_touches_shared_corner",
+ "eval.tests.test_multipolygon.test_multipolygon_union_self_roundtrips",
+ "eval.tests.test_multipolygon.test_multipolygon_valid_disjoint_members",
+ "eval.tests.test_multisurface.test_multisurface_area",
+ "eval.tests.test_multisurface.test_multisurface_boundary_curved_rejected",
+ "eval.tests.test_multisurface.test_multisurface_boundary_single",
+ "eval.tests.test_multisurface.test_multisurface_centroid_curved_rejected",
+ "eval.tests.test_multisurface.test_multisurface_convex_hull",
+ "eval.tests.test_multisurface.test_multisurface_copy",
+ "eval.tests.test_multisurface.test_multisurface_copy_curved",
+ "eval.tests.test_multisurface.test_multisurface_copy_single",
+ "eval.tests.test_multisurface.test_multisurface_copy_with_hole",
+ "eval.tests.test_multisurface.test_multisurface_curved_area",
+ "eval.tests.test_multisurface.test_multisurface_empty_is_empty",
+ "eval.tests.test_multisurface.test_multisurface_empty_round_trip",
+ "eval.tests.test_multisurface.test_multisurface_envelope",
+ "eval.tests.test_multisurface.test_multisurface_is_valid_curved_rejected",
+ "eval.tests.test_multisurface.test_multisurface_node_linear_rings",
+ "eval.tests.test_multisurface.test_multisurface_non_empty_is_empty",
+ "eval.tests.test_multisurface.test_multisurface_reverse",
+ "eval.tests.test_multisurface.test_multisurface_reverse_empty",
+ "eval.tests.test_multisurface.test_multisurface_reverse_single",
+ "eval.tests.test_multisurface_boundary.test_multisurface_boundary_dim_touches_corner",
+ "eval.tests.test_multisurface_boundary.test_multisurface_boundary_member_three_holes",
+ "eval.tests.test_multisurface_boundary.test_multisurface_boundary_member_with_hole",
+ "eval.tests.test_multisurface_boundary.test_multisurface_boundary_single_ring_member",
+ "eval.tests.test_multisurface_boundary.test_multisurface_boundary_two_members",
+ "eval.tests.test_multisurface_boundary.test_multisurface_curved_copy_keeps_type",
+ "eval.tests.test_multisurface_boundary.test_multisurface_dim_via_relate_crossing_line",
+ "eval.tests.test_multisurface_boundary.test_multisurface_dim_via_relate_point",
+ "eval.tests.test_multisurface_boundary.test_multisurface_edit_error_mentions_curvepolygon",
+ "eval.tests.test_multisurface_boundary.test_multisurface_reverse_curved_member",
+ "eval.tests.test_multisurface_boundary.test_multisurface_reverse_empty_curved",
+ "eval.tests.test_multisurface_curved_disk.test_curved_disk_multisurface_area",
+ "eval.tests.test_multisurface_curved_disk.test_curved_disk_multisurface_copy",
+ "eval.tests.test_multisurface_curved_disk.test_curved_disk_multisurface_envelope",
+ "eval.tests.test_multisurface_curved_disk.test_curved_disk_multisurface_has_z_false",
+ "eval.tests.test_multisurface_curved_disk.test_curved_disk_multisurface_is_empty_false",
+ "eval.tests.test_multisurface_curved_disk.test_curved_disk_multisurface_length",
+ "eval.tests.test_multisurface_curved_disk.test_curved_disk_multisurface_normalize",
+ "eval.tests.test_multisurface_curved_disk.test_curved_disk_multisurface_reverse",
+ "eval.tests.test_multisurface_curved_disk.test_half_radius_curved_disk_multisurface_area",
+ "eval.tests.test_multisurface_curved_disk.test_half_radius_curved_disk_multisurface_length",
+ "eval.tests.test_multisurface_curved_disk.test_half_radius_multisurface_normalize",
+ "eval.tests.test_multisurface_curved_disk.test_half_radius_multisurface_reverse",
+ "eval.tests.test_precision_model.test_reduce_pointwise_collapse_keeps_degenerate_line",
+ "eval.tests.test_precision_model.test_reduce_precision_collapse_point_keeps_empty",
+ "eval.tests.test_precision_model.test_reduce_precision_collapse_removes_line",
+ "eval.tests.test_precision_model.test_reduce_precision_grid_0_05",
+ "eval.tests.test_precision_model.test_reduce_precision_grid_0_1",
+ "eval.tests.test_precision_model.test_reduce_precision_grid_0_2",
+ "eval.tests.test_precision_model.test_reduce_precision_keep_collapsed_preserves_line",
+ "eval.tests.test_precision_model.test_reduce_precision_negative_grid_keeps_integers",
+ "eval.tests.test_precision_model.test_reduce_precision_negative_grid_snaps_integer",
+ "eval.tests.test_precision_model.test_reduce_precision_pointwise_same_rounding",
+ "eval.tests.test_precision_model.test_reduce_precision_scale_0_01_collapses",
+ "eval.tests.test_precision_model.test_reduce_precision_scale_0_keeps_empty_point",
+ "eval.tests.test_precision_model.test_reduce_precision_scale_0_produces_nan_coordinate",
+ "eval.tests.test_precision_model.test_reduce_precision_scale_100",
+ "eval.tests.test_precision_model.test_reduce_precision_scale_10_keeps_integer_multiples",
+ "eval.tests.test_precision_model.test_reduce_precision_scale_2_rounds_to_half",
+ "eval.tests.test_precision_model.test_reduce_precision_scale_5_half_away_from_zero",
+ "eval.tests.test_precision_model.test_reduce_precision_scale_on_point",
+ "eval.tests.test_prepared_contains_boundary_outermost.test_contains_prep_all_boundary_no_interior_false",
+ "eval.tests.test_prepared_contains_boundary_outermost.test_contains_prep_boundary_outermost_interior_reversed_order",
+ "eval.tests.test_prepared_contains_boundary_outermost.test_contains_prep_boundary_outermost_with_interior_true",
+ "eval.tests.test_prepared_contains_boundary_outermost.test_contains_prep_collection_with_boundary_and_interior_true",
+ "eval.tests.test_prepared_contains_boundary_outermost.test_contains_prep_corner_then_boundary_edge_no_interior_false",
+ "eval.tests.test_prepared_contains_boundary_outermost.test_contains_prep_edit_edge_then_interior_true",
+ "eval.tests.test_prepared_contains_boundary_outermost.test_contains_prep_interior_two_boundaries_outermost_true",
+ "eval.tests.test_prepared_contains_boundary_outermost.test_contains_prep_single_boundary_point_false",
+ "eval.tests.test_prepared_contains_boundary_outermost.test_contains_properly_prep_all_interior_boundary_outermost_true",
+ "eval.tests.test_prepared_contains_boundary_outermost.test_contains_properly_prep_boundary_outermost_false",
+ "eval.tests.test_prepared_contains_boundary_outermost.test_covers_prep_boundary_outermost_interior_still_true",
+ "eval.tests.test_prepared_geometry.test_contains_prep_line_inside",
+ "eval.tests.test_prepared_geometry.test_contains_prep_linestring_disjoint",
+ "eval.tests.test_prepared_geometry.test_contains_prep_point_inside",
+ "eval.tests.test_prepared_geometry.test_contains_prep_point_on_boundary",
+ "eval.tests.test_prepared_geometry.test_contains_prep_point_outside",
+ "eval.tests.test_prepared_geometry.test_contains_properly_prep_inside",
+ "eval.tests.test_prepared_geometry.test_contains_properly_prep_line_inside",
+ "eval.tests.test_prepared_geometry.test_contains_properly_prep_on_boundary_false",
+ "eval.tests.test_prepared_geometry.test_covers_prep_line_inside",
+ "eval.tests.test_prepared_geometry.test_covers_prep_point_on_boundary",
+ "eval.tests.test_prepared_geometry.test_covers_prep_point_outside",
+ "eval.tests.test_prepared_geometry.test_distance_prep_disjoint_points",
+ "eval.tests.test_prepared_geometry.test_distance_prep_line_point",
+ "eval.tests.test_prepared_geometry.test_distance_prep_point_inside_zero",
+ "eval.tests.test_prepared_geometry.test_intersects_prep_empty_b",
+ "eval.tests.test_prepared_geometry.test_intersects_prep_line_crossing",
+ "eval.tests.test_prepared_geometry.test_intersects_prep_point_inside",
+ "eval.tests.test_prepared_geometry.test_intersects_prep_point_on_boundary",
+ "eval.tests.test_prepared_geometry.test_intersects_prep_point_outside",
+ "eval.tests.test_prepared_geometry.test_nearest_points_prep_disjoint",
+ "eval.tests.test_prepared_geometry.test_nearest_points_prep_line",
+ "eval.tests.test_prepared_geometry_base.test_contains_prep_line_crossing_line_false",
+ "eval.tests.test_prepared_geometry_base.test_contains_prep_line_point_off_line_false",
+ "eval.tests.test_prepared_geometry_base.test_contains_prep_line_point_on_line_true",
+ "eval.tests.test_prepared_geometry_base.test_contains_prep_multiline_subline_true",
+ "eval.tests.test_prepared_geometry_base.test_contains_properly_prep_line_endpoint_false",
+ "eval.tests.test_prepared_geometry_base.test_contains_properly_prep_line_interior_true",
+ "eval.tests.test_prepared_geometry_base.test_contains_properly_prep_line_off_false",
+ "eval.tests.test_prepared_geometry_base.test_contains_properly_prep_point_on_line_geometry",
+ "eval.tests.test_prepared_geometry_base.test_covers_prep_line_contains_subline_true",
+ "eval.tests.test_prepared_geometry_base.test_covers_prep_line_endpoint_point_true",
+ "eval.tests.test_prepared_geometry_base.test_covers_prep_line_point_off_false",
+ "eval.tests.test_prepared_geometry_base.test_covers_prep_line_point_on_line_true",
+ "eval.tests.test_prepared_geometry_base.test_covers_prep_multilinestring_contained",
+ "eval.tests.test_prepared_geometry_base.test_distance_prep_empty_line_inf",
+ "eval.tests.test_prepared_geometry_base.test_distance_prep_horizontal_line_to_point",
+ "eval.tests.test_prepared_geometry_base.test_distance_prep_line_crossing_detects_zero",
+ "eval.tests.test_prepared_geometry_base.test_distance_prep_line_inside_polygon_via_isAnyTargetComponent",
+ "eval.tests.test_prepared_geometry_base.test_distance_prep_line_inside_polygon_zero",
+ "eval.tests.test_prepared_geometry_base.test_distance_prep_line_outside_polygon_facet_only",
+ "eval.tests.test_prepared_geometry_base.test_distance_prep_line_to_empty_inf",
+ "eval.tests.test_prepared_geometry_base.test_distance_prep_line_to_line_outside",
+ "eval.tests.test_prepared_geometry_base.test_distance_prep_line_to_off_point",
+ "eval.tests.test_prepared_geometry_base.test_distance_prep_line_to_point",
+ "eval.tests.test_prepared_geometry_base.test_distance_prep_line_vertex_on_polygon_edge",
+ "eval.tests.test_prepared_geometry_base.test_distance_prep_multiline_to_off_point",
+ "eval.tests.test_prepared_geometry_base.test_distance_prep_multiline_two_facets",
+ "eval.tests.test_prepared_geometry_base.test_intersects_prep_line_crosses_perp_true",
+ "eval.tests.test_prepared_geometry_base.test_intersects_prep_line_crossing_polygon_true",
+ "eval.tests.test_prepared_geometry_base.test_intersects_prep_line_disjoint_parallel_false",
+ "eval.tests.test_prepared_geometry_base.test_intersects_prep_line_inside_polygon_true",
+ "eval.tests.test_prepared_geometry_base.test_intersects_prep_line_off_point_false",
+ "eval.tests.test_prepared_geometry_base.test_intersects_prep_line_point_on_true",
+ "eval.tests.test_prepared_geometry_base.test_intersects_prep_line_shared_endpoint_true",
+ "eval.tests.test_prepared_geometry_base.test_intersects_prep_multilinestring_shared_endpoint",
+ "eval.tests.test_prepared_geometry_base.test_nearest_points_prep_line_inside_polygon",
+ "eval.tests.test_prepared_geometry_base.test_nearest_points_prep_line_to_far_point",
+ "eval.tests.test_prepared_geometry_base.test_nearest_points_prep_line_to_point",
+ "eval.tests.test_prepared_intersects.test_intersects_prep_containing_point",
+ "eval.tests.test_prepared_intersects.test_intersects_prep_containing_polygon",
+ "eval.tests.test_prepared_intersects.test_intersects_prep_crossing_line_segments",
+ "eval.tests.test_prepared_intersects.test_intersects_prep_crossing_polygon_segments",
+ "eval.tests.test_prepared_intersects.test_intersects_prep_disjoint_line_no_segments",
+ "eval.tests.test_prepared_intersects.test_intersects_prep_disjoint_multipoint_puntal",
+ "eval.tests.test_prepared_intersects.test_intersects_prep_disjoint_point_puntal",
+ "eval.tests.test_prepared_intersects.test_intersects_prep_disjoint_polygon_dim2",
+ "eval.tests.test_prepared_intersects.test_intersects_prep_empty_line",
+ "eval.tests.test_prepared_intersects.test_intersects_prep_empty_polygon",
+ "eval.tests.test_prepared_intersects.test_intersects_prep_inside_line_segments",
+ "eval.tests.test_prepared_intersects.test_intersects_prep_inside_polygon_dim2",
+ "eval.tests.test_prepared_intersects.test_intersects_prep_point_on_boundary",
+ "eval.tests.test_prepared_intersects.test_intersects_prep_string_ring_inside",
+ "eval.tests.test_prepared_intersects.test_intersects_prep_touching_single_point",
+ "eval.tests.test_prepared_polygon_core.test_contains_prep_multilinestring_half_outside_false",
+ "eval.tests.test_prepared_polygon_core.test_contains_prep_multipoint_all_boundary_false",
+ "eval.tests.test_prepared_polygon_core.test_contains_prep_multipoint_all_interior_true",
+ "eval.tests.test_prepared_polygon_core.test_contains_prep_multipoint_boundary_and_interior_true",
+ "eval.tests.test_prepared_polygon_core.test_contains_prep_multipoint_exterior_overrides_boundary_false",
+ "eval.tests.test_prepared_polygon_core.test_contains_prep_multipoint_exterior_short_circuit_false",
+ "eval.tests.test_prepared_polygon_core.test_contains_prep_multipolygon_inside_true",
+ "eval.tests.test_prepared_polygon_core.test_contains_prep_polygon_inside_true",
+ "eval.tests.test_prepared_polygon_core.test_contains_prep_polygon_overlapping_false",
+ "eval.tests.test_prepared_polygon_core.test_contains_prep_single_point_interior_true",
+ "eval.tests.test_prepared_polygon_core.test_contains_prep_single_point_on_boundary_false",
+ "eval.tests.test_prepared_polygon_core.test_contains_properly_prep_exterior_point_false",
+ "eval.tests.test_prepared_polygon_core.test_contains_properly_prep_line_crossing_boundary_false",
+ "eval.tests.test_prepared_polygon_core.test_contains_properly_prep_line_inside_true",
+ "eval.tests.test_prepared_polygon_core.test_contains_properly_prep_multiline_partial_false",
+ "eval.tests.test_prepared_polygon_core.test_contains_properly_prep_multipoint_boundary_interior_false",
+ "eval.tests.test_prepared_polygon_core.test_contains_properly_prep_multipolygon_inside_true",
+ "eval.tests.test_prepared_polygon_core.test_contains_properly_prep_on_boundary_false",
+ "eval.tests.test_prepared_polygon_core.test_contains_properly_prep_polygon_fully_inside_true",
+ "eval.tests.test_prepared_polygon_core.test_covers_prep_multipoint_interior_and_exterior_false",
+ "eval.tests.test_prepared_polygon_core.test_covers_prep_polygon_extension_outside_false",
+ "eval.tests.test_prepared_polygon_core.test_covers_prep_polygon_fully_inside_true",
+ "eval.tests.test_prepared_polygon_core.test_covers_prep_single_point_on_boundary_true",
+ "eval.tests.test_prepared_polygon_core.test_distance_prep_disjoint_polygon_facet_distance",
+ "eval.tests.test_prepared_polygon_core.test_distance_prep_empty_multipolygon_inf",
+ "eval.tests.test_prepared_polygon_core.test_distance_prep_empty_polygon_inf",
+ "eval.tests.test_prepared_polygon_core.test_distance_prep_polygon_inside_polygon_zero",
+ "eval.tests.test_prepared_polygon_core.test_distance_prep_polygon_to_crossing_line_zero",
+ "eval.tests.test_prepared_polygon_core.test_distance_prep_polygon_to_empty_inf",
+ "eval.tests.test_prepared_polygon_core.test_distance_prep_polygon_to_inside_line_zero",
+ "eval.tests.test_prepared_polygon_core.test_distance_prep_polygon_to_outside_line_positive",
+ "eval.tests.test_prepared_polygon_core.test_distance_prep_polygon_touching_polygon_zero",
+ "eval.tests.test_prepared_polygon_core.test_distance_prep_triangle_inside_polygon_zero",
+ "eval.tests.test_prepared_polygon_core.test_intersects_prep_polygon_disjoint_area_false",
+ "eval.tests.test_prepared_polygon_core.test_nearest_points_prep_polygon_to_disjoint_point",
+ "eval.tests.test_prepared_polygon_core.test_nearest_points_prep_polygon_vertical_face",
+ "eval.tests.test_prepared_predicate_filters.test_contains_prep_collection_empty_and_exterior_false",
+ "eval.tests.test_prepared_predicate_filters.test_contains_prep_collection_empty_linestring_true",
+ "eval.tests.test_prepared_predicate_filters.test_contains_prep_collection_with_empty_point_true",
+ "eval.tests.test_prepared_predicate_filters.test_contains_prep_donut_rep_point_in_hole_true",
+ "eval.tests.test_prepared_predicate_filters.test_contains_prep_interior_then_boundary_then_exterior",
+ "eval.tests.test_prepared_predicate_filters.test_contains_prep_line_along_boundary_then_inside",
+ "eval.tests.test_prepared_predicate_filters.test_contains_prep_multipoint_interior_point_drives_match_filter",
+ "eval.tests.test_prepared_predicate_filters.test_contains_prep_multipoint_no_interior_false",
+ "eval.tests.test_prepared_predicate_filters.test_contains_prep_rep_point_interior_to_bigger_false",
+ "eval.tests.test_prepared_predicate_filters.test_contains_properly_prep_all_boundary_false",
+ "eval.tests.test_prepared_predicate_filters.test_contains_properly_prep_all_interior_true",
+ "eval.tests.test_prepared_predicate_filters.test_contains_properly_prep_boundary_point_false",
+ "eval.tests.test_prepared_predicate_filters.test_contains_properly_prep_collection_boundary_interior_false",
+ "eval.tests.test_prepared_predicate_filters.test_contains_properly_prep_gc_interior_with_empty_true",
+ "eval.tests.test_prepared_predicate_filters.test_contains_properly_prep_line_fully_interior_true",
+ "eval.tests.test_prepared_predicate_filters.test_contains_properly_prep_line_on_boundary_false",
+ "eval.tests.test_prepared_predicate_filters.test_covers_prep_boundary_only_point_true",
+ "eval.tests.test_prepared_predicate_filters.test_covers_prep_donut_rep_point_in_hole_true",
+ "eval.tests.test_prepared_predicate_filters.test_covers_prep_interior_then_exterior_override",
+ "eval.tests.test_prepared_predicate_filters.test_covers_prep_multipoint_exterior_first_early_stop",
+ "eval.tests.test_prepared_predicate_filters.test_covers_prep_multipolygon_partially_outside_false",
+ "eval.tests.test_prepared_predicate_filters.test_covers_prep_multipolygon_rep_in_gap_true",
+ "eval.tests.test_prepared_predicate_filters.test_covers_prep_only_empty_point_false",
+ "eval.tests.test_prepared_predicate_filters.test_covers_prep_point_on_corner_true",
+ "eval.tests.test_prepared_predicate_filters.test_covers_prep_rep_point_interior_to_bigger_false",
+ "eval.tests.test_prepared_predicate_filters.test_distance_prep_exterior_point_positive",
+ "eval.tests.test_prepared_predicate_filters.test_distance_prep_interior_point_zero",
+ "eval.tests.test_prepared_predicates.test_contains_prep_collection_interior_and_exterior",
+ "eval.tests.test_prepared_predicates.test_contains_prep_line_crossing_boundary_false",
+ "eval.tests.test_prepared_predicates.test_contains_prep_multilinestring_mixed",
+ "eval.tests.test_prepared_predicates.test_contains_prep_multipoint_all_interior",
+ "eval.tests.test_prepared_predicates.test_contains_prep_multipoint_all_on_boundary",
+ "eval.tests.test_prepared_predicates.test_contains_prep_outside_point_false",
+ "eval.tests.test_prepared_predicates.test_contains_prep_point_on_boundary",
+ "eval.tests.test_prepared_predicates.test_contains_properly_prep_interior_point_true",
+ "eval.tests.test_prepared_predicates.test_contains_properly_prep_line_touching_boundary_false",
+ "eval.tests.test_prepared_predicates.test_contains_properly_prep_multiline_partial_interior_false",
+ "eval.tests.test_prepared_predicates.test_contains_properly_prep_point_on_boundary_false",
+ "eval.tests.test_prepared_predicates.test_covers_prep_multipoint_partial_outside_false",
+ "eval.tests.test_prepared_predicates.test_covers_prep_point_on_boundary_true",
+ "eval.tests.test_prepared_predicates.test_covers_prep_point_outside_false",
+ "eval.tests.test_prepared_predicates.test_covers_prep_polygon_inside_square",
+ "eval.tests.test_prepared_predicates.test_distance_prep_inside_is_zero",
+ "eval.tests.test_prepared_predicates.test_distance_prep_line_exterior_envelope_overlap",
+ "eval.tests.test_prepared_predicates.test_distance_prep_multipoint_inside_zero",
+ "eval.tests.test_prepared_predicates.test_distance_prep_point_outside_exact",
+ "eval.tests.test_prepared_predicates.test_distance_prep_polygon_exterior_dim2",
+ "eval.tests.test_prepared_predicates.test_intersects_prep_line_exterior_start_but_crossing",
+ "eval.tests.test_prepared_predicates.test_intersects_prep_line_outside_no_crossing",
+ "eval.tests.test_prepared_predicates.test_intersects_prep_mapoint_outside_boundary",
+ "eval.tests.test_prepared_predicates.test_intersects_prep_multipoint_mixed_locations",
+ "eval.tests.test_prepared_predicates.test_intersects_prep_multipoint_outside_puntal",
+ "eval.tests.test_prepared_predicates.test_intersects_prep_multipolygon_mixed",
+ "eval.tests.test_prepared_predicates.test_intersects_prep_point_in_bbox_but_outside_puntal",
+ "eval.tests.test_prepared_predicates.test_intersects_prep_point_on_hypotenuse",
+ "eval.tests.test_prepared_predicates.test_intersects_prep_polygon_outside_dim2",
+ "eval.tests.test_prepared_predicates.test_intersects_prep_polygon_spanning_encloses_triangle",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_hexagon_nonrect[GEOMETRYCOLLECTION (POINT EMPTY, POINT (0 6))-true]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_hexagon_nonrect[LINESTRING (4 4,4 8)-true]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_hexagon_nonrect[LINESTRING (4 6,20 6)-false]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_hexagon_nonrect[MULTIPOINT ((0 6),(20 6))-false]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_hexagon_nonrect[MULTIPOINT ((0 6),(8 6))-true]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_hexagon_nonrect[MULTIPOINT ((4 6),(12 6))-true]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_hexagon_nonrect[POINT (0 6)-true]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_hexagon_nonrect[POINT (12 6)-false]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_hexagon_nonrect[POINT (20 6)-false]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_hexagon_nonrect[POINT (4 6)-true]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_hexagon_nonrect[POLYGON ((0 2,4 2,4 10,0 10,0 2))-true]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_hexagon_nonrect[POLYGON ((4 2,20 2,20 10,4 10,4 2))-false]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_nonrect_line_geom[LINESTRING (0 5,10 5)-true]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_nonrect_line_geom[LINESTRING (2 4,8 4)-true]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_nonrect_line_geom[LINESTRING (5 16,6 16)-false]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_nonrect_line_geom[LINESTRING (5 5,5 16)-false]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_nonrect_line_geom[LINESTRING (5 5,5 8)-true]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_nonrect_line_geom[MULTILINESTRING ((2 2,2 16),(8 2,8 8))-false]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_nonrect_line_geom[MULTILINESTRING ((2 2,2 8),(8 2,8 8))-true]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_nonrect_line_geom[MULTILINESTRING ((20 20,21 21))-false]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_nonrect_polygon_geom[LINEARRING (2 2,8 2,8 8,2 8,2 2)-true]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_nonrect_polygon_geom[MULTIPOLYGON (((2 2,8 2,8 8,2 8,2 2)),((10 5,12 5,12 7,10 5)))-false]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_nonrect_polygon_geom[MULTIPOLYGON (((2 2,8 2,8 8,2 8,2 2)),((5 16,6 16,6 17,5 16)))-false]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_nonrect_polygon_geom[POLYGON ((2 2,20 2,20 8,2 8,2 2))-false]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_nonrect_polygon_geom[POLYGON ((2 2,8 2,8 13,2 8,2 2))-false]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_nonrect_polygon_geom[POLYGON ((2 2,8 2,8 8,2 8,2 2))-true]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_contains_prep_nonrect_polygon_geom[POLYGON ((5 5,6 5,6 6,5 6,5 5))-true]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_covers_prep_nonrect_high_dim[LINESTRING (2 4,8 4)-true]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_covers_prep_nonrect_high_dim[LINESTRING (5 5,5 16)-false]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_covers_prep_nonrect_high_dim[MULTILINESTRING ((20 20,21 21))-false]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_covers_prep_nonrect_high_dim[MULTIPOLYGON (((2 2,8 2,8 8,2 8,2 2)))-true]",
+ "eval.tests.test_prepped_nonrect_geom_variants.test_covers_prep_nonrect_high_dim[POLYGON ((2 2,8 2,8 13,2 8,2 2))-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect[GEOMETRYCOLLECTION (POINT EMPTY)-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect[GEOMETRYCOLLECTION EMPTY-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect[MULTIPOINT ((2 0),(2 2),(8 8))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect[MULTIPOINT ((2 2),(8 2),(8 8),(2 8))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect[MULTIPOINT ((5 0),(5 15))-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect[MULTIPOINT ((5 15),(5 15))-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect[MULTIPOINT ((5 15),(5 5))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect[MULTIPOINT ((5 15),(9 9))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect[MULTIPOINT ((5 5),(5 15))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect[MULTIPOINT ((5 5),(6 6))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect[MULTIPOINT ((9 9),(5 15))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect[POINT (0 5)-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect[POINT (10 10)-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect[POINT (2 2)-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect[POINT (5 15)-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect[POINT (5 5)-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect[POINT (9 9)-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect[POINT EMPTY-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect_collection[GEOMETRYCOLLECTION (POINT (2 2), POINT (5 0))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect_collection[GEOMETRYCOLLECTION (POINT (5 0), POINT EMPTY)-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect_collection[GEOMETRYCOLLECTION (POINT (5 15), POINT EMPTY)-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect_collection[GEOMETRYCOLLECTION (POINT (5 15), POINT EMPTY, POINT EMPTY)-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect_collection[GEOMETRYCOLLECTION (POINT (5 5), POINT EMPTY, POINT (5 15))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect_collection[GEOMETRYCOLLECTION (POINT EMPTY, POINT (2 2))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect_collection[GEOMETRYCOLLECTION (POINT EMPTY, POINT (5 5))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect_exterior_outermost[GEOMETRYCOLLECTION (POINT (20 20), POINT (5 5))-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect_exterior_outermost[GEOMETRYCOLLECTION (POINT EMPTY, POINT (20 20), POINT (5 5))-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect_exterior_outermost[MULTIPOINT ((0 30),(5 5),(5 0))-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect_exterior_outermost[MULTIPOINT ((20 20))-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect_exterior_outermost[MULTIPOINT ((20 20),(5 5))-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect_exterior_outermost[MULTIPOINT ((5 0),(5 15),(20 20))-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect_exterior_outermost[MULTIPOINT ((5 15),(20 20))-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect_exterior_outermost[MULTIPOINT ((5 5),(20 20))-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_nonrect_exterior_outermost[MULTIPOINT ((5 5),(6 6),(25 0))-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_rectangle_control[MULTIPOINT ((5 0),(0 5))-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_rectangle_control[MULTIPOINT ((5 0),(5 5))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_rectangle_control[MULTIPOINT ((5 5))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_prep_rectangle_control[MULTIPOINT ((5 5),(5 0))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_properly_prep_nonrect[MULTIPOINT ((2 2),(5 0))-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_properly_prep_nonrect[MULTIPOINT ((5 5),(5 15))-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_properly_prep_nonrect[MULTIPOINT ((5 5),(5 6))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_properly_prep_nonrect[MULTIPOINT ((5 6),(5 5))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_properly_prep_nonrect[POINT (5 15)-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_properly_prep_nonrect[POINT (5 5)-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_properly_prep_nonrect[POLYGON ((0 1,9 1,9 9,0 9,0 1))-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_properly_prep_nonrect[POLYGON ((2 3,8 3,6 11,2 3))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_contains_properly_prep_nonrect[POLYGON ((3 3,7 3,7 7,5 10,3 3))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_covers_prep_nonrect[GEOMETRYCOLLECTION (POINT (5 15), POINT EMPTY, POINT EMPTY)-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_covers_prep_nonrect[GEOMETRYCOLLECTION (POINT EMPTY, POINT (5 5))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_covers_prep_nonrect[MULTIPOINT ((2 2),(8 2),(8 8),(2 8))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_covers_prep_nonrect[MULTIPOINT ((20 20))-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_covers_prep_nonrect[MULTIPOINT ((20 20),(5 5))-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_covers_prep_nonrect[MULTIPOINT ((5 0))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_covers_prep_nonrect[MULTIPOINT ((5 0),(5 15))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_covers_prep_nonrect[MULTIPOINT ((5 15))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_covers_prep_nonrect[MULTIPOINT ((5 15),(5 5))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_covers_prep_nonrect[MULTIPOINT ((5 5))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_covers_prep_nonrect[MULTIPOINT ((5 5),(20 20))-false]",
+ "eval.tests.test_prepped_nonrect_predicate.test_covers_prep_nonrect[MULTIPOINT ((5 5),(5 15))-true]",
+ "eval.tests.test_prepped_nonrect_predicate.test_covers_prep_nonrect[POINT EMPTY-false]",
+ "eval.tests.test_triangle_core.test_concave_hull_by_length_hulltri",
+ "eval.tests.test_triangle_core.test_concave_hull_collinear_is_line",
+ "eval.tests.test_triangle_core.test_concave_hull_point_set_ring",
+ "eval.tests.test_triangle_core.test_concave_hull_square_convex",
+ "eval.tests.test_triangle_core.test_constrained_delaunay_concave_polygon",
+ "eval.tests.test_triangle_core.test_constrained_delaunay_square_diagonal",
+ "eval.tests.test_triangle_core.test_coverage_union_edge_adjacent",
+ "eval.tests.test_triangle_core.test_coverage_union_overlapping_kept",
+ "eval.tests.test_triangle_core.test_delaunay_polygon_ring",
+ "eval.tests.test_triangle_core.test_max_diameter_square_diagonal",
+ "eval.tests.test_triangle_core.test_max_diameter_three_points_chord",
+ "eval.tests.test_triangle_core.test_max_inscribed_circle_right_triangle",
+ "eval.tests.test_triangle_core.test_max_inscribed_circle_square",
+ "eval.tests.test_triangle_core.test_max_inscribed_circle_triangle_incenter",
+ "eval.tests.test_triangle_core.test_min_bounding_circle_three_points_centre",
+ "eval.tests.test_triangle_core.test_offset_curve_acute_triangle_rounding",
+ "eval.tests.test_triangle_core.test_voronoi_five_sites_asymmetric",
+ "eval.tests.test_triangle_core.test_voronoi_three_sites_cells"
+ ]
+ },
+ "generated_module_03": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_cli_io.test_geojson_format_produces_json",
+ "eval.tests.test_cli_io.test_help_lists_io_formats[--help]",
+ "eval.tests.test_cli_io.test_help_lists_io_formats[-h]",
+ "eval.tests.test_cli_io.test_invalid_format_value_rejected",
+ "eval.tests.test_cli_io.test_no_opname_prints_input_geometry",
+ "eval.tests.test_cli_io.test_unknown_operation_rejected",
+ "eval.tests.test_cli_io.test_wkb_format_produces_hex",
+ "eval.tests.test_cli_io.test_wkb_hex_literal_dispatched_to_wkb_literal",
+ "eval.tests.test_cli_io.test_wkb_hex_names_with_paren_and_hex_dispatch",
+ "eval.tests.test_cli_io.test_wkb_stdin_reads_geometry[-.wkb]",
+ "eval.tests.test_cli_io.test_wkb_stdin_reads_geometry[stdin.wkb]",
+ "eval.tests.test_cli_io.test_wkb_suffix_routes_to_wkb_reader",
+ "eval.tests.test_cli_io.test_wkt_and_txt_format_produce_wkt[txt]",
+ "eval.tests.test_cli_io.test_wkt_and_txt_format_produce_wkt[wkt]",
+ "eval.tests.test_cli_io.test_wkt_literal_dispatched_to_wkt_literal",
+ "eval.tests.test_cli_io.test_wkt_stdin_reads_geometry[-.wkt]",
+ "eval.tests.test_cli_io.test_wkt_stdin_reads_geometry[stdin.wkt]",
+ "eval.tests.test_cli_io.test_wkt_stdin_reads_geometry[stdin]",
+ "eval.tests.test_geojson_linearring.test_geojson_linearring_2d",
+ "eval.tests.test_geojson_linearring.test_geojson_linearring_empty",
+ "eval.tests.test_geojson_linearring.test_geojson_linearring_empty_parens_is_parse_error",
+ "eval.tests.test_geojson_linearring.test_geojson_linearring_invalid_point_count[one_point]",
+ "eval.tests.test_geojson_linearring.test_geojson_linearring_invalid_point_count[two_points]",
+ "eval.tests.test_geojson_linearring.test_geojson_linearring_negative_coordinates",
+ "eval.tests.test_geojson_linearring.test_geojson_linearring_nested_in_collection",
+ "eval.tests.test_geojson_linearring.test_geojson_linearring_topology_preserved[collinear_closed]",
+ "eval.tests.test_geojson_linearring.test_geojson_linearring_topology_preserved[self_intersecting]",
+ "eval.tests.test_geojson_linearring.test_geojson_linearring_triangular_minimum_points",
+ "eval.tests.test_geojson_linearring.test_geojson_linearring_unclosed_rejected",
+ "eval.tests.test_geojson_linearring.test_geojson_linearring_z_keeps_z",
+ "eval.tests.test_geojson_linearring.test_geojson_two_linearrings_in_collection",
+ "eval.tests.test_geojson_linearring.test_linearring_read_from_stdin_stream",
+ "eval.tests.test_geojson_linearring.test_linearring_read_from_wkt_file_stream",
+ "eval.tests.test_geojson_linearring.test_wkb_linearring_is_linestring_type_2",
+ "eval.tests.test_geojson_linearring.test_wkt_linearring_empty",
+ "eval.tests.test_geojson_linearring.test_wkt_linearring_precision_rounds",
+ "eval.tests.test_geojson_linearring.test_wkt_linearring_roundtrip",
+ "eval.tests.test_geojson_writer.test_geojson_curved_not_supported[circularstring]",
+ "eval.tests.test_geojson_writer.test_geojson_curved_not_supported[compoundcurve]",
+ "eval.tests.test_geojson_writer.test_geojson_curved_not_supported[curvepolygon]",
+ "eval.tests.test_geojson_writer.test_geojson_geometry_collection",
+ "eval.tests.test_geojson_writer.test_geojson_json_alias_equals_geojson",
+ "eval.tests.test_geojson_writer.test_geojson_linestring",
+ "eval.tests.test_geojson_writer.test_geojson_multilinestring",
+ "eval.tests.test_geojson_writer.test_geojson_multipoint",
+ "eval.tests.test_geojson_writer.test_geojson_multipolygon",
+ "eval.tests.test_geojson_writer.test_geojson_output_is_parseable_json_and_contains_type",
+ "eval.tests.test_geojson_writer.test_geojson_point",
+ "eval.tests.test_geojson_writer.test_geojson_point_empty",
+ "eval.tests.test_geojson_writer.test_geojson_point_negative",
+ "eval.tests.test_geojson_writer.test_geojson_polygon",
+ "eval.tests.test_geojson_writer.test_geojson_polygon_with_hole",
+ "eval.tests.test_geojson_writer.test_geojson_precision_flag_does_not_round",
+ "eval.tests.test_geojson_writer.test_geojson_z_linestring_includes_z",
+ "eval.tests.test_geojson_writer.test_geojson_z_point_includes_z",
+ "eval.tests.test_geojson_writer_deep.test_geojson_collection_empty_forms[geometrycollection]",
+ "eval.tests.test_geojson_writer_deep.test_geojson_collection_empty_forms[linestring]",
+ "eval.tests.test_geojson_writer_deep.test_geojson_collection_empty_forms[multilinestring]",
+ "eval.tests.test_geojson_writer_deep.test_geojson_collection_empty_forms[multipoint]",
+ "eval.tests.test_geojson_writer_deep.test_geojson_collection_empty_forms[multipolygon]",
+ "eval.tests.test_geojson_writer_deep.test_geojson_collection_with_empty_members",
+ "eval.tests.test_geojson_writer_deep.test_geojson_collection_with_empty_polygon",
+ "eval.tests.test_geojson_writer_deep.test_geojson_collection_z_members_promoted",
+ "eval.tests.test_geojson_writer_deep.test_geojson_curved_nested_rejected[curved_in_collection]",
+ "eval.tests.test_geojson_writer_deep.test_geojson_curved_nested_rejected[curvepolygon_top]",
+ "eval.tests.test_geojson_writer_deep.test_geojson_curved_nested_rejected[multicurve]",
+ "eval.tests.test_geojson_writer_deep.test_geojson_decimals_preserved_not_rounded",
+ "eval.tests.test_geojson_writer_deep.test_geojson_deep_nested_geometry_collection_golden",
+ "eval.tests.test_geojson_writer_deep.test_geojson_m_point_drops_m_ordinate",
+ "eval.tests.test_geojson_writer_deep.test_geojson_multilinestring_two_lines",
+ "eval.tests.test_geojson_writer_deep.test_geojson_multipoint_z_three_points",
+ "eval.tests.test_geojson_writer_deep.test_geojson_multipolygon_two_members_golden",
+ "eval.tests.test_geojson_writer_deep.test_geojson_multipolygon_z_single_member",
+ "eval.tests.test_geojson_writer_deep.test_geojson_nested_geometry_collection_levels",
+ "eval.tests.test_geojson_writer_deep.test_geojson_polygon_empty_single_empty_ring",
+ "eval.tests.test_geojson_writer_deep.test_geojson_polygon_two_rings_no_hole_is_not_flagged",
+ "eval.tests.test_geojson_writer_deep.test_geojson_polygon_z_with_hole_golden",
+ "eval.tests.test_geojson_writer_deep.test_geojson_precision_flag_leaves_zip_full_precision",
+ "eval.tests.test_geojson_writer_deep.test_geojson_scientific_notation_large_and_small",
+ "eval.tests.test_geojson_writer_deep.test_geojson_z_point_negative_z",
+ "eval.tests.test_geojson_writer_deep.test_geojson_zm_line_drops_m_keeps_z",
+ "eval.tests.test_geojson_writer_deep.test_geojson_zm_point_keeps_z_drops_m",
+ "eval.tests.test_io_deep_cases.test_geojson_multilinestring_empty_component_emits_empty_seq",
+ "eval.tests.test_io_deep_cases.test_geojson_multipoint_empty_component_dropped_leading",
+ "eval.tests.test_io_deep_cases.test_geojson_multipoint_empty_component_dropped_trailing",
+ "eval.tests.test_io_deep_cases.test_geojson_multipoint_only_empty_member",
+ "eval.tests.test_io_deep_cases.test_geojson_multipolygon_empty_component_emits_empty_ring",
+ "eval.tests.test_io_deep_cases.test_geojson_nested_collection_with_empty_members",
+ "eval.tests.test_io_deep_cases.test_geojson_null_curves_in_geometry_collection",
+ "eval.tests.test_io_deep_cases.test_geojson_z_empty_multipoint_drops_empty_keeps_z",
+ "eval.tests.test_io_deep_cases.test_wkb_multilinestring_empty_component_is_zero_point_line",
+ "eval.tests.test_io_deep_cases.test_wkb_multipoint_empty_component_is_nan_point",
+ "eval.tests.test_io_deep_cases.test_wkb_multipoint_z_empty_component_is_nan_point",
+ "eval.tests.test_io_deep_cases.test_wkt_curve_empties_roundtrip",
+ "eval.tests.test_io_deep_cases.test_wkt_empty_component_multigeometry_roundtrip[mcurve_leading_empty]",
+ "eval.tests.test_io_deep_cases.test_wkt_empty_component_multigeometry_roundtrip[mls_leading_empty]",
+ "eval.tests.test_io_deep_cases.test_wkt_empty_component_multigeometry_roundtrip[mls_trailing_empty]",
+ "eval.tests.test_io_deep_cases.test_wkt_empty_component_multigeometry_roundtrip[mp_leading_empty]",
+ "eval.tests.test_io_deep_cases.test_wkt_empty_component_multigeometry_roundtrip[mp_only_empty]",
+ "eval.tests.test_io_deep_cases.test_wkt_empty_component_multigeometry_roundtrip[mp_trailing_empty]",
+ "eval.tests.test_io_deep_cases.test_wkt_empty_component_multigeometry_roundtrip[mpoly_leading_empty]",
+ "eval.tests.test_io_deep_cases.test_wkt_empty_component_multigeometry_roundtrip[msurface_leading_empty]",
+ "eval.tests.test_io_deep_cases.test_wkt_linestring_single_point_rejected",
+ "eval.tests.test_io_deep_cases.test_wkt_nesting_depth_100_plus_linestring",
+ "eval.tests.test_io_deep_cases.test_wkt_nesting_depth_limit_boundary_99_ok",
+ "eval.tests.test_io_deep_cases.test_wkt_nesting_depth_limit_thrown_at_100",
+ "eval.tests.test_io_deep_cases.test_wkt_nesting_depth_shallow_accepted",
+ "eval.tests.test_io_deep_cases.test_wkt_polygon_two_distinct_point_ring_ok",
+ "eval.tests.test_io_deep_cases.test_wkt_redundant_dimensional_keyword[dup_m]",
+ "eval.tests.test_io_deep_cases.test_wkt_redundant_dimensional_keyword[dup_z]",
+ "eval.tests.test_io_deep_cases.test_wkt_redundant_dimensional_keyword[dup_zm]",
+ "eval.tests.test_io_deep_cases.test_wkt_redundant_dimensional_keyword[qz_point]",
+ "eval.tests.test_io_deep_cases.test_wkt_redundant_dimensional_keyword[x_point]",
+ "eval.tests.test_io_deep_cases.test_wkt_second_dimension_after_first_reported_previously",
+ "eval.tests.test_io_deep_cases.test_wkt_unknown_type_name_rejected_before_dimension_parse",
+ "eval.tests.test_io_dispatch_more.test_empty_polygon_wkb_reads_as_empty",
+ "eval.tests.test_io_dispatch_more.test_format_word_case_folded[geojson_upper]",
+ "eval.tests.test_io_dispatch_more.test_format_word_case_folded[json_mixed]",
+ "eval.tests.test_io_dispatch_more.test_format_word_case_folded[txt_upper]",
+ "eval.tests.test_io_dispatch_more.test_format_word_case_folded[wkb_upper]",
+ "eval.tests.test_io_dispatch_more.test_format_word_case_folded[wkt_upper]",
+ "eval.tests.test_io_dispatch_more.test_invalid_format_word_rejected_case_insensitive",
+ "eval.tests.test_io_dispatch_more.test_precision_does_not_alter_geojson_output",
+ "eval.tests.test_io_dispatch_more.test_precision_does_not_alter_wkb_output",
+ "eval.tests.test_io_dispatch_more.test_wkb_hex_literal_input_case_insensitive[hex_lower]",
+ "eval.tests.test_io_dispatch_more.test_wkb_hex_literal_input_case_insensitive[hex_upper]",
+ "eval.tests.test_io_dispatch_more.test_wkb_hex_literal_truncated_buffer[truncated_point]",
+ "eval.tests.test_io_dispatch_more.test_wkb_hex_literal_truncated_buffer[type_only]",
+ "eval.tests.test_io_dispatch_more.test_wkb_stream_empty_file_reads_nothing",
+ "eval.tests.test_io_dispatch_more.test_wkt_stream_aborts_on_bad_first_line",
+ "eval.tests.test_io_dispatch_more.test_wkt_stream_aborts_on_bad_middle_line",
+ "eval.tests.test_io_dispatch_more.test_wkt_stream_multiline_and_blank_lines_skipped",
+ "eval.tests.test_stream_readers.test_wkb_stream_collect",
+ "eval.tests.test_stream_readers.test_wkb_stream_empty_file",
+ "eval.tests.test_stream_readers.test_wkb_stream_limit",
+ "eval.tests.test_stream_readers.test_wkb_stream_reads_multiple_geometries",
+ "eval.tests.test_stream_readers.test_wkt_stream_collect_creates_collection",
+ "eval.tests.test_stream_readers.test_wkt_stream_default_output_per_geometry",
+ "eval.tests.test_stream_readers.test_wkt_stream_empty_file_yields_nothing",
+ "eval.tests.test_stream_readers.test_wkt_stream_explode_emits_components",
+ "eval.tests.test_stream_readers.test_wkt_stream_ignores_blank_lines",
+ "eval.tests.test_stream_readers.test_wkt_stream_limit_counts_geometries",
+ "eval.tests.test_stream_readers.test_wkt_stream_limit_with_offset",
+ "eval.tests.test_stream_readers.test_wkt_stream_offset_skips_geometries",
+ "eval.tests.test_stream_readers.test_wkt_stream_reads_geometry_spanning_multiple_lines",
+ "eval.tests.test_stream_readers.test_wkt_stream_reads_multiple_geometries",
+ "eval.tests.test_stream_readers_edge.test_wkb_stream_explode_emits_components",
+ "eval.tests.test_stream_readers_edge.test_wkb_stream_offset_one_skips_two_is_empty",
+ "eval.tests.test_stream_readers_edge.test_wkb_stream_offset_zero_limit_one",
+ "eval.tests.test_stream_readers_edge.test_wkb_stream_offset_zero_skips_first",
+ "eval.tests.test_stream_readers_edge.test_wkt_multipoint_z_roundtrip",
+ "eval.tests.test_stream_readers_edge.test_wkt_stream_crlf_line_endings",
+ "eval.tests.test_stream_readers_edge.test_wkt_stream_full_limit_reads_all",
+ "eval.tests.test_stream_readers_edge.test_wkt_stream_limit_zero_reads_nothing",
+ "eval.tests.test_stream_readers_edge.test_wkt_stream_offset_past_end_reads_nothing",
+ "eval.tests.test_stream_readers_edge.test_wkt_stream_offset_zero_limit_one",
+ "eval.tests.test_stream_readers_edge.test_wkt_stream_offset_zero_skips_first_geometry",
+ "eval.tests.test_stream_readers_edge.test_wkt_stream_whitespace_only_is_empty",
+ "eval.tests.test_stream_readers_edge.test_wkt_uppercase_scientific_notation",
+ "eval.tests.test_wkb_reader.test_wkb_read_byte_order_defaults_to_machine",
+ "eval.tests.test_wkb_reader.test_wkb_read_empty_linestring",
+ "eval.tests.test_wkb_reader.test_wkb_read_empty_polygon",
+ "eval.tests.test_wkb_reader.test_wkb_read_geometry_collection",
+ "eval.tests.test_wkb_reader.test_wkb_read_invalid_hex_char",
+ "eval.tests.test_wkb_reader.test_wkb_read_iso_type_ranges[iso_m]",
+ "eval.tests.test_wkb_reader.test_wkb_read_iso_type_ranges[iso_z]",
+ "eval.tests.test_wkb_reader.test_wkb_read_iso_type_ranges[iso_zm]",
+ "eval.tests.test_wkb_reader.test_wkb_read_multilinestring",
+ "eval.tests.test_wkb_reader.test_wkb_read_multipoint",
+ "eval.tests.test_wkb_reader.test_wkb_read_multipolygon",
+ "eval.tests.test_wkb_reader.test_wkb_read_ndr_negative_point",
+ "eval.tests.test_wkb_reader.test_wkb_read_ndr_point",
+ "eval.tests.test_wkb_reader.test_wkb_read_point_empty_via_nan",
+ "eval.tests.test_wkb_reader.test_wkb_read_polygon",
+ "eval.tests.test_wkb_reader.test_wkb_read_premature_hex",
+ "eval.tests.test_wkb_reader.test_wkb_read_sfsql_m_point",
+ "eval.tests.test_wkb_reader.test_wkb_read_sfsql_z_point",
+ "eval.tests.test_wkb_reader.test_wkb_read_sfsql_zm_point",
+ "eval.tests.test_wkb_reader.test_wkb_read_truncated_buffer",
+ "eval.tests.test_wkb_reader.test_wkb_read_unknown_type",
+ "eval.tests.test_wkb_reader.test_wkb_read_xdr_linestring",
+ "eval.tests.test_wkb_reader.test_wkb_read_xdr_point",
+ "eval.tests.test_wkb_reader_iso_collections.test_dim_geometrycollection_iso_zm_structural_decode",
+ "eval.tests.test_wkb_reader_iso_collections.test_iso_m_geometrycollection_2d_member_plain",
+ "eval.tests.test_wkb_reader_iso_collections.test_iso_m_multilinestring_m_line_keeps_m",
+ "eval.tests.test_wkb_reader_iso_collections.test_iso_z_geometrycollection_z_member",
+ "eval.tests.test_wkb_reader_iso_collections.test_iso_z_multilinestring_2d_members_drops_dimension",
+ "eval.tests.test_wkb_reader_iso_collections.test_iso_z_multilinestring_z_line_keeps_dimension",
+ "eval.tests.test_wkb_reader_iso_collections.test_iso_z_multipoint_2d_members_drops_dimension",
+ "eval.tests.test_wkb_reader_iso_collections.test_iso_z_multipoint_z_members_keep_dimension",
+ "eval.tests.test_wkb_reader_iso_collections.test_iso_zm_geometrycollection_2d_member_drops_dimension",
+ "eval.tests.test_wkb_reader_iso_collections.test_iso_zm_geometrycollection_zero_members_empty",
+ "eval.tests.test_wkb_reader_iso_collections.test_iso_zm_geometrycollection_zm_member",
+ "eval.tests.test_wkb_reader_iso_collections.test_iso_zm_multipoint_2d_members_drops_dimension",
+ "eval.tests.test_wkb_reader_iso_collections.test_iso_zm_multipolygon_2d_member_drops_dimension",
+ "eval.tests.test_wkb_reader_iso_collections.test_sfsql_m_multipolygon_2d_member_drops_dimension",
+ "eval.tests.test_wkb_reader_iso_collections.test_sfsql_z_multipoint_z_members",
+ "eval.tests.test_wkb_reader_iso_collections.test_sfsql_zm_multilinestring_inner_m_wins",
+ "eval.tests.test_wkb_reader_iso_collections.test_truncated_dim_geometrycollection_errors",
+ "eval.tests.test_wkb_reader_iso_collections.test_xdr_iso_z_geometrycollection_z_member",
+ "eval.tests.test_wkb_reader_srid.test_wkb_read_ndr_point_with_srid",
+ "eval.tests.test_wkb_reader_srid.test_wkb_read_srid_header_without_srid_field",
+ "eval.tests.test_wkb_reader_srid.test_wkb_read_srid_linestring",
+ "eval.tests.test_wkb_reader_srid.test_wkb_read_srid_m_point",
+ "eval.tests.test_wkb_reader_srid.test_wkb_read_srid_negative_value",
+ "eval.tests.test_wkb_reader_srid.test_wkb_read_srid_short_coordinate_payload",
+ "eval.tests.test_wkb_reader_srid.test_wkb_read_srid_z_point",
+ "eval.tests.test_wkb_reader_srid.test_wkb_read_xdr_point_with_srid",
+ "eval.tests.test_wkb_writer.test_wkb_writer_dimension_flags[z_point]",
+ "eval.tests.test_wkb_writer.test_wkb_writer_dimension_flags[zm_point]",
+ "eval.tests.test_wkb_writer.test_wkb_writer_exact_hex[geometrycoll]",
+ "eval.tests.test_wkb_writer.test_wkb_writer_exact_hex[linestring]",
+ "eval.tests.test_wkb_writer.test_wkb_writer_exact_hex[linestring_empty]",
+ "eval.tests.test_wkb_writer.test_wkb_writer_exact_hex[multilinestring]",
+ "eval.tests.test_wkb_writer.test_wkb_writer_exact_hex[multipoint]",
+ "eval.tests.test_wkb_writer.test_wkb_writer_exact_hex[multipolygon]",
+ "eval.tests.test_wkb_writer.test_wkb_writer_exact_hex[point]",
+ "eval.tests.test_wkb_writer.test_wkb_writer_exact_hex[point_empty]",
+ "eval.tests.test_wkb_writer.test_wkb_writer_exact_hex[point_negative]",
+ "eval.tests.test_wkb_writer.test_wkb_writer_exact_hex[polygon]",
+ "eval.tests.test_wkb_writer.test_wkb_writer_exact_hex[polygon_empty]",
+ "eval.tests.test_wkb_writer.test_wkb_writer_hex_is_event_and_uppercase",
+ "eval.tests.test_wkb_writer.test_wkb_writer_roundtrips_through_wkb_reader_hex",
+ "eval.tests.test_wkb_writer.test_wkb_writer_starts_with_byte_order_and_type",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_dimension_roundtrip[m_point]",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_dimension_roundtrip[m_point_empty]",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_dimension_roundtrip[z_linestring]",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_dimension_roundtrip[z_linestring_empty]",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_dimension_roundtrip[z_multipoint]",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_dimension_roundtrip[zm_linestring]",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_dimension_roundtrip[zm_point_empty]",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_m_multipoint",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_m_point_empty_is_nan_filled",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_m_point_roundtrips",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_m_point_uses_m_flag",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_z_bytes_are_valid_xdr_sequences",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_z_geometry_collection",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_z_linestring",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_z_linestring_empty",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_z_linestring_roundtrips",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_z_multilinestring",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_z_multipoint",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_z_multipolygon",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_z_polygon",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_z_polygon_empty",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_zm_linestring",
+ "eval.tests.test_wkb_writer_dimensions.test_wkb_writer_zm_point_empty_is_nan_filled",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_empty_collection_full_cycle_identity",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_empty_collection_reads_back[gc]",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_empty_collection_reads_back[mls]",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_empty_collection_reads_back[mp]",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_empty_collection_reads_back[mply]",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_empty_dimensional_collection_readback_drops_orphan_dimension",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_2d_empty_collection_type_words[collection_empty]",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_2d_empty_collection_type_words[multilinestring_empty]",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_2d_empty_collection_type_words[multipoint_empty]",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_2d_empty_collection_type_words[multipolygon_empty]",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_empty_collection_hex_structure",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_empty_dimensional_collection_drops_flag[GEOMETRYCOLLECTION Z EMPTY]",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_empty_dimensional_collection_drops_flag[MULTILINESTRING Z EMPTY]",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_empty_dimensional_collection_drops_flag[MULTIPOINT M EMPTY]",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_empty_dimensional_collection_drops_flag[MULTIPOINT Z EMPTY]",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_empty_dimensional_collection_drops_flag[MULTIPOLYGON Z EMPTY]",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_empty_simple_keeps_dimension_flag[LINESTRING Z EMPTY-0102000080]",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_empty_simple_keeps_dimension_flag[POINT Z EMPTY-0101000080]",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_empty_simple_keeps_dimension_flag[POLYGON Z EMPTY-0103000080]",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_empty_z_polygon_keeps_flag_contrast",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_gc_point_and_linestring",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_gc_with_empty_multi_member",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_multilinestring_two_members",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_multipolygon_two_members",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_nested_collection_structural_decode",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_nested_geometry_collection_two_levels",
+ "eval.tests.test_wkb_writer_empty_collections.test_wkb_writer_polygon_two_interior_rings",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_dimensional_empty_forms[gc_z_empty]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_dimensional_empty_forms[linestring_z_empty]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_dimensional_empty_forms[multilinestring_z_empty]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_dimensional_empty_forms[multipoint_z_empty]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_dimensional_empty_forms[multipolygon_z_empty]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_dimensional_empty_forms[point_z_empty]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_dimensional_empty_forms[polygon_z_empty]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_invalid_numeric_tokens[alnum_word]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_invalid_numeric_tokens[alpha_word]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_invalid_numeric_tokens[extra_coord]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_invalid_numeric_tokens[linestring_trailing_comma]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_invalid_numeric_tokens[zm_mismatch_last]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_strtod_numeric_spellings[exp_upper]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_strtod_numeric_spellings[hex_int]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_strtod_numeric_spellings[hex_negative]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_strtod_numeric_spellings[inf_overflow]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_strtod_numeric_spellings[leading_dot]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_strtod_numeric_spellings[leading_plus]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_strtod_numeric_spellings[neg_inf]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_strtod_numeric_spellings[pos_nan]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_strtod_numeric_spellings[signed_exp_lower]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_strtod_numeric_spellings[trailing_dot]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_writer_precision_rounding[prec0_negative]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_writer_precision_rounding[prec0_rounddown]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_writer_precision_rounding[prec0_roundup]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_writer_precision_rounding[prec2_half_up]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_writer_precision_rounding[prec2_truncate]",
+ "eval.tests.test_wkt_numeric_edges.test_wkt_writer_precision_rounding[prec3_negative]",
+ "eval.tests.test_wkt_reader.test_wkt_circularstring[circularstring]",
+ "eval.tests.test_wkt_reader.test_wkt_circularstring[circularstring_empty]",
+ "eval.tests.test_wkt_reader.test_wkt_collection_z_promotes_members",
+ "eval.tests.test_wkt_reader.test_wkt_compoundcurve",
+ "eval.tests.test_wkt_reader.test_wkt_compoundcurve_empty",
+ "eval.tests.test_wkt_reader.test_wkt_curvepolygon",
+ "eval.tests.test_wkt_reader.test_wkt_empty_literal_is_empty_file",
+ "eval.tests.test_wkt_reader.test_wkt_geometry_collection[gc]",
+ "eval.tests.test_wkt_reader.test_wkt_geometry_collection[gc_empty]",
+ "eval.tests.test_wkt_reader.test_wkt_geometry_collection[gc_nested]",
+ "eval.tests.test_wkt_reader.test_wkt_linearring[linearring]",
+ "eval.tests.test_wkt_reader.test_wkt_linestring[ls2]",
+ "eval.tests.test_wkt_reader.test_wkt_linestring[ls3]",
+ "eval.tests.test_wkt_reader.test_wkt_linestring[ls_empty]",
+ "eval.tests.test_wkt_reader.test_wkt_multicurve",
+ "eval.tests.test_wkt_reader.test_wkt_multilinestring[mls]",
+ "eval.tests.test_wkt_reader.test_wkt_multilinestring[mls_empty]",
+ "eval.tests.test_wkt_reader.test_wkt_multipoint[mp_empty]",
+ "eval.tests.test_wkt_reader.test_wkt_multipoint[mp_paren]",
+ "eval.tests.test_wkt_reader.test_wkt_multipoint[mp_plain]",
+ "eval.tests.test_wkt_reader.test_wkt_multipolygon[mpoly]",
+ "eval.tests.test_wkt_reader.test_wkt_multipolygon[mpoly_empty]",
+ "eval.tests.test_wkt_reader.test_wkt_multisurface",
+ "eval.tests.test_wkt_reader.test_wkt_negative_zero_coordinate",
+ "eval.tests.test_wkt_reader.test_wkt_nonexistent_file_empty",
+ "eval.tests.test_wkt_reader.test_wkt_parse_errors[comma_missing_coord]",
+ "eval.tests.test_wkt_reader.test_wkt_parse_errors[extra_number]",
+ "eval.tests.test_wkt_reader.test_wkt_parse_errors[missing_close]",
+ "eval.tests.test_wkt_reader.test_wkt_parse_errors[too_few_numbers]",
+ "eval.tests.test_wkt_reader.test_wkt_parse_errors[trailing_comma]",
+ "eval.tests.test_wkt_reader.test_wkt_parse_errors[trailing_text]",
+ "eval.tests.test_wkt_reader.test_wkt_parse_errors[truncated_coord]",
+ "eval.tests.test_wkt_reader.test_wkt_parse_errors[unknown_type]",
+ "eval.tests.test_wkt_reader.test_wkt_parse_errors[word_in_coord]",
+ "eval.tests.test_wkt_reader.test_wkt_point[point]",
+ "eval.tests.test_wkt_reader.test_wkt_point[point_lowercase]",
+ "eval.tests.test_wkt_reader.test_wkt_point[point_negative]",
+ "eval.tests.test_wkt_reader.test_wkt_point[point_no_space]",
+ "eval.tests.test_wkt_reader.test_wkt_point[point_origin]",
+ "eval.tests.test_wkt_reader.test_wkt_point_dimensions[sm]",
+ "eval.tests.test_wkt_reader.test_wkt_point_dimensions[sz]",
+ "eval.tests.test_wkt_reader.test_wkt_point_dimensions[szm]",
+ "eval.tests.test_wkt_reader.test_wkt_point_dimensions[undeclared_z]",
+ "eval.tests.test_wkt_reader.test_wkt_point_dimensions[undeclared_zm]",
+ "eval.tests.test_wkt_reader.test_wkt_point_z_roundtrip_identifier",
+ "eval.tests.test_wkt_reader.test_wkt_polygon[polygon]",
+ "eval.tests.test_wkt_reader.test_wkt_polygon[polygon_empty]",
+ "eval.tests.test_wkt_reader.test_wkt_scientific_notation_parsed",
+ "eval.tests.test_wkt_reader.test_wkt_whitespace_tolerance[surrounding_ws]",
+ "eval.tests.test_wkt_reader.test_wkt_whitespace_tolerance[tabs_newlines]",
+ "eval.tests.test_wkt_reader.test_wkt_whitespace_tolerance[trailing_zeros]",
+ "eval.tests.test_wkt_reader.test_wkt_zdim_compound[ls_z]",
+ "eval.tests.test_wkt_reader.test_wkt_zdim_compound[poly_z]",
+ "eval.tests.test_wkt_reader.test_wkt_zone_flag_conflict",
+ "eval.tests.test_wkt_reader_numeric.test_geojson_nan_coordinate_is_null",
+ "eval.tests.test_wkt_reader_numeric.test_wkb_nan_coordinate_is_nan_payload",
+ "eval.tests.test_wkt_reader_numeric.test_wkt_dimension_value_count_conflicts[five_coords]",
+ "eval.tests.test_wkt_reader_numeric.test_wkt_dimension_value_count_conflicts[unclosed_collection]",
+ "eval.tests.test_wkt_reader_numeric.test_wkt_dimension_value_count_conflicts[z_short_linestring]",
+ "eval.tests.test_wkt_reader_numeric.test_wkt_dimension_value_count_conflicts[z_short_point]",
+ "eval.tests.test_wkt_reader_numeric.test_wkt_dimension_value_count_conflicts[zm_short_point]",
+ "eval.tests.test_wkt_reader_numeric.test_wkt_float_overflow_and_underflow[overflow]",
+ "eval.tests.test_wkt_reader_numeric.test_wkt_float_overflow_and_underflow[overflow_neg]",
+ "eval.tests.test_wkt_reader_numeric.test_wkt_float_overflow_and_underflow[underflow]",
+ "eval.tests.test_wkt_reader_numeric.test_wkt_nonfinite_in_linestring",
+ "eval.tests.test_wkt_reader_numeric.test_wkt_nonfinite_literals_accepted[inf]",
+ "eval.tests.test_wkt_reader_numeric.test_wkt_nonfinite_literals_accepted[lowercase_nan]",
+ "eval.tests.test_wkt_reader_numeric.test_wkt_nonfinite_literals_accepted[nan_inf]",
+ "eval.tests.test_wkt_reader_numeric.test_wkt_nonfinite_literals_accepted[neg_inf]",
+ "eval.tests.test_wkt_reader_numeric.test_wkt_nonfinite_literals_accepted[title_nan]",
+ "eval.tests.test_wkt_reader_numeric.test_wkt_nonfinite_literals_accepted[upper_inf]",
+ "eval.tests.test_wkt_reader_numeric.test_wkt_polygon_implicit_ring_closure",
+ "eval.tests.test_wkt_reader_numeric.test_wkt_ring_too_few_points",
+ "eval.tests.test_wkt_writer.test_wkt_writer_default_precision_preserves_value",
+ "eval.tests.test_wkt_writer.test_wkt_writer_dimensions[m]",
+ "eval.tests.test_wkt_writer.test_wkt_writer_dimensions[z]",
+ "eval.tests.test_wkt_writer.test_wkt_writer_dimensions[zm]",
+ "eval.tests.test_wkt_writer.test_wkt_writer_empty_forms",
+ "eval.tests.test_wkt_writer.test_wkt_writer_keeps_fractional_values",
+ "eval.tests.test_wkt_writer.test_wkt_writer_multipoint_canonical_form",
+ "eval.tests.test_wkt_writer.test_wkt_writer_nested_geometry_collection",
+ "eval.tests.test_wkt_writer.test_wkt_writer_polygon_with_hole",
+ "eval.tests.test_wkt_writer.test_wkt_writer_precision_applied",
+ "eval.tests.test_wkt_writer.test_wkt_writer_precision_drops_fraction",
+ "eval.tests.test_wkt_writer.test_wkt_writer_precision_zero_rounds[round_half_up]",
+ "eval.tests.test_wkt_writer.test_wkt_writer_precision_zero_rounds[round_half_up_2]",
+ "eval.tests.test_wkt_writer.test_wkt_writer_precision_zero_rounds[round_to_zero]",
+ "eval.tests.test_wkt_writer.test_wkt_writer_roundtrip[geometrycoll]",
+ "eval.tests.test_wkt_writer.test_wkt_writer_roundtrip[linestring]",
+ "eval.tests.test_wkt_writer.test_wkt_writer_roundtrip[multilinestring]",
+ "eval.tests.test_wkt_writer.test_wkt_writer_roundtrip[multipoint]",
+ "eval.tests.test_wkt_writer.test_wkt_writer_roundtrip[multipolygon]",
+ "eval.tests.test_wkt_writer.test_wkt_writer_roundtrip[point]",
+ "eval.tests.test_wkt_writer.test_wkt_writer_roundtrip[polygon]",
+ "eval.tests.test_wkt_writer.test_wkt_writer_scientific_notation[boundary_not_sci]",
+ "eval.tests.test_wkt_writer.test_wkt_writer_scientific_notation[large_sci]",
+ "eval.tests.test_wkt_writer.test_wkt_writer_scientific_notation[very_large]",
+ "eval.tests.test_wkt_writer.test_wkt_writer_scientific_notation[very_small]",
+ "eval.tests.test_wkt_writer.test_wkt_writer_trims_trailing_zeros"
+ ]
+ },
+ "generated_module_04": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_algorithm_centroid_predicates_more.test_area_polygon_with_hole",
+ "eval.tests.test_algorithm_centroid_predicates_more.test_area_right_triangle",
+ "eval.tests.test_algorithm_centroid_predicates_more.test_boundary_of_holed_polygon_is_outer_ring",
+ "eval.tests.test_algorithm_centroid_predicates_more.test_centroid_notched_polygon",
+ "eval.tests.test_algorithm_centroid_predicates_more.test_centroid_polygon_with_hole",
+ "eval.tests.test_algorithm_centroid_predicates_more.test_centroid_u_shaped_polygon",
+ "eval.tests.test_algorithm_centroid_predicates_more.test_covered_by_point_on_polygon_boundary",
+ "eval.tests.test_algorithm_centroid_predicates_more.test_crosses_line_through_polygon",
+ "eval.tests.test_algorithm_centroid_predicates_more.test_distance_geometry_collection_max_component",
+ "eval.tests.test_algorithm_centroid_predicates_more.test_distance_line_to_polygon_below",
+ "eval.tests.test_algorithm_centroid_predicates_more.test_equals_congruent_polygons",
+ "eval.tests.test_algorithm_centroid_predicates_more.test_interior_point_of_u_shaped_polygon",
+ "eval.tests.test_algorithm_centroid_predicates_more.test_length_holed_polygon_is_perimeter",
+ "eval.tests.test_algorithm_centroid_predicates_more.test_max_diameter_of_thin_rectangle_is_diagonal",
+ "eval.tests.test_algorithm_centroid_predicates_more.test_min_area_rectangle_of_diagonal_square",
+ "eval.tests.test_algorithm_centroid_predicates_more.test_min_area_rectangle_of_segment_is_segment",
+ "eval.tests.test_algorithm_centroid_predicates_more.test_min_diameter_of_thin_rectangle_is_width",
+ "eval.tests.test_algorithm_centroid_predicates_more.test_overlaps_partially_shared_polygons",
+ "eval.tests.test_algorithm_centroid_predicates_more.test_relate_line_crossing_holed_polygon",
+ "eval.tests.test_algorithm_centroid_predicates_more.test_touches_line_vertex_on_polygon_boundary",
+ "eval.tests.test_algorithm_distance.test_distance_point_line",
+ "eval.tests.test_algorithm_distance.test_distance_point_line_extension",
+ "eval.tests.test_algorithm_distance.test_distance_point_point[POINT (0 0)-POINT (0 0)-0]",
+ "eval.tests.test_algorithm_distance.test_distance_point_point[POINT (0 0)-POINT (3 4)-5]",
+ "eval.tests.test_algorithm_distance.test_distance_point_point[POINT (0 0)-POINT EMPTY-inf]",
+ "eval.tests.test_algorithm_distance.test_distance_prepared_matches_plain",
+ "eval.tests.test_algorithm_distance.test_frechet_distance[LINESTRING (0 0, 2 0)-LINESTRING (0 1, 2 1)-1]",
+ "eval.tests.test_algorithm_distance.test_frechet_distance[POINT (0 0)-POINT (0 0)-0]",
+ "eval.tests.test_algorithm_distance.test_frechet_distance_positive_for_offset_lines",
+ "eval.tests.test_algorithm_distance.test_hausdorff_distance[LINESTRING (0 0, 2 0)-LINESTRING (0 1, 2 1)-1]",
+ "eval.tests.test_algorithm_distance.test_hausdorff_distance[POINT (0 0)-POINT (0 0)-0]",
+ "eval.tests.test_algorithm_distance.test_hausdorff_symmetric",
+ "eval.tests.test_algorithm_distance.test_nearest_points_disjoint_polygons",
+ "eval.tests.test_algorithm_distance.test_nearest_points_line_and_point",
+ "eval.tests.test_algorithm_distance.test_nearest_points_prepared_matches",
+ "eval.tests.test_algorithm_distance_linref_rules.test_distance_polygons_diagonal_separation",
+ "eval.tests.test_algorithm_distance_linref_rules.test_extract_line_interior_subsegment",
+ "eval.tests.test_algorithm_distance_linref_rules.test_frechet_identical_lines_is_zero",
+ "eval.tests.test_algorithm_distance_linref_rules.test_frechet_parallel_offset_lines_is_offset",
+ "eval.tests.test_algorithm_distance_linref_rules.test_frechet_reversed_lines_is_total_length",
+ "eval.tests.test_algorithm_distance_linref_rules.test_interpolate_beyond_end_clamps_to_endpoint",
+ "eval.tests.test_algorithm_distance_linref_rules.test_interpolate_half_length",
+ "eval.tests.test_algorithm_distance_linref_rules.test_interpolate_zero_is_startpoint",
+ "eval.tests.test_algorithm_distance_linref_rules.test_nearest_points_line_to_polygon_edge",
+ "eval.tests.test_algorithm_distance_linref_rules.test_orientation_index_collinear_is_zero",
+ "eval.tests.test_algorithm_distance_linref_rules.test_orientation_index_left_is_positive",
+ "eval.tests.test_algorithm_distance_linref_rules.test_orientation_index_right_is_negative",
+ "eval.tests.test_algorithm_distance_linref_rules.test_project_bent_line_midpoint",
+ "eval.tests.test_algorithm_distance_linref_rules.test_project_perpendicular_foot",
+ "eval.tests.test_algorithm_distance_linref_rules.test_project_point_lying_on_line",
+ "eval.tests.test_algorithm_distance_linref_rules.test_relate_bnr_multivalent_vs_monovalent_shared_vertex",
+ "eval.tests.test_algorithm_distance_linref_rules.test_relate_bnr_point_on_multivalent_node_rule_difference",
+ "eval.tests.test_algorithm_errors_and_edges.test_centroid_multipolygon_balance",
+ "eval.tests.test_algorithm_errors_and_edges.test_centroid_of_empty_geometry[GEOMETRYCOLLECTION EMPTY]",
+ "eval.tests.test_algorithm_errors_and_edges.test_centroid_of_empty_geometry[LINESTRING EMPTY]",
+ "eval.tests.test_algorithm_errors_and_edges.test_centroid_of_empty_geometry[POINT EMPTY]",
+ "eval.tests.test_algorithm_errors_and_edges.test_centroid_of_empty_geometry[POLYGON EMPTY]",
+ "eval.tests.test_algorithm_errors_and_edges.test_centroid_of_line_is_midpoint",
+ "eval.tests.test_algorithm_errors_and_edges.test_concave_hull_ratio_above_range_errors",
+ "eval.tests.test_algorithm_errors_and_edges.test_concave_hull_ratio_zero_valid",
+ "eval.tests.test_algorithm_errors_and_edges.test_convex_hull_collinear_is_line",
+ "eval.tests.test_algorithm_errors_and_edges.test_convex_hull_single_point_is_point",
+ "eval.tests.test_algorithm_errors_and_edges.test_convex_hull_two_points_is_line",
+ "eval.tests.test_algorithm_errors_and_edges.test_densify_nonpositive_tolerance_errors",
+ "eval.tests.test_algorithm_errors_and_edges.test_densify_positive_tolerance_accepts",
+ "eval.tests.test_algorithm_errors_and_edges.test_interior_point_of_empty",
+ "eval.tests.test_algorithm_errors_and_edges.test_invalid_wkt_rejected_nonzero",
+ "eval.tests.test_algorithm_errors_and_edges.test_is_simple_bowtie_self_crossing",
+ "eval.tests.test_algorithm_errors_and_edges.test_is_simple_clean_polyline",
+ "eval.tests.test_algorithm_errors_and_edges.test_is_simple_closed_ring",
+ "eval.tests.test_algorithm_errors_and_edges.test_is_valid_self_crossing_polygon",
+ "eval.tests.test_algorithm_errors_and_edges.test_is_valid_well_formed_square",
+ "eval.tests.test_algorithm_errors_and_edges.test_orientation_index_sign[POINT (1 -1)--1]",
+ "eval.tests.test_algorithm_errors_and_edges.test_orientation_index_sign[POINT (1 0)-0]",
+ "eval.tests.test_algorithm_errors_and_edges.test_orientation_index_sign[POINT (1 1)-1]",
+ "eval.tests.test_algorithm_extra.test_area_multipolygon_positive_and_negative",
+ "eval.tests.test_algorithm_extra.test_buffer_erode_too_far_empties",
+ "eval.tests.test_algorithm_extra.test_buffer_negative_shrinks_polygon",
+ "eval.tests.test_algorithm_extra.test_centroid_equilateral_triangle",
+ "eval.tests.test_algorithm_extra.test_centroid_multi_polygon",
+ "eval.tests.test_algorithm_extra.test_centroid_offsets_with_hole",
+ "eval.tests.test_algorithm_extra.test_coverage_clean_two_adjacent_squares",
+ "eval.tests.test_algorithm_extra.test_coverage_simplify_two_adjacent_squares",
+ "eval.tests.test_algorithm_extra.test_coverage_union_adjacent_squares_area",
+ "eval.tests.test_algorithm_extra.test_coverage_validate_clean_pair_no_gap",
+ "eval.tests.test_algorithm_extra.test_coverage_validate_reports_gap_lines",
+ "eval.tests.test_algorithm_extra.test_distance_crossing_lines_is_zero",
+ "eval.tests.test_algorithm_extra.test_distance_identical_polygons_zero",
+ "eval.tests.test_algorithm_extra.test_distance_point_inside_polygon_is_zero",
+ "eval.tests.test_algorithm_extra.test_distance_polygon_to_external_line",
+ "eval.tests.test_algorithm_extra.test_length_of_mixed_lines",
+ "eval.tests.test_algorithm_extra.test_polygon_perimeter",
+ "eval.tests.test_algorithm_mass.test_area_basic[LINESTRING (0 0, 3 4)-0]",
+ "eval.tests.test_algorithm_mass.test_area_basic[POLYGON ((0 0, 2 0, 2 2, 0 2, 0 0))-4]",
+ "eval.tests.test_algorithm_mass.test_area_basic[POLYGON ((0 0, 4 0, 4 4, 0 4, 0 0))-16]",
+ "eval.tests.test_algorithm_mass.test_area_basic[POLYGON EMPTY-0]",
+ "eval.tests.test_algorithm_mass.test_area_geojson_format",
+ "eval.tests.test_algorithm_mass.test_area_triangle",
+ "eval.tests.test_algorithm_mass.test_centroid_line_geometry_collection",
+ "eval.tests.test_algorithm_mass.test_centroid_point[MULTIPOINT ((1 1), (2 2), (3 3))-POINT (2 2)]",
+ "eval.tests.test_algorithm_mass.test_centroid_point[POINT (1 2)-POINT (1 2)]",
+ "eval.tests.test_algorithm_mass.test_centroid_point[POINT EMPTY-POINT EMPTY]",
+ "eval.tests.test_algorithm_mass.test_centroid_square[POLYGON ((0 0, 0 10, 10 10, 10 0, 0 0))-POINT (5 5)]",
+ "eval.tests.test_algorithm_mass.test_centroid_square[POLYGON ((0 0, 4 0, 4 2, 0 2, 0 0))-POINT (2 1)]",
+ "eval.tests.test_algorithm_mass.test_centroid_square[POLYGON ((0 0, 4 0, 4 4, 0 4, 0 0))-POINT (2 2)]",
+ "eval.tests.test_algorithm_mass.test_centroid_triangle_centroid",
+ "eval.tests.test_algorithm_mass.test_centroid_triangle_hole",
+ "eval.tests.test_algorithm_mass.test_interior_point_lies_inside_polygon",
+ "eval.tests.test_algorithm_mass.test_interior_point_of_line",
+ "eval.tests.test_algorithm_mass.test_interior_point_polygon_center",
+ "eval.tests.test_algorithm_minim_hull.test_concave_hull_by_length",
+ "eval.tests.test_algorithm_minim_hull.test_concave_hull_holes_preserve_hole",
+ "eval.tests.test_algorithm_minim_hull.test_concave_hull_of_points",
+ "eval.tests.test_algorithm_minim_hull.test_largest_empty_circle_in_closed_boundary",
+ "eval.tests.test_algorithm_minim_hull.test_max_diameter_length_diagonal",
+ "eval.tests.test_algorithm_minim_hull.test_max_diameter_of_rectangle",
+ "eval.tests.test_algorithm_minim_hull.test_max_inscribed_circle_in_square",
+ "eval.tests.test_algorithm_minim_hull.test_min_area_rectangle_axis_aligned",
+ "eval.tests.test_algorithm_minim_hull.test_min_area_rectangle_for_diagonal_line",
+ "eval.tests.test_algorithm_minim_hull.test_min_bounding_circle_of_set",
+ "eval.tests.test_algorithm_minim_hull.test_min_diameter_of_rectangle",
+ "eval.tests.test_algorithm_minim_hull.test_simplify_dp_removes_coarse_points",
+ "eval.tests.test_algorithm_minim_hull.test_simplify_dp_zero_tolerance_keeps_points",
+ "eval.tests.test_algorithm_more_ops.test_centroid_multipoint_is_vertex_average",
+ "eval.tests.test_algorithm_more_ops.test_centroid_of_angle_line_is_length_weighted",
+ "eval.tests.test_algorithm_more_ops.test_centroid_of_multipolygon_unequal_areas",
+ "eval.tests.test_algorithm_more_ops.test_cluster_within_below_gap_keeps_separate",
+ "eval.tests.test_algorithm_more_ops.test_cluster_within_pairs_in_chain",
+ "eval.tests.test_algorithm_more_ops.test_cluster_within_straddles_gap_merges_chain",
+ "eval.tests.test_algorithm_more_ops.test_contains_properly_prep_for_tight_containment",
+ "eval.tests.test_algorithm_more_ops.test_covered_by_inner_within_outer",
+ "eval.tests.test_algorithm_more_ops.test_covers_false_when_inner_does_not_contain_outer",
+ "eval.tests.test_algorithm_more_ops.test_distance_point_in_concave_notch_is_zero",
+ "eval.tests.test_algorithm_more_ops.test_distance_point_on_boundary_edge",
+ "eval.tests.test_algorithm_more_ops.test_interpolate_empty_line_gives_nan",
+ "eval.tests.test_algorithm_more_ops.test_intersects_prepared_disjoint_is_false",
+ "eval.tests.test_algorithm_more_ops.test_intersects_prepared_matches_plain",
+ "eval.tests.test_algorithm_more_ops.test_nearest_points_intersecting_lines_degenerate",
+ "eval.tests.test_algorithm_more_ops.test_offset_curve_left_default",
+ "eval.tests.test_algorithm_more_ops.test_offset_curve_right_negative",
+ "eval.tests.test_algorithm_more_ops.test_reduce_precision_zero_gives_nan",
+ "eval.tests.test_algorithm_more_ops.test_simplify_tp_collapses_bumps",
+ "eval.tests.test_algorithm_more_ops.test_simplify_tp_segments_collapse[LINESTRING (0 0, 1 0, 2 0)-LINESTRING (0 0, 2 0)]",
+ "eval.tests.test_algorithm_more_ops.test_simplify_tp_segments_collapse[LINESTRING (0 0, 1 0.1, 2 0)-LINESTRING (0 0, 2 0)]",
+ "eval.tests.test_algorithm_more_ops.test_unknown_op_reports_on_stderr",
+ "eval.tests.test_algorithm_more_ops.test_within_and_prepared_contain_agree",
+ "eval.tests.test_algorithm_more_ops.test_wrong_arg_count_reports_on_stderr",
+ "eval.tests.test_algorithm_orientation_hull.test_convex_hull_collinear_points",
+ "eval.tests.test_algorithm_orientation_hull.test_convex_hull_empty",
+ "eval.tests.test_algorithm_orientation_hull.test_convex_hull_hull_contains_all_points",
+ "eval.tests.test_algorithm_orientation_hull.test_convex_hull_is_convex_polygon",
+ "eval.tests.test_algorithm_orientation_hull.test_convex_hull_of_points",
+ "eval.tests.test_algorithm_orientation_hull.test_convex_hull_of_square",
+ "eval.tests.test_algorithm_orientation_hull.test_convex_hull_single_point",
+ "eval.tests.test_algorithm_orientation_hull.test_extract_line_full_length",
+ "eval.tests.test_algorithm_orientation_hull.test_extract_line_substring",
+ "eval.tests.test_algorithm_orientation_hull.test_interpolate_beyond_end_clamped",
+ "eval.tests.test_algorithm_orientation_hull.test_interpolate_fraction",
+ "eval.tests.test_algorithm_orientation_hull.test_interpolate_midpoint",
+ "eval.tests.test_algorithm_orientation_hull.test_interpolate_negative_measures_from_end",
+ "eval.tests.test_algorithm_orientation_hull.test_orientation_index[POINT (1 -1)--1]",
+ "eval.tests.test_algorithm_orientation_hull.test_orientation_index[POINT (1 0)-0]",
+ "eval.tests.test_algorithm_orientation_hull.test_orientation_index[POINT (1 1)-1]",
+ "eval.tests.test_algorithm_orientation_hull.test_orientation_index_exact_collinear",
+ "eval.tests.test_algorithm_orientation_hull.test_orientation_index_vertical_segment",
+ "eval.tests.test_algorithm_orientation_hull.test_project_point_in_middle_of_vertical",
+ "eval.tests.test_algorithm_orientation_hull.test_project_point_off_line_uses_perpendicular",
+ "eval.tests.test_algorithm_orientation_hull.test_project_point_on_line",
+ "eval.tests.test_algorithm_point_location.test_contains_exact_classification[POINT (0 0)-contains-false]",
+ "eval.tests.test_algorithm_point_location.test_contains_exact_classification[POINT (0 2)-contains-false]",
+ "eval.tests.test_algorithm_point_location.test_contains_exact_classification[POINT (2 2)-contains-true]",
+ "eval.tests.test_algorithm_point_location.test_contains_exact_classification[POINT (5 5)-contains-false]",
+ "eval.tests.test_algorithm_point_location.test_contains_multiple_holes[POINT (1 1)-true]",
+ "eval.tests.test_algorithm_point_location.test_contains_multiple_holes[POINT (3 3)-false]",
+ "eval.tests.test_algorithm_point_location.test_contains_multiple_holes[POINT (5 5)-true]",
+ "eval.tests.test_algorithm_point_location.test_contains_multiple_holes[POINT (7 7)-false]",
+ "eval.tests.test_algorithm_point_location.test_contains_multiple_holes[POINT (9 9)-true]",
+ "eval.tests.test_algorithm_point_location.test_covered_by_edge_and_vertex[POINT (0 0)-coveredBy-true]",
+ "eval.tests.test_algorithm_point_location.test_covered_by_edge_and_vertex[POINT (0 2)-coveredBy-true]",
+ "eval.tests.test_algorithm_point_location.test_covered_by_edge_and_vertex[POINT (2 2)-coveredBy-true]",
+ "eval.tests.test_algorithm_point_location.test_covered_by_edge_and_vertex[POINT (5 5)-coveredBy-false]",
+ "eval.tests.test_algorithm_point_location.test_covered_by_point_in_hole_false",
+ "eval.tests.test_algorithm_point_location.test_covers_boundary_inclusive[POINT (0 0)-covers-true]",
+ "eval.tests.test_algorithm_point_location.test_covers_boundary_inclusive[POINT (0 2)-covers-true]",
+ "eval.tests.test_algorithm_point_location.test_covers_boundary_inclusive[POINT (2 2)-covers-true]",
+ "eval.tests.test_algorithm_point_location.test_covers_boundary_inclusive[POINT (5 5)-covers-false]",
+ "eval.tests.test_algorithm_point_location.test_crosses_line_through_polygon",
+ "eval.tests.test_algorithm_point_location.test_crosses_parallel_no_cross",
+ "eval.tests.test_algorithm_point_location.test_disjoint_line_tangent_at_vertex_not_crossing",
+ "eval.tests.test_algorithm_point_location.test_disjoint_separate_polygons",
+ "eval.tests.test_algorithm_point_location.test_distance_point_beyond_both_endpoints",
+ "eval.tests.test_algorithm_point_location.test_distance_point_projected_on_diagonal",
+ "eval.tests.test_algorithm_point_location.test_distance_point_to_vertical_segment",
+ "eval.tests.test_algorithm_point_location.test_interior_point_area_scanline[POLYGON ((0 0,10 0,10 10,0 10,0 0),(2 2,8 2,8 8,2 8,2 2))-POINT (1 5)]",
+ "eval.tests.test_algorithm_point_location.test_interior_point_area_scanline[POLYGON ((0 0,4 0,2 5,0 0))-POINT (2 2.5)]",
+ "eval.tests.test_algorithm_point_location.test_interior_point_area_scanline[POLYGON ((0 0,6 0,3 8,0 0))-POINT (3 4)]",
+ "eval.tests.test_algorithm_point_location.test_interior_point_area_scanline[POLYGON ((0 0,6 0,6 1,1 1,1 4,6 4,6 5,0 5,0 0))-POINT (0.5 2.5)]",
+ "eval.tests.test_algorithm_point_location.test_interior_point_of_empty_geometry",
+ "eval.tests.test_algorithm_point_location.test_interior_point_of_horizontal_line_is_start",
+ "eval.tests.test_algorithm_point_location.test_interior_point_of_single_point_is_itself",
+ "eval.tests.test_algorithm_point_location.test_interior_point_vertical_spine_square",
+ "eval.tests.test_algorithm_point_location.test_interior_point_zero_area_polygon_falls_back_to_vertex",
+ "eval.tests.test_algorithm_point_location.test_intersects_edge_adjacent",
+ "eval.tests.test_algorithm_point_location.test_nearest_points_disjoint_diagonal",
+ "eval.tests.test_algorithm_point_location.test_nearest_points_point_on_segment_zero_span",
+ "eval.tests.test_algorithm_point_location.test_overlaps_collinear_lines_same_dimension",
+ "eval.tests.test_algorithm_point_location.test_overlaps_spatially_overlapping_polygons",
+ "eval.tests.test_algorithm_point_location.test_prepared_distance_matches_plain",
+ "eval.tests.test_algorithm_point_location.test_prepared_predicate_matches_plain[coversPrep]",
+ "eval.tests.test_algorithm_point_location.test_prepared_predicate_matches_plain[intersectsPrep]",
+ "eval.tests.test_algorithm_point_location.test_relate_exact_de9im[LINESTRING (0 0,4 0)-POLYGON ((0 0,4 0,4 4,0 4,0 0))-F1FF0F212]",
+ "eval.tests.test_algorithm_point_location.test_relate_exact_de9im[LINESTRING (0 0,4 4)-LINESTRING (0 4,4 0)-0F1FF0102]",
+ "eval.tests.test_algorithm_point_location.test_relate_exact_de9im[LINESTRING (1 1,3 3)-POLYGON ((0 0,4 0,4 4,0 4,0 0))-1FF0FF212]",
+ "eval.tests.test_algorithm_point_location.test_relate_exact_de9im[POINT (0 0)-POINT (5 5)-FF0FFF0F2]",
+ "eval.tests.test_algorithm_point_location.test_relate_exact_de9im[POINT (0 2)-POLYGON ((0 0,4 0,4 4,0 4,0 0))-F0FFFF212]",
+ "eval.tests.test_algorithm_point_location.test_relate_exact_de9im[POINT (2 2)-POLYGON ((0 0,4 0,4 4,0 4,0 0))-0FFFFF212]",
+ "eval.tests.test_algorithm_point_location.test_relate_exact_de9im[POINT (5 5)-POLYGON ((0 0,4 0,4 4,0 4,0 0))-FF0FFF212]",
+ "eval.tests.test_algorithm_point_location.test_relate_exact_de9im[POLYGON ((0 0,2 0,2 2,0 2,0 0))-POLYGON ((2 0,4 0,4 2,2 2,2 0))-FF2F11212]",
+ "eval.tests.test_algorithm_point_location.test_relate_exact_de9im[POLYGON ((0 0,4 0,4 4,0 4,0 0))-POLYGON ((1 1,3 1,3 3,1 3,1 1))-212FF1FF2]",
+ "eval.tests.test_algorithm_point_location.test_touches_lines_share_endpoint",
+ "eval.tests.test_algorithm_point_location.test_touches_point_on_polygon_edge",
+ "eval.tests.test_algorithm_point_location.test_within_boundary_not_counted",
+ "eval.tests.test_algorithm_point_location.test_within_inside_polygon[LINESTRING (1 1, 3 3)-true]",
+ "eval.tests.test_algorithm_point_location.test_within_inside_polygon[POINT (2 2)-true]",
+ "eval.tests.test_algorithm_point_location.test_within_inside_polygon[POLYGON ((1 1,3 1,3 3,1 3,1 1))-true]",
+ "eval.tests.test_algorithm_shapes.test_centroid_of_angle_line",
+ "eval.tests.test_algorithm_shapes.test_centroid_square_center",
+ "eval.tests.test_algorithm_shapes.test_convex_hull_collinear_points_are_line",
+ "eval.tests.test_algorithm_shapes.test_convex_hull_of_line_geometry",
+ "eval.tests.test_algorithm_shapes.test_convex_hull_of_polygon_is_itself",
+ "eval.tests.test_algorithm_shapes.test_convex_hull_of_triangle",
+ "eval.tests.test_algorithm_shapes.test_convex_hull_single_point",
+ "eval.tests.test_algorithm_shapes.test_convex_hull_square_with_interior_point",
+ "eval.tests.test_algorithm_shapes.test_distance_parallel_lines",
+ "eval.tests.test_algorithm_shapes.test_distance_points_pythagorean",
+ "eval.tests.test_algorithm_shapes.test_interior_point_of_square",
+ "eval.tests.test_algorithm_shapes.test_orientation_index_around_segment[POINT (0.5 -1)--1]",
+ "eval.tests.test_algorithm_shapes.test_orientation_index_around_segment[POINT (0.5 0)-0]",
+ "eval.tests.test_algorithm_shapes.test_orientation_index_around_segment[POINT (0.5 1)-1]",
+ "eval.tests.test_boundary_node_rule.test_relate_bnr_invalid_rule_reports_error",
+ "eval.tests.test_boundary_node_rule.test_relate_bnr_multiline_boundary_component[1-FF10F0FF2]",
+ "eval.tests.test_boundary_node_rule.test_relate_bnr_multiline_boundary_component[2-FF10F0FF2]",
+ "eval.tests.test_boundary_node_rule.test_relate_bnr_multiline_boundary_component[4-FF10F0FF2]",
+ "eval.tests.test_boundary_node_rule.test_relate_bnr_multiline_multivalent_attached",
+ "eval.tests.test_boundary_node_rule.test_relate_bnr_multivalent_shared_endpoint",
+ "eval.tests.test_boundary_node_rule.test_relate_bnr_ring_closing_point_endpoint_rule",
+ "eval.tests.test_boundary_node_rule.test_relate_bnr_ring_closing_point_mod2_rule[1-0F1FFFFF2]",
+ "eval.tests.test_boundary_node_rule.test_relate_bnr_ring_closing_point_mod2_rule[3-0F1FFFFF2]",
+ "eval.tests.test_boundary_node_rule.test_relate_bnr_ring_closing_point_mod2_rule[4-0F1FFFFF2]",
+ "eval.tests.test_boundary_node_rule.test_relate_bnr_shared_endpoint_boundary[1-FF1F00102]",
+ "eval.tests.test_boundary_node_rule.test_relate_bnr_shared_endpoint_boundary[2-FF1F00102]",
+ "eval.tests.test_boundary_node_rule.test_relate_bnr_shared_endpoint_boundary[4-FF1F00102]",
+ "eval.tests.test_buffer_edge_dedup.test_buffer_doubled_back_full_line_merges_equal_area",
+ "eval.tests.test_buffer_edge_dedup.test_buffer_doubled_back_remains_valid",
+ "eval.tests.test_buffer_edge_dedup.test_buffer_duplicated_identical_segment_merges",
+ "eval.tests.test_buffer_edge_dedup.test_buffer_longer_linework_is_distinct_and_larger",
+ "eval.tests.test_buffer_edge_dedup.test_buffer_repeated_vertex_equals_plain_line",
+ "eval.tests.test_buffer_edge_dedup.test_buffer_self_folding_polygon_ring_merges",
+ "eval.tests.test_buffer_edge_dedup.test_buffer_three_collinear_overlap_edges_merge",
+ "eval.tests.test_buffer_graph.test_buffer_beyond_quad_segs_option",
+ "eval.tests.test_buffer_graph.test_buffer_point_area_approx_circle",
+ "eval.tests.test_buffer_graph.test_buffer_square_area",
+ "eval.tests.test_buffer_graph.test_contains_and_within_inverse",
+ "eval.tests.test_buffer_graph.test_contains_false_for_boundary_point",
+ "eval.tests.test_buffer_graph.test_covers_point_on_boundary",
+ "eval.tests.test_buffer_graph.test_crosses_line_through_polygon",
+ "eval.tests.test_buffer_graph.test_densify_smaller_than_length_no_split",
+ "eval.tests.test_buffer_graph.test_densify_splits_segment",
+ "eval.tests.test_buffer_graph.test_disjoint_true_for_separated",
+ "eval.tests.test_buffer_graph.test_equals_same_geometry",
+ "eval.tests.test_buffer_graph.test_fix_invalid_split_crossing_polygon",
+ "eval.tests.test_buffer_graph.test_intersects_true_for_overlap",
+ "eval.tests.test_buffer_graph.test_largest_empty_circle_with_boundary",
+ "eval.tests.test_buffer_graph.test_make_valid_bowtie",
+ "eval.tests.test_buffer_graph.test_make_valid_keeps_valid_input",
+ "eval.tests.test_buffer_graph.test_touches_true_on_shared_edge",
+ "eval.tests.test_cli_io.test_collect_converts_aggregate_to_geometry",
+ "eval.tests.test_cli_io.test_explode_multipoint",
+ "eval.tests.test_cli_io.test_help_available_and_exits_zero",
+ "eval.tests.test_cli_io.test_help_lists_assigned_ops",
+ "eval.tests.test_cli_io.test_invalid_numeric_op_arg",
+ "eval.tests.test_cli_io.test_malformed_wkt_returns_error",
+ "eval.tests.test_cli_io.test_metric_result_on_stdout_only",
+ "eval.tests.test_cli_io.test_no_arguments_reports_usage",
+ "eval.tests.test_cli_io.test_output_format_geojson",
+ "eval.tests.test_cli_io.test_output_format_txt",
+ "eval.tests.test_cli_io.test_precision_option_truncates_coords",
+ "eval.tests.test_cli_io.test_quiet_suppresses_result_but_exits_zero",
+ "eval.tests.test_cli_io.test_repeat_counts_identical_results",
+ "eval.tests.test_cli_io.test_stdin_wkt_source",
+ "eval.tests.test_cli_io.test_unknown_operation_fails_on_stderr",
+ "eval.tests.test_cli_io.test_verbose_emits_timing_header",
+ "eval.tests.test_cli_io.test_wkb_hex_file_source",
+ "eval.tests.test_cli_io.test_wkb_hex_output_roundtrip",
+ "eval.tests.test_cli_io.test_wkt_file_multiple_geoms_aggregate",
+ "eval.tests.test_cli_io.test_wkt_file_source",
+ "eval.tests.test_geometry_processing_ops.test_fix_invalid_valid_input_reorients_ring",
+ "eval.tests.test_geometry_processing_ops.test_is_simple_interior_self_touch",
+ "eval.tests.test_geometry_processing_ops.test_linemerge_branched_t_with_continuation",
+ "eval.tests.test_geometry_processing_ops.test_linemerge_disjoint_merged_and_singleton",
+ "eval.tests.test_geometry_processing_ops.test_make_valid_already_valid_line_unchanged",
+ "eval.tests.test_geometry_processing_ops.test_make_valid_recovers_bowtie[fixInvalid-MULTIPOLYGON (((0 0, 1 1, 2 0, 0 0)), ((1 1, 0 2, 2 2, 1 1)))]",
+ "eval.tests.test_geometry_processing_ops.test_make_valid_recovers_bowtie[makeValid-MULTIPOLYGON (((0 0, 1 1, 2 0, 0 0)), ((1 1, 0 2, 2 2, 1 1)))]",
+ "eval.tests.test_geometry_processing_ops.test_max_diameter_of_square_is_diagonal",
+ "eval.tests.test_geometry_processing_ops.test_min_diameter_of_square_is_edge",
+ "eval.tests.test_geometry_processing_ops.test_min_diameter_of_thin_rectangle_is_width",
+ "eval.tests.test_geometry_processing_ops.test_node_crossing_lines_split_at_intersection",
+ "eval.tests.test_geometry_processing_ops.test_node_overlapping_segments_split_endpoints",
+ "eval.tests.test_geometry_processing_ops.test_polygonize_shell_with_two_holes",
+ "eval.tests.test_geometry_processing_ops.test_polygonize_valid_folds_holes_into_shell",
+ "eval.tests.test_geometry_processing_ops.test_polygonize_valid_nested_island_in_hole",
+ "eval.tests.test_geometry_processing_ops.test_reduce_precision_pointwise_keeps_geometry",
+ "eval.tests.test_geometry_processing_ops.test_reduce_precision_pointwise_matches_scale",
+ "eval.tests.test_geometry_processing_ops.test_reduce_precision_rounds_coordinates",
+ "eval.tests.test_geometry_processing_ops.test_remove_repeated_points_exact_duplicates",
+ "eval.tests.test_geometry_processing_ops.test_remove_repeated_points_within_tolerance",
+ "eval.tests.test_geomgraph.test_boundary_of_closed_line",
+ "eval.tests.test_geomgraph.test_boundary_of_linearring",
+ "eval.tests.test_geomgraph.test_boundary_of_open_line",
+ "eval.tests.test_geomgraph.test_boundary_of_point",
+ "eval.tests.test_geomgraph.test_boundary_of_ring_polygon",
+ "eval.tests.test_geomgraph.test_is_simple[LINESTRING (0 0, 1 1, 2 2)-true]",
+ "eval.tests.test_geomgraph.test_is_simple[LINESTRING (0 0, 4 4, 0 4, 4 0)-false]",
+ "eval.tests.test_geomgraph.test_is_simple[POINT (1 1)-true]",
+ "eval.tests.test_geomgraph.test_is_valid[POLYGON ((0 0, 4 0, 0 4, 4 4, 0 0))-false]",
+ "eval.tests.test_geomgraph.test_is_valid[POLYGON ((0 0, 4 0, 4 4, 0 4, 0 0))-true]",
+ "eval.tests.test_geomgraph.test_is_valid[POLYGON ((0 0, 4 4, 0 4, 4 0, 0 0))-false]",
+ "eval.tests.test_geomgraph.test_is_valid_hole_touching_shell_edge",
+ "eval.tests.test_geomgraph.test_is_valid_open_ring",
+ "eval.tests.test_geomgraph.test_is_valid_with_hole_inside",
+ "eval.tests.test_geomgraph.test_overlay_difference",
+ "eval.tests.test_geomgraph.test_overlay_intersection",
+ "eval.tests.test_geomgraph.test_overlay_intersection_disjoint_is_empty",
+ "eval.tests.test_geomgraph.test_overlay_intersection_line_polygon",
+ "eval.tests.test_geomgraph.test_overlay_sym_difference",
+ "eval.tests.test_geomgraph.test_overlay_union",
+ "eval.tests.test_geomgraph.test_relate_boundary_node_rule_mod2",
+ "eval.tests.test_geomgraph.test_relate_disjoint_polygons",
+ "eval.tests.test_geomgraph.test_relate_equal_polygons",
+ "eval.tests.test_geomgraph.test_relate_line_crosses_polygon",
+ "eval.tests.test_geomgraph.test_relate_line_inside_polygon",
+ "eval.tests.test_geomgraph.test_relate_overlapping_polygons",
+ "eval.tests.test_geomgraph.test_relate_point_in_polygon",
+ "eval.tests.test_geomgraph.test_relate_point_on_polygon_boundary",
+ "eval.tests.test_geomgraph.test_relate_touches",
+ "eval.tests.test_geomgraph.test_unary_union_collapsed",
+ "eval.tests.test_geomgraph_node_relate.test_node_open_overlapping_segments",
+ "eval.tests.test_geomgraph_node_relate.test_node_overlapping_square_boundaries_split",
+ "eval.tests.test_geomgraph_node_relate.test_node_polygon_ring_unchanged",
+ "eval.tests.test_geomgraph_node_relate.test_relate_crossing_rectangles",
+ "eval.tests.test_geomgraph_node_relate.test_relate_disjoint_points",
+ "eval.tests.test_geomgraph_node_relate.test_relate_line_interior_to_line",
+ "eval.tests.test_geomgraph_node_relate.test_relate_line_through_polygon",
+ "eval.tests.test_geomgraph_node_relate.test_relate_overlapping_lines",
+ "eval.tests.test_geomgraph_node_relate.test_relate_point_on_ring_closure",
+ "eval.tests.test_geomgraph_overlay.test_overlay_difference_includes_intersection_split",
+ "eval.tests.test_geomgraph_overlay.test_overlay_difference_punches_hole",
+ "eval.tests.test_geomgraph_overlay.test_overlay_intersection_overlapping_triangles",
+ "eval.tests.test_geomgraph_overlay.test_overlay_intersection_polygon_and_line",
+ "eval.tests.test_geomgraph_overlay.test_overlay_sym_difference_two_strips",
+ "eval.tests.test_geomgraph_overlay.test_overlay_union_disjoint_area_sum",
+ "eval.tests.test_geomgraph_overlay.test_overlay_union_overlapping_squares",
+ "eval.tests.test_geomgraph_relate_overlay_more.test_clip_rect_line_within_rect",
+ "eval.tests.test_geomgraph_relate_overlay_more.test_clip_rect_polygon_to_inner_rect",
+ "eval.tests.test_geomgraph_relate_overlay_more.test_overlay_intersection_creates_pentagon",
+ "eval.tests.test_geomgraph_relate_overlay_more.test_overlay_intersection_line_inside_polygon",
+ "eval.tests.test_geomgraph_relate_overlay_more.test_relate_de9im_distinct_topologies[LINEARRING (0 0, 4 0, 4 4, 0 0)-POINT (2 0)-0F1FFFFF2]",
+ "eval.tests.test_geomgraph_relate_overlay_more.test_relate_de9im_distinct_topologies[LINESTRING (0 0, 10 10)-LINESTRING (0 10, 10 0)-0F1FF0102]",
+ "eval.tests.test_geomgraph_relate_overlay_more.test_relate_de9im_distinct_topologies[LINESTRING (0 0, 5 5)-LINESTRING (3 3, 8 8)-1010F0102]",
+ "eval.tests.test_geomgraph_relate_overlay_more.test_relate_de9im_distinct_topologies[POINT (1 1)-POLYGON ((5 5, 6 5, 6 6, 5 6, 5 5))-FF0FFF212]",
+ "eval.tests.test_geomgraph_relate_overlay_more.test_relate_de9im_distinct_topologies[POLYGON ((0 0,4 0,4 4,0 4,0 0))-POLYGON ((0 0, 0 4, 4 4, 4 0, 0 0))-2FFF1FFF2]",
+ "eval.tests.test_geomgraph_relate_overlay_more.test_relate_de9im_distinct_topologies[POLYGON ((0 0,4 0,4 4,0 4,0 0))-POLYGON ((1 1, 3 1, 3 3, 1 3, 1 1))-212FF1FF2]",
+ "eval.tests.test_geomgraph_relate_overlay_more.test_relate_line_through_polygon_hole",
+ "eval.tests.test_geomgraph_relate_overlay_more.test_relate_point_on_polygon_corner_vertex",
+ "eval.tests.test_geomgraph_relate_overlay_more.test_relate_polygon_covers_inner_polygon",
+ "eval.tests.test_geomgraph_relate_overlay_more.test_split_line_at_interior_point",
+ "eval.tests.test_geomgraph_relate_overlay_more.test_split_line_crossed_by_blade",
+ "eval.tests.test_geomgraph_relate_overlay_more.test_split_line_off_path_no_split",
+ "eval.tests.test_geomgraph_relate_overlay_more.test_sym_difference_disjoint_is_union",
+ "eval.tests.test_geomgraph_relate_overlay_more.test_union_corner_touching_squares_are_separate",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_coincident_endpoint_three_edges",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_collinear_overlap_rule3",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_collinear_overlap_split",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_concentric_containment",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_crossing_horizontal_vertical[1-0F1FF0102]",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_crossing_horizontal_vertical[2-0F1FF0102]",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_crossing_horizontal_vertical[4-0F1FF0102]",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_crossing_multivalent_rule3",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_crossing_rectangles",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_diagonal_X_crossing",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_diagonal_X_rule3",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_identical_lines",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_identical_lines_rule3",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_line_through_polygon",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_line_through_polygon_rule3",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_partial_shared_boundary",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_partial_shared_boundary_rule3",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_point_in_polygon_interior",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_point_on_polygon_corner_no_crossing",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_point_on_self_cross",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_point_on_self_cross_rule3",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_reversed_X_same_result",
+ "eval.tests.test_geomgraph_relatebgr.test_relatebgr_vertical_coincident_x_segments",
+ "eval.tests.test_graphs.test_cluster_intersecting_disjoint_separate",
+ "eval.tests.test_graphs.test_cluster_intersecting_grouped",
+ "eval.tests.test_graphs.test_cluster_intersecting_single_cluster",
+ "eval.tests.test_graphs.test_coverage_union_board",
+ "eval.tests.test_graphs.test_coverage_validate_valid_pair",
+ "eval.tests.test_graphs.test_delaunay_of_points",
+ "eval.tests.test_graphs.test_node_does_not_lose_lines",
+ "eval.tests.test_graphs.test_node_three_lines_sharing_endpoint",
+ "eval.tests.test_graphs.test_node_well_noded_lines_unchanged",
+ "eval.tests.test_graphs.test_polygonize_adjacent_cells",
+ "eval.tests.test_graphs.test_polygonize_open_chain_no_polygon",
+ "eval.tests.test_graphs.test_polygonize_square_of_lines",
+ "eval.tests.test_graphs.test_voronoi_of_points",
+ "eval.tests.test_graphs.test_voronoi_three_points_area",
+ "eval.tests.test_hausdorff_distance.test_frechet_empty_reports_error",
+ "eval.tests.test_hausdorff_distance.test_frechet_parallel_lines_offset",
+ "eval.tests.test_hausdorff_distance.test_frechet_point_pair",
+ "eval.tests.test_hausdorff_distance.test_hausdorff_empty_a_returns_nan",
+ "eval.tests.test_hausdorff_distance.test_hausdorff_empty_b_returns_nan",
+ "eval.tests.test_hausdorff_distance.test_hausdorff_empty_line_vs_empty_polygon",
+ "eval.tests.test_hausdorff_distance.test_hausdorff_identical_geometry_zero",
+ "eval.tests.test_hausdorff_distance.test_hausdorff_parallel_lines_offset",
+ "eval.tests.test_hausdorff_distance.test_hausdorff_point_to_line",
+ "eval.tests.test_hausdorff_distance.test_hausdorff_point_to_point_pythagorean",
+ "eval.tests.test_hausdorff_distance.test_hausdorff_point_vs_multipoint",
+ "eval.tests.test_hausdorff_distance.test_hausdorff_symmetric_swap_equal",
+ "eval.tests.test_intersection_line_segment.test_buffer_join_larger_mitre_limit",
+ "eval.tests.test_intersection_line_segment.test_buffer_join_right_angle_bevel",
+ "eval.tests.test_intersection_line_segment.test_buffer_join_sharp_spike_mitre_limit",
+ "eval.tests.test_intersection_line_segment.test_buffer_join_varying_limits[1-N-0.5]",
+ "eval.tests.test_intersection_line_segment.test_buffer_join_varying_limits[1-N-2]",
+ "eval.tests.test_intersection_line_segment.test_offset_curve_join_reflex_vee",
+ "eval.tests.test_intersection_line_segment.test_offset_curve_join_sharp_vee",
+ "eval.tests.test_intersection_line_segment.test_offset_curve_plain_round_join_unchanged_by_limit",
+ "eval.tests.test_linemerge_planargraph.test_linemerge_antiparallel_collinear_pair",
+ "eval.tests.test_linemerge_planargraph.test_linemerge_backtracking_branch_fanout",
+ "eval.tests.test_linemerge_planargraph.test_linemerge_chain_output[MULTILINESTRING ((0 0,1 0),(1 0,2 0))-LINESTRING (0 0, 1 0, 2 0)]",
+ "eval.tests.test_linemerge_planargraph.test_linemerge_chain_output[MULTILINESTRING ((0 0,1 0),(1 0,2 0),(2 0,3 0))-LINESTRING (0 0, 1 0, 2 0, 3 0)]",
+ "eval.tests.test_linemerge_planargraph.test_linemerge_chain_output[MULTILINESTRING ((1 0,0 0),(1 0,2 0))-LINESTRING (0 0, 1 0, 2 0)]",
+ "eval.tests.test_linemerge_planargraph.test_linemerge_chain_output[MULTILINESTRING ((2 0,1 0),(1 0,0 0))-LINESTRING (2 0, 1 0, 0 0)]",
+ "eval.tests.test_linemerge_planargraph.test_linemerge_closed_ring_single_cycle",
+ "eval.tests.test_linemerge_planargraph.test_linemerge_crossing_x_not_merged",
+ "eval.tests.test_linemerge_planargraph.test_linemerge_dangle_at_midpoint_stays_separate",
+ "eval.tests.test_linemerge_planargraph.test_linemerge_disjoint_components_kept_separate",
+ "eval.tests.test_linemerge_planargraph.test_linemerge_empty_geometry_no_output",
+ "eval.tests.test_linemerge_planargraph.test_linemerge_four_way_degree_four_star",
+ "eval.tests.test_linemerge_planargraph.test_linemerge_length_of_merged_chain_preserved",
+ "eval.tests.test_linemerge_planargraph.test_linemerge_nonline_geometry_no_output",
+ "eval.tests.test_linemerge_planargraph.test_linemerge_single_segment_identity",
+ "eval.tests.test_linemerge_planargraph.test_linemerge_turning_chain_orientation[MULTILINESTRING ((0 0,1 1),(1 1,0 2))-LINESTRING (0 0, 1 1, 0 2)]",
+ "eval.tests.test_linemerge_planargraph.test_linemerge_turning_chain_orientation[MULTILINESTRING ((0 0,1 1),(1 1,2 0))-LINESTRING (0 0, 1 1, 2 0)]",
+ "eval.tests.test_linemerge_planargraph.test_linemerge_turning_chain_orientation[MULTILINESTRING ((0 0,1 1),(1 1,2 2))-LINESTRING (0 0, 1 1, 2 2)]",
+ "eval.tests.test_linemerge_planargraph.test_linemerge_turning_chain_orientation[MULTILINESTRING ((1 1,2 2),(0 0,1 1))-LINESTRING (0 0, 1 1, 2 2)]",
+ "eval.tests.test_linemerge_planargraph.test_polygonize_bridge_dangle_rejected",
+ "eval.tests.test_linemerge_planargraph.test_polygonize_two_touching_squares_union",
+ "eval.tests.test_linemerge_planargraph.test_polygonize_unit_square[MULTILINESTRING ((0 0,2 0),(2 0,2 2),(2 2,0 2),(0 2,0 0))-POLYGON ((2 0, 0 0, 0 2, 2 2, 2 0))]",
+ "eval.tests.test_linemerge_planargraph.test_polygonize_unit_square[MULTILINESTRING ((0 0,4 0),(4 0,4 4),(4 4,0 4),(0 4,0 0))-POLYGON ((4 0, 0 0, 0 4, 4 4, 4 0))]",
+ "eval.tests.test_max_inscribed_circle.test_max_inscribed_circle_concave_polygon_approximation",
+ "eval.tests.test_max_inscribed_circle.test_max_inscribed_circle_multipolygon",
+ "eval.tests.test_max_inscribed_circle.test_max_inscribed_circle_polygon_with_hole",
+ "eval.tests.test_max_inscribed_circle.test_max_inscribed_circle_radius_length",
+ "eval.tests.test_max_inscribed_circle.test_max_inscribed_circle_rejects_empty_polygon",
+ "eval.tests.test_max_inscribed_circle.test_max_inscribed_circle_rejects_linear_inputs[LINESTRING (0 0, 1 1, 2 0)]",
+ "eval.tests.test_max_inscribed_circle.test_max_inscribed_circle_rejects_linear_inputs[MULTILINESTRING ((0 0, 1 1))]",
+ "eval.tests.test_max_inscribed_circle.test_max_inscribed_circle_rejects_linear_inputs[POINT (1 1)]",
+ "eval.tests.test_max_inscribed_circle.test_max_inscribed_circle_rejects_non_polygon",
+ "eval.tests.test_max_inscribed_circle.test_max_inscribed_circle_right_triangle",
+ "eval.tests.test_max_inscribed_circle.test_max_inscribed_circle_square",
+ "eval.tests.test_overlay_edge_split.test_difference_crossing_lines_keeps_a_fragments",
+ "eval.tests.test_overlay_edge_split.test_difference_crossing_rectangles_split_fragments",
+ "eval.tests.test_overlay_edge_split.test_intersection_collinear_overlapping",
+ "eval.tests.test_overlay_edge_split.test_intersection_crossing_lines_is_point",
+ "eval.tests.test_overlay_edge_split.test_intersection_square_minus_contained_hole",
+ "eval.tests.test_overlay_edge_split.test_intersection_touching_at_endpoint",
+ "eval.tests.test_overlay_edge_split.test_intersection_touching_disjoint_x_equal",
+ "eval.tests.test_overlay_edge_split.test_intersection_triangles_shared_edge",
+ "eval.tests.test_overlay_edge_split.test_intersection_two_crossing_rectangles",
+ "eval.tests.test_overlay_edge_split.test_sym_difference_crossing_lines",
+ "eval.tests.test_overlay_edge_split.test_union_collinear_overlapping",
+ "eval.tests.test_overlay_edge_split.test_union_crossing_lines_noded",
+ "eval.tests.test_overlay_edge_split.test_union_crossing_rectangles_merged",
+ "eval.tests.test_overlay_edge_split.test_union_triangles_shared_edge",
+ "eval.tests.test_planargraph_buildarea_coverage_more.test_build_area_merges_edge_adjacent_squares",
+ "eval.tests.test_planargraph_buildarea_coverage_more.test_coverage_simplify_two_squares",
+ "eval.tests.test_planargraph_buildarea_coverage_more.test_coverage_union_two_touching_squares",
+ "eval.tests.test_planargraph_buildarea_coverage_more.test_coverage_validate_overlap_emits_overlap_edges",
+ "eval.tests.test_planargraph_buildarea_coverage_more.test_coverage_validate_valid_adjacent_squares_is_clean",
+ "eval.tests.test_planargraph_buildarea_coverage_more.test_node_preserves_already_noded_closed_ring",
+ "eval.tests.test_planargraph_buildarea_coverage_more.test_node_unclosed_ring_reports_error",
+ "eval.tests.test_planargraph_buildarea_coverage_more.test_polygonize_valid_fills_diagonal_triangle",
+ "eval.tests.test_planargraph_buildmore.test_build_area_ring_with_hole",
+ "eval.tests.test_planargraph_buildmore.test_build_area_square_from_ring",
+ "eval.tests.test_planargraph_buildmore.test_constrained_delaunay_open_line_empty",
+ "eval.tests.test_planargraph_buildmore.test_constrained_delaunay_polygon_two_triangles",
+ "eval.tests.test_planargraph_buildmore.test_delaunay_collinear_points_empty",
+ "eval.tests.test_planargraph_buildmore.test_delaunay_five_points_four_triangles",
+ "eval.tests.test_planargraph_buildmore.test_delaunay_single_line_is_filled_triangle",
+ "eval.tests.test_planargraph_buildmore.test_delaunay_square_corners_split",
+ "eval.tests.test_planargraph_buildmore.test_linemerge_multiple_parallel_degree_two_components",
+ "eval.tests.test_planargraph_buildmore.test_linemerge_three_way_star_disjoint_segments",
+ "eval.tests.test_planargraph_buildmore.test_linemerge_two_overlapping_chains",
+ "eval.tests.test_planargraph_buildmore.test_polygonize_self_closing_open_chain",
+ "eval.tests.test_planargraph_buildmore.test_polygonize_single_triangle",
+ "eval.tests.test_planargraph_buildmore.test_polygonize_triangle_with_dangling_tail",
+ "eval.tests.test_planargraph_buildmore.test_polygonize_valid_square",
+ "eval.tests.test_planargraph_buildmore.test_voronoi_nonuniform_points_three_cells",
+ "eval.tests.test_planargraph_buildmore.test_voronoi_two_points_two_cells",
+ "eval.tests.test_planargraph_polygonize.test_node_collinear_overlapping_lines",
+ "eval.tests.test_planargraph_polygonize.test_node_crossing_diagonals",
+ "eval.tests.test_planargraph_polygonize.test_node_four_segments_meeting_at_center",
+ "eval.tests.test_planargraph_polygonize.test_node_single_line_preserved",
+ "eval.tests.test_planargraph_polygonize.test_polygonize_disjoint_squares",
+ "eval.tests.test_planargraph_polygonize.test_polygonize_square_with_diagonal",
+ "eval.tests.test_planargraph_polygonize.test_polygonize_two_adjacent_cells_areas",
+ "eval.tests.test_planargraph_polygonize.test_polygonize_valid_subdivision",
+ "eval.tests.test_polygonize_network.test_build_area_closed_ring_without_diagonal",
+ "eval.tests.test_polygonize_network.test_build_area_open_c_shape_gets_closed",
+ "eval.tests.test_polygonize_network.test_build_area_ring_with_diagonal_subdivides",
+ "eval.tests.test_polygonize_network.test_node_crossing_segments_removes_none",
+ "eval.tests.test_polygonize_network.test_node_shared_endpoint_preserved",
+ "eval.tests.test_polygonize_network.test_polygonize_multicell_2x2_grid",
+ "eval.tests.test_polygonize_network.test_polygonize_removes_dangling_spur",
+ "eval.tests.test_polygonize_network.test_polygonize_removes_two_dangling_spurs",
+ "eval.tests.test_polygonize_network.test_polygonize_two_triangles_shared_edge",
+ "eval.tests.test_polygonize_network.test_polygonize_valid_multicell_2x2_grid",
+ "eval.tests.test_polygonize_network.test_polygonize_valid_triangle_network",
+ "eval.tests.test_relate_de9im_matrices.test_area_ring_orientation_has_same_magnitude",
+ "eval.tests.test_relate_de9im_matrices.test_boundary_of_closed_polygon_is_its_ring",
+ "eval.tests.test_relate_de9im_matrices.test_boundary_of_line_and_point[LINESTRING (0 0, 2 0, 2 2)-POLYGON ((0 0, 2 2, 2 0, 0 0))]",
+ "eval.tests.test_relate_de9im_matrices.test_boundary_of_line_and_point[POINT (1 2)-POINT (1 2)]",
+ "eval.tests.test_relate_de9im_matrices.test_envelope_of_diagonal_line",
+ "eval.tests.test_relate_de9im_matrices.test_has_m_default_false[LINESTRING (0 0, 2 2)]",
+ "eval.tests.test_relate_de9im_matrices.test_has_m_default_false[POINT (0 0)]",
+ "eval.tests.test_relate_de9im_matrices.test_has_m_for_3d_geometry_false",
+ "eval.tests.test_relate_de9im_matrices.test_has_z_ordinatpresent[LINESTRING (0 0 1, 2 2 3)-true]",
+ "eval.tests.test_relate_de9im_matrices.test_has_z_ordinatpresent[LINESTRING (0 0, 2 2)-false]",
+ "eval.tests.test_relate_de9im_matrices.test_has_z_ordinatpresent[POINT (0 0)-false]",
+ "eval.tests.test_relate_de9im_matrices.test_is_empty_on_empty_geometries",
+ "eval.tests.test_relate_de9im_matrices.test_is_empty_on_populated_geometry",
+ "eval.tests.test_relate_de9im_matrices.test_length_of_closed_ring_is_perimeter",
+ "eval.tests.test_relate_de9im_matrices.test_normalize_reorders_vertices",
+ "eval.tests.test_relate_de9im_matrices.test_normalize_stable_ring_order",
+ "eval.tests.test_relate_de9im_matrices.test_relate_deterministic_in_both_argument_orders",
+ "eval.tests.test_relate_de9im_matrices.test_relate_exact_de9im_second_batch[LINESTRING (-1 1, 5 1)-POLYGON ((0 0,4 0,4 4,0 4,0 0))-101FF0212]",
+ "eval.tests.test_relate_de9im_matrices.test_relate_exact_de9im_second_batch[LINESTRING (0 0,1 0)-LINESTRING (5 5,6 5)-FF1FF0102]",
+ "eval.tests.test_relate_de9im_matrices.test_relate_exact_de9im_second_batch[LINESTRING (0 0,2 0)-LINESTRING (2 0,2 2)-FF1F00102]",
+ "eval.tests.test_relate_de9im_matrices.test_relate_exact_de9im_second_batch[POINT (0 0)-POLYGON ((0 0,4 0,4 4,0 4,0 0))-F0FFFF212]",
+ "eval.tests.test_relate_de9im_matrices.test_relate_exact_de9im_second_batch[POINT (1 1)-POINT (1 1)-0FFFFFFF2]",
+ "eval.tests.test_relate_de9im_matrices.test_relate_exact_de9im_second_batch[POLYGON ((0 0,4 0,4 4,0 4,0 0))-POLYGON ((0 0,4 0,4 4,0 4,0 0))-2FFF1FFF2]",
+ "eval.tests.test_relate_de9im_matrices.test_relate_exact_de9im_second_batch[POLYGON ((1 1,3 1,3 3,1 3,1 1))-POLYGON ((0 0,4 0,4 4,0 4,0 0))-2FF1FF212]",
+ "eval.tests.test_relate_de9im_matrices.test_reverse_closed_ring",
+ "eval.tests.test_relate_de9im_matrices.test_reverse_open_line",
+ "eval.tests.test_relate_de9im_matrices.test_reverse_point_is_identity"
+ ]
+ },
+ "generated_module_05": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_arc_curve_noding.test_node_arc_and_line_shared_vertex_no_interior_cross",
+ "eval.tests.test_arc_curve_noding.test_node_arc_band_two_arcs_no_cross",
+ "eval.tests.test_arc_curve_noding.test_node_arc_crossing_arc_shared_full_loop",
+ "eval.tests.test_arc_curve_noding.test_node_arc_crossing_closed_circle_ring",
+ "eval.tests.test_arc_curve_noding.test_node_arc_crossing_line_precision3",
+ "eval.tests.test_arc_curve_noding.test_node_arc_crossing_two_parallel_lines",
+ "eval.tests.test_arc_curve_noding.test_node_arc_even_point_count_rejected",
+ "eval.tests.test_arc_curve_noding.test_node_arc_four_point_closed_ring_rejected",
+ "eval.tests.test_arc_curve_noding.test_node_arc_loop_vs_lower_semicircle",
+ "eval.tests.test_arc_curve_noding.test_node_arc_meeting_line_endpoint_no_split",
+ "eval.tests.test_arc_curve_noding.test_node_arc_ring_crossed_by_offcenter_line",
+ "eval.tests.test_arc_curve_noding.test_node_arc_two_points_rejected",
+ "eval.tests.test_arc_curve_noding.test_node_closed_circle_three_point_split_halves",
+ "eval.tests.test_arc_curve_noding.test_node_complete_circle_crossed_by_arc_and_line",
+ "eval.tests.test_arc_curve_noding.test_node_compound_two_arcs_shared_vertex_unchanged",
+ "eval.tests.test_arc_curve_noding.test_node_crescent_two_arcs_overlapping_chord",
+ "eval.tests.test_arc_curve_noding.test_node_curve_polygon_arc_ring_runs",
+ "eval.tests.test_arc_curve_noding.test_node_curve_polygon_arc_ring_splits_halfway",
+ "eval.tests.test_arc_curve_noding.test_node_empty_circular_string_filtered_from_collection",
+ "eval.tests.test_arc_curve_noding.test_node_mixed_compound_arc_line_multi",
+ "eval.tests.test_arc_curve_noding.test_node_three_arc_star_crossing_center",
+ "eval.tests.test_arc_curve_noding.test_node_three_arcs_all_cross_origin",
+ "eval.tests.test_arc_curve_noding.test_node_three_arcs_same_origin_unchanged",
+ "eval.tests.test_arc_curve_noding.test_node_three_nested_arcs_same_orientation",
+ "eval.tests.test_arc_curve_noding.test_node_top_and_bottom_arcs_crossing_mid",
+ "eval.tests.test_arc_curve_noding.test_node_two_arcs_cross_vertical",
+ "eval.tests.test_arc_curve_noding.test_node_two_arcs_tangent_shared_contact",
+ "eval.tests.test_concave_hull_index.test_concave_hull_area_follows_ratio",
+ "eval.tests.test_concave_hull_index.test_concave_hull_by_length_longer_removes_more",
+ "eval.tests.test_concave_hull_index.test_concave_hull_by_length_negative_rejected",
+ "eval.tests.test_concave_hull_index.test_concave_hull_by_length_notched_exact",
+ "eval.tests.test_concave_hull_index.test_concave_hull_by_length_short_removes_vertices",
+ "eval.tests.test_concave_hull_index.test_concave_hull_by_length_zero",
+ "eval.tests.test_concave_hull_index.test_concave_hull_empty_polygon",
+ "eval.tests.test_concave_hull_index.test_concave_hull_geometry_collection_input",
+ "eval.tests.test_concave_hull_index.test_concave_hull_holes_annulus_exact",
+ "eval.tests.test_concave_hull_index.test_concave_hull_holes_convex_rectangle",
+ "eval.tests.test_concave_hull_index.test_concave_hull_invalid_ring_repairs",
+ "eval.tests.test_concave_hull_index.test_concave_hull_large_ring_multilevel_tree_deterministic",
+ "eval.tests.test_concave_hull_index.test_concave_hull_linestring_input",
+ "eval.tests.test_concave_hull_index.test_concave_hull_multipolygon_bridges",
+ "eval.tests.test_concave_hull_index.test_concave_hull_ratio_half_notched_exact",
+ "eval.tests.test_concave_hull_index.test_concave_hull_ratio_half_removes_vertices",
+ "eval.tests.test_concave_hull_index.test_concave_hull_ratio_negative_rejected",
+ "eval.tests.test_concave_hull_index.test_concave_hull_ratio_one_collapses_notch",
+ "eval.tests.test_concave_hull_index.test_concave_hull_ratio_too_large_rejected",
+ "eval.tests.test_concave_hull_index.test_concave_hull_ratio_zero_keeps_all_vertices",
+ "eval.tests.test_concave_hull_index.test_concave_hull_ratio_zero_notched_exact",
+ "eval.tests.test_concave_hull_more.test_concave_hull_new_shapes_deterministic",
+ "eval.tests.test_concave_hull_more.test_line_polygon_collection_by_length_exact",
+ "eval.tests.test_concave_hull_more.test_lshape_by_length_variants_exact",
+ "eval.tests.test_concave_hull_more.test_lshape_ratio_low_keeps_corner_exact",
+ "eval.tests.test_concave_hull_more.test_lshape_ratio_mid_keeps_corner_like_low",
+ "eval.tests.test_concave_hull_more.test_lshape_ratio_one_fills_exact",
+ "eval.tests.test_concave_hull_more.test_notch_triangle_ratio0_keeps_notch_exact",
+ "eval.tests.test_concave_hull_more.test_notch_triangle_ratio1_collapses_notch_exact",
+ "eval.tests.test_concave_hull_more.test_three_square_layout_islands_connected_exact",
+ "eval.tests.test_concave_hull_more.test_ushape_by_length_high_collapses_bay_exact",
+ "eval.tests.test_concave_hull_more.test_ushape_hull_holes_absorbs_bay_exact",
+ "eval.tests.test_coverage_ops.test_coverage_clean_merges_gap",
+ "eval.tests.test_coverage_ops.test_coverage_simplify_adjacent_squares",
+ "eval.tests.test_coverage_ops.test_coverage_union_ng_overlapping_squares",
+ "eval.tests.test_coverage_ops.test_coverage_union_overlapping_squares",
+ "eval.tests.test_coverage_ops.test_coverage_validate_clean_coverage",
+ "eval.tests.test_coverage_ops.test_coverage_validate_single_square_clean",
+ "eval.tests.test_distance_index.test_distance_line_line",
+ "eval.tests.test_distance_index.test_distance_overlap_is_zero",
+ "eval.tests.test_distance_index.test_distance_point_inside_polygon_zero",
+ "eval.tests.test_distance_index.test_distance_point_on_line_zero",
+ "eval.tests.test_distance_index.test_distance_point_point",
+ "eval.tests.test_distance_index.test_distance_point_polygon_nearest",
+ "eval.tests.test_distance_index.test_distance_polygon_polygon",
+ "eval.tests.test_distance_index.test_distance_polygon_to_diagonal_segment",
+ "eval.tests.test_distance_index.test_distance_prep_line_line",
+ "eval.tests.test_distance_index.test_distance_prep_overlap_zero",
+ "eval.tests.test_distance_index.test_distance_prep_two_squares",
+ "eval.tests.test_distance_index.test_frechet_distance",
+ "eval.tests.test_distance_index.test_hausdorff_distance",
+ "eval.tests.test_distance_index.test_nearest_points_line_and_point",
+ "eval.tests.test_distance_index.test_nearest_points_line_line",
+ "eval.tests.test_distance_index.test_nearest_points_prep",
+ "eval.tests.test_index_cluster_more.test_cluster_intersecting_disjoint_points",
+ "eval.tests.test_index_cluster_more.test_cluster_intersecting_overlap_groups_squares",
+ "eval.tests.test_index_cluster_more.test_cluster_intersecting_point_in_polygon",
+ "eval.tests.test_index_cluster_more.test_cluster_within_large_radius_single_cluster",
+ "eval.tests.test_index_cluster_more.test_cluster_within_tiny_radius_all_isolated",
+ "eval.tests.test_index_spatial.test_cluster_intersecting_disjoint_squares",
+ "eval.tests.test_index_spatial.test_cluster_intersecting_groups_crossing_lines",
+ "eval.tests.test_index_spatial.test_cluster_within_groups_nearby_points",
+ "eval.tests.test_index_spatial.test_issimple_self_touching_closed_line",
+ "eval.tests.test_index_spatial.test_line_merge_adjacent_segments",
+ "eval.tests.test_index_spatial.test_relate_nested_polygon_interior",
+ "eval.tests.test_index_spatial.test_relate_squares_sharing_edge",
+ "eval.tests.test_index_spatial.test_relate_two_crossing_lines",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_largest_empty_bdy_boundary_contact_collapses",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_largest_empty_bdy_inner_polygon_ring",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_largest_empty_collinear_points_degenerate",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_largest_empty_complex_concave_exact",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_largest_empty_concave_u",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_largest_empty_diamond",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_largest_empty_point_ring",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_largest_empty_rejects_empty_obstacles",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_largest_empty_single_point_degenerate",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_largest_empty_square",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_largest_empty_squared_hole",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_largest_empty_three_points",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_largest_empty_triangle",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_largest_empty_two_points_degenerate",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_max_inscribed_complex_concave_exact",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_max_inscribed_concave_u_leg",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_max_inscribed_diamond",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_max_inscribed_diamond_radius_length",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_max_inscribed_equilateral_triangle_radius",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_max_inscribed_l_shape_notch",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_max_inscribed_multipolygon_smaller_part",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_max_inscribed_narrow_vertical_rectangle",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_max_inscribed_pentagon",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_max_inscribed_rejects_non_polygon",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_max_inscribed_square_center",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_max_inscribed_squared_hole",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_max_inscribed_tolerance_not_changing_simple_center",
+ "eval.tests.test_interval_rtree_inscribed_circle.test_max_inscribed_wide_rectangle",
+ "eval.tests.test_issimple.test_issimple_bowtie_not_simple",
+ "eval.tests.test_issimple.test_issimple_closed_ring",
+ "eval.tests.test_issimple.test_issimple_collinear_overlap_not_simple",
+ "eval.tests.test_issimple.test_issimple_disjoint_chains",
+ "eval.tests.test_issimple.test_issimple_identical_lines_not_simple",
+ "eval.tests.test_issimple.test_issimple_lines_crossing_not_simple",
+ "eval.tests.test_issimple.test_issimple_lines_sharing_endpoint",
+ "eval.tests.test_issimple.test_issimple_multipoint",
+ "eval.tests.test_issimple.test_issimple_point",
+ "eval.tests.test_issimple.test_issimple_single_segment",
+ "eval.tests.test_issimple.test_issimple_t_junction_not_simple",
+ "eval.tests.test_issimple.test_issimple_three_valent_junction_not_simple",
+ "eval.tests.test_node.test_node_arc_crossing_line_split",
+ "eval.tests.test_node.test_node_bowtie_splits_at_self_intersection",
+ "eval.tests.test_node.test_node_circular_string_returns_multicurve",
+ "eval.tests.test_node.test_node_closed_circle_ring_split",
+ "eval.tests.test_node.test_node_closed_ring_unchanged",
+ "eval.tests.test_node.test_node_coincident_lines_deduplicate",
+ "eval.tests.test_node.test_node_collinear_shared_endpoint_split",
+ "eval.tests.test_node.test_node_compound_curve_returns_curves",
+ "eval.tests.test_node.test_node_empty_circular_string_cloned",
+ "eval.tests.test_node.test_node_empty_compound_curve_cloned",
+ "eval.tests.test_node.test_node_empty_multilinestring",
+ "eval.tests.test_node.test_node_figure_eight_closed_ring",
+ "eval.tests.test_node.test_node_figure_eight_split",
+ "eval.tests.test_node.test_node_four_way_crossing",
+ "eval.tests.test_node.test_node_full_circle_with_diameter",
+ "eval.tests.test_node.test_node_ignores_b_geometry",
+ "eval.tests.test_node.test_node_line_crossing_closed_loop_twice",
+ "eval.tests.test_node.test_node_lines_sharing_endpoint_unchanged",
+ "eval.tests.test_node.test_node_loops_sharing_edge",
+ "eval.tests.test_node.test_node_mixed_empty_component_filtered",
+ "eval.tests.test_node.test_node_multicurve",
+ "eval.tests.test_node.test_node_overlapping_collinear_lines_split_at_overlap",
+ "eval.tests.test_node.test_node_point_produces_empty",
+ "eval.tests.test_node.test_node_precision_rounds_output",
+ "eval.tests.test_node.test_node_reverse_orientation_overlap_subdivided",
+ "eval.tests.test_node.test_node_rings_touching_at_vertex",
+ "eval.tests.test_node.test_node_shared_edge_triangles",
+ "eval.tests.test_node.test_node_single_segment_unchanged",
+ "eval.tests.test_node.test_node_t_junction_split",
+ "eval.tests.test_node.test_node_three_line_star",
+ "eval.tests.test_node.test_node_triangle_unchanged",
+ "eval.tests.test_node.test_node_two_arcs_cross_are_split",
+ "eval.tests.test_node.test_node_two_crossing_lines_split_at_crossing",
+ "eval.tests.test_node.test_node_unknown_operation",
+ "eval.tests.test_noding_extra.test_build_area_bowtie_crossing",
+ "eval.tests.test_noding_extra.test_fix_invalid_bowtie_polygon",
+ "eval.tests.test_noding_extra.test_make_valid_bowtie_polygon",
+ "eval.tests.test_noding_extra.test_node_dense_grid_full_subdivision",
+ "eval.tests.test_noding_extra.test_node_invalid_ring_rejected",
+ "eval.tests.test_noding_extra.test_node_polygon_boundary_rings",
+ "eval.tests.test_noding_extra.test_node_self_touching_collar_kept",
+ "eval.tests.test_noding_extra.test_simplify_tp_removes_spike",
+ "eval.tests.test_noding_extra.test_unary_union_dense_crossing_lines",
+ "eval.tests.test_noding_index_structures.test_bside_corner_closes_around_vertex",
+ "eval.tests.test_noding_index_structures.test_bside_line_left_side_clean",
+ "eval.tests.test_noding_index_structures.test_bside_line_right_side_clean",
+ "eval.tests.test_noding_index_structures.test_bside_right_side_disjoint_from_left",
+ "eval.tests.test_noding_index_structures.test_buffer_emits_polygon_and_positive_area",
+ "eval.tests.test_noding_index_structures.test_buffer_radius_scales_area",
+ "eval.tests.test_noding_index_structures.test_buffer_self_crossing_line_nods",
+ "eval.tests.test_noding_index_structures.test_contains_prep_boundary_false",
+ "eval.tests.test_noding_index_structures.test_contains_prep_interior_true",
+ "eval.tests.test_noding_index_structures.test_contains_properly_prep_interior_true",
+ "eval.tests.test_noding_index_structures.test_covers_prep_boundary_line_true",
+ "eval.tests.test_noding_index_structures.test_covers_prep_boundary_point_true",
+ "eval.tests.test_noding_index_structures.test_distance_prep_axis_aligned",
+ "eval.tests.test_noding_index_structures.test_fix_invalid_nested_ring",
+ "eval.tests.test_noding_index_structures.test_intersects_prep_inside_true",
+ "eval.tests.test_noding_index_structures.test_intersects_prep_outside_false",
+ "eval.tests.test_noding_index_structures.test_make_valid_bowtie_splits_two_polygons",
+ "eval.tests.test_noding_index_structures.test_make_valid_interior_crossing_hole",
+ "eval.tests.test_noding_index_structures.test_nearest_points_line_crossing",
+ "eval.tests.test_noding_index_structures.test_nearest_points_prep_axis_aligned",
+ "eval.tests.test_noding_index_structures.test_negative_buffer_dissolves_thin_polygon",
+ "eval.tests.test_noding_index_structures.test_offset_curve_flat_polyline_collapses",
+ "eval.tests.test_noding_index_structures.test_offset_curve_left_side_clean",
+ "eval.tests.test_noding_index_structures.test_offset_curve_right_side_clean",
+ "eval.tests.test_noding_index_structures.test_relate_butterfly_overlap_de9im",
+ "eval.tests.test_noding_index_structures.test_relate_positive_corner_touch",
+ "eval.tests.test_offset_curve_join_cluster.test_cluster_intersecting_touching_chain_one_cluster",
+ "eval.tests.test_offset_curve_join_cluster.test_cluster_within_dense_chain_two_groups",
+ "eval.tests.test_offset_curve_join_cluster.test_cluster_within_equal_distance_pair_split",
+ "eval.tests.test_offset_curve_join_cluster.test_cluster_within_intermediate_radius_split",
+ "eval.tests.test_offset_curve_join_cluster.test_node_crossing_lines_split_at_crossing",
+ "eval.tests.test_offset_curve_join_cluster.test_node_overlapping_collinear_dedups",
+ "eval.tests.test_offset_curve_join_cluster.test_node_staggered_collinear_split",
+ "eval.tests.test_offset_curve_join_cluster.test_offset_curve_bowtie_self_cross_splits",
+ "eval.tests.test_offset_curve_join_cluster.test_offset_curve_closed_ring_inward_cleaned",
+ "eval.tests.test_offset_curve_join_cluster.test_offset_curve_closed_ring_outward_expands",
+ "eval.tests.test_offset_curve_join_cluster.test_offset_curve_concave_notch_drops_loop",
+ "eval.tests.test_offset_curve_join_cluster.test_offset_curve_self_touching_line_split",
+ "eval.tests.test_offset_curve_join_cluster.test_offset_curve_spiral_reentrant_loop_removed",
+ "eval.tests.test_offset_curve_join_cluster.test_offset_curvjoin_bevel_corner_flattened",
+ "eval.tests.test_offset_curve_join_cluster.test_offset_curvjoin_mitre_corner_sharp",
+ "eval.tests.test_offset_curve_join_cluster.test_offset_curvjoin_round_corner_arc",
+ "eval.tests.test_offset_curve_join_cluster.test_split_line_by_perpendicular_line",
+ "eval.tests.test_offset_curve_join_cluster.test_split_polygon_by_diameter_line",
+ "eval.tests.test_offset_curve_join_cluster.test_unary_union_edge_touching_polygons_merged",
+ "eval.tests.test_offset_curve_join_cluster.test_unary_union_overlapping_collinear_rectangles",
+ "eval.tests.test_offset_curve_join_cluster.test_unary_union_overlapping_segments_noded",
+ "eval.tests.test_overlay_noding.test_difference_crossing_lines",
+ "eval.tests.test_overlay_noding.test_difference_overlapping_squares",
+ "eval.tests.test_overlay_noding.test_intersection_crossing_lines",
+ "eval.tests.test_overlay_noding.test_intersection_curve_and_line",
+ "eval.tests.test_overlay_noding.test_intersection_disjoint_polygons_empty",
+ "eval.tests.test_overlay_noding.test_intersection_line_through_square",
+ "eval.tests.test_overlay_noding.test_intersection_two_overlapping_squares",
+ "eval.tests.test_overlay_noding.test_sym_difference_identical_empty",
+ "eval.tests.test_overlay_noding.test_sym_difference_overlapping_squares",
+ "eval.tests.test_overlay_noding.test_unary_union_bowtie_line",
+ "eval.tests.test_overlay_noding.test_unary_union_collinear_overlap_dissolved",
+ "eval.tests.test_overlay_noding.test_union_adjacent_squares_dissolve",
+ "eval.tests.test_overlay_noding.test_union_crossing_precision_3",
+ "eval.tests.test_overlay_noding.test_union_line_ending_on_boundary",
+ "eval.tests.test_overlay_noding.test_union_line_with_polygon",
+ "eval.tests.test_overlay_noding.test_union_lines_sharing_endpoint",
+ "eval.tests.test_overlay_noding.test_union_output_wkt_with_precision",
+ "eval.tests.test_overlay_noding.test_union_two_crossing_lines",
+ "eval.tests.test_overlay_noding.test_union_two_overlapping_squares",
+ "eval.tests.test_polygonize.test_build_area_square",
+ "eval.tests.test_polygonize.test_polygonize_adjacent_squares_single_face",
+ "eval.tests.test_polygonize.test_polygonize_crossing_diagonals",
+ "eval.tests.test_polygonize.test_polygonize_empty_no_output",
+ "eval.tests.test_polygonize.test_polygonize_open_chain_no_output",
+ "eval.tests.test_polygonize.test_polygonize_square",
+ "eval.tests.test_polygonize.test_polygonize_two_squares",
+ "eval.tests.test_polygonize.test_polygonize_valid_square",
+ "eval.tests.test_quadtree_simplify.test_simplify_dp_collinear_run_on_polygon_edge",
+ "eval.tests.test_quadtree_simplify.test_simplify_dp_collinear_spike",
+ "eval.tests.test_quadtree_simplify.test_simplify_dp_empty_line",
+ "eval.tests.test_quadtree_simplify.test_simplify_dp_huge_tolerance_collapses",
+ "eval.tests.test_quadtree_simplify.test_simplify_dp_json_and_wkt_paths",
+ "eval.tests.test_quadtree_simplify.test_simplify_dp_keeps_apex_in_both_output_formats",
+ "eval.tests.test_quadtree_simplify.test_simplify_dp_keeps_within_tolerance_chain",
+ "eval.tests.test_quadtree_simplify.test_simplify_dp_point_passthrough",
+ "eval.tests.test_quadtree_simplify.test_simplify_dp_preserves_zigzag_below_tolerance",
+ "eval.tests.test_quadtree_simplify.test_simplify_dp_smooth_peak_retains_apex",
+ "eval.tests.test_quadtree_simplify.test_simplify_dp_vs_tp_closing_loop",
+ "eval.tests.test_quadtree_simplify.test_simplify_dp_vs_tp_multipolygon_disjoint_preserved",
+ "eval.tests.test_quadtree_simplify.test_simplify_dp_vs_tp_nested_ring_preserved",
+ "eval.tests.test_quadtree_simplify.test_simplify_dp_vs_tp_self_near_miss_line",
+ "eval.tests.test_quadtree_simplify.test_simplify_dp_zero_tolerance_identity",
+ "eval.tests.test_quadtree_simplify.test_simplify_tp_collection_passthrough_contents",
+ "eval.tests.test_quadtree_simplify.test_simplify_tp_collinear_spike",
+ "eval.tests.test_quadtree_simplify.test_simplify_tp_concave_notch_no_overcollapse",
+ "eval.tests.test_quadtree_simplify.test_simplify_tp_concave_notch_shallow_collapse",
+ "eval.tests.test_quadtree_simplify.test_simplify_tp_empty_polygon",
+ "eval.tests.test_quadtree_simplify.test_simplify_tp_long_collinear_line",
+ "eval.tests.test_quadtree_simplify.test_simplify_tp_many_collinear_vertices",
+ "eval.tests.test_quadtree_simplify.test_simplify_tp_multiline_joint_preserved",
+ "eval.tests.test_quadtree_simplify.test_simplify_tp_multipoint_passthrough",
+ "eval.tests.test_quadtree_simplify.test_simplify_tp_nearly_closed_ring",
+ "eval.tests.test_quadtree_simplify.test_simplify_tp_preserves_zigzag",
+ "eval.tests.test_quadtree_simplify.test_simplify_tp_ring_jitter_flattened",
+ "eval.tests.test_quadtree_simplify.test_simplify_tp_three_point_line",
+ "eval.tests.test_relate_bnr.test_predicate_contains_prep_interior_line",
+ "eval.tests.test_relate_bnr.test_predicate_coveredBy_line_on_boundary",
+ "eval.tests.test_relate_bnr.test_predicate_covers_interior_point",
+ "eval.tests.test_relate_bnr.test_predicate_crosses_disjoint_squares_false",
+ "eval.tests.test_relate_bnr.test_predicate_crosses_line_through_polygon",
+ "eval.tests.test_relate_bnr.test_predicate_intersects_line_through_square",
+ "eval.tests.test_relate_bnr.test_predicate_overlaps_partial_overlap",
+ "eval.tests.test_relate_bnr.test_predicate_touches_squares_sharing_edge",
+ "eval.tests.test_relate_bnr.test_predicate_within_interior_point",
+ "eval.tests.test_relate_bnr.test_relate_bnr_forked_endpoint_mod2_vs_endpt",
+ "eval.tests.test_relate_bnr.test_relate_bnr_invalid_rule_rejected",
+ "eval.tests.test_relate_bnr.test_relate_bnr_multivalent_endpoint_differs",
+ "eval.tests.test_relate_bnr.test_relate_bnr_multivalent_other_rules_match",
+ "eval.tests.test_relate_bnr.test_relate_bnr_single_chain_monovalent",
+ "eval.tests.test_relate_bnr.test_relate_point_on_line_boundary",
+ "eval.tests.test_relate_bnr.test_relate_point_on_line_interior",
+ "eval.tests.test_snapround.test_difference_sr_overlapping_squares",
+ "eval.tests.test_snapround.test_difference_sr_two_polygons",
+ "eval.tests.test_snapround.test_intersection_sr_coarse_grid",
+ "eval.tests.test_snapround.test_intersection_sr_crossing_lines",
+ "eval.tests.test_snapround.test_intersection_sr_disjoint_empty",
+ "eval.tests.test_snapround.test_intersection_sr_fractional_crossing_snapped",
+ "eval.tests.test_snapround.test_intersection_sr_near_miss_snapped",
+ "eval.tests.test_snapround.test_intersection_sr_polygon_crossed_by_line",
+ "eval.tests.test_snapround.test_sym_difference_sr_collinear_overlap",
+ "eval.tests.test_snapround.test_sym_difference_sr_overlapping_squares",
+ "eval.tests.test_snapround.test_unary_union_sr_agg",
+ "eval.tests.test_snapround.test_unary_union_sr_near_coincident_vertices_coalesce",
+ "eval.tests.test_snapround.test_unary_union_sr_three_way_crossing",
+ "eval.tests.test_snapround.test_union_sr_adjacent_segments",
+ "eval.tests.test_snapround.test_union_sr_crossing_lines",
+ "eval.tests.test_snapround.test_union_sr_disjoint_lines_kept",
+ "eval.tests.test_snapround.test_union_sr_fractional_grid",
+ "eval.tests.test_snapround.test_union_sr_polygon_with_hole_crossed",
+ "eval.tests.test_snapround.test_union_sr_tiny_segment_collapses_to_pixel",
+ "eval.tests.test_snapround.test_union_sr_two_polygons",
+ "eval.tests.test_split.test_split_closed_curvepolygon_split",
+ "eval.tests.test_split.test_split_closed_ring_into_chains",
+ "eval.tests.test_split.test_split_compound_curve_cut_through_arc",
+ "eval.tests.test_split.test_split_compound_curve_preserves_arc",
+ "eval.tests.test_split.test_split_empty_line",
+ "eval.tests.test_split.test_split_line_at_crossing",
+ "eval.tests.test_split.test_split_line_at_two_points",
+ "eval.tests.test_split.test_split_line_collinear_overlap_edge",
+ "eval.tests.test_split.test_split_line_edge_at_endpoint_no_subdivide",
+ "eval.tests.test_split.test_split_multicurve_compound_into_two",
+ "eval.tests.test_split.test_split_point_rejected",
+ "eval.tests.test_split.test_split_polygon_into_four",
+ "eval.tests.test_split.test_split_polygon_into_two",
+ "eval.tests.test_split.test_split_polygon_with_hole",
+ "eval.tests.test_split.test_split_two_arc_compound_at_joint",
+ "eval.tests.test_vertex_index_coverage_simplify.test_covsim_horizontal_shared_edge_removes_jitter",
+ "eval.tests.test_vertex_index_coverage_simplify.test_covsim_jogged_shared_edge_reduces_two_sections",
+ "eval.tests.test_vertex_index_coverage_simplify.test_covsim_multilevel_large_ring_deterministic",
+ "eval.tests.test_vertex_index_coverage_simplify.test_covsim_multilevel_tree_high_tol_exact_wkt",
+ "eval.tests.test_vertex_index_coverage_simplify.test_covsim_multilevel_tree_larger_exact_wkt",
+ "eval.tests.test_vertex_index_coverage_simplify.test_covsim_rejects_non_polygonal_input",
+ "eval.tests.test_vertex_index_coverage_simplify.test_covsim_shared_edge_jitter_smallest_kept",
+ "eval.tests.test_vertex_index_coverage_simplify.test_covsim_shared_edge_seven_jitter_high_tol_collapses",
+ "eval.tests.test_vertex_index_coverage_simplify.test_covsim_shared_edge_seven_jitter_tol5",
+ "eval.tests.test_vertex_index_coverage_simplify.test_covsim_single_level_exact_wkt_tol5",
+ "eval.tests.test_vertex_index_coverage_simplify.test_covsim_tolerance_monotonic_vertex_reduction"
+ ]
+ },
+ "generated_module_06": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [
+ {
+ "name": "eval.tests.test_linearref_edge_error.test_interpolate_bare_negative_rejected",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_linearref_edge_error.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_linearref_edge_error.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ }
+ ],
+ "tests": [
+ "eval.tests.test_buffer.test_buffer_default_point_area_is_coarse_polygon",
+ "eval.tests.test_buffer.test_buffer_double_sided_square_join_default",
+ "eval.tests.test_buffer.test_buffer_empty_geometry",
+ "eval.tests.test_buffer.test_buffer_join_bevel",
+ "eval.tests.test_buffer.test_buffer_join_mitre_limit",
+ "eval.tests.test_buffer.test_buffer_join_quadrant_segments",
+ "eval.tests.test_buffer.test_buffer_join_quadrant_segments_square_corner_area",
+ "eval.tests.test_buffer.test_buffer_large_distance_contains_original",
+ "eval.tests.test_buffer.test_buffer_negative_distance_is_empty",
+ "eval.tests.test_buffer.test_buffer_point_area_pi_with_fine_segments",
+ "eval.tests.test_buffer.test_buffer_point_distance_one",
+ "eval.tests.test_buffer.test_buffer_point_with_integer_distance_area",
+ "eval.tests.test_buffer.test_buffer_polygon_positive_rounds_bbox",
+ "eval.tests.test_buffer.test_buffer_polygon_small_fills_hole",
+ "eval.tests.test_buffer.test_buffer_polygon_with_hole",
+ "eval.tests.test_buffer.test_buffer_positive_expands_bbox",
+ "eval.tests.test_buffer.test_buffer_quad_segs_low_is_coarse",
+ "eval.tests.test_buffer.test_buffer_quad_segs_many_is_finer",
+ "eval.tests.test_buffer.test_buffer_single_sided_left",
+ "eval.tests.test_buffer.test_buffer_single_sided_side_flag",
+ "eval.tests.test_buffer.test_buffer_zero_distance_line_is_empty",
+ "eval.tests.test_buffer.test_buffer_zero_distance_polygon_is_itself",
+ "eval.tests.test_buffer.test_buffer_zero_quadrant_segments_uses_default_octagon",
+ "eval.tests.test_buffer.test_offset_curve_join_style",
+ "eval.tests.test_buffer.test_offset_curve_negative_side",
+ "eval.tests.test_buffer.test_offset_curve_positive",
+ "eval.tests.test_buffer_depth.test_buffer_area_increases_with_quad_segments",
+ "eval.tests.test_buffer_depth.test_buffer_join_all_results_are_valid",
+ "eval.tests.test_buffer_depth.test_buffer_join_mitre_area_exceeds_round",
+ "eval.tests.test_buffer_depth.test_buffer_join_mitre_limited_area_below_unlimited",
+ "eval.tests.test_buffer_depth.test_buffer_join_round_area_exceeds_bevel",
+ "eval.tests.test_buffer_depth.test_buffer_negative_distance_is_empty",
+ "eval.tests.test_buffer_depth.test_buffer_polygon_with_hole_area",
+ "eval.tests.test_buffer_depth.test_buffer_polygon_with_hole_preserves_hole",
+ "eval.tests.test_buffer_depth.test_buffer_quad_seg_zero_defaults",
+ "eval.tests.test_buffer_depth.test_buffer_single_sided_area_less_than_full",
+ "eval.tests.test_buffer_depth.test_buffer_single_sided_line_left",
+ "eval.tests.test_buffer_depth.test_buffer_single_sided_negative_offsets_right",
+ "eval.tests.test_buffer_depth.test_buffer_vertex_count_grows_with_quad_segments",
+ "eval.tests.test_buffer_parameter_depth.test_buffer_donut_preserves_hole_ring",
+ "eval.tests.test_buffer_parameter_depth.test_buffer_join_bevel_cuts_corner_count",
+ "eval.tests.test_buffer_parameter_depth.test_buffer_mitre_limit_truncates_sharp_corner",
+ "eval.tests.test_buffer_parameter_depth.test_buffer_mitre_limits_parameter_selection",
+ "eval.tests.test_buffer_parameter_depth.test_buffer_negative_distance_inset_ring",
+ "eval.tests.test_buffer_parameter_depth.test_buffer_quad_high_round_corners",
+ "eval.tests.test_buffer_parameter_depth.test_buffer_quad_segs_more_points_round",
+ "eval.tests.test_buffer_parameter_depth.test_buffer_single_sided_keeps_one_ring",
+ "eval.tests.test_cli_io.test_area_metric_numeric",
+ "eval.tests.test_cli_io.test_bad_positional_number_errors",
+ "eval.tests.test_cli_io.test_bad_precision_value_errors",
+ "eval.tests.test_cli_io.test_collect_flag_merges_multipart_input",
+ "eval.tests.test_cli_io.test_empty_geometry_echoes_empty_wkt",
+ "eval.tests.test_cli_io.test_envelope_bbox",
+ "eval.tests.test_cli_io.test_explode_splits_result_components",
+ "eval.tests.test_cli_io.test_geojson_output_format",
+ "eval.tests.test_cli_io.test_geojson_output_format_polygon",
+ "eval.tests.test_cli_io.test_has_m_flag",
+ "eval.tests.test_cli_io.test_has_z_flag",
+ "eval.tests.test_cli_io.test_help_exits_zero_and_lists_ops",
+ "eval.tests.test_cli_io.test_help_short_flag_matches_long",
+ "eval.tests.test_cli_io.test_invalid_option_exits_nonzero",
+ "eval.tests.test_cli_io.test_is_empty_flag",
+ "eval.tests.test_cli_io.test_length_metric_numeric",
+ "eval.tests.test_cli_io.test_no_operation_given_echos_geometry",
+ "eval.tests.test_cli_io.test_normalize_orders_components",
+ "eval.tests.test_cli_io.test_quiet_mode_suppresses_output",
+ "eval.tests.test_cli_io.test_read_geometry_from_stdin",
+ "eval.tests.test_cli_io.test_read_geometry_from_wkt_file",
+ "eval.tests.test_cli_io.test_read_geometry_from_wkt_file_limit",
+ "eval.tests.test_cli_io.test_read_wkb_from_stdin",
+ "eval.tests.test_cli_io.test_repeat_runs_and_reports_timing",
+ "eval.tests.test_cli_io.test_reverse_flips_coordinate_order",
+ "eval.tests.test_cli_io.test_select_keeps_true_geometries",
+ "eval.tests.test_cli_io.test_select_not_keeps_false_geometries",
+ "eval.tests.test_cli_io.test_unknown_operation_errors",
+ "eval.tests.test_cli_io.test_verbose_flag_reads_stdin_report",
+ "eval.tests.test_cli_io.test_version_header_in_help",
+ "eval.tests.test_cli_io.test_wkb_output_format_hex",
+ "eval.tests.test_cli_io.test_wkt_is_default_format",
+ "eval.tests.test_cliprect_line_corner.test_clip_diagonal_across_adjacent_sides_empty",
+ "eval.tests.test_cliprect_line_corner.test_clip_diagonal_crosses_rectangle_keeps_inside",
+ "eval.tests.test_cliprect_line_corner.test_clip_diagonal_fully_inside_kept",
+ "eval.tests.test_cliprect_line_corner.test_clip_diagonal_through_corner_anchors_segment",
+ "eval.tests.test_cliprect_line_corner.test_clip_line_along_boundary_edge_is_empty",
+ "eval.tests.test_cliprect_line_corner.test_clip_point_at_corner_is_empty",
+ "eval.tests.test_cliprect_line_corner.test_clip_segment_wholly_on_edge_is_empty",
+ "eval.tests.test_cluster_merge.test_cluster_intersecting_groups_touch",
+ "eval.tests.test_cluster_merge.test_cluster_within_distance",
+ "eval.tests.test_cluster_merge.test_cluster_within_far_points_split",
+ "eval.tests.test_cluster_merge.test_line_merge_disjoint_stays_multi",
+ "eval.tests.test_cluster_merge.test_line_merge_joins_contiguous",
+ "eval.tests.test_cluster_merge.test_line_merge_reversed_segments",
+ "eval.tests.test_cluster_merge.test_line_merge_single_line_unchanged",
+ "eval.tests.test_construction.test_centroid_of_square",
+ "eval.tests.test_construction.test_centroid_of_triangle",
+ "eval.tests.test_construction.test_concave_hull_by_length",
+ "eval.tests.test_construction.test_concave_hull_holes_allows_holes",
+ "eval.tests.test_construction.test_concave_hull_lines_the_points",
+ "eval.tests.test_construction.test_concave_hull_ratio_one_is_convex",
+ "eval.tests.test_construction.test_convex_hull_contains_all_sites",
+ "eval.tests.test_construction.test_convex_hull_three_points",
+ "eval.tests.test_construction.test_densify_adds_vertices",
+ "eval.tests.test_construction.test_densify_long_segment_no_change",
+ "eval.tests.test_construction.test_interior_point_inside_polygon",
+ "eval.tests.test_construction.test_largest_empty_circle_boundary_constrained",
+ "eval.tests.test_construction.test_largest_empty_circle_radius_equals_inscribed",
+ "eval.tests.test_construction.test_max_diameter_of_square",
+ "eval.tests.test_construction.test_max_inscribed_circle_touches_sides",
+ "eval.tests.test_construction.test_min_area_rectangle_square",
+ "eval.tests.test_construction.test_min_bounding_circle_area",
+ "eval.tests.test_construction.test_min_diameter_of_square",
+ "eval.tests.test_construction.test_topology_preserved_largest_empty_circle",
+ "eval.tests.test_coverage_corner.test_coverage_clean_merges_gap",
+ "eval.tests.test_coverage_corner.test_coverage_simplify_corner_cover_preserves_parts",
+ "eval.tests.test_coverage_corner.test_coverage_union_changes_area_with_corner",
+ "eval.tests.test_coverage_corner.test_coverage_union_is_valid",
+ "eval.tests.test_coverage_corner.test_coverage_union_merges_adjacent",
+ "eval.tests.test_coverage_corner.test_coverage_union_ng_merges_corner_coverage",
+ "eval.tests.test_coverage_corner.test_coverage_validate_clean_coverage_empty",
+ "eval.tests.test_coverage_corner.test_coverage_validate_gap_empty_ok",
+ "eval.tests.test_coverage_corner.test_coverage_validate_overlap_reports_boundaries",
+ "eval.tests.test_coverage_corner_depth.test_coverage_clean_indented_edges",
+ "eval.tests.test_coverage_corner_depth.test_coverage_simplify_concave_corner_retained",
+ "eval.tests.test_coverage_corner_depth.test_coverage_simplify_diamond_corners_kept",
+ "eval.tests.test_coverage_corner_depth.test_coverage_simplify_huge_tolerance_concave_bridge",
+ "eval.tests.test_coverage_corner_depth.test_coverage_simplify_huge_tolerance_diamond_to_triangle",
+ "eval.tests.test_coverage_corner_depth.test_coverage_simplify_huge_tolerance_removes_corner_to_triangle",
+ "eval.tests.test_coverage_corner_depth.test_coverage_simplify_two_part_l_shape_valid",
+ "eval.tests.test_coverage_corner_depth.test_coverage_union_ng_conserves_area",
+ "eval.tests.test_coverage_corner_depth.test_coverage_union_ng_diagonal_corner",
+ "eval.tests.test_coverage_gapped_wide.test_coverage_clean_edge_adjacent_zero_width_stays_separate",
+ "eval.tests.test_coverage_gapped_wide.test_coverage_clean_wide_gap_not_bridged",
+ "eval.tests.test_coverage_gapped_wide.test_coverage_union_gapped_result_is_valid",
+ "eval.tests.test_coverage_gapped_wide.test_coverage_union_ng_gapped_stays_multipart",
+ "eval.tests.test_coverage_gapped_wide.test_coverage_union_of_gapped_coverage_is_multipart",
+ "eval.tests.test_coverage_gapped_wide.test_coverage_union_of_gapped_three_parts_conserves_area",
+ "eval.tests.test_coverage_gapped_wide.test_coverage_union_single_part_passthrough",
+ "eval.tests.test_coverage_polygonize.test_build_area_from_ring",
+ "eval.tests.test_coverage_polygonize.test_constrained_delaunay_of_square",
+ "eval.tests.test_coverage_polygonize.test_coverage_clean_gap_fill",
+ "eval.tests.test_coverage_polygonize.test_coverage_simplify_single_polygon",
+ "eval.tests.test_coverage_polygonize.test_coverage_union_merges_adjacent",
+ "eval.tests.test_coverage_polygonize.test_coverage_union_ng",
+ "eval.tests.test_coverage_polygonize.test_coverage_union_valid_input",
+ "eval.tests.test_coverage_polygonize.test_coverage_validate_for_clean_coverage",
+ "eval.tests.test_coverage_polygonize.test_delaunay_single_point",
+ "eval.tests.test_coverage_polygonize.test_delaunay_triangulation",
+ "eval.tests.test_coverage_polygonize.test_polygonize_closed_ring",
+ "eval.tests.test_coverage_polygonize.test_polygonize_open_line_no_area",
+ "eval.tests.test_coverage_polygonize.test_polygonize_valid_closed_ring",
+ "eval.tests.test_coverage_polygonize.test_voronoi_three_sites",
+ "eval.tests.test_delaunay_tessellations.test_cocircular_octagon_center_fan",
+ "eval.tests.test_delaunay_tessellations.test_collinear_run_with_apex_fan",
+ "eval.tests.test_delaunay_tessellations.test_concentric_annulus_area_tiles_hull",
+ "eval.tests.test_delaunay_tessellations.test_concentric_two_ring_annulus",
+ "eval.tests.test_delaunay_tessellations.test_hexagon_plus_centre_re_triangulates",
+ "eval.tests.test_delaunay_tessellations.test_kite_with_axis_site_four_triangles",
+ "eval.tests.test_delaunay_tessellations.test_near_regular_octagon_area_tiles_hull",
+ "eval.tests.test_delaunay_tessellations.test_near_regular_octagon_six_triangles",
+ "eval.tests.test_delaunay_tessellations.test_rhombus_offcentre_site_four_triangles",
+ "eval.tests.test_distance.test_distance_metric_is_symmetric",
+ "eval.tests.test_distance.test_distance_point_to_polygon_edge",
+ "eval.tests.test_distance.test_distance_prepared_matches_plain",
+ "eval.tests.test_distance.test_distance_zero_for_crossing",
+ "eval.tests.test_distance.test_frechet_distance_parallel",
+ "eval.tests.test_distance.test_hausdorff_distance_parallel",
+ "eval.tests.test_distance.test_nearest_points_length_equals_distance",
+ "eval.tests.test_distance.test_nearest_points_parallel_lines",
+ "eval.tests.test_distance.test_nearest_points_prepared_matches_plain",
+ "eval.tests.test_distance_facet.test_concave_polygon_nearest_facet",
+ "eval.tests.test_distance_facet.test_corner_touching_squares_zero",
+ "eval.tests.test_distance_facet.test_disjoint_polygon_distance_exact",
+ "eval.tests.test_distance_facet.test_identical_polygon_distance_zero",
+ "eval.tests.test_distance_facet.test_left_nearest_facet_distance",
+ "eval.tests.test_distance_facet.test_multipolygon_facet_union_distance",
+ "eval.tests.test_distance_facet.test_nested_disjoint_nearest_points_x",
+ "eval.tests.test_distance_facet.test_overlap_internal_polygon_distance_zero",
+ "eval.tests.test_distance_facet.test_point_to_polygon_prepared_distance",
+ "eval.tests.test_distance_facet.test_polygon_to_line_distance_exact",
+ "eval.tests.test_distance_facet.test_vertical_disjoint_nearest_distance",
+ "eval.tests.test_distance_metric_consistency.test_distance_disjoint_boxes_agrees_prepared",
+ "eval.tests.test_distance_metric_consistency.test_distance_point_inside_hole_reports_wall",
+ "eval.tests.test_distance_metric_consistency.test_distance_point_to_multipoint_nearest_part",
+ "eval.tests.test_distance_metric_consistency.test_distance_point_to_ring_vertex_diagonal",
+ "eval.tests.test_distance_metric_consistency.test_frechet_distance_crossing_diagonals",
+ "eval.tests.test_distance_metric_consistency.test_frechet_distance_overlapping_collinear",
+ "eval.tests.test_distance_metric_consistency.test_hausdorff_distance_crossing_diagonals",
+ "eval.tests.test_distance_metric_consistency.test_hausdorff_distance_overlapping_collinear",
+ "eval.tests.test_distance_metric_consistency.test_nearest_points_between_disjoint_boxes",
+ "eval.tests.test_distance_metric_consistency.test_nearest_points_line_to_polygon_edge",
+ "eval.tests.test_distance_prepared_line_operands.test_collinear_overlapping_lines_zero",
+ "eval.tests.test_distance_prepared_line_operands.test_large_disjoint_polygons_prepared",
+ "eval.tests.test_distance_prepared_line_operands.test_line_line_crossing_zero",
+ "eval.tests.test_distance_prepared_line_operands.test_line_line_diagonal_exact",
+ "eval.tests.test_distance_prepared_line_operands.test_line_line_endpoint_touch_zero",
+ "eval.tests.test_distance_prepared_line_operands.test_line_prepared_matches_plain",
+ "eval.tests.test_distance_prepared_line_operands.test_line_prepared_symmetric",
+ "eval.tests.test_distance_prepared_line_operands.test_multipart_line_to_point_distance",
+ "eval.tests.test_distance_prepared_line_operands.test_nearest_points_on_crossing_collapse",
+ "eval.tests.test_distance_prepared_line_operands.test_nearest_points_on_parallel_orientation",
+ "eval.tests.test_distance_prepared_line_operands.test_nearest_points_ring_to_point_segment",
+ "eval.tests.test_distance_prepared_line_operands.test_parallel_lines_gap_exact",
+ "eval.tests.test_distance_prepared_line_operands.test_point_to_line_prepared_distance",
+ "eval.tests.test_distance_prepared_line_operands.test_polygon_to_line_prepared_distance",
+ "eval.tests.test_distance_prepared_line_operands.test_prepared_empty_operand_inf",
+ "eval.tests.test_distance_prepared_line_operands.test_ring_line_interior_point_offset",
+ "eval.tests.test_distance_prepared_line_operands.test_ring_line_to_exterior_point",
+ "eval.tests.test_distance_prepared_line_operands.test_zigzag_line_to_point_distance",
+ "eval.tests.test_distance_prepared_multioperands.test_collection_nearest_facet_on_line_part",
+ "eval.tests.test_distance_prepared_multioperands.test_collection_prepared_distance_matches_plain",
+ "eval.tests.test_distance_prepared_multioperands.test_empty_multipoint_operand_infinite_distance",
+ "eval.tests.test_distance_prepared_multioperands.test_multipoint_prepared_matches_plain",
+ "eval.tests.test_distance_prepared_multioperands.test_multipoint_to_multipoint_prepared_distance",
+ "eval.tests.test_distance_prepared_multioperands.test_multipolygon_containing_prepared_point_zero",
+ "eval.tests.test_distance_prepared_multioperands.test_prepared_distance_from_point_to_multipoint_symmetric",
+ "eval.tests.test_extra_operations.test_build_area_triangle",
+ "eval.tests.test_extra_operations.test_concave_hull_ratio_zero_is_concave",
+ "eval.tests.test_extra_operations.test_difference_empty_result",
+ "eval.tests.test_extra_operations.test_distance_point_to_diagonal",
+ "eval.tests.test_extra_operations.test_extract_line_single_point_result",
+ "eval.tests.test_extra_operations.test_frechet_distance_endpoint_offset",
+ "eval.tests.test_extra_operations.test_hausdorff_offset_lines",
+ "eval.tests.test_extra_operations.test_intersection_symmetry",
+ "eval.tests.test_extra_operations.test_line_merge_orientation_flip",
+ "eval.tests.test_extra_operations.test_min_bounding_circle_covers_sites",
+ "eval.tests.test_extra_operations.test_overlay_node_clean_union_of_disjoint",
+ "eval.tests.test_extra_operations.test_pointwise_precision_boundary",
+ "eval.tests.test_extra_operations.test_polygonize_triangle_face",
+ "eval.tests.test_extra_operations.test_precision_reduction_area_preserved_grid",
+ "eval.tests.test_extra_operations.test_union_contained_input",
+ "eval.tests.test_extra_operations.test_union_symmetry",
+ "eval.tests.test_intersection_cliprect.test_clip_big_polygon_keeps_original_area_when_contained",
+ "eval.tests.test_intersection_cliprect.test_clip_corner_overlap",
+ "eval.tests.test_intersection_cliprect.test_clip_edge_crossing_polygon_keeps_boundary_points",
+ "eval.tests.test_intersection_cliprect.test_clip_large_polygon_to_rectangle",
+ "eval.tests.test_intersection_cliprect.test_clip_line_crosses_rectangle_is_clipped",
+ "eval.tests.test_intersection_cliprect.test_clip_line_fully_inside_unchanged",
+ "eval.tests.test_intersection_cliprect.test_clip_line_outside_empty",
+ "eval.tests.test_intersection_cliprect.test_clip_multipolygon_two_parts",
+ "eval.tests.test_intersection_cliprect.test_clip_point_inside_kept",
+ "eval.tests.test_intersection_cliprect.test_clip_point_on_rectangle_edge_is_outside",
+ "eval.tests.test_intersection_cliprect.test_clip_point_outside_empty",
+ "eval.tests.test_intersection_cliprect.test_clip_polygon_covering_rectangle_returns_rectangle",
+ "eval.tests.test_intersection_cliprect.test_clip_polygon_fully_inside_unchanged",
+ "eval.tests.test_intersection_cliprect.test_clip_polygon_rectangle_larger_returns_source",
+ "eval.tests.test_intersection_cliprect.test_clip_polygon_with_hole_preserves_hole",
+ "eval.tests.test_largest_circle_index.test_largest_empty_circle_boundary_degenerate",
+ "eval.tests.test_largest_circle_index.test_largest_empty_circle_corridor",
+ "eval.tests.test_largest_circle_index.test_largest_empty_circle_l_shape",
+ "eval.tests.test_largest_circle_index.test_largest_empty_circle_point_obstacles",
+ "eval.tests.test_largest_circle_index.test_largest_empty_circle_triangle",
+ "eval.tests.test_largest_circle_index.test_max_inscribed_circle_l_shape",
+ "eval.tests.test_largest_circle_index.test_max_inscribed_circle_narrow_rectangle",
+ "eval.tests.test_largest_circle_index.test_max_inscribed_circle_pentagon",
+ "eval.tests.test_largest_circle_index.test_max_inscribed_circle_triangle",
+ "eval.tests.test_largest_circle_index.test_max_inscribed_square_vs_largest_empty_square",
+ "eval.tests.test_linearref.test_extract_line_bend_corner",
+ "eval.tests.test_linearref.test_extract_line_beyond_length_clamped",
+ "eval.tests.test_linearref.test_extract_line_full_extent",
+ "eval.tests.test_linearref.test_extract_line_middle_segment",
+ "eval.tests.test_linearref.test_extract_line_reversed_distance",
+ "eval.tests.test_linearref.test_interpolate_beyond_end_clamps",
+ "eval.tests.test_linearref.test_interpolate_end",
+ "eval.tests.test_linearref.test_interpolate_midpoint",
+ "eval.tests.test_linearref.test_interpolate_on_bend_returns_corner_point",
+ "eval.tests.test_linearref.test_interpolate_start",
+ "eval.tests.test_linearref.test_project_at_vertex",
+ "eval.tests.test_linearref.test_project_closest_offset",
+ "eval.tests.test_linearref.test_project_point_on_line",
+ "eval.tests.test_linearref_edge_error.test_extract_line_beyond_length_clamps",
+ "eval.tests.test_linearref_edge_error.test_extract_line_non_linear_point_fails",
+ "eval.tests.test_linearref_edge_error.test_extract_line_non_linear_polygon_fails",
+ "eval.tests.test_linearref_edge_error.test_extract_line_reversed_direction",
+ "eval.tests.test_linearref_edge_error.test_interpolate_at_start",
+ "eval.tests.test_linearref_edge_error.test_interpolate_bare_negative_rejected",
+ "eval.tests.test_linearref_edge_error.test_interpolate_negative_via_n_prefix",
+ "eval.tests.test_linearref_edge_error.test_interpolate_on_bent_line_half_length",
+ "eval.tests.test_linearref_edge_error.test_interpolate_past_end_clamps",
+ "eval.tests.test_linearref_edge_error.test_project_off_axis_point_clamps_to_end",
+ "eval.tests.test_linearref_fractional.test_extract_line_fractional_on_bend_keeps_vertex",
+ "eval.tests.test_linearref_fractional.test_extract_line_fractional_reverse_order",
+ "eval.tests.test_linearref_fractional.test_extract_line_fractional_subsegment",
+ "eval.tests.test_linearref_fractional.test_extract_line_fractional_whole_midpoint",
+ "eval.tests.test_linearref_fractional.test_interpolate_fractional_first_segment",
+ "eval.tests.test_linearref_fractional.test_interpolate_fractional_past_vertex",
+ "eval.tests.test_linearref_fractional.test_interpolate_start_fractional_zero",
+ "eval.tests.test_linearref_fractional.test_project_fractional_foot_integer",
+ "eval.tests.test_linearref_fractional.test_project_point_past_vertex_on_second_leg",
+ "eval.tests.test_linearref_shape.test_concave_hull_pulls_in_or_notches",
+ "eval.tests.test_linearref_shape.test_convex_hull_of_empty_is_empty_collection",
+ "eval.tests.test_linearref_shape.test_convex_hull_of_points",
+ "eval.tests.test_linearref_shape.test_extract_line_reversed_preserves_direction",
+ "eval.tests.test_linearref_shape.test_extract_line_subset_exact",
+ "eval.tests.test_linearref_shape.test_interpolate_clamps_above_length",
+ "eval.tests.test_linearref_shape.test_interpolate_fractional_position",
+ "eval.tests.test_linearref_shape.test_interpolate_negative_wraps_from_end",
+ "eval.tests.test_linearref_shape.test_largest_empty_circle_boundary_constraint",
+ "eval.tests.test_linearref_shape.test_largest_empty_circle_in_square",
+ "eval.tests.test_linearref_shape.test_largest_empty_circle_in_triangle",
+ "eval.tests.test_linearref_shape.test_max_diameter_of_points",
+ "eval.tests.test_linearref_shape.test_max_inscribed_circle_center",
+ "eval.tests.test_linearref_shape.test_min_area_rectangle_of_triangle",
+ "eval.tests.test_linearref_shape.test_min_bounding_circle_envelope",
+ "eval.tests.test_linearref_shape.test_min_diameter_of_rectangle",
+ "eval.tests.test_linearref_shape.test_project_beyond_length_returns_full_length",
+ "eval.tests.test_linemerge_polygonize_donut.test_build_area_donut_fills_holed_polygon",
+ "eval.tests.test_linemerge_polygonize_donut.test_linemerge_chain_mixed_orientation",
+ "eval.tests.test_linemerge_polygonize_donut.test_linemerge_disjoint_parallel_kept",
+ "eval.tests.test_linemerge_polygonize_donut.test_linemerge_forms_closed_ring",
+ "eval.tests.test_linemerge_polygonize_donut.test_linemerge_gap_collinear_not_merged",
+ "eval.tests.test_linemerge_polygonize_donut.test_linemerge_single_line_noop",
+ "eval.tests.test_linemerge_polygonize_donut.test_linemerge_three_way_junction_not_merged",
+ "eval.tests.test_linemerge_polygonize_donut.test_polygonize_donut_emits_shell_and_inner",
+ "eval.tests.test_linemerge_polygonize_donut.test_polygonize_empty_collection_no_faces",
+ "eval.tests.test_linemerge_polygonize_donut.test_polygonize_valid_adjacent_squares_shared_edge",
+ "eval.tests.test_linemerge_polygonize_donut.test_polygonize_valid_donut_single_holed_polygon",
+ "eval.tests.test_linemerge_polygonize_donut.test_polygonize_valid_open_ring_no_face",
+ "eval.tests.test_node_polygonize_boundary.test_boundary_holed_polygon_drops_hole",
+ "eval.tests.test_node_polygonize_boundary.test_boundary_of_empty_polygon",
+ "eval.tests.test_node_polygonize_boundary.test_boundary_of_line_is_itself",
+ "eval.tests.test_node_polygonize_boundary.test_boundary_of_polygon_returns_shell",
+ "eval.tests.test_node_polygonize_boundary.test_build_area_closes_single_square",
+ "eval.tests.test_node_polygonize_boundary.test_build_area_two_disjoint_squares",
+ "eval.tests.test_node_polygonize_boundary.test_node_collinear_overlap_splits_at_shared_nodes",
+ "eval.tests.test_node_polygonize_boundary.test_node_crossing_multiline_splits_at_intersections",
+ "eval.tests.test_node_polygonize_boundary.test_node_self_touching_figure_eight",
+ "eval.tests.test_node_polygonize_boundary.test_node_simple_line_unchanged",
+ "eval.tests.test_node_polygonize_boundary.test_polygonize_single_square_output",
+ "eval.tests.test_node_polygonize_boundary.test_polygonize_two_disjoint_squares_emits_both",
+ "eval.tests.test_node_polygonize_boundary.test_polygonize_valid_triangle_distinct_ring",
+ "eval.tests.test_node_polygonize_boundary.test_polygonize_valid_two_disjoint_rings",
+ "eval.tests.test_offset_curve.test_offset_curve_bend_rounds_corner",
+ "eval.tests.test_offset_curve.test_offset_curve_closed_ring_implodes",
+ "eval.tests.test_offset_curve.test_offset_curve_diagonal_direction",
+ "eval.tests.test_offset_curve.test_offset_curve_join_bevel_on_angle",
+ "eval.tests.test_offset_curve.test_offset_curve_join_mitre_on_angle",
+ "eval.tests.test_offset_curve.test_offset_curve_join_mitre_square",
+ "eval.tests.test_offset_curve.test_offset_curve_join_style",
+ "eval.tests.test_offset_curve.test_offset_curve_negative_side",
+ "eval.tests.test_offset_curve.test_offset_curve_point_is_empty",
+ "eval.tests.test_offset_curve.test_offset_curve_polygon_emits_outer_ring",
+ "eval.tests.test_offset_curve.test_offset_curve_polygon_inward_negative",
+ "eval.tests.test_offset_curve.test_offset_curve_polygon_length_scales_with_distance",
+ "eval.tests.test_offset_curve.test_offset_curve_positive",
+ "eval.tests.test_offset_curve.test_old_offset_curve_line",
+ "eval.tests.test_offset_curve.test_old_offset_curve_rejects_polygon",
+ "eval.tests.test_offset_curve_sections.test_offset_acute_corner_exact",
+ "eval.tests.test_offset_curve_sections.test_offset_join_mitre_limited_keeps_order",
+ "eval.tests.test_offset_curve_sections.test_offset_l_shape_exact",
+ "eval.tests.test_offset_curve_sections.test_offset_oscillating_bend_joins_with_vertex_removal",
+ "eval.tests.test_offset_curve_sections.test_offset_single_bend_round_caps_length",
+ "eval.tests.test_offset_curve_sections.test_offset_spiral_emits_sorted_multilinestring",
+ "eval.tests.test_offset_curve_sections.test_offset_spiral_multilinestring_component_count",
+ "eval.tests.test_offset_curve_sections.test_offset_three_bend_join_bevel_exact",
+ "eval.tests.test_offset_curve_sections.test_offset_three_bend_join_round_caps",
+ "eval.tests.test_offset_curve_sections.test_offset_three_bend_single_joined_line",
+ "eval.tests.test_offset_curve_sections.test_offset_u_shape_exact",
+ "eval.tests.test_overlay.test_clip_rect",
+ "eval.tests.test_overlay.test_collect_merges_into_single_geometry",
+ "eval.tests.test_overlay.test_difference_far_apart_is_same",
+ "eval.tests.test_overlay.test_difference_square_minus_right",
+ "eval.tests.test_overlay.test_difference_sr_snap_rounding",
+ "eval.tests.test_overlay.test_explode_splits_result_components",
+ "eval.tests.test_overlay.test_intersection_produces_geometry[LINESTRING (0 0, 10 0)-LINESTRING (5 -5, 5 5)]",
+ "eval.tests.test_overlay.test_intersection_produces_geometry[POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0))-POLYGON ((5 0, 15 0, 15 10, 5 10, 5 0))]",
+ "eval.tests.test_overlay.test_intersection_produces_geometry[POLYGON ((5 0, 15 0, 15 10, 5 10, 5 0))-POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0))]",
+ "eval.tests.test_overlay.test_intersection_square_right",
+ "eval.tests.test_overlay.test_intersection_sr_snap_rounding",
+ "eval.tests.test_overlay.test_node_nods_crossing_lines",
+ "eval.tests.test_overlay.test_overlay_empty_difference",
+ "eval.tests.test_overlay.test_overlay_empty_result",
+ "eval.tests.test_overlay.test_split_line_by_line",
+ "eval.tests.test_overlay.test_split_polygon_by_horizontal_line",
+ "eval.tests.test_overlay.test_symdifference_two_side_polygons",
+ "eval.tests.test_overlay.test_unary_union_aggregate",
+ "eval.tests.test_overlay.test_unary_union_disjoint_components",
+ "eval.tests.test_overlay.test_unary_union_sr_aggregate",
+ "eval.tests.test_overlay.test_union_disjoint_parts",
+ "eval.tests.test_overlay.test_union_identical_is_same",
+ "eval.tests.test_overlay.test_union_square_right_shape",
+ "eval.tests.test_overlay.test_union_sr_snap_rounding",
+ "eval.tests.test_overlay_edgering.test_difference_carves_hole",
+ "eval.tests.test_overlay_edgering.test_difference_hole_area",
+ "eval.tests.test_overlay_edgering.test_intersection_holed_inside_larger_keeps_hole",
+ "eval.tests.test_overlay_edgering.test_intersection_overlapping_disjoint_center",
+ "eval.tests.test_overlay_edgering.test_multiline_difference_returns_multipolygon_rings",
+ "eval.tests.test_overlay_edgering.test_symdifference_overlapping_squares",
+ "eval.tests.test_overlay_edgering.test_union_adjacent_shared_edge_ring",
+ "eval.tests.test_overlay_edgering.test_union_donut_area_conserved",
+ "eval.tests.test_overlay_edgering.test_union_donut_with_itself_keeps_hole",
+ "eval.tests.test_overlay_geometry_sets.test_difference_b_inside_hole_unchanged",
+ "eval.tests.test_overlay_geometry_sets.test_difference_point_inside_and_outside",
+ "eval.tests.test_overlay_geometry_sets.test_intersection_adjacent_squares_is_edge",
+ "eval.tests.test_overlay_geometry_sets.test_intersection_nested_donut",
+ "eval.tests.test_overlay_geometry_sets.test_intersection_overlapping_corner_square",
+ "eval.tests.test_overlay_geometry_sets.test_sym_difference_disjoint_parts",
+ "eval.tests.test_overlay_geometry_sets.test_sym_difference_edge_touching_collapses",
+ "eval.tests.test_overlay_geometry_sets.test_unary_union_three_overlapping",
+ "eval.tests.test_overlay_geometry_sets.test_union_fills_hole",
+ "eval.tests.test_overlay_geometry_sets.test_union_line_subsumed_by_polygon",
+ "eval.tests.test_overlay_geometry_sets.test_union_of_holed_donut_area_identity",
+ "eval.tests.test_overlay_geometry_sets.test_union_point_inside_polygon",
+ "eval.tests.test_overlay_geometry_sets.test_union_point_outside_polygon_collection",
+ "eval.tests.test_overlay_geometry_sets.test_union_tiled_shared_edge",
+ "eval.tests.test_overlay_line_edges.test_difference_identical_lines_empty",
+ "eval.tests.test_overlay_line_edges.test_difference_point_on_line_keeps_line",
+ "eval.tests.test_overlay_line_edges.test_intersection_collinear_overlap_shared_subline",
+ "eval.tests.test_overlay_line_edges.test_intersection_line_disjoint_point_empty",
+ "eval.tests.test_overlay_line_edges.test_sym_difference_collinear_overlap_keeps_ends",
+ "eval.tests.test_overlay_line_edges.test_unary_union_line_and_point_collection",
+ "eval.tests.test_overlay_line_edges.test_union_crossing_lines_noded_at_intersection",
+ "eval.tests.test_overlay_line_edges.test_union_t_junction_three_edges",
+ "eval.tests.test_overlay_line_noding.test_difference_collinear_overlapping_leftover",
+ "eval.tests.test_overlay_line_noding.test_difference_reversed_overlap_keeps_stub",
+ "eval.tests.test_overlay_line_noding.test_intersection_collinear_overlapping_shared_span",
+ "eval.tests.test_overlay_line_noding.test_intersection_crossing_diagonals_is_point",
+ "eval.tests.test_overlay_line_noding.test_node_no_split_for_disjoint_lines",
+ "eval.tests.test_overlay_line_noding.test_node_t_junction_splits_three",
+ "eval.tests.test_overlay_line_noding.test_symdifference_collinear_overlapping",
+ "eval.tests.test_overlay_line_noding.test_union_closed_triangle_ring_noded",
+ "eval.tests.test_overlay_line_noding.test_union_collinear_overlapping_splits_three",
+ "eval.tests.test_overlay_line_noding.test_union_crossing_diagonals_nodes_at_intersection",
+ "eval.tests.test_overlay_z_elevation.test_difference_keeps_hole_z",
+ "eval.tests.test_overlay_z_elevation.test_difference_nozipping_keeps_boundary_z",
+ "eval.tests.test_overlay_z_elevation.test_disjoint_far_parts_keep_own_z",
+ "eval.tests.test_overlay_z_elevation.test_intersection_interpolates_bridge_average",
+ "eval.tests.test_overlay_z_elevation.test_overlay_empty_z_operand_returns_z",
+ "eval.tests.test_overlay_z_elevation.test_overlay_line_on_z_area_boundary",
+ "eval.tests.test_overlay_z_elevation.test_overlay_z_line_vertex_population",
+ "eval.tests.test_overlay_z_elevation.test_overlay_z_point_keeps_z",
+ "eval.tests.test_overlay_z_elevation.test_populate_z_fills_noz_operand_vertices",
+ "eval.tests.test_overlay_z_elevation.test_union_bridge_vertex_averages_cells",
+ "eval.tests.test_overlay_z_elevation.test_union_symmetry_near_identical_z_levels",
+ "eval.tests.test_overlay_z_elevation.test_union_two_flat_z_preserves_coincident_z",
+ "eval.tests.test_overlay_z_elevation.test_union_z_with_reversed_distinct_levels",
+ "eval.tests.test_overlay_z_elevation.test_z_linestring_has_z_flag",
+ "eval.tests.test_overlay_z_elevation.test_z_linestring_interpolate_elevation",
+ "eval.tests.test_polygonize_depth.test_build_area_disconnected_shells",
+ "eval.tests.test_polygonize_depth.test_build_area_ignores_dangles",
+ "eval.tests.test_polygonize_depth.test_build_area_single_closed_ring",
+ "eval.tests.test_polygonize_depth.test_build_area_triangle",
+ "eval.tests.test_polygonize_depth.test_build_area_with_hole_ring",
+ "eval.tests.test_polygonize_depth.test_polygonize_closed_ring_face_count",
+ "eval.tests.test_polygonize_depth.test_polygonize_valid_holed_polygon",
+ "eval.tests.test_polygonize_depth.test_polygonize_valid_merges_adjacent_faces",
+ "eval.tests.test_polygonize_depth.test_polygonize_valid_open_ring_empty",
+ "eval.tests.test_precision_reducer_differences.test_collapsed_multipolygon_empty_under_reduce",
+ "eval.tests.test_precision_reducer_differences.test_fully_collapsed_line_is_empty_under_reduce",
+ "eval.tests.test_precision_reducer_differences.test_keep_collapsed_matches_reduce",
+ "eval.tests.test_precision_reducer_differences.test_pointwise_dedupe_angle_1_1_triangle",
+ "eval.tests.test_precision_reducer_differences.test_reducer_is_idempotent",
+ "eval.tests.test_precision_reducer_differences.test_scale_shifts_rounding_grid_line",
+ "eval.tests.test_precision_reducer_differences.test_topology_reducer_removes_duplicate_coordinate",
+ "eval.tests.test_precision_reducer_differences.test_topology_reducer_reorders_self_intersecting_ring",
+ "eval.tests.test_precision_round.test_reduce_precision_keep_collapsed_returns_empty",
+ "eval.tests.test_precision_round.test_reduce_precision_line_coordinates",
+ "eval.tests.test_precision_round.test_reduce_precision_pointwise_keeps_output_wkt",
+ "eval.tests.test_precision_round.test_reduce_precision_scale_factor",
+ "eval.tests.test_precision_round.test_round_half_up_positive",
+ "eval.tests.test_precision_round.test_round_half_up_two_point_five",
+ "eval.tests.test_precision_round.test_round_negative_half_toward_int",
+ "eval.tests.test_precision_round.test_round_negative_whole_toward_zero",
+ "eval.tests.test_precision_round.test_round_preserves_zero",
+ "eval.tests.test_rectangle_contains_depth.test_degenerate_segment_corner_not_contained",
+ "eval.tests.test_rectangle_contains_depth.test_degenerate_segment_interior_contained",
+ "eval.tests.test_rectangle_contains_depth.test_degenerate_segment_on_boundary_not_contained",
+ "eval.tests.test_rectangle_contains_depth.test_degenerate_segment_on_right_boundary_not_contained",
+ "eval.tests.test_rectangle_contains_depth.test_diagonal_segment_inside_contained",
+ "eval.tests.test_rectangle_contains_depth.test_geometry_collection_boundary_only_not_contained",
+ "eval.tests.test_rectangle_contains_depth.test_geometry_collection_interior_contained",
+ "eval.tests.test_rectangle_contains_depth.test_geometry_collection_mixed_contained",
+ "eval.tests.test_rectangle_contains_depth.test_geometry_collection_outside_component_excluded",
+ "eval.tests.test_rectangle_contains_depth.test_horizontal_then_interior_then_boundary_line",
+ "eval.tests.test_rectangle_contains_depth.test_line_partially_on_boundary_contained",
+ "eval.tests.test_rectangle_contains_depth.test_multiline_all_on_boundary_not_contained",
+ "eval.tests.test_rectangle_contains_depth.test_multiline_partial_contained",
+ "eval.tests.test_rectangle_contains_depth.test_point_on_each_boundary_ordinate_excluded",
+ "eval.tests.test_rectangle_contains_polygon.test_boundary_sharing_triangle_contained",
+ "eval.tests.test_rectangle_contains_polygon.test_interior_polygon_contained",
+ "eval.tests.test_rectangle_contains_polygon.test_line_pokes_outside_not_contained",
+ "eval.tests.test_rectangle_contains_polygon.test_multipolygon_all_inside_contained",
+ "eval.tests.test_rectangle_contains_polygon.test_multipolygon_outside_part_not_contained",
+ "eval.tests.test_rectangle_contains_polygon.test_same_rectangle_contained",
+ "eval.tests.test_rectangle_contains_polygon.test_surrounding_polygon_not_contained",
+ "eval.tests.test_rectangle_predicate.test_rect_contains_line_fully_on_horizontal_boundary",
+ "eval.tests.test_rectangle_predicate.test_rect_contains_line_fully_on_vertical_boundary",
+ "eval.tests.test_rectangle_predicate.test_rect_contains_line_interior",
+ "eval.tests.test_rectangle_predicate.test_rect_contains_multipoint_mixed",
+ "eval.tests.test_rectangle_predicate.test_rect_contains_point_at_corner",
+ "eval.tests.test_rectangle_predicate.test_rect_contains_point_interior",
+ "eval.tests.test_rectangle_predicate.test_rect_contains_point_on_boundary",
+ "eval.tests.test_rectangle_predicate.test_rect_contains_point_outside",
+ "eval.tests.test_rectangle_predicate.test_rect_contains_polygon_inside",
+ "eval.tests.test_rectangle_predicate.test_rect_contains_polygon_touching_edge",
+ "eval.tests.test_rectangle_predicate.test_rect_intersects_diagonal_through_corner",
+ "eval.tests.test_rectangle_predicate.test_rect_intersects_disjoint_polygon",
+ "eval.tests.test_rectangle_predicate.test_rect_intersects_empty_geometry",
+ "eval.tests.test_rectangle_predicate.test_rect_intersects_line_crossing_rectangle",
+ "eval.tests.test_rectangle_predicate.test_rect_intersects_line_inside_bisected_envelope",
+ "eval.tests.test_rectangle_predicate.test_rect_intersects_line_parallel_outside",
+ "eval.tests.test_rectangle_predicate.test_rect_intersects_multipoint_partially_inside",
+ "eval.tests.test_rectangle_predicate.test_rect_intersects_point_inside",
+ "eval.tests.test_rectangle_predicate.test_rect_intersects_point_outside_envelope",
+ "eval.tests.test_rectangle_predicate.test_rect_intersects_polygon_edge_crosses_no_corner",
+ "eval.tests.test_rectangle_predicate.test_rect_intersects_polygon_fully_inside",
+ "eval.tests.test_rectangle_predicate.test_rect_intersects_polygon_on_corner_contains_rect_corner",
+ "eval.tests.test_rectangle_predicate.test_rect_intersects_rectangle_operand_either_side",
+ "eval.tests.test_rectangle_predicate.test_rect_intersects_segment_crossing_boundary",
+ "eval.tests.test_relate.test_contains_boundary_point_false",
+ "eval.tests.test_relate.test_contains_inside",
+ "eval.tests.test_relate.test_contains_prepared_inside",
+ "eval.tests.test_relate.test_contains_properly_prepared",
+ "eval.tests.test_relate.test_covered_by_inside",
+ "eval.tests.test_relate.test_covers_boundary_point_true",
+ "eval.tests.test_relate.test_covers_prepared",
+ "eval.tests.test_relate.test_covers_prepared_matches_plain",
+ "eval.tests.test_relate.test_crosses_line_through_polygon",
+ "eval.tests.test_relate.test_disjoint_true_for_far_points",
+ "eval.tests.test_relate.test_distance_metric_points",
+ "eval.tests.test_relate.test_distance_metric_zero_touching",
+ "eval.tests.test_relate.test_equals_identical_geometry",
+ "eval.tests.test_relate.test_intersects_disjoint_false",
+ "eval.tests.test_relate.test_intersects_overlapping",
+ "eval.tests.test_relate.test_intersects_prepared",
+ "eval.tests.test_relate.test_orientation_index_left_positive",
+ "eval.tests.test_relate.test_overlaps_same_dimension",
+ "eval.tests.test_relate.test_relate_bnr_all_rules[1-1010F0102]",
+ "eval.tests.test_relate.test_relate_bnr_all_rules[2-1010F0102]",
+ "eval.tests.test_relate.test_relate_bnr_all_rules[3-1F1FFF1F2]",
+ "eval.tests.test_relate.test_relate_bnr_all_rules[4-1010F0102]",
+ "eval.tests.test_relate.test_relate_bnr_endpoint",
+ "eval.tests.test_relate.test_relate_disjoint_polygons",
+ "eval.tests.test_relate.test_relate_line_intersecting_polygon",
+ "eval.tests.test_relate.test_relate_point_inside_area",
+ "eval.tests.test_relate.test_relate_same_line",
+ "eval.tests.test_relate.test_touches_adjacent_polygons",
+ "eval.tests.test_relate.test_within_contained",
+ "eval.tests.test_relate_bnr_node_topologies.test_console_cross_relate_matches_mod2",
+ "eval.tests.test_relate_bnr_node_topologies.test_line_through_polygon[1-1F20F1102]",
+ "eval.tests.test_relate_bnr_node_topologies.test_line_through_polygon[2-1F20F1102]",
+ "eval.tests.test_relate_bnr_node_topologies.test_line_through_polygon[3-1F20F01F2]",
+ "eval.tests.test_relate_bnr_node_topologies.test_line_through_polygon[4-1F20F1102]",
+ "eval.tests.test_relate_bnr_node_topologies.test_line_touching_polygon_shell_vertex[1-FF2F01102]",
+ "eval.tests.test_relate_bnr_node_topologies.test_line_touching_polygon_shell_vertex[2-FF2F01102]",
+ "eval.tests.test_relate_bnr_node_topologies.test_line_touching_polygon_shell_vertex[3-FF20F01F2]",
+ "eval.tests.test_relate_bnr_node_topologies.test_line_touching_polygon_shell_vertex[4-FF2F01102]",
+ "eval.tests.test_relate_bnr_node_topologies.test_plain_relate_y_junction_matches_mod2",
+ "eval.tests.test_relate_bnr_node_topologies.test_point_at_t_junction[1-0F1FF0FF2]",
+ "eval.tests.test_relate_bnr_node_topologies.test_point_at_t_junction[2-FF10F0FF2]",
+ "eval.tests.test_relate_bnr_node_topologies.test_point_at_t_junction[3-0F1FFFFF2]",
+ "eval.tests.test_relate_bnr_node_topologies.test_point_at_t_junction[4-0F1FF0FF2]",
+ "eval.tests.test_relate_bnr_node_topologies.test_point_at_y_junction[1-FF10F0FF2]",
+ "eval.tests.test_relate_bnr_node_topologies.test_point_at_y_junction[2-FF10F0FF2]",
+ "eval.tests.test_relate_bnr_node_topologies.test_point_at_y_junction[3-0F1FFFFF2]",
+ "eval.tests.test_relate_bnr_node_topologies.test_point_at_y_junction[4-FF10F0FF2]",
+ "eval.tests.test_relate_bnr_node_topologies.test_point_on_line_endpoint[1-FF10F0FF2]",
+ "eval.tests.test_relate_bnr_node_topologies.test_point_on_line_endpoint[2-FF10F0FF2]",
+ "eval.tests.test_relate_bnr_node_topologies.test_point_on_line_endpoint[3-0F1FFFFF2]",
+ "eval.tests.test_relate_bnr_node_topologies.test_point_on_line_endpoint[4-FF10F0FF2]",
+ "eval.tests.test_relate_bnr_node_topologies.test_point_on_line_endpoint_relate_differs_from_interior",
+ "eval.tests.test_relate_bnr_node_topologies.test_point_on_line_interior_relate",
+ "eval.tests.test_relate_bnr_node_topologies.test_polygons_share_corner_point[1-FF2F01212]",
+ "eval.tests.test_relate_bnr_node_topologies.test_polygons_share_corner_point[2-FF2F01212]",
+ "eval.tests.test_relate_bnr_node_topologies.test_polygons_share_corner_point[3-FF2F002F2]",
+ "eval.tests.test_relate_bnr_node_topologies.test_polygons_share_corner_point[4-FF2F01212]",
+ "eval.tests.test_relate_bnr_node_topologies.test_t_junction_endpt_differs_from_mod2",
+ "eval.tests.test_relate_bnr_node_topologies.test_two_lines_cross_at_shared_node[1-0F1FF0102]",
+ "eval.tests.test_relate_bnr_node_topologies.test_two_lines_cross_at_shared_node[2-0F1FF0102]",
+ "eval.tests.test_relate_bnr_node_topologies.test_two_lines_cross_at_shared_node[3-0F1FFF1F2]",
+ "eval.tests.test_relate_bnr_node_topologies.test_two_lines_cross_at_shared_node[4-0F1FF0102]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_node_generates_expected_touch_line",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[holes-only-x-LINESTRING (0 5, 10 5)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[holes-only-x-LINESTRING (2 8, 8 8)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[holes-only-x-LINESTRING (5 0, 5 10)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[holes-only-x-POINT (5 0)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[holes-only-x-POINT (5 2)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[holes-only-x-POINT (5 6)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[multi-shell-x-LINESTRING (0 5, 10 5)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[multi-shell-x-LINESTRING (2 8, 8 8)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[multi-shell-x-LINESTRING (5 0, 5 10)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[multi-shell-x-POINT (5 0)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[multi-shell-x-POINT (5 2)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[multi-shell-x-POINT (5 6)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[shell+1hole-x-LINESTRING (0 5, 10 5)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[shell+1hole-x-LINESTRING (2 8, 8 8)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[shell+1hole-x-LINESTRING (5 0, 5 10)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[shell+1hole-x-POINT (5 0)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[shell+1hole-x-POINT (5 2)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[shell+1hole-x-POINT (5 6)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[shell+2holes-x-LINESTRING (0 5, 10 5)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[shell+2holes-x-LINESTRING (2 8, 8 8)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[shell+2holes-x-LINESTRING (5 0, 5 10)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[shell+2holes-x-POINT (5 0)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[shell+2holes-x-POINT (5 2)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_polygon_node_matrix_exact[shell+2holes-x-POINT (5 6)]",
+ "eval.tests.test_relateng_polygon_node.test_relateng_shell_insertion_distinct_from_holes_only",
+ "eval.tests.test_relateng_polygon_node.test_relateng_single_hole_node_point_oracles",
+ "eval.tests.test_simplify_precision.test_precision_output_flag",
+ "eval.tests.test_simplify_precision.test_precision_output_flag_zero",
+ "eval.tests.test_simplify_precision.test_reduce_precision_by_factor",
+ "eval.tests.test_simplify_precision.test_reduce_precision_grid",
+ "eval.tests.test_simplify_precision.test_reduce_precision_grid_polygon_area",
+ "eval.tests.test_simplify_precision.test_reduce_precision_keep_collapsed",
+ "eval.tests.test_simplify_precision.test_reduce_precision_negative_scale_rounds_int",
+ "eval.tests.test_simplify_precision.test_reduce_precision_pointwise",
+ "eval.tests.test_simplify_precision.test_simplify_douglas_peucker_collapses",
+ "eval.tests.test_simplify_precision.test_simplify_douglas_peucker_zero_tolerance_keeps",
+ "eval.tests.test_simplify_precision.test_simplify_dp_polygon_under_tolerance_unchanged",
+ "eval.tests.test_simplify_precision.test_simplify_dp_preserves_endpoints",
+ "eval.tests.test_simplify_precision.test_simplify_polygon_hull",
+ "eval.tests.test_simplify_precision.test_simplify_tp_collinear_ring",
+ "eval.tests.test_simplify_precision.test_simplify_tp_flattens_multiline_components",
+ "eval.tests.test_simplify_precision.test_simplify_tp_keeps_crossing_components_distinct",
+ "eval.tests.test_simplify_precision.test_simplify_tp_long_wiggle_collapses",
+ "eval.tests.test_simplify_precision.test_simplify_tp_preserving_topology",
+ "eval.tests.test_simplify_precision.test_simplify_tp_small_tolerance_keeps_variance",
+ "eval.tests.test_simplify_tp_jump.test_bump_flattens_when_horizontal_neighbour",
+ "eval.tests.test_simplify_tp_jump.test_bump_flattens_when_neighbour_above",
+ "eval.tests.test_simplify_tp_jump.test_bump_flattens_when_neighbour_parallel_away",
+ "eval.tests.test_simplify_tp_jump.test_bump_retained_near_crossing_neighbour",
+ "eval.tests.test_simplify_tp_jump.test_bump_retained_when_neighbour_pierces_flatten",
+ "eval.tests.test_simplify_tp_jump.test_bump_retained_when_point_dot_pierces",
+ "eval.tests.test_simplify_tp_jump.test_collinear_multiline_component_flattens_to_line",
+ "eval.tests.test_simplify_tp_jump.test_multi_point_section_flatten_refused_by_jump",
+ "eval.tests.test_simplify_tp_jump.test_polygon_hole_boundary_inlet_retained",
+ "eval.tests.test_simplify_tp_jump.test_polygon_narrow_corridor_retained",
+ "eval.tests.test_simplify_tp_jump.test_single_line_small_bump_flattens",
+ "eval.tests.test_simplify_tp_jump.test_three_independent_lines_keep_shape",
+ "eval.tests.test_snapround_overlay.test_sr_coarse_precision_grid_collapse",
+ "eval.tests.test_snapround_overlay.test_sr_collinear_line_union_split_at_grid",
+ "eval.tests.test_snapround_overlay.test_sr_crossing_lines_union_noded",
+ "eval.tests.test_snapround_overlay.test_sr_difference_area_plus_intersection_equals_a",
+ "eval.tests.test_snapround_overlay.test_sr_identical_polygon_difference_empty",
+ "eval.tests.test_snapround_overlay.test_sr_intersection_line_nowhere_empty",
+ "eval.tests.test_snapround_overlay.test_sr_intersection_point_outside_empty",
+ "eval.tests.test_snapround_overlay.test_sr_overlapping_line_intersection",
+ "eval.tests.test_snapround_overlay.test_sr_parse_error_nonzero_exit",
+ "eval.tests.test_snapround_overlay.test_sr_point_inside_polygon_difference_empty",
+ "eval.tests.test_snapround_overlay.test_sr_sym_difference_two_overlapping_polygons",
+ "eval.tests.test_snapround_overlay.test_sr_unary_union_self_touching_line",
+ "eval.tests.test_snapround_overlay.test_sr_union_adjacent_points",
+ "eval.tests.test_snapround_overlay.test_sr_union_two_disjoint_points",
+ "eval.tests.test_snapround_overlay.test_sr_union_with_hole_preserved",
+ "eval.tests.test_split.test_split_area_is_conserved",
+ "eval.tests.test_split.test_split_does_not_touch_at_tangent",
+ "eval.tests.test_split.test_split_line_at_multiple_crossings",
+ "eval.tests.test_split.test_split_line_by_crossing_line",
+ "eval.tests.test_split.test_split_line_by_point",
+ "eval.tests.test_split.test_split_polygon_by_chord",
+ "eval.tests.test_split.test_split_polygon_no_intersection_passthrough",
+ "eval.tests.test_split.test_split_polygon_with_hole_by_chord",
+ "eval.tests.test_split.test_split_vertical_line_by_horizontal",
+ "eval.tests.test_split_lineal.test_split_2point_line_at_midpoint",
+ "eval.tests.test_split_lineal.test_split_2point_line_at_third",
+ "eval.tests.test_split_lineal.test_split_circular_string_at_arc_start_is_noop",
+ "eval.tests.test_split_lineal.test_split_circular_string_at_control_point",
+ "eval.tests.test_split_lineal.test_split_compound_curve_at_arc_vertex",
+ "eval.tests.test_split_lineal.test_split_compound_curve_in_line_component",
+ "eval.tests.test_split_lineal.test_split_line_at_first_endpoint_is_noop",
+ "eval.tests.test_split_lineal.test_split_line_at_last_endpoint_is_noop",
+ "eval.tests.test_split_lineal.test_split_line_at_shared_vertex",
+ "eval.tests.test_split_lineal.test_split_line_interpolates_z_off_midpoint",
+ "eval.tests.test_split_lineal.test_split_line_interpolates_z_ordinates",
+ "eval.tests.test_split_lineal.test_split_multiline_point_on_second_component",
+ "eval.tests.test_split_lineal.test_split_multiline_splits_only_intersected_component",
+ "eval.tests.test_split_lineal.test_split_polygon_by_point_is_rejected",
+ "eval.tests.test_sr_overlayng_noding_variants.test_difference_sr_line_by_polygon_splits",
+ "eval.tests.test_sr_overlayng_noding_variants.test_intersection_sr_crossing_diagonals_scale2",
+ "eval.tests.test_sr_overlayng_noding_variants.test_intersection_sr_crossing_scale7_snaps_integer",
+ "eval.tests.test_sr_overlayng_noding_variants.test_intersection_sr_crossing_scale9_fractional",
+ "eval.tests.test_sr_overlayng_noding_variants.test_intersection_sr_of_split_offgrid_point",
+ "eval.tests.test_sr_overlayng_noding_variants.test_symdiff_sr_identical_lines_empty",
+ "eval.tests.test_sr_overlayng_noding_variants.test_unary_union_sr_closed_ring_stays_noded",
+ "eval.tests.test_sr_overlayng_noding_variants.test_union_sr_collinear_overlapping_segments",
+ "eval.tests.test_sr_overlayng_noding_variants.test_union_sr_crossing_diagonals_scale2",
+ "eval.tests.test_sr_overlayng_noding_variants.test_union_sr_identical_lines_is_single_line",
+ "eval.tests.test_sr_overlayng_noding_variants.test_union_sr_line_into_polygon_corner_collection",
+ "eval.tests.test_sr_overlayng_noding_variants.test_union_sr_reversed_overlap_same_split",
+ "eval.tests.test_sr_overlayng_noding_variants.test_union_sr_three_line_star_shared_node",
+ "eval.tests.test_sr_overlayng_robust_fractional.test_difference_sr_offsets_nested_square",
+ "eval.tests.test_sr_overlayng_robust_fractional.test_intersection_sr_crossing_diagonals_is_node",
+ "eval.tests.test_sr_overlayng_robust_fractional.test_intersection_sr_two_edge_sharing_triangles",
+ "eval.tests.test_sr_overlayng_robust_fractional.test_unary_union_sr_crossing_diagonals_scale3",
+ "eval.tests.test_sr_overlayng_robust_fractional.test_unary_union_sr_crossing_diagonals_scale5",
+ "eval.tests.test_sr_overlayng_robust_fractional.test_union_sr_two_edge_sharing_triangles",
+ "eval.tests.test_triangulate_concave_cdt.test_cdt_empty_polygon_empty_collection",
+ "eval.tests.test_triangulate_concave_cdt.test_cdt_l_shape_exact_faces",
+ "eval.tests.test_triangulate_concave_cdt.test_cdt_l_shape_face_partition_conserves_area",
+ "eval.tests.test_triangulate_concave_cdt.test_cdt_square_two_faces_area",
+ "eval.tests.test_triangulate_concave_cdt.test_cdt_staircase_area_conserved",
+ "eval.tests.test_triangulate_concave_cdt.test_cdt_triangle_single_face",
+ "eval.tests.test_triangulate_dd_depth2.test_delaunay_exact_set[d1]",
+ "eval.tests.test_triangulate_dd_depth2.test_delaunay_exact_set[d2]",
+ "eval.tests.test_triangulate_dd_depth2.test_delaunay_exact_set[d3]",
+ "eval.tests.test_triangulate_dd_depth2.test_delaunay_exact_set[d4]",
+ "eval.tests.test_triangulate_dd_depth2.test_hexagon_delaunay_four_triangles_tile_hull",
+ "eval.tests.test_triangulate_dd_depth2.test_interior_site_flip_changes_diagonal",
+ "eval.tests.test_triangulate_dd_depth2.test_voronoi_exact_set[v1]",
+ "eval.tests.test_triangulate_dd_depth2.test_voronoi_exact_set[v2]",
+ "eval.tests.test_triangulate_dd_more.test_centre_plus_square_four_way_fan",
+ "eval.tests.test_triangulate_dd_more.test_cocircular_square_single_diagonal",
+ "eval.tests.test_triangulate_dd_more.test_constrained_delaunay_right_triangle",
+ "eval.tests.test_triangulate_dd_more.test_delaunay_asymmetric_cluster_valid",
+ "eval.tests.test_triangulate_dd_more.test_delaunay_large_magnitude_near_collinear",
+ "eval.tests.test_triangulate_dd_more.test_delaunay_rectangle_wide_aspect",
+ "eval.tests.test_triangulate_dd_more.test_delaunay_triangle_valid",
+ "eval.tests.test_triangulate_dd_more.test_duplicate_sites_dedup_single_triangle",
+ "eval.tests.test_triangulate_dd_more.test_grid_delaunay_center_point_shared",
+ "eval.tests.test_triangulate_dd_more.test_grid_delaunay_eight_triangles",
+ "eval.tests.test_triangulate_dd_more.test_pentagon_delaunay_three_triangles",
+ "eval.tests.test_triangulate_dd_more.test_v_shape_delaunay_three_triangles",
+ "eval.tests.test_triangulate_dd_more.test_voronoi_cells_valid",
+ "eval.tests.test_triangulate_dd_more.test_voronoi_centred_triangle_three_cells",
+ "eval.tests.test_triangulate_dd_more.test_voronoi_colinear_three_strips",
+ "eval.tests.test_triangulate_depth.test_delaunay_close_sites_uses_dd_precision",
+ "eval.tests.test_triangulate_depth.test_delaunay_empty_multipoint_no_output",
+ "eval.tests.test_triangulate_depth.test_delaunay_large_magnitude_sites_robust",
+ "eval.tests.test_triangulate_depth.test_delaunay_near_collinear_uses_dd_circumcircle",
+ "eval.tests.test_triangulate_depth.test_delaunay_point_inside_circumcircle_splits",
+ "eval.tests.test_triangulate_depth.test_delaunay_regular_plus_centre_five_triangles",
+ "eval.tests.test_triangulate_depth.test_delaunay_single_site_no_output",
+ "eval.tests.test_triangulate_depth.test_delaunay_three_collinear_no_triangle",
+ "eval.tests.test_triangulate_depth.test_delaunay_three_sites_single_triangle",
+ "eval.tests.test_triangulate_depth.test_delaunay_two_points_no_triangle",
+ "eval.tests.test_triangulate_depth.test_voronoi_single_site_empty",
+ "eval.tests.test_triangulate_depth.test_voronoi_square_four_cells",
+ "eval.tests.test_triangulate_depth.test_voronoi_three_sites_three_cells",
+ "eval.tests.test_triangulate_depth.test_voronoi_two_cells_axis_bisector",
+ "eval.tests.test_triangulate_holes.test_constrained_delaunay_hole_at_edge",
+ "eval.tests.test_triangulate_holes.test_constrained_delaunay_square_faces",
+ "eval.tests.test_triangulate_holes.test_constrained_delaunay_two_holes",
+ "eval.tests.test_triangulate_holes.test_constrained_delaunay_with_interior_hole",
+ "eval.tests.test_triangulate_holes.test_delaunay_five_points_four_triangles",
+ "eval.tests.test_triangulate_holes.test_delaunay_square_two_triangles",
+ "eval.tests.test_triangulate_holes.test_delaunay_three_collinear_sites_no_triangle",
+ "eval.tests.test_triangulate_holes.test_delaunay_z_preserves_ordinates",
+ "eval.tests.test_triangulate_holes.test_voronoi_four_sites_four_cells",
+ "eval.tests.test_triangulate_vertex.test_delaunay_center_plus_square_four_triangles",
+ "eval.tests.test_triangulate_vertex.test_delaunay_collinear_sites_no_triangle",
+ "eval.tests.test_triangulate_vertex.test_delaunay_duplicate_sites_collapse",
+ "eval.tests.test_triangulate_vertex.test_delaunay_each_triangle_uses_only_sites",
+ "eval.tests.test_triangulate_vertex.test_delaunay_five_sites_four_triangles",
+ "eval.tests.test_triangulate_vertex.test_delaunay_square_two_triangles",
+ "eval.tests.test_triangulate_vertex.test_delaunay_two_sites_no_triangle",
+ "eval.tests.test_triangulate_vertex.test_voronoi_five_sites_five_cells",
+ "eval.tests.test_triangulate_vertex.test_voronoi_two_sites_two_cells",
+ "eval.tests.test_validity.test_empty_geometry_valid",
+ "eval.tests.test_validity.test_fix_invalid_bowtie",
+ "eval.tests.test_validity.test_fix_invalid_valid_passthrough",
+ "eval.tests.test_validity.test_is_simple_self_crossing_line_false",
+ "eval.tests.test_validity.test_is_simple_straight_line_true",
+ "eval.tests.test_validity.test_is_valid_bowtie_false",
+ "eval.tests.test_validity.test_is_valid_disconnected_interior_false",
+ "eval.tests.test_validity.test_is_valid_inverted_nested_ring",
+ "eval.tests.test_validity.test_is_valid_spike_false",
+ "eval.tests.test_validity.test_is_valid_square",
+ "eval.tests.test_validity.test_make_valid_bowtie",
+ "eval.tests.test_validity.test_remove_repeated_points",
+ "eval.tests.test_validity.test_remove_repeated_points_zero_tolerance",
+ "eval.tests.test_validity_depth.test_is_simple_closed_triangle_true",
+ "eval.tests.test_validity_depth.test_is_simple_self_crossing_line_false",
+ "eval.tests.test_validity_depth.test_is_simple_straight_line_with_repeat",
+ "eval.tests.test_validity_depth.test_is_valid_collapsed_ring_false",
+ "eval.tests.test_validity_depth.test_is_valid_collinear_ring",
+ "eval.tests.test_validity_depth.test_is_valid_ring_with_repeated_vertices",
+ "eval.tests.test_validity_depth.test_is_valid_square_with_hole_ok",
+ "eval.tests.test_validity_depth.test_is_valid_touching_shells_false",
+ "eval.tests.test_validity_depth.test_is_valid_two_point_ring_false",
+ "eval.tests.test_validity_depth.test_make_valid_collapsed_ring",
+ "eval.tests.test_validity_depth.test_make_valid_touching_shells_splits",
+ "eval.tests.test_validity_depth.test_remove_repeated_points_collapses_ring",
+ "eval.tests.test_validity_makevalid_multi.test_fix_invalid_bowtie_distinct_shape",
+ "eval.tests.test_validity_makevalid_multi.test_fix_invalid_nested_donut_with_hole",
+ "eval.tests.test_validity_makevalid_multi.test_make_valid_bowtie_distinct_shape",
+ "eval.tests.test_validity_makevalid_multi.test_make_valid_t_shaped_polygon_residual_line",
+ "eval.tests.test_validity_makevalid_multi.test_make_valid_three_overlapping_squares",
+ "eval.tests.test_validity_makevalid_multi.test_make_valid_two_overlapping_squares_doubles_shared_edge",
+ "eval.tests.test_validity_repeated.test_geometry_collection_component_self_touch_not_simple",
+ "eval.tests.test_validity_repeated.test_geometry_collection_mixed_simple",
+ "eval.tests.test_validity_repeated.test_geometry_collection_repeated_point_valid",
+ "eval.tests.test_validity_repeated.test_line_adjacent_repeated_point_tolerated",
+ "eval.tests.test_validity_repeated.test_line_closing_repeat_not_simple",
+ "eval.tests.test_validity_repeated.test_line_no_repeat_is_simple",
+ "eval.tests.test_validity_repeated.test_multiline_components_cross_not_simple",
+ "eval.tests.test_validity_repeated.test_multiline_repeated_point_tolerated",
+ "eval.tests.test_validity_repeated.test_multiline_self_touch_not_simple",
+ "eval.tests.test_validity_repeated.test_multipolygon_hole_outside_invalid",
+ "eval.tests.test_validity_repeated.test_multipolygon_valid_parts",
+ "eval.tests.test_validity_repeated.test_polygon_hole_repeated_vertex_valid",
+ "eval.tests.test_validity_repeated.test_polygon_repeated_vertex_in_shell_valid",
+ "eval.tests.test_validity_repeated.test_valid_empty_geometry",
+ "eval.tests.test_validity_repeated.test_valid_multipoint_duplicate_not_simple",
+ "eval.tests.test_validity_repeated.test_valid_point_single",
+ "eval.tests.test_validity_ring_touch_depth.test_figure_eight_shell_self_touch",
+ "eval.tests.test_validity_ring_touch_depth.test_hole_touches_shell_twice_splits_off_polygon",
+ "eval.tests.test_validity_ring_touch_depth.test_ring_touch_invalid_fix_valid[case1]",
+ "eval.tests.test_validity_ring_touch_depth.test_ring_touch_invalid_fix_valid[case2]",
+ "eval.tests.test_validity_ring_touch_depth.test_ring_touch_invalid_fix_valid[case3]",
+ "eval.tests.test_validity_ring_touch_depth.test_ring_touch_invalid_fix_valid[case4]",
+ "eval.tests.test_validity_ring_touch_depth.test_ring_touch_invalid_fix_valid[case5]",
+ "eval.tests.test_validity_ring_touch_depth.test_spike_hole_crosses_shell_into_two",
+ "eval.tests.test_validity_rings.test_fix_invalid_bowtie_exact_two_part",
+ "eval.tests.test_validity_rings.test_hole_outside_shell_invalid",
+ "eval.tests.test_validity_rings.test_holed_polygon_hole_touches_shell_invalid",
+ "eval.tests.test_validity_rings.test_is_simple_repeated_adjacent_point_true",
+ "eval.tests.test_validity_rings.test_make_valid_bowtie_same_regions",
+ "eval.tests.test_validity_rings.test_nan_coordinate_invalid",
+ "eval.tests.test_validity_rings.test_nested_shells_invalid",
+ "eval.tests.test_validity_rings.test_repeated_vertex_in_shell_is_tolerated",
+ "eval.tests.test_validity_rings.test_shell_on_shell_touch_at_edge_invalid",
+ "eval.tests.test_validity_rings.test_shell_on_shell_touch_at_point_valid",
+ "eval.tests.test_validity_rings.test_too_few_distinct_points_invalid",
+ "eval.tests.test_validity_rings.test_unclosed_ring_error_exit_one",
+ "eval.tests.test_voronoi_complex_layouts.test_concave_l_four_cells",
+ "eval.tests.test_voronoi_complex_layouts.test_heptagon_seven_cells",
+ "eval.tests.test_voronoi_complex_layouts.test_hexagon_with_centre_bounded_cell",
+ "eval.tests.test_voronoi_complex_layouts.test_perpendicular_rhombus_four_cells",
+ "eval.tests.test_voronoi_complex_layouts.test_thin_sliver_three_cells",
+ "eval.tests.test_voronoi_complex_layouts.test_voronoi_heptagon_cells_tile_no_overlap",
+ "eval.tests.test_voronoi_more.test_every_voronoi_cell_is_valid",
+ "eval.tests.test_voronoi_more.test_near_grid_five_cells",
+ "eval.tests.test_voronoi_more.test_pentagon_five_exact_cells",
+ "eval.tests.test_voronoi_more.test_rectangle_unequal_span_cells",
+ "eval.tests.test_voronoi_more.test_three_collinear_voronoi_run",
+ "eval.tests.test_voronoi_more.test_triangle_with_interior_cell"
+ ]
+ },
+ "generated_upstream": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_capi_ops.test_capi_bool_op[op=contains0]",
+ "eval.tests.test_capi_ops.test_capi_bool_op[op=contains1]",
+ "eval.tests.test_capi_ops.test_capi_bool_op[op=covers0]",
+ "eval.tests.test_capi_ops.test_capi_bool_op[op=covers1]",
+ "eval.tests.test_capi_ops.test_capi_bool_op[op=covers2]",
+ "eval.tests.test_capi_ops.test_capi_bool_op[op=intersects0]",
+ "eval.tests.test_capi_ops.test_capi_bool_op[op=intersects1]",
+ "eval.tests.test_capi_ops.test_capi_bool_op[op=isSimple0]",
+ "eval.tests.test_capi_ops.test_capi_bool_op[op=isSimple1]",
+ "eval.tests.test_capi_ops.test_capi_bool_op[op=isValid0]",
+ "eval.tests.test_capi_ops.test_capi_bool_op[op=isValid1]",
+ "eval.tests.test_capi_ops.test_capi_geom_op[op=centroid0]",
+ "eval.tests.test_capi_ops.test_capi_geom_op[op=centroid1]",
+ "eval.tests.test_capi_ops.test_capi_geom_op[op=centroid2]",
+ "eval.tests.test_capi_ops.test_capi_geom_op[op=convexHull]",
+ "eval.tests.test_capi_ops.test_capi_geom_op[op=densify_10]",
+ "eval.tests.test_capi_ops.test_capi_geom_op[op=densify_3]",
+ "eval.tests.test_capi_ops.test_capi_numeric_op[op=distance]",
+ "eval.tests.test_capi_ops.test_capi_numeric_op[op=length0]",
+ "eval.tests.test_capi_ops.test_capi_numeric_op[op=length1]",
+ "eval.tests.test_capi_ops2.test_line_merge[case0]",
+ "eval.tests.test_capi_ops2.test_line_merge[case1]",
+ "eval.tests.test_capi_ops2.test_maximum_inscribed_circle[case0]",
+ "eval.tests.test_capi_ops2.test_minimum_rotated_rectangle[case0]",
+ "eval.tests.test_capi_ops2.test_minimum_rotated_rectangle[case1]",
+ "eval.tests.test_capi_ops2.test_minimum_rotated_rectangle[case2]",
+ "eval.tests.test_capi_ops2.test_minimum_width[case0]",
+ "eval.tests.test_capi_ops2.test_minimum_width[case1]",
+ "eval.tests.test_capi_ops2.test_remove_repeated_points[case0]",
+ "eval.tests.test_capi_ops2.test_remove_repeated_points[case1]",
+ "eval.tests.test_capi_ops2.test_remove_repeated_points[case2]",
+ "eval.tests.test_capi_ops2.test_remove_repeated_points_curved_rejected",
+ "eval.tests.test_capi_ops2.test_reverse[case0]",
+ "eval.tests.test_capi_ops2.test_reverse[case10]",
+ "eval.tests.test_capi_ops2.test_reverse[case1]",
+ "eval.tests.test_capi_ops2.test_reverse[case2]",
+ "eval.tests.test_capi_ops2.test_reverse[case3]",
+ "eval.tests.test_capi_ops2.test_reverse[case4]",
+ "eval.tests.test_capi_ops2.test_reverse[case5]",
+ "eval.tests.test_capi_ops2.test_reverse[case6]",
+ "eval.tests.test_capi_ops2.test_reverse[case7]",
+ "eval.tests.test_capi_ops2.test_reverse[case8]",
+ "eval.tests.test_capi_ops2.test_reverse[case9]",
+ "eval.tests.test_capi_ops2.test_reverse_empty_identity[GEOMETRYCOLLECTION EMPTY]",
+ "eval.tests.test_capi_ops2.test_reverse_empty_identity[LINEARRING EMPTY]",
+ "eval.tests.test_capi_ops2.test_reverse_empty_identity[LINESTRING EMPTY]",
+ "eval.tests.test_capi_ops2.test_reverse_empty_identity[MULTILINESTRING EMPTY]",
+ "eval.tests.test_capi_ops2.test_reverse_empty_identity[MULTIPOINT EMPTY]",
+ "eval.tests.test_capi_ops2.test_reverse_empty_identity[MULTIPOLYGON EMPTY]",
+ "eval.tests.test_capi_ops2.test_reverse_empty_identity[POINT EMPTY]",
+ "eval.tests.test_capi_ops2.test_reverse_empty_identity[POLYGON EMPTY]",
+ "eval.tests.test_centroid_algorithm.test_centroid_algorithm[input=GEOMETRYCOLLECTION(POLYG0]",
+ "eval.tests.test_centroid_algorithm.test_centroid_algorithm[input=GEOMETRYCOLLECTION(POLYG1]",
+ "eval.tests.test_centroid_algorithm.test_centroid_algorithm[input=LINESTRING (0 0,200 200)]",
+ "eval.tests.test_centroid_algorithm.test_centroid_algorithm[input=POLYGON ((0 0,1 0,1 1,0 ]",
+ "eval.tests.test_centroid_algorithm.test_centroid_algorithm[input=POLYGON ((0 0,100 0,100 ]",
+ "eval.tests.test_centroid_algorithm.test_centroid_algorithm[input=POLYGON EMPTY]",
+ "eval.tests.test_convex_hull_algorithm.test_convex_hull[LINESTRING (30 220, 240 220, 240 220)-LINESTRING (30 220, 240 220)]",
+ "eval.tests.test_convex_hull_algorithm.test_convex_hull[LINESTRING (30 220, 240 220, 240 220, 240 220, 240 220)-LINESTRING (30 220, 240 220)]",
+ "eval.tests.test_convex_hull_algorithm.test_convex_hull[MULTIPOINT ((-0.2 -0.1), (1.38777878e-17 -0.1), (0.2 -0.1), (-1.38777878e-17 -0.1), (-0.2 0.1), (1.38777878e-17 0.1), (0.2 0.1), (-1.38777878e-17 0.1))-POLYGON ((-0.2 -0.1, -0.2 0.1, 0.2 0.1, 0.2 -0.1, -0.2 -0.1))]",
+ "eval.tests.test_convex_hull_algorithm.test_convex_hull[MULTIPOINT ((0 0), (0 0), (10 0))-LINESTRING (0 0, 10 0)]",
+ "eval.tests.test_convex_hull_algorithm.test_convex_hull[MULTIPOINT ((0 0), (0 0), (5 0), (5 0), (10 0), (10 0))-LINESTRING (0 0, 10 0)]",
+ "eval.tests.test_convex_hull_algorithm.test_convex_hull[MULTIPOINT ((0 0), (10 0), (10 0))-LINESTRING (0 0, 10 0)]",
+ "eval.tests.test_convex_hull_algorithm.test_convex_hull[MULTIPOINT ((0 0), (5 0), (10 0))-LINESTRING (0 0, 10 0)]",
+ "eval.tests.test_convex_hull_algorithm.test_convex_hull[MULTIPOINT ((0 0), (5 1), (10 0))-POLYGON ((0 0, 5 1, 10 0, 0 0))]",
+ "eval.tests.test_convex_hull_algorithm.test_convex_hull[MULTIPOINT ((0 0), (5 1), (10 0), (5 0))-POLYGON ((0 0, 5 1, 10 0, 0 0))]",
+ "eval.tests.test_convex_hull_algorithm.test_convex_hull[MULTIPOINT ((130 240), (130 240), (130 240), (570 240), (570 240), (570 240), (650 240))-LINESTRING (130 240, 650 240)]",
+ "eval.tests.test_difference_intersection.test_difference[test1]",
+ "eval.tests.test_difference_intersection.test_intersection[t1_empty]",
+ "eval.tests.test_difference_intersection.test_intersection[t2_point]",
+ "eval.tests.test_distance_metrics.test_distance_metric[op=frechetDistance]",
+ "eval.tests.test_distance_metrics.test_distance_metric[op=hausdorffDistance]",
+ "eval.tests.test_envelope_area.test_area[input=CURVEPOLYGON(COMPOUNDCURVE(CIRCULARSTRIN]",
+ "eval.tests.test_envelope_area.test_envelope[input=CIRCULARSTRING_(0_0,_1_1,_2_0)]",
+ "eval.tests.test_envelope_area.test_envelope[input=LINESTRING_(1_2,_4_5,_9_-2)]",
+ "eval.tests.test_envelope_area.test_envelope[input=LINESTRING_ZM_(0_0_3_4,_5_0_7_8)]",
+ "eval.tests.test_envelope_area.test_envelope[input=POINT_(3_8)]",
+ "eval.tests.test_envelope_area.test_envelope[input=POINT_EMPTY]",
+ "eval.tests.test_envelope_area.test_envelope[input=POINT_ZM_(1_2_3_4)]",
+ "eval.tests.test_envelope_area.test_envelope[input=POLYGON_EMPTY]",
+ "eval.tests.test_envelope_area.test_envelope[input=POLYGON_ZM_((0_0_1_2,_1_0_3_4,_1_1_5_6,_]",
+ "eval.tests.test_extent.test_extent[extent_t1_linestring]",
+ "eval.tests.test_extent.test_extent[extent_t3_curved]",
+ "eval.tests.test_geojson_output.test_geojson_output_format[LINESTRING (0 0, 10 0)-centroid-expected2]",
+ "eval.tests.test_geojson_output.test_geojson_output_format[MULTILINESTRING ((0 0, 10 0), (20 0, 20 10))-centroid-expected3]",
+ "eval.tests.test_geojson_output.test_geojson_output_format[POINT (5 5)-centroid-expected0]",
+ "eval.tests.test_geojson_output.test_geojson_output_format[POLYGON ((0 0, 4 0, 4 4, 0 4, 0 0))-centroid-expected1]",
+ "eval.tests.test_geojson_seed_corpus.test_geojson_matches_seed_corpus[geometrycollection-GEOMETRYCOLLECTION (POINT (100 0), LINESTRING (101 0, 102 1))]",
+ "eval.tests.test_geojson_seed_corpus.test_geojson_matches_seed_corpus[linestring-LINESTRING (100 0, 101 1)]",
+ "eval.tests.test_geojson_seed_corpus.test_geojson_matches_seed_corpus[multilinestring-MULTILINESTRING ((100 0, 101 1), (102 2, 103 3))]",
+ "eval.tests.test_geojson_seed_corpus.test_geojson_matches_seed_corpus[multipoint-MULTIPOINT ((100 0), (101 1))]",
+ "eval.tests.test_geojson_seed_corpus.test_geojson_matches_seed_corpus[multipolygon-MULTIPOLYGON (((102 2, 103 2, 103 3, 102 3, 102 2)), ((100 0, 101 0, 101 1, 100 1, 100 0)))]",
+ "eval.tests.test_geojson_seed_corpus.test_geojson_matches_seed_corpus[point-POINT (100 0)]",
+ "eval.tests.test_geojson_seed_corpus.test_geojson_matches_seed_corpus[point_z-POINT Z (100 0 50)]",
+ "eval.tests.test_geojson_seed_corpus.test_geojson_matches_seed_corpus[polygon-POLYGON ((100 0, 101 0, 101 1, 100 1, 100 0))]",
+ "eval.tests.test_geojson_seed_corpus.test_geojson_matches_seed_corpus[polygon_hole-POLYGON ((100 0, 101 0, 101 1, 100 1, 100 0), (100.2 0.2, 100.8 0.2, 100.8 0.8, 100.2 0.8, 100.2 0.2))]",
+ "eval.tests.test_min_bounding_circle.test_min_bounding_circle[circle_t1_point]",
+ "eval.tests.test_nearest_points.test_nearest_points[t2_disjoint]",
+ "eval.tests.test_nearest_points.test_nearest_points[t3_point_inside]",
+ "eval.tests.test_nearest_points.test_nearest_points[t4_interpolated_not_vertex]",
+ "eval.tests.test_nearest_points.test_nearest_points[t5_crossing_lines]",
+ "eval.tests.test_nearest_points.test_nearest_points[t6_line_partially_inside]",
+ "eval.tests.test_nearest_points.test_nearest_points[t7_zm_to_2d]",
+ "eval.tests.test_nearest_points.test_nearest_points[t8_curved]",
+ "eval.tests.test_node.test_node_normalize[t=LINESTRING(0_0,_10_10,_10_0,_0_10)]",
+ "eval.tests.test_node.test_node_normalize[t=MULTILINESTRING((0_0,_2_0,_4_0),(0]",
+ "eval.tests.test_node.test_node_normalize[t=MULTILINESTRING((0_0,_2_0,_4_0),(5]",
+ "eval.tests.test_orientation.test_orientation_ccw_line_case1",
+ "eval.tests.test_orientation.test_orientation_robust_reversal_case3",
+ "eval.tests.test_point_location.test_point_in_ring[test=1]",
+ "eval.tests.test_point_location.test_point_in_ring[test=2]",
+ "eval.tests.test_point_on_surface.test_point_on_surface[t=LINESTRING(0_0,_0_0)]",
+ "eval.tests.test_point_on_surface.test_point_on_surface[t=LINESTRING(0_0,_5_0,_10_0)]",
+ "eval.tests.test_point_on_surface.test_point_on_surface[t=POINT(10_0)]",
+ "eval.tests.test_point_on_surface.test_point_on_surface[t=POLYGON((0_0,_10_0,_10_10,_0_10,_0_0]",
+ "eval.tests.test_point_on_surface.test_point_on_surface[t=POLYGON((182111.031940953_141935.935]",
+ "eval.tests.test_point_on_surface.test_point_on_surface[t=POLYGON((182512.231897141_141935.935]",
+ "eval.tests.test_point_on_surface.test_point_on_surface[t=POLYGON((182635.760119718_141846.477]",
+ "eval.tests.test_point_on_surface.test_point_on_surface[t=POLYGON((56.528666666700_25.21016666]",
+ "eval.tests.test_point_on_surface.test_point_on_surface_empty[LINESTRING_EMPTY]",
+ "eval.tests.test_point_on_surface.test_point_on_surface_zm_ignored[POLYGON ZM ((0 0 4 2, 10 0 8 4, 10 10 12 6, 0 10 8 1, 0 0 4 2))]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=coveredBy:30]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=coveredBy:31]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=coveredBy:32]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=coveredBy:33]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=coveredBy:34]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=coveredBy:35]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=crosses:19]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=crosses:20]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=crosses:21]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=crosses:22]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=crosses:23]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=crosses:24]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=disjoint:11]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=disjoint:12]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=equals:25]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=equals:26]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=equals:27]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=equals:28]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=equals:29]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=overlaps:13]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=overlaps:14]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=overlaps:15]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=overlaps:16]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=overlaps:17]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=overlaps:18]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=touches:10]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=touches:5]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=touches:6]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=touches:7]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=touches:8]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=touches:9]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=within:0]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=within:1]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=within:2]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=within:3]",
+ "eval.tests.test_predicate_ops.test_predicate_op[op=within:4]",
+ "eval.tests.test_reduce_precision.test_reduce_precision_keep_collapsed",
+ "eval.tests.test_reduce_precision.test_reduce_precision_topo_removes_collapsed",
+ "eval.tests.test_relate_bnr.test_relate_bnr_invalid_rule_rejected",
+ "eval.tests.test_relate_bnr.test_relate_bnr_matrix[rule=1:case=1_0]",
+ "eval.tests.test_relate_bnr.test_relate_bnr_matrix[rule=1:case=1_1]",
+ "eval.tests.test_relate_bnr.test_relate_bnr_matrix[rule=1:case=4]",
+ "eval.tests.test_relate_bnr.test_relate_bnr_matrix[rule=2:case=3]",
+ "eval.tests.test_relate_bnr.test_relate_bnr_matrix[rule=2:case=5]",
+ "eval.tests.test_relate_bnr.test_relate_bnr_matrix[rule=4:case=6]",
+ "eval.tests.test_resources_wkt.test_fixture_positive_area[antarctica.wkt]",
+ "eval.tests.test_resources_wkt.test_fixture_positive_area[regression4.wkt]",
+ "eval.tests.test_resources_wkt.test_fixture_positive_area[regression6.wkt]",
+ "eval.tests.test_resources_wkt.test_fixture_positive_area[russia.wkt]",
+ "eval.tests.test_resources_wkt.test_fixture_positive_length[antarctica.wkt]",
+ "eval.tests.test_resources_wkt.test_fixture_positive_length[regression4.wkt]",
+ "eval.tests.test_resources_wkt.test_fixture_positive_length[regression6.wkt]",
+ "eval.tests.test_resources_wkt.test_fixture_positive_length[russia.wkt]",
+ "eval.tests.test_resources_wkt.test_fixture_validity_simplicity[antarctica.wkt-true-true]",
+ "eval.tests.test_resources_wkt.test_fixture_validity_simplicity[regression4.wkt-false-false]",
+ "eval.tests.test_resources_wkt.test_fixture_validity_simplicity[regression6.wkt-true-true]",
+ "eval.tests.test_resources_wkt.test_fixture_validity_simplicity[russia.wkt-true-true]",
+ "eval.tests.test_simplify.test_simplify[t1_empty]",
+ "eval.tests.test_simplify.test_simplify[t3_zm]",
+ "eval.tests.test_simplify.test_simplify_curved_rejected",
+ "eval.tests.test_topology_preserve_simplify.test_simplify_tp[t1]",
+ "eval.tests.test_topology_preserve_simplify.test_simplify_tp[t2_empty]",
+ "eval.tests.test_topology_preserve_simplify.test_simplify_tp[t4_zm]",
+ "eval.tests.test_topology_preserve_simplify.test_simplify_tp_curved_rejected",
+ "eval.tests.test_unary_union.test_unary_union[t_LINESTRING_EMPTY]",
+ "eval.tests.test_unary_union.test_unary_union[t_MULTIPOINT_((4_5),_(6_7),_]",
+ "eval.tests.test_unary_union.test_unary_union[t_POINT_(4_5_6)]",
+ "eval.tests.test_unary_union.test_unary_union[t_POINT_(6_3)]",
+ "eval.tests.test_unary_union.test_unary_union[t_POINT_EMPTY]",
+ "eval.tests.test_union_symdiff.test_sym_difference[symdifference_t1]",
+ "eval.tests.test_union_symdiff.test_union[union_t1]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=intersects;in=POINT(-23.1094689600055 50.5195368635957)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=intersects;in=POINT(-23.1094689600055 50.5223376452201)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=GEOMETRYCOLLECTION (POLYGON ((0 10, 10 10, 10 0, 0 0, 0 10)), \\n LINESTRING (100 300, 200 250), \\n POINT EMPTY)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=GEOMETRYCOLLECTION (POLYGON ((100 100, 100 200, 200 100, 200 200, 100 100)), \\n LINESTRING (100 300, 200 250), \\n POINT (250 250), \\n POINT (250 150))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=GEOMETRYCOLLECTION (POLYGON ((100 200, 200 200, 200 100, 100 100, 100 200)), \\n LINESTRING (100 300, 200 250), \\n POINT (250 250), \\n POINT (250 150))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=LINEARRING (100 300, 200 300, 100 200, 200 200, 100 300)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=LINEARRING (100 300, 200 300, 200 200, 100 200, 100 300)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=LINESTRING (10 10, 10 10, 10 10)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=LINESTRING (10 10, 10 10, 10 10, 2 2, 20 2, 10 10, 10 10)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=LINESTRING (10 10, 2 2, 20 2, 10 10, 10 10)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=LINESTRING (10 10, 20 20, 10 10)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=LINESTRING (20 20, 80 20, 80 80, 20 20)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=LINESTRING (20 60, 100 60, 60 100, 60 60)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=LINESTRING (20 60, 160 60, 80 160, 80 20)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=LINESTRING (20 60, 60 60, 100 60, 60 100, 60 60)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=LINESTRING (20 80, 80 20, 80 80, 140 60, 80 20, 160 20)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=LINESTRING (80 80, 20 20, 20 80, 140 80, 140 140, 80 80)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=LINESTRING EMPTY]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=LINESTRING(10 10, 10 10, 10 10)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=LINESTRING(10 10, 10 10, 20 20)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=LINESTRING(10 10, 10 10, 20 20, 20 20)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=LINESTRING(10 10, 20 20)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=LINESTRING(10 10, 20 20, 20 20)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=MULTILINESTRING ((0 0, 100 100), (100 100, 0 0))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=MULTILINESTRING ((0 0, 100 100), EMPTY)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=MULTILINESTRING ((40 120, 100 60), \\n (160 120, 100 60), \\n (40 60, 160 60))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=MULTILINESTRING ((60 140, 20 80, 60 40), \\n (60 40, 100 80, 60 140))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=MULTILINESTRING ((60 40, 140 40, 100 120, 100 0), \\n (100 200, 200 120))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=MULTILINESTRING ((80 160, 40 220), \\n (80 160, 120 220, 120 100, 80 160), \\n (40 100, 80 160))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=MULTILINESTRING ((80 160, 40 220, 40 100, 80 160), \\n (80 160, 120 220, 120 100, 80 160))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=MULTILINESTRING(\\n (20 160, 20 20), \\n (100 160, 100 20))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=MULTILINESTRING(\\n (40 140, 160 40), \\n (160 140, 40 40))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=MULTIPOINT ((80 280), (80 220), (160 220))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=MULTIPOINT ((80 280), (80 220), (160 220), (80 220))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=MULTIPOINT (EMPTY, (80 220), (160 220))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=MULTIPOINT EMPTY]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=MULTIPOLYGON (((0 10, 10 10, 10 0, 0 0, 0 10)), EMPTY)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=MULTIPOLYGON (((100 100, 100 200, 200 100, 200 200, 100 100)), ((100 400, 200 400, 200 300, 100 300, 100 400)))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=MULTIPOLYGON (((240 160, 100 240, 80 60, 220 40, 240 160)), \\n ((160 380, 100 240, 20 380, 160 380), \\n (120 340, 60 360, 80 320, 120 340)))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=MULTIPOLYGON (((240 160, 140 220, 80 60, 220 40, 240 160)), \\n ((160 380, 100 240, 20 380, 160 380), \\n (120 340, 60 360, 80 320, 120 340)))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=POINT(10 10)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=POLYGON ((0 0, 10 10, 0 0))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=POLYGON ((100 100, 100 200, 200 100, 200 200, 100 100))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=POLYGON ((180 260, 80 300, 40 180, 160 120, 180 260))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=POLYGON ((50 90, 90 90, 90 50, 50 50, 10 10, 50 50, 50 90))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isSimple;in=POLYGON EMPTY]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=LINEARRING (100 200, 200 200, 200 100, 100 100, 100 200)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=LINEARRING(0 0, 100 100, 100 0, 0 100, 0 0)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=LINESTRING (40 180, 120 120, 140 200, 140 200, 200 140, 240 200)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=LINESTRING (40 180, 120 120, 140 200, 200 140, 240 200)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=LINESTRING (40 180, 120 120, 140 200, 200 140, NaN 200)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=LINESTRING EMPTY]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=LINESTRING(0 0, 0 0)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=LINESTRING(0 0, 100 100, 100 0, 0 100, 0 0)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTILINESTRING((0 0, 0 0), (1 1, 0 0))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTILINESTRING((1 1, 0 0), (0 0, 0 0))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTILINESTRING((1 1, 0 0), EMPTY)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTILINESTRING((1 1, 2 NaN, 0 0))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTIPOINT((10 10), (20 20), (30 30))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTIPOINT((10 10), (20 20), (30 30), (10 10))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTIPOINT((10 10), (20 20), (30 30), (10 NaN))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTIPOLYGON ( ((0 40, 20 20, 40 0, 40 40, 20 20, 0 0, 0 40)) )]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTIPOLYGON ( ((100 20, 180 20, 180 100, 100 100, 100 20)),\\n((20 100, 100 100, 100 180, 20 180, 20 100)),\\n((100 180, 180 180, 180 260, 100 260, 100 180)),\\n((180 100, 180 180, 180 180, 180 100)))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTIPOLYGON (((0 0, 0 8, 8 8, 8 0, 0 0),\\n (3 3, 7 3, 7 7, 3 7, 3 3),\\n (1 1, 2 1, 2 2, 1 2, 1 1)),\\n ((4 4, 4 6, 6 6, 6 4, 4 4)))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTIPOLYGON (((10 10, 20 30, 10 90, 90 90, 80 30, 90 10, 50 20, 10 10)), ((80 30, 20 30, 50 20, 80 30)))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTIPOLYGON (((100 20, 180 20, 180 100, 100 100, 100 20)),\\n ((20 100, 100 100, 100 180, 20 180, 20 100)),\\n ((100 180, 180 180, 180 260, 100 260, 100 180)),\\n ((180 100, 260 100, 260 180, 180 180, 180 100)))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTIPOLYGON (((110 110, 70 200, 150 200, 110 110)),\\n ((110 110, 150 20, 70 20, 110 110)))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTIPOLYGON (((180 60, 240 160, 300 60, 180 60)),\\n ((80 80, 180 60, 160 140, 240 160, 360 140, 300 60, 420 100, 320 280, 120 260, 80 80)))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTIPOLYGON (((20 380, 420 380, 420 20, 20 20, 20 380),\\n (220 340, 180 240, 60 200, 140 100, 340 60, 300 240, 220 340)),\\n ((60 200, 340 60, 220 340, 60 200)))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTIPOLYGON (((20 380, 420 380, 420 20, 20 20, 20 380),\\n (220 340, 180 240, 60 200, 180 160, 340 60, 240 220, 220 340)),\\n ((180 240, 180 160, 240 220, 180 240)))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTIPOLYGON (((20 380, 420 380, 420 20, 20 20, 20 380),\\n (220 340, 180 240, 60 200, 200 180, 340 60, 240 220, 220 340)),\\n ((60 200, 340 60, 220 340, 60 200)))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTIPOLYGON (((30 10, 40 40, 20 40, 10 20, 30 10)), EMPTY)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTIPOLYGON (((40 120, 140 120, 140 40, 40 40, 40 120)),\\n ((140 120, 40 120, 40 200, 140 200, 140 120)))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTIPOLYGON (((40 120, 140 120, 140 40, 40 40, 40 120)),\\n ((160 120, 60 120, 40 200, 140 200, 160 120)))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTIPOLYGON (((60 300, 320 220, 260 60, 60 100, 60 300)),\\n ((60 300, 320 220, 260 60, 60 100, 60 300)))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTIPOLYGON (((60 320, 60 80, 300 80, 60 320),\\n (80 280, 80 100, 260 100, 80 280)),\\n ((120 160, 140 160, 140 140, 120 160)))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTIPOLYGON (((70 80, 20 50, 80 20, 40 50, 40 50, 70 80)), ((40 50, 40 50, 70 40, 70 60, 40 50)))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=MULTIPOLYGON (((80 260, 240 260, 240 100, 80 100, 80 260)),\\n ((120 240, 220 240, 220 140, 120 140, 120 240)))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POINT EMPTY]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POINT(10 10)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POINT(10 NaN)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POINT(NaN 10)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((-10 50, 50 50, 50 -10, -10 -10, -10 50), (0 40, 0 0, 40 40, 40 0, 0 40))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((-10 50, 50 50, 50 -10, -10 -10, -10 50), (0 40, 20 20, 40 0, 40 40, 0 0, 0 40))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((-10 50, 50 50, 50 -10, -10 -10, -10 50), (0 40, 20 20, 40 0, 40 40, 20 20, 0 0, 0 40))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((0 0, 0 0, 0 0, 0 0, 0 0))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((0 0, 0 240, 260 240, 260 0, 0 0),\\n (220 200, 40 200, 40 20, 40 200, 220 200, 220 200))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((0 0, 0 5, 6 5, 6 0, 0 0),\\n (2.5 1, 3.5 1, 3.5 2, 2.5 2, 2.5 1),\\n (2.5 1.5, 1 4, 5 4, 3.5 1.5, 4 3, 3 2, 2 3, 2.5 1.5))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((0 0, 10 0, 20 0, 0 0, 0 0))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((0 0, 10 10, 0 0))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((0 0, 10 10, 10 0, 0 0),\\n (5 5, 5 0, 10 5, 5 5))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((0 0, 10 NaN, 20 0, 0 10, 0 0))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((0 120, 0 0, 140 0, 140 120, 0 120), (100 100, 100 20, 120 20, 120 100, 100 100), (20 100, 20 40, 100 40, 20 100))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((0 120, 0 0, 140 0, 140 120, 0 120),\\n\\t\\t(100 100, 100 20, 120 20, 120 100, 100 100),\\n\\t\\t(20 100, 20 40, 100 40, 100 80, 20 100))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((0 140, 0 0, 180 0, 180 140, 0 140), (20 20, 160 20, 160 120, 20 120, 20 20), (40 100, 40 40, 140 40, 140 100, 40 100))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((0 40, 0 0, 40 40, 40 0, 0 40))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((0 40, 20 20, 40 0, 40 40, 0 0, 0 40))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((0 60, 0 0, 0 0, 60 0, 60 60, 0 60), (20 40, 20 20, 40 20, 40 40, 20 40))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((0 60, 0 0, 60 0, 60 20, 100 20, 60 20, 60 60, 0 60))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((0 60, 0 0, 60 0, 60 20, 20 20, 60 20, 60 60, 0 60))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((0 60, 0 0, 60 0, 60 60, 0 60), (0 40, 20 20, 60 20, 0 40))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((0 60, 0 0, 60 0, 60 60, 0 60), (20 40, 20 20, 40 20, 40 40, 20 40))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((0 60, 0 0, 60 0, 60 60, 0 60), (20 40, 20 20, 60 20, 20 40))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((10 10, 30 10, 30 50, 70 50, 70 10, 90 10, 90 90, 10 90, 10 10), (50 50, 30 10, 70 10, 50 50))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((10 90, 90 90, 90 10, 10 10, 10 90), (20 80, 80 80, 80 20, 20 20, 20 80), (50 80, 20 50, 50 20, 80 50, 50 80))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((10 90, 90 90, 90 10, 10 10, 10 90), (40 80, 60 80, 50 50, 40 80), (20 60, 20 40, 50 50, 20 60), (40 20, 60 20, 50 50, 40 20), (80 60, 80 40, 50 50, 80 60))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((10 90, 90 90, 90 10, 10 10, 10 90), (70 80, 20 50, 80 20, 40 50, 40 50, 70 80), (40 50, 40 50, 70 40, 70 60, 40 50))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((100 200, 200 200, 200 100, 100 100, 100 200), (120 180, 180 180, 180 120, 120 120, 120 180), (120 180, 180 180, 180 120, 120 120, 120 180))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((107 246, 107 246, 250 285, 294 137, 151 90, 15 125, 157 174, 107 246))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((190 190, 360 20, 20 20, 190 190),\\n (90 50, 150 110, 190 50, 90 50),\\n (190 50, 230 110, 290 50, 190 50))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((20 180, 20 20, 140 20, 140 180, 20 180), (160 120, 180 100, 160 80, 160 120))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((20 180, 20 20, 140 20, 140 180, 20 180),\\n (20 180, 20 20, 140 20, 140 180, 20 180))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((20 320, 240 320, 240 40, 20 40, 20 320),\\n (140 180, 60 120, 60 240, 140 180),\\n (140 180, 200 120, 200 240, 140 180))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((20 320, 260 320, 260 20, 20 20, 20 320),\\n (140 280, 80 100, 200 100, 140 280),\\n (140 280, 40 80, 240 80, 140 280))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((240 260, 40 260, 40 80, 240 80, 240 260),\\n (140 180, 40 180, 140 240, 140 180))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((240 260, 40 260, 40 80, 240 80, 240 260),\\n (140 180, 40 260, 140 240, 140 180))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((300 320, 300 220, 260 260, 180 220, 360 220, 360 140, 120 140, 120 320, 300 320))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((340 320, 340 200, 200 280, 200 80, 340 200, 340 20, 60 20, 60 340, 340 320))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((380 340, 40 340, 40 20, 380 20, 380 340),\\n (120 300, 300 280, 320 200, 160 140, 200 80, 320 120, 320 200, 360 60, 120 40, 120 300))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((40 260, 40 60, 120 60, 180 160, 240 60, 300 60, 300 260, 40 260),\\n (180 160, 240 60, 120 60, 180 160))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((40 260, 40 60, 120 60, 180 160, 240 60, 300 60, 300 260, 40 260),\\n (70 230, 80 230, 80 220, 80 220, 70 230))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((40 300, 40 20, 280 20, 280 300, 40 300),\\n (120 240, 80 180, 160 220, 120 240),\\n (220 240, 160 220, 220 160, 220 240),\\n (160 100, 80 180, 100 80, 160 100),\\n (160 100, 220 160, 240 100, 160 100))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((40 320, 340 320, 340 20, 40 20, 40 320),\\n (100 120, 40 20, 180 100, 100 120),\\n (200 200, 180 100, 240 160, 200 200),\\n (260 260, 240 160, 300 200, 260 260),\\n (300 300, 300 200, 340 260, 300 300))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((40 320, 340 320, 340 20, 40 20, 40 320),\\n (100 120, 40 20, 180 100, 100 120),\\n (200 200, 180 100, 240 160, 200 200),\\n (260 260, 240 160, 300 200, 260 260),\\n (300 300, 300 200, 340 320, 300 300))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((50 90, 10 10, 90 10, 50 90), (50 90, 50 90, 60 40, 60 40, 40 40, 50 90))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((50 90, 10 10, 90 10, 50 90), (60 40, 40 40, 50 90, 50 90, 60 40))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((60 280, 260 180, 60 80, 60 280), (140 80, 120 180, 200 180, 140 80))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((60 280, 260 180, 60 80, 60 280), EMPTY)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((60 340, 60 100, 340 100, 340 280, 340 200, 340 340, 60 340))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((90 10, 10 10, 50 90, 50 90, 90 10), (50 90, 60 30, 40 30, 50 90))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON ((90 10, 10 10, 50 90, 90 10, 90 10), (90 10, 40 30, 60 50, 90 10))]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON (EMPTY, EMPTY, EMPTY)]",
+ "eval.tests.test_xml_general.test_basic_bool_op[op=isValid;in=POLYGON( (0 0, 0 5, 6 5, 6 0, 0 0), (2 1, 4 1, 3 2, 2 1), (2 1, 1 4, 5 4, 4 1, 4 3, 3 2, 2 3, 2 1) )]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=GEOMETRYCOLLECTION (LINESTRING (10 10, 50 10), POINT (90 10))]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=GEOMETRYCOLLECTION (POLYGON ((90 20, 60 20, 60 50, 90 50, 90 20)), LINESTRING (10 50, 30 70))]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=LINESTRING (0 0, 0 10)0]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=LINESTRING (0 0, 0 10)1]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=LINESTRING (0 0, 0 10)2]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=LINESTRING (0 0, 0 10)3]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=LINESTRING (10 0, 10 10)]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=LINESTRING (140 360, 260 280, 240 120, 120 160)]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=LINESTRING (40 300, 280 220, 60 160, 140 60)]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=LINESTRING EMPTY]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=MULTILINESTRING ((10 0, 10 10), (50 50, 60 60))]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=MULTILINESTRING ((10 0, 10 10), EMPTY)]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=MULTIPOINT ((10 0), (30 30))]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=MULTIPOINT ((10 0), EMPTY)]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=MULTIPOLYGON (((220 280, 120 160, 300 60, 360 220, 220 280)), ((240 380, 280 300, 420 340, 240 380)))]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=MULTIPOLYGON (((40 240, 160 320, 40 380, 40 240)), ((100 240, 240 60, 40 40, 100 240)))]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=MULTIPOLYGON (EMPTY, ((98 200, 200 200, 200 99, 98 99, 98 200)))]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=POINT (10 0)]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=POINT (240 160)0]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=POINT (240 160)1]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=POINT EMPTY]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=POINT(10 10)0]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=POINT(10 10)1]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=POINT(10 10)2]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=POINT(10 10)3]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=POLYGON ((100 260, 340 180, 100 60, 180 160, 100 260))]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=POLYGON ((100 320, 60 120, 240 180, 200 260, 100 320))]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=POLYGON ((220 280, 120 160, 300 60, 360 220, 220 280))]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=POLYGON ((300 200, 400 200, 400 100, 300 100, 300 200))]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=POLYGON ((420 320, 280 260, 400 100, 420 320))]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=POLYGON ((60 260, 260 180, 100 60, 60 160, 60 260))]",
+ "eval.tests.test_xml_general.test_basic_numeric_op[op=distance;in=POLYGON EMPTY]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(0 0, 0 50, 50 50, 50 0, 0 0);b=MULTILINESTRING(\\n (0 0, 0 50), \\n (0 50, 50 50), \\n (50 50, 50 0), \\n (50 0, 0 0))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(0 0, 60 0, 60 60, 60 0, 120 0);b=MULTILINESTRING(\\n (0 0, 60 0), \\n (60 0, 120 0), \\n (60 0, 60 60))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(100 100, 160 40);b=LINESTRING(100 100, 180 20, 20 20, 100 100)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(100 100, 160 40, 160 100);b=LINESTRING(100 100, 180 20, 20 20, 100 100)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(100 100, 180 20);b=LINESTRING(100 100, 180 20, 20 20, 100 100)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(100 100, 180 20, 20 20, 100 100);b=LINESTRING(100 100, 180 180, 20 180, 100 100)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(100 100, 180 20, 20 20, 100 100);b=LINESTRING(180 100, 20 100, 100 180, 180 100)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(100 100, 180 20, 20 20, 100 100);b=LINESTRING(180 180, 100 100, 20 180, 180 180)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(100 100, 190 10, 190 100);b=LINESTRING(100 100, 180 20, 20 20, 100 100)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(100 100, 20 180, 180 180);b=LINESTRING(100 100, 180 20, 20 20, 100 100)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(100 20, 20 20, 20 160, 210 160, 210 20, 110 20, 50 120, 120 150, 200 150);b=LINESTRING(140 130, 100 110, 120 60, 170 60)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(100 40, 100 160, 180 160);b=LINESTRING(100 100, 180 20, 20 20, 100 100)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 100, 40 30, 180 30, 110 100);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110), \\n (110 90, 60 40, 160 40, 110 90))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 110, 110 160, 180 110, 250 160, 250 110);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 110, 170 50, 170 110, 110 110);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110), \\n (110 90, 50 30, 170 30, 110 90))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 110, 170 50, 20 200, 20 110, 200 110);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 110, 180 30, 40 30, 110 110);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110), \\n (110 90, 60 40, 160 40, 110 90))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 110, 180 40, 110 40, 110 110, 70 40);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 110, 180 40, 110 40, 110 180);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 110, 20 110, 110 20, 20 20, 110 110);b=LINESTRING(110 110, 200 200, 110 200, 200 110, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 110, 20 110, 200 110, 50 110, 110 170);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 110, 20 200, 110 200, 110 110, 200 200);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 110, 20 200, 200 200, 110 110);b=POLYGON(\\n (20 20, 200 20, 110 110, 20 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 110, 200 110);b=LINESTRING(200 200, 20 20, 200 20, 110 110, 20 200, 110 200, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 110, 200 20, 20 20, 110 110);b=LINESTRING(110 110, 20 110, 200 110, 50 110, 110 170)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 110, 200 20, 20 20, 110 110);b=LINESTRING(110 110, 20 200, 110 200, 110 110, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 110, 200 20, 20 20, 110 110);b=LINESTRING(110 110, 200 200, 110 110, 20 200, 20 110, 200 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 110, 200 20, 20 20, 110 110);b=LINESTRING(200 20, 20 200, 200 200, 110 110, 110 40)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 110, 200 20, 20 20, 110 110);b=LINESTRING(200 20, 20 200, 200 200, 20 20)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 110, 200 200, 110 110, 20 200, 20 110, 200 110);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 110, 200 200, 200 110, 110 200);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 130, 110 70, 200 100, 110 130);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110), \\n (110 90, 50 30, 170 30, 110 90))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 160, 160 110, 200 110, 250 160, 250 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 160, 180 110, 250 160, 320 110);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 60, 20 150, 200 150, 110 60);b=POLYGON(\\n (20 20, 200 20, 110 110, 20 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 60, 50 30, 170 30, 90 70);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 90, 160 40, 60 40, 110 90);b=POLYGON(\\n (20 20, 200 20, 110 110, 20 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 90, 170 30, 50 30, 110 90);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110), \\n (110 90, 50 30, 170 30, 110 90))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 90, 180 30, 40 30, 110 90);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110), \\n (110 90, 60 40, 160 40, 110 90))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 90, 50 30, 180 30, 110 90);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110), \\n (110 90, 60 40, 160 40, 110 90))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(110 90, 70 50, 130 50, 110 90);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110), \\n (110 90, 50 30, 170 30, 110 90))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(130 110, 180 110, 190 60);b=POLYGON(\\n (20 200, 240 200, 240 20, 20 20, 20 200), \\n (130 110, 60 180, 60 40, 130 110), \\n (130 110, 200 40, 200 180, 130 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(130 110, 180 160, 230 110, 280 160, 330 110);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(130 150, 220 150, 220 240);b=LINESTRING(130 240, 130 150, 220 20, 50 20, 130 150)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(130 160, 160 110, 190 110, 230 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(130 160, 160 110, 200 110, 230 160, 260 210, 360 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(130 160, 160 110, 200 110, 230 160, 260 210, 360 210, 380 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(130 160, 160 110, 200 110, 230 160, 260 210, 380 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(130 160, 160 110, 220 110, 250 160, 250 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(130 20, 150 60);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(140 160, 180 80, 220 160, 250 80);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(140 60, 180 100, 290 100);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(150 150, 40 230);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(150 70, 160 110, 200 60, 150 70);b=POLYGON(\\n (20 20, 200 20, 110 110, 20 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(160 70, 200 110, 280 190, 320 230);b=MULTIPOLYGON(\\n (\\n (140 110, 260 110, 170 20, 50 20, 140 110)), \\n (\\n (300 270, 420 270, 340 190, 220 190, 300 270)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(160 70, 320 230);b=MULTIPOLYGON(\\n (\\n (140 110, 260 110, 170 20, 50 20, 140 110)), \\n (\\n (300 270, 420 270, 340 190, 220 190, 300 270)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(170 120, 210 80, 270 80);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(170 120, 260 50);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(170 50, 170 20, 240 20, 260 60);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(180 150, 250 150, 230 250, 370 250, 410 150);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(180 180, 40 40);b=LINESTRING(120 120, 260 260)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(180 90, 280 120);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(190 90, 190 190, 190 270);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (190 190, 280 50, 100 50, 190 190))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(190 90, 190 270);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (190 190, 280 50, 100 50, 190 190))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 100, 100 100, 180 100, 100 180);b=LINESTRING(100 100, 180 20, 20 20, 100 100)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 100, 100 100, 360 100, 410 100);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 100, 180 100, 100 180);b=LINESTRING(100 100, 180 20, 20 20, 100 100)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 110, 110 110, 20 20, 110 20, 20 110);b=LINESTRING(110 160, 70 110, 60 160, 20 130, 110 160)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 110, 110 110, 20 20, 110 20, 20 110);b=LINESTRING(200 200, 110 110, 200 110, 110 200, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 110, 200 110);b=LINESTRING(200 200, 20 20, 200 20, 110 110, 20 200, 110 200, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 120, 120 120, 20 20, 120 20, 20 120);b=LINESTRING(170 100, 70 100, 170 170, 70 170, 170 100)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 120, 120 120, 20 20, 120 20, 20 120);b=LINESTRING(220 120, 120 20, 220 20, 120 120, 220 120)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 180, 100 100, 20 20, 20 180);b=LINESTRING(100 20, 100 180, 180 100, 100 20)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 140 140);b=LINESTRING(140 80, 20 80, 120 80, 80 20, 80 140)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 140 140);b=LINESTRING(140 80, 20 80, 120 80, 80 20, 80 80, 80 140)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 140 140);b=LINESTRING(140 80, 20 80, 140 80)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 140 140);b=LINESTRING(140 80, 20 80, 80 140, 80 20)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 140 140);b=LINESTRING(140 80, 20 80, 80 140, 80 80, 80 20)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 140 140);b=LINESTRING(140 80, 20 80, 80 80, 140 80)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 140 140);b=LINESTRING(140 80, 80 80, 20 80, 50 140, 50 60)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 140 140);b=LINESTRING(20 140, 140 20, 100 20, 100 80)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 140 140);b=LINESTRING(80 80, 140 80, 80 20, 80 140)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 140 140);b=LINESTRING(80 80, 20 80, 140 80)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 140 140);b=LINESTRING(80 80, 20 80, 140 80, 80 20, 80 140)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 140 140);b=LINESTRING(80 80, 20 80, 140 80, 80 20, 80 80)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 140 140);b=LINESTRING(80 80, 20 80, 140 80, 80 80)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 140 140);b=LINESTRING(80 80, 20 80, 20 140, 140 20, 80 20, 80 80)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 180 180);b=LINESTRING(20 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 180 180);b=LINESTRING(20 20, 180 180)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 180 180);b=LINESTRING(50 50, 140 140)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 200 20, 110 110, 20 20);b=POLYGON(\\n (20 20, 200 20, 110 110, 20 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 230 20, 20 30, 170 30, 20 40, 230 40, 20 50, 230 60, 60 60, \\n 230 70, 20 70, 180 80, 60 80, 230 90, 20 90, 230 100, 30 100, 210 110, 20 110, \\n 80 120, 20 130, 170 130, 90 120, 230 130, 170 140, 230 140, 80 150, 160 140, 20 140, \\n 70 150, 20 150, 230 160, 80 160, 230 170, 20 160, 180 170, 20 170, 230 180, 20 180, \\n 40 190, 230 190, 20 200, 230 200);b=LINESTRING(30 210, 30 60, 40 210, 40 30, 50 190, 50 20, 60 160, 60 50, 70 220, \\n 70 50, 80 20, 80 210, 90 50, 90 150, 100 30, 100 210, 110 20, 110 190, 120 50, \\n 120 180, 130 210, 120 20, 140 210, 130 50, 150 210, 130 20, 160 210, 140 30, 170 210, \\n 150 20, 180 210, 160 20, 190 210, 180 80, 170 50, 170 20, 180 70, 180 20, 190 190, \\n 190 30, 200 210, 200 30, 210 210, 210 20, 220 150, 220 20)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 80 80, 160 80, 240 80, 300 140);b=LINESTRING(20 60, 60 60, 60 140, 80 80, 100 20, 140 140, 180 20, 200 80, 220 20, \\n 240 80, 300 80, 270 110, 200 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 80 80, 160 80, 240 80, 300 140);b=LINESTRING(20 80, 120 80, 200 80, 260 20)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 80 80, 160 80, 240 80, 300 140);b=LINESTRING(20 80, 80 80, 120 80, 140 140, 160 80, 200 80, 220 20, 240 80, 270 110, \\n 300 80)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 20, 80 80, 160 80, 240 80, 300 140);b=LINESTRING(80 20, 80 80, 240 80, 300 20)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 200, 200 200, 20 20, 200 20, 20 200);b=LINESTRING(20 110, 200 110, 200 160, 20 60, 20 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(20 60, 150 60);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(200 110, 110 110, 90 130, 90 200);b=LINESTRING(200 200, 20 20, 200 20, 20 200, 20 130, 90 130)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(200 150, 310 150, 360 220);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(200 200, 20 20, 200 20, 110 110, 20 200, 110 200, 110 110);b=LINESTRING(110 110, 200 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(200 200, 20 20, 200 20, 110 110, 20 200, 110 200, 110 110);b=LINESTRING(20 110, 200 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(210 150, 330 150);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(210 210, 220 150, 320 150, 370 210);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(230 70, 170 120, 190 60, 140 60, 170 120, 270 90);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(290 10, 130 170);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(30 100, 100 100, 180 100);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(30 150, 130 150, 250 150);b=LINESTRING(130 240, 130 150, 220 20, 50 20, 130 150)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(30 150, 130 150, 250 150);b=LINESTRING(130 240, 130 20, 30 20, 130 150)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(30 150, 250 150);b=LINESTRING(120 240, 120 20, 20 20, 120 170)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(30 150, 250 150);b=LINESTRING(130 240, 130 150, 220 20, 50 20, 130 150)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 150, 40 40, 150 40, 150 150, 40 150);b=LINESTRING(170 20, 20 170, 170 170, 170 20)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 150, 40 40, 150 40, 150 150, 40 150);b=LINESTRING(20 150, 170 150, 90 230, 20 150)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 150, 40 40, 150 40, 150 150, 40 150);b=LINESTRING(40 150, 150 150, 150 40, 20 40, 20 150, 40 150)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 150, 40 40, 150 40, 150 150, 40 150);b=LINESTRING(40 150, 150 150, 90 210, 40 150)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 150, 40 40, 150 40, 150 150, 40 150);b=LINESTRING(40 150, 150 40, 170 20, 170 190, 40 150)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 230, 150 150);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100);b=LINESTRING(100 100, 40 40)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100);b=LINESTRING(40 40, 100 100)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 130 190);b=LINESTRING(20 130, 70 130, 160 40)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 130 190);b=LINESTRING(30 140, 80 140, 100 100, 200 30)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 130 190);b=LINESTRING(40 160, 40 100, 110 40, 170 40)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(100 100, 200 120, 240 140, 280 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(140 180, 80 240, 200 260, 240 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(160 160, 240 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(20 200, 40 160, 20 100, 40 40)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(200 120, 100 100, 40 40, 140 80, 200 40)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(200 120, 200 190, 150 240, 200 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(200 240, 150 240, 200 200, 200 120)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(240 200, 200 260, 80 240, 140 180)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(240 240, 160 160)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(260 210, 240 130, 280 120, 260 40)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(280 240, 240 140, 200 120, 100 100)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(280 240, 240 140, 200 120, 100 100, 40 40)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(280 240, 240 140, 200 120, 80 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(40 40, 100 100, 200 120, 80 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(40 40, 20 100, 40 160, 20 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(80 190, 140 140, 40 40)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(80 240, 120 200, 200 120, 100 100, 80 80, 40 40)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(80 240, 200 120, 100 100, 40 40)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 120 120);b=LINESTRING(40 120, 120 160)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 120 120);b=LINESTRING(40 120, 120 40)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 120 120);b=LINESTRING(40 40, 60 120)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 120 120);b=LINESTRING(60 240, 120 120)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 120 120);b=LINESTRING(60 240, 40 40)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 180 180);b=LINESTRING(120 120, 20 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 180 180);b=LINESTRING(120 120, 260 260)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 180 180);b=LINESTRING(20 180, 140 140)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 180 180);b=LINESTRING(260 260, 120 120)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 40, 50 130, 130 130);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 80, 160 200, 260 20, 40 80);b=LINESTRING(100 140, 160 200, 260 20, 40 80, 100 140)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 80, 160 200, 260 20, 40 80);b=LINESTRING(260 20, 40 80, 160 200, 260 20)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 80, 160 200, 260 20, 40 80);b=LINESTRING(40 80, 160 200, 260 20, 40 80)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(40 80, 160 200, 260 20, 40 80);b=LINESTRING(40 80, 260 20, 160 200, 40 80)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(50 100, 140 190, 280 190);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210);b=LINESTRING(110 160, 250 160, 310 160)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210);b=LINESTRING(110 160, 310 160, 340 190)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210);b=LINESTRING(140 160, 250 160, 310 160, 340 190)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210);b=LINESTRING(60 110, 110 160, 250 160)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 110, 110 160, 310 160, 360 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 110, 150 110, 200 160, 250 110, 360 110, 360 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 110, 200 110, 250 160, 300 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 110, 200 110, 250 160, 300 210, 360 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 110, 220 110, 250 160, 280 110);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 110, 60 250, 360 210);b=LINESTRING(360 210, 310 160, 110 160, 60 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 110, 60 250, 360 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 140, 160 40, 160 140);b=LINESTRING(100 100, 180 20, 20 20, 100 100)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 160, 110 110, 150 70);b=POLYGON(\\n (190 190, 110 110, 20 20, 360 20, 190 190), \\n (250 100, 110 110, 140 30, 250 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 160, 110 110, 150 70);b=POLYGON(\\n (190 190, 20 20, 360 20, 190 190), \\n (250 100, 110 110, 140 30, 250 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 160, 110 110, 150 70);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (110 110, 250 100, 140 30, 110 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 160, 150 70);b=POLYGON(\\n (190 190, 20 20, 360 20, 190 190), \\n (250 100, 110 110, 140 30, 250 100))0]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 160, 150 70);b=POLYGON(\\n (190 190, 20 20, 360 20, 190 190), \\n (250 100, 110 110, 140 30, 250 100))1]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 160, 150 70);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (110 110, 250 100, 140 30, 110 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 60, 100 100, 140 60);b=LINESTRING(100 100, 180 20, 20 20, 100 100)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 60, 60 230, 140 230, 250 160);b=LINESTRING(20 20, 110 110, 200 110, 320 230)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 60, 60 230, 140 230, 250 160);b=LINESTRING(20 20, 60 60, 250 160, 310 230)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 60, 60 230, 140 230, 250 160);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 60, 60 230, 140 230, 250 160);b=LINESTRING(60 150, 110 100, 170 100, 110 230)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 60, 60 230, 140 230, 250 160);b=LINESTRING(60 230, 80 140, 120 140, 140 230)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(60 90, 310 180);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(70 50, 70 150);b=MULTIPOLYGON(\\n (\\n (0 0, 0 100, 140 100, 140 0, 0 0)), \\n (\\n (20 170, 70 100, 130 170, 20 170)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(70 70, 80 20);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(70 70, 80 20, 140 20, 150 60);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(80 110, 130 110, 170 110);b=POLYGON(\\n (20 200, 20 20, 240 20, 240 200, 20 200), \\n (130 110, 60 40, 60 180, 130 110), \\n (130 180, 130 40, 200 110, 130 180))0]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(80 110, 130 110, 170 110);b=POLYGON(\\n (20 200, 20 20, 240 20, 240 200, 20 200), \\n (130 110, 60 40, 60 180, 130 110), \\n (130 180, 130 40, 200 110, 130 180))1]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(80 110, 130 110, 180 110);b=POLYGON(\\n (20 200, 20 20, 240 20, 240 200, 20 200), \\n (60 180, 130 110, 60 40, 60 180), \\n (130 110, 200 40, 200 180, 130 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(80 110, 130 110, 180 110);b=POLYGON(\\n (20 200, 240 200, 240 20, 20 20, 20 200), \\n (130 110, 60 180, 60 40, 130 110), \\n (130 110, 200 40, 200 180, 130 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(80 110, 170 110);b=POLYGON(\\n (20 200, 20 20, 240 20, 240 200, 20 200), \\n (130 110, 60 40, 60 180, 130 110), \\n (130 180, 130 40, 200 110, 130 180))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(80 110, 180 110);b=POLYGON(\\n (20 200, 20 20, 240 20, 240 200, 20 200), \\n (60 180, 130 110, 60 40, 60 180), \\n (130 110, 200 40, 200 180, 130 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(80 110, 180 110);b=POLYGON(\\n (20 200, 240 200, 240 20, 20 20, 20 200), \\n (130 110, 60 180, 60 40, 130 110), \\n (130 110, 200 40, 200 180, 130 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(80 240, 200 120, 100 100, 40 40);b=LINESTRING(20 200, 40 160, 20 100, 40 40)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(80 60, 120 40, 120 70, 80 60);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110), \\n (110 90, 50 30, 170 30, 110 90))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(80 80, 150 80, 210 80);b=MULTILINESTRING(\\n (20 20, 140 140), \\n (20 140, 140 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(90 200, 90 130, 110 110, 150 200);b=LINESTRING(200 200, 20 20, 200 20, 20 200, 20 130, 90 130)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(90 210, 150 150, 210 90);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=LINESTRING(90 210, 210 90);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (110 100, 40 30, 180 30), \\n (170 30, 110 90, 50 30));b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (110 110, 60 40, 70 20, 150 20, 170 40), \\n (180 30, 40 30, 110 80));b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 110, 200 110), \\n (110 110, 20 170, 20 130, 200 90));b=MULTIPOLYGON(\\n (\\n (110 110, 20 20, 200 20, 110 110)), \\n (\\n (110 110, 20 200, 200 200, 110 110)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 110, 200 110), \\n (110 50, 110 170, 110 70, 110 150, 200 150));b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 110, 200 110), \\n (110 60, 110 160, 200 160));b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))0]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 110, 200 110), \\n (110 60, 110 160, 200 160));b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))1]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 110, 200 110), \\n (200 200, 110 110, 20 200, 110 200, 110 110));b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 110, 200 110), \\n (200 200, 110 110, 20 210, 110 110));b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 110, 200 110), \\n (50 110, 170 110, 110 170, 110 50, 110 170, 110 50));b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 110, 200 110), \\n (60 180, 60 110, 160 110, 110 110));b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 110, 200 110, 200 160), \\n (110 110, 200 110, 200 70, 20 150));b=MULTIPOLYGON(\\n (\\n (110 110, 20 20, 200 20, 110 110)), \\n (\\n (110 110, 20 200, 200 200, 110 110)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 160, 70 110, 150 110, 200 160), \\n (110 110, 20 110, 50 80, 70 110, 200 110));b=MULTIPOLYGON(\\n (\\n (110 110, 20 20, 200 20, 110 110)), \\n (\\n (110 110, 20 200, 200 200, 110 110)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140));b=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140));b=MULTILINESTRING(\\n (90 140, 90 60, 90 20), \\n (170 20, 130 20, 20 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140));b=MULTILINESTRING(\\n (90 20, 170 100, 170 140), \\n (130 140, 130 60, 90 20, 20 90, 90 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140));b=MULTILINESTRING(\\n (90 20, 170 100, 170 140), \\n (130 140, 130 60, 90 20, 20 90, 90 20, 130 60, 170 60))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140));b=MULTILINESTRING(\\n (90 20, 170 100, 170 140), \\n (170 60, 90 20, 20 60))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140));b=MULTILINESTRING(\\n (90 20, 170 100, 170 140), \\n (170 60, 90 20, 20 60), \\n (120 100, 170 100, 90 20))0]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140));b=MULTILINESTRING(\\n (90 20, 170 100, 170 140), \\n (170 60, 90 20, 20 60), \\n (120 100, 170 100, 90 20))1]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140));b=MULTILINESTRING(\\n (90 20, 170 100, 170 140), \\n (170 60, 90 20, 20 60), \\n (130 100, 130 60, 90 20, 50 90))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140));b=MULTILINESTRING(\\n (90 20, 170 100, 170 140), \\n (170 60, 90 20, 20 60), \\n (130 100, 90 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140));b=MULTILINESTRING(\\n (90 20, 170 100, 170 140), \\n (170 60, 90 20, 20 60, 20 140, 90 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 20, 90 90, 20 160), \\n (90 160, 90 20));b=MULTILINESTRING(\\n (160 160, 90 90, 160 20), \\n (160 120, 120 120, 90 90, 120 60, 160 60))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 20, 90 90, 20 160), \\n (90 160, 90 20));b=MULTILINESTRING(\\n (160 160, 90 90, 160 20), \\n (160 120, 120 120, 90 90, 160 60))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (20 20, 90 90, 20 160), \\n (90 160, 90 20));b=MULTILINESTRING(\\n (160 160, 90 90, 160 20), \\n (160 120, 90 90, 160 60))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTILINESTRING(\\n (70 20, 20 90, 70 170), \\n (70 170, 120 90, 70 20));b=MULTILINESTRING(\\n (70 20, 20 90, 70 170), \\n (70 170, 120 90, 70 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((10 80), (110 170), (110 120));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((10 80), (110 170), (160 120));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((110 170), (110 80));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((110 80), (110 120), (110 160));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((110 80), (160 120), (200 160));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((120 190), (160 150), (200 110));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((130 120), (210 150), (340 200));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((160 150), (190 120), (220 90));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((160 150), (240 150), (340 210));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((160 150), (240 150), (340 240));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((160 150), (300 150), (340 150));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((180 180), (230 130), (280 80));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((190 110), (150 70), (230 70));b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((20 120), (60 120), (110 120), (160 120), (200 120));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((20 150), (60 120), (110 80));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((20 20), (140 120), (80 70), (200 170));b=MULTIPOINT((80 70), (20 20), (200 170), (140 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((20 20), (80 70), (140 120), (200 170));b=MULTIPOINT((20 20), (80 70), (140 120), (200 170))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((20 20), (80 70), (140 120), (200 170));b=MULTIPOINT((80 70), (140 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((20 80), (110 160), (20 160));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((20 80), (60 120), (20 160));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((200 190), (240 150), (270 110));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((230 150), (260 120), (290 90));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((300 280), (340 240), (380 200));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((40 170), (40 90), (130 170));b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((40 40), (60 100), (100 60), (120 120));b=MULTIPOINT((20 120), (60 60), (100 100), (140 40))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((40 40), (80 60), (120 100));b=MULTIPOINT((40 40), (120 100), (80 60))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((40 40), (80 60), (120 100));b=MULTIPOINT((40 40), (80 60), (120 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((50 120), (90 80), (130 40));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((50 250), (90 220), (130 190));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((60 120), (110 120), (160 120));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((60 120), (160 120), (110 80));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((60 120), (160 120), (110 80), (110 170));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((60 120), (160 120), (160 40), (60 40));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((80 70), (20 20), (200 170), (140 120));b=MULTIPOINT((80 170), (140 120), (200 80))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((80 70), (20 20), (200 170), (140 120));b=MULTIPOINT((80 170), (140 120), (200 80), (80 70))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((80 70), (20 200), (200 170), (140 120));b=MULTIPOINT((140 120), (80 70))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((90 170), (280 170), (190 90));b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((90 80), (130 120), (210 150));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((90 80), (130 80));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((90 80), (160 150), (240 150));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((90 80), (160 150), (300 150));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOINT((90 80), (160 150), (340 240));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOLYGON(\\n (\\n (110 110, 20 200, 200 200, 110 110), \\n (110 110, 100 180, 120 180, 110 110)), \\n (\\n (110 110, 200 20, 20 20, 110 110), \\n (110 110, 120 40, 100 40, 110 110)));b=MULTIPOLYGON(\\n (\\n (110 110, 160 160, 210 110, 160 60, 110 110), \\n (110 110, 160 130, 160 90, 110 110)), \\n (\\n (110 110, 60 60, 10 110, 60 160, 110 110), \\n (110 110, 60 90, 60 130, 110 110)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOLYGON(\\n (\\n (110 110, 70 200, 150 200, 110 110)), \\n (\\n (110 110, 150 20, 70 20, 110 110)));b=MULTIPOLYGON(\\n (\\n (110 110, 160 160, 210 110, 160 60, 110 110)), \\n (\\n (110 110, 60 60, 10 110, 60 160, 110 110)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOLYGON(\\n (\\n (110 110, 70 200, 150 200, 110 110), \\n (110 110, 100 180, 120 180, 110 110)), \\n (\\n (110 110, 150 20, 70 20, 110 110), \\n (110 110, 120 40, 100 40, 110 110)));b=MULTIPOLYGON(\\n (\\n (110 110, 160 160, 210 110, 160 60, 110 110), \\n (110 110, 160 130, 160 90, 110 110)), \\n (\\n (110 110, 60 60, 10 110, 60 160, 110 110), \\n (110 110, 60 90, 60 130, 110 110)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOLYGON(\\n (\\n (110 110, 70 200, 200 200, 110 110), \\n (110 110, 100 180, 120 180, 110 110)), \\n (\\n (110 110, 200 20, 70 20, 110 110), \\n (110 110, 120 40, 100 40, 110 110)));b=MULTIPOLYGON(\\n (\\n (110 110, 160 160, 210 110, 160 60, 110 110), \\n (110 110, 160 130, 160 90, 110 110)), \\n (\\n (110 110, 60 60, 10 110, 60 160, 110 110), \\n (110 110, 60 90, 60 130, 110 110)))0]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOLYGON(\\n (\\n (110 110, 70 200, 200 200, 110 110), \\n (110 110, 100 180, 120 180, 110 110)), \\n (\\n (110 110, 200 20, 70 20, 110 110), \\n (110 110, 120 40, 100 40, 110 110)));b=MULTIPOLYGON(\\n (\\n (110 110, 160 160, 210 110, 160 60, 110 110), \\n (110 110, 160 130, 160 90, 110 110)), \\n (\\n (110 110, 60 60, 10 110, 60 160, 110 110), \\n (110 110, 60 90, 60 130, 110 110)))1]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=MULTIPOLYGON(\\n (\\n (110 110, 70 200, 200 200, 110 110), \\n (110 110, 100 180, 120 180, 110 110)), \\n (\\n (110 110, 200 20, 70 20, 110 110), \\n (110 110, 120 40, 100 40, 110 110)));b=MULTIPOLYGON(\\n (\\n (110 110, 70 200, 210 110, 70 20, 110 110), \\n (110 110, 110 140, 150 110, 110 80, 110 110)), \\n (\\n (110 110, 60 60, 10 110, 60 160, 110 110), \\n (110 110, 60 90, 60 130, 110 110)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(100 100);b=MULTIPOLYGON(\\n (\\n (20 100, 20 20, 100 20, 100 100, 20 100)), \\n (\\n (100 180, 100 100, 180 100, 180 180, 100 180)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(100 20);b=LINESTRING(150 150, 20 20, 280 20, 150 150)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(100 50);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(100 70);b=POLYGON(\\n (20 150, 100 150, 40 50, 170 50, 110 150, 190 150, 190 20, 20 20, 20 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(100 70);b=POLYGON(\\n (20 150, 90 150, 40 50, 160 50, 110 150, 180 150, 180 20, 20 20, 20 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(100 80);b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 110, 110 200, 20 200, 110 110, 20 20, 200 20, 110 110, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 110, 110 200, 20 200, 110 110, 200 20, 140 20, 140 80, 110 110, 80 140, \\n 20 140)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 110, 110 200, 20 200, 110 110, 200 20, 20 20, 110 110, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 110, 110 200, 20 200, 200 20, 140 20, 140 80, 110 110, 80 140, 20 140)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 110, 110 200, 20 200, 200 20, 140 20, 140 80, 80 140, 20 140)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 110, 110 200, 20 200, 200 20, 20 20, 110 110, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 110, 110 200, 20 200, 200 20, 20 20, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 110, 110 200, 20 200, 200 20, 200 110, 110 110, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 110, 20 130, 20 200, 110 110, 200 20, 20 20, 110 110, 200 200, 200 130, \\n 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 110, 20 130, 20 200, 200 20, 20 20, 200 200, 200 130, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 110, 200 200, 110 200, 110 110, 110 20, 20 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 110, 200 200, 110 200, 110 110, 110 20, 200 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 110, 200 200, 110 200, 110 20, 20 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 110, 220 20, 20 20, 110 110, 220 220)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 110, 220 20, 20 20, 220 220)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 110, 80 200, 20 200, 110 110, 200 20, 20 20, 110 110, 200 200, 140 200, \\n 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 110, 80 200, 20 200, 200 20, 20 20, 200 200, 140 200, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 160, 200 250, 110 250, 110 160, 110 110, 110 20, 20 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 160, 200 250, 110 250, 110 160, 110 20, 20 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 200, 110 110, 20 20, 200 20, 110 110, 110 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(110 200, 110 110, 20 20, 200 20, 110 110, 110 200, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(20 200, 110 110, 20 20, 200 20, 110 110, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(20 200, 110 110, 200 20, 140 20, 140 80, 110 110, 80 140, 20 140)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(20 200, 110 110, 200 20, 20 20, 110 110, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(20 200, 110 200, 110 110, 20 20, 200 20, 110 110, 110 200, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(20 200, 200 20, 140 20, 140 80, 110 110, 80 140, 20 140)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(20 200, 200 20, 140 20, 140 80, 80 140, 20 140)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(20 200, 200 20, 20 20, 110 110, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(20 200, 200 20, 20 20, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(200 200, 110 110, 20 20, 200 20, 110 110, 20 200, 110 200, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(200 200, 110 110, 20 20, 200 20, 110 110, 20 200, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(200 200, 110 110, 200 20, 20 20, 110 110, 20 200, 110 200, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(200 200, 110 110, 200 20, 20 20, 110 110, 20 200, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(200 200, 20 20, 20 110, 110 110, 20 200, 110 200, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(200 200, 20 20, 200 20, 110 110, 20 200, 110 200, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(200 200, 20 20, 200 20, 20 200, 110 200, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(200 200, 20 20, 200 20, 20 200, 20 130, 90 130)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(200 200, 20 20, 200 20, 20 200, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(200 200, 20 20, 200 20, 90 130, 20 200, 20 130, 90 130)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(90 130, 20 130, 20 200, 200 20, 20 20, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(90 130, 20 130, 20 200, 90 130, 200 20, 20 20, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=LINESTRING(90 130, 90 200, 20 200, 200 20, 20 20, 200 200, 90 130)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 110);b=MULTIPOLYGON(\\n (\\n (110 110, 20 200, 200 200, 110 110), \\n (110 110, 80 180, 140 180, 110 110)), \\n (\\n (110 110, 20 20, 200 20, 110 110), \\n (110 110, 80 40, 140 40, 110 110)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 120);b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 130);b=POLYGON(\\n (20 160, 80 160, 110 100, 140 160, 200 160, 200 20, 20 20, 20 160))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 150);b=LINESTRING(110 200, 110 110, 20 20, 200 20, 110 110, 110 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 150);b=LINESTRING(110 200, 110 110, 20 20, 200 20, 110 110, 110 200, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 150);b=LINESTRING(20 200, 110 200, 110 110, 20 20, 200 20, 110 110, 110 200, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 160);b=LINESTRING(110 160, 200 250, 110 250, 110 110, 110 20, 20 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 160);b=LINESTRING(110 160, 200 250, 110 250, 110 160, 110 110, 110 20, 20 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 20);b=LINESTRING(110 110, 220 20, 20 20, 220 220)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 20);b=LINESTRING(220 220, 20 20, 220 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 200);b=LINESTRING(110 110, 200 200, 110 200, 110 110, 110 20, 20 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 200);b=LINESTRING(110 110, 200 200, 110 200, 110 110, 110 20, 200 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 200);b=LINESTRING(110 200, 110 110, 20 20, 200 20, 110 110, 110 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 200);b=LINESTRING(110 200, 110 110, 20 20, 200 20, 110 110, 110 200, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 200);b=LINESTRING(110 200, 110 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 200);b=LINESTRING(20 200, 110 200, 110 110, 20 20, 200 20, 110 110, 110 200, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(110 200);b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(130 130);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(140 120);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(140 200);b=LINESTRING(110 110, 200 200, 110 200, 110 110, 110 20, 20 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(140 200);b=LINESTRING(110 110, 200 200, 110 200, 110 110, 110 20, 200 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(150 100);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(150 150);b=LINESTRING(150 150, 20 20, 280 20, 150 150)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(150 80);b=LINESTRING(150 150, 20 20, 280 20, 150 150)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(160 120);b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(160 150);b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(180 90);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (180 140, 180 40, 80 40, 180 140), \\n (180 90, 210 140, 310 40, 230 40, 180 90))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(190 190);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(190 50);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (90 50, 150 110, 190 50, 90 50), \\n (190 50, 230 110, 290 50, 190 50))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(190 90);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(20 100);b=MULTIPOLYGON(\\n (\\n (20 100, 20 20, 100 20, 100 100, 20 100)), \\n (\\n (100 180, 100 100, 180 100, 180 180, 100 180)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(20 110);b=LINESTRING(20 200, 20 20, 110 20, 20 110, 110 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(20 20);b=LINESTRING(150 150, 20 20, 280 20, 150 150)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(20 20);b=LINESTRING(220 220, 20 20, 220 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(20 20);b=MULTIPOINT((20 20), (80 80), (20 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(20 20);b=POINT(20 20)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(20 20);b=POINT(40 60)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(20 20);b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(20 200);b=LINESTRING(20 200, 200 20, 20 20, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(220 20);b=LINESTRING(110 110, 220 20, 20 20, 220 220)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(220 220);b=LINESTRING(110 110, 220 20, 20 20, 110 110, 220 220)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(230 150);b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(280 50);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(340 240);b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(360 20);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(40 40);b=MULTIPOINT((20 20), (80 80), (20 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(60 100);b=MULTIPOLYGON(\\n (\\n (20 100, 20 20, 100 20, 100 100, 20 100)), \\n (\\n (100 180, 100 100, 180 100, 180 180, 100 180)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(60 120);b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(60 160);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(70 170);b=POLYGON(\\n (110 230, 80 160, 20 160, 20 20, 200 20, 200 160, 140 160, 110 230))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(80 140);b=LINESTRING(20 200, 110 110, 200 20, 140 20, 140 80, 110 110, 80 140, 20 140)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(90 130);b=LINESTRING(200 200, 20 20, 200 20, 20 200, 20 130, 90 130)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(90 130);b=LINESTRING(200 200, 20 20, 200 20, 90 130, 20 200, 20 130, 90 130)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(90 130);b=LINESTRING(90 130, 20 130, 20 200, 110 110, 200 20, 20 20, 110 110, 200 200, 90 130)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(90 130);b=LINESTRING(90 130, 20 130, 20 200, 200 20, 20 20, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(90 130);b=LINESTRING(90 130, 20 130, 20 200, 90 130, 110 110, 200 20, 20 20, 110 110, 200 200, \\n 90 130)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(90 130);b=LINESTRING(90 130, 20 130, 20 200, 90 130, 200 20, 20 20, 200 200)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(90 130);b=LINESTRING(90 130, 90 200, 20 200, 110 110, 200 20, 20 20, 110 110, 200 200, 90 130)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(90 130);b=LINESTRING(90 130, 90 200, 20 200, 200 20, 20 20, 200 200, 90 130)0]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(90 130);b=LINESTRING(90 130, 90 200, 20 200, 200 20, 20 20, 200 200, 90 130)1]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(90 130);b=LINESTRING(90 130, 90 200, 20 200, 90 130, 110 110, 200 20, 20 20, 110 110, 200 200, \\n 90 130)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(90 150);b=LINESTRING(150 150, 20 20, 280 20, 150 150)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POINT(90 80);b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (0 0, 0 200, 110 200, 110 0, 0 0));b=POLYGON(\\n (100 100, 1000000 110, 10000000 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (0 0, 0 200, 200 200, 200 0, 0 0));b=POLYGON(\\n (100 100, 1000000 110, 10000000 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (0 0, 80 0, 80 80, 0 80, 0 0));b=POLYGON(\\n (100 200, 100 140, 180 140, 180 200, 100 200))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (100 0, 100 200, 200 200, 200 0, 100 0));b=POLYGON(\\n (100 100, 1000000 110, 10000000 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (100 100, 100 200, 200 200, 200 100, 100 100));b=POLYGON(\\n (100 100, 1000000 110, 1000000 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (100 100, 100 200, 200 200, 200 100, 100 100));b=POLYGON(\\n (100 100, 2100 110, 2100 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (100 100, 100 200, 200 200, 200 100, 100 100));b=POLYGON(\\n (100 100, 2101 110, 2101 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (100 100, 200 101, 200 100, 100 100));b=POLYGON(\\n (100 100, 2101 110, 2101 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (100 100, 200 200, 200 100, 100 100));b=POLYGON(\\n (100 100, 2101 110, 2101 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (100 60, 140 100, 100 140, 60 100, 100 60));b=MULTIPOLYGON(\\n (\\n (80 40, 120 40, 120 80, 80 80, 80 40)), \\n (\\n (120 80, 160 80, 160 120, 120 120, 120 80)), \\n (\\n (80 120, 120 120, 120 160, 80 160, 80 120)), \\n (\\n (40 80, 80 80, 80 120, 40 120, 40 80)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (101 99, 101 1000000, 102 1000000, 101 99));b=POLYGON(\\n (100 100, 1000000 110, 1000000 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (120 0, 120 200, 200 200, 200 0, 120 0));b=POLYGON(\\n (100 100, 1000000 110, 10000000 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (120 100, 120 200, 200 200, 200 100, 120 100));b=POLYGON(\\n (100 100, 1000000 110, 1000000 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (120 100, 120 200, 200 200, 200 100, 120 100));b=POLYGON(\\n (100 100, 500 110, 500 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (120 100, 120 200, 200 200, 200 100, 120 100));b=POLYGON(\\n (100 100, 501 110, 501 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (120 100, 130 200, 200 200, 200 100, 120 100));b=POLYGON(\\n (100 100, 501 110, 501 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (120 100, 17 200, 200 200, 200 100, 120 100));b=POLYGON(\\n (100 100, 501 110, 501 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (120 120, 180 60, 20 20, 20 120, 120 120));b=POLYGON(\\n (120 120, 220 20, 280 20, 240 160, 120 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (120 120, 180 60, 20 20, 20 120, 120 120));b=POLYGON(\\n (280 60, 180 60, 120 120, 260 180, 280 60))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (120 120, 180 60, 20 20, 20 120, 120 120));b=POLYGON(\\n (300 20, 220 20, 120 120, 260 160, 300 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (120 120, 180 60, 20 20, 20 120, 120 120));b=POLYGON(\\n (320 20, 220 20, 80 160, 240 140, 320 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (140 120, 160 20, 20 20, 20 120, 140 120));b=POLYGON(\\n (120 200, 120 120, 40 120, 40 200, 120 200))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (140 120, 160 20, 20 20, 20 120, 140 120));b=POLYGON(\\n (140 120, 140 200, 240 200, 240 120, 140 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (140 120, 160 20, 20 20, 20 120, 140 120));b=POLYGON(\\n (140 120, 160 20, 260 120, 220 200, 140 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (140 120, 160 20, 20 20, 20 120, 140 120));b=POLYGON(\\n (140 120, 20 120, 20 220, 140 220, 140 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (140 120, 160 20, 20 20, 20 120, 140 120));b=POLYGON(\\n (140 120, 240 160, 280 60, 160 20, 140 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (140 120, 160 20, 20 20, 20 120, 140 120));b=POLYGON(\\n (140 140, 20 120, 0 220, 120 240, 140 140))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (140 120, 160 20, 20 20, 20 120, 140 120));b=POLYGON(\\n (160 220, 140 120, 60 120, 40 220, 160 220))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (140 120, 160 20, 20 20, 20 120, 140 120));b=POLYGON(\\n (240 80, 140 120, 180 240, 280 200, 240 80))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (140 120, 160 20, 20 20, 20 120, 140 120));b=POLYGON(\\n (80 180, 140 260, 260 200, 200 60, 80 180))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (140 160, 20 20, 270 20, 150 160, 230 40, 60 40, 140 160));b=POLYGON(\\n (120 100, 180 80, 130 40, 120 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (140 160, 20 20, 270 20, 150 160, 230 40, 60 40, 140 160));b=POLYGON(\\n (140 40, 180 80, 120 100, 140 40))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (140 190, 220 190, 100 70, 20 70, 140 190));b=MULTIPOLYGON(\\n (\\n (140 110, 260 110, 170 20, 50 20, 140 110)), \\n (\\n (300 270, 420 270, 340 190, 220 190, 300 270)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (140 220, 60 140, 140 60, 220 140, 140 220));b=MULTIPOLYGON(\\n (\\n (100 20, 180 20, 180 100, 100 100, 100 20)), \\n (\\n (20 100, 100 100, 100 180, 20 180, 20 100)), \\n (\\n (100 180, 180 180, 180 260, 100 260, 100 180)), \\n (\\n (180 100, 260 100, 260 180, 180 180, 180 100)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (150 150, 270 150, 330 150, 250 70, 190 70, 70 70, 150 150));b=POLYGON(\\n (150 150, 270 150, 190 70, 140 20, 20 20, 70 70, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (150 150, 330 150, 250 70, 70 70, 150 150));b=POLYGON(\\n (150 150, 270 150, 140 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (16 319, 150 39, 25 302, 160 20, 265 20, 127 317, 16 319));b=POLYGON(\\n (10 307, 22 307, 153 34, 22 34, 10 307))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (160 200, 210 70, 120 70, 160 200));b=POLYGON(\\n (160 200, 310 20, 20 20, 160 200), \\n (160 200, 260 40, 70 40, 160 200))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (170 120, 240 100, 260 50, 190 70, 170 120));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (170 120, 260 100, 240 60, 150 80, 170 120));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (170 120, 300 120, 250 70, 120 70, 170 120));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (170 120, 330 120, 260 50, 100 50, 170 120));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (170 120, 330 120, 280 70, 120 70, 170 120));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (190 100, 310 100, 260 50, 140 50, 190 100));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 120, 20 20, 260 20, 260 120, 180 40, 140 120, 100 40, 20 120));b=POLYGON(\\n (20 120, 300 120, 140 240, 20 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 120, 20 20, 260 20, 260 120, 200 40, 140 120, 80 40, 20 120));b=POLYGON(\\n (20 120, 20 240, 260 240, 260 120, 200 200, 140 120, 80 200, 20 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 140, 120 40, 20 40, 20 140));b=POLYGON(\\n (190 140, 190 20, 140 20, 20 140, 190 140))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 180 20, 140 140, 20 140, 20 20));b=POLYGON(\\n (180 100, 80 200, 180 280, 260 200, 180 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 100, 120 100, 140 20, 20 20));b=POLYGON(\\n (120 100, 140 20, 20 20, 20 100, 120 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 100, 120 100, 140 20, 20 20));b=POLYGON(\\n (20 100, 60 100, 120 100, 140 20, 80 20, 20 20, 20 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 100, 120 100, 140 20, 20 20));b=POLYGON(\\n (20 20, 140 20, 120 100, 20 100, 20 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 100, 120 100, 140 20, 20 20));b=POLYGON(\\n (20 20, 20 100, 120 100, 140 20, 20 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (120 40, 20 20, 20 140, 120 120, 120 40))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (140 60, 20 20, 20 180, 140 140, 140 60))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (160 40, 20 100, 160 160, 160 40))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (160 60, 20 20, 100 140, 160 60))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (180 120, 100 40, 20 180, 180 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 100, 140 160, 160 40, 20 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 180, 180 120, 80 40, 20 180))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 180, 60 80, 180 80, 220 180, 120 120, 20 180))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 20, 120 40, 120 120, 20 140, 20 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 20, 140 40, 140 120, 20 160, 80 80, 20 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 20, 140 40, 140 140, 20 180, 80 100, 20 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 20, 140 60, 140 140, 20 180, 20 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 20, 20 140, 120 120, 120 40, 20 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 20, 20 180, 140 140, 140 60, 20 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 20, 20 180, 60 120, 100 180, 140 120, 220 180, 200 120, 140 60, 20 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 20, 60 120, 140 120, 180 20, 20 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 20, 80 140, 160 60, 20 20))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 40, 120 40, 120 120, 20 140, 20 40))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (40 180, 60 100, 180 100, 200 180, 120 120, 40 180))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (40 60, 20 180, 100 100, 140 180, 160 120, 220 100, 140 40, 40 60))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (60 100, 180 100, 220 180, 120 140, 20 180, 60 100))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (60 40, 60 140, 180 140, 180 40, 60 40))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 300, 280 300, 280 260, 220 260, 60 100, 60 60, 280 60, 280 20, \\n 20 20));b=POLYGON(\\n (100 140, 160 80, 280 180, 200 240, 220 160, 160 200, 180 120, 100 140))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 20 300, 280 300, 280 260, 220 260, 60 100, 60 60, 280 60, 280 20, \\n 20 20));b=POLYGON(\\n (260 200, 180 80, 120 160, 200 160, 180 220, 260 200))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 280 20, 280 140, 220 60, 140 140, 80 60, 20 140, 20 20));b=POLYGON(\\n (0 140, 300 140, 140 240, 0 140))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 280 20, 280 140, 220 60, 140 140, 80 60, 20 140, 20 20));b=POLYGON(\\n (20 240, 20 140, 320 140, 180 240, 20 240))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 280 20, 280 140, 220 60, 140 140, 80 60, 20 140, 20 20));b=POLYGON(\\n (20 240, 20 140, 80 180, 140 140, 220 180, 280 140, 280 240, 20 240))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (20 20, 60 50, 20 40, 60 70, 20 60, 60 90, 20 90, 70 110, 20 130, \\n 80 130, 20 150, 80 160, 20 170, 80 180, 20 200, 80 200, 30 240, 80 220, 50 260, \\n 100 220, 100 260, 120 220, 130 260, 140 220, 150 280, 150 190, 160 280, 170 190, 180 280, \\n 190 190, 200 280, 210 190, 220 280, 230 190, 240 260, 250 230, 260 260, 260 220, 290 270, \\n 290 220, 330 260, 300 210, 340 240, 290 180, 340 210, 290 170, 350 170, 240 150, 350 150, \\n 240 140, 350 130, 240 120, 350 120, 240 110, 350 110, 240 100, 350 100, 240 90, 350 90, \\n 240 80, 350 80, 300 70, 340 60, 290 60, 340 40, 300 50, 340 20, 270 60, 310 20, \\n 250 60, 270 20, 230 60, 240 20, 210 60, 210 20, 190 70, 190 20, 180 90, 170 20, \\n 160 90, 150 20, 140 90, 130 20, 120 90, 110 20, 100 90, 100 20, 90 60, 80 20, \\n 70 40, 20 20));b=POLYGON(\\n (190 140, 140 130, 200 160, 130 150, 210 170, 130 170, 210 180, 120 190, 220 200, \\n 120 200, 250 210, 120 210, 250 220, 120 220, 250 230, 120 240, 230 240, 120 250, 240 260, \\n 120 260, 240 270, 120 270, 270 290, 120 290, 230 300, 150 310, 250 310, 180 320, 250 320, \\n 200 360, 260 330, 240 360, 280 320, 290 370, 290 320, 320 360, 310 320, 360 360, 310 310, \\n 380 340, 310 290, 390 330, 310 280, 410 310, 310 270, 420 280, 310 260, 430 250, 300 250, \\n 440 240, 300 240, 450 230, 280 220, 440 220, 280 210, 440 210, 300 200, 430 190, 300 190, \\n 440 180, 330 180, 430 150, 320 180, 420 130, 300 180, 410 120, 280 180, 400 110, 280 170, \\n 390 90, 280 160, 400 70, 270 160, 450 30, 260 160, 420 30, 250 160, 390 30, 240 160, \\n 370 30, 230 160, 360 30, 230 150, 330 50, 240 130, 330 30, 230 130, 310 30, 220 130, \\n 280 30, 230 100, 270 40, 220 110, 250 30, 210 130, 240 30, 210 100, 220 40, 200 90, \\n 200 20, 190 100, 180 30, 20 20, 180 40, 20 30, 180 50, 20 50, 180 60, 30 60, \\n 180 70, 20 70, 170 80, 80 80, 170 90, 20 80, 180 100, 40 100, 200 110, 60 110, \\n 200 120, 120 120, 190 140))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (220 120, 270 80, 200 60, 160 100, 220 120));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (220 190, 340 190, 260 110, 140 110, 220 190));b=MULTIPOLYGON(\\n (\\n (140 110, 260 110, 170 20, 50 20, 140 110)), \\n (\\n (300 270, 420 270, 340 190, 220 190, 300 270)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (220 80, 180 40, 80 40, 170 130, 270 130, 230 90, 300 90, 250 30, 280 30, \\n 390 140, 150 140, 40 30, 230 30, 280 80, 220 80));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 250 120, 180 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (230 110, 290 80, 190 60, 140 90, 230 110));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (230 210, 230 20, 20 20, 20 210, 230 210), \\n (120 180, 50 50, 200 50, 120 180));b=POLYGON(\\n (230 210, 230 20, 20 20, 20 210, 230 210), \\n (120 180, 50 50, 200 50, 120 180))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (230 210, 230 20, 20 20, 20 210, 230 210), \\n (140 40, 40 40, 40 170, 140 40), \\n (110 190, 210 190, 210 50, 110 190));b=POLYGON(\\n (230 210, 230 20, 20 20, 20 210, 230 210), \\n (140 40, 40 40, 40 170, 140 40), \\n (110 190, 210 190, 210 50, 110 190))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (240 110, 340 110, 290 60, 190 60, 240 110));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 250 120, 180 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (250 120, 350 120, 280 50, 180 50, 250 120));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 250 120, 180 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (260 130, 360 130, 280 40, 170 40, 260 130));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 250 120, 180 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (260 50, 180 70, 180 110, 260 90, 260 50));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (270 90, 200 50, 150 80, 210 120, 270 90));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (280 130, 360 130, 270 40, 190 40, 280 130));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 250 120, 180 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (280 190, 330 150, 200 110, 150 150, 280 190));b=MULTIPOLYGON(\\n (\\n (140 110, 260 110, 170 20, 50 20, 140 110)), \\n (\\n (300 270, 420 270, 340 190, 220 190, 300 270)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (290 190, 340 150, 220 120, 170 170, 290 190));b=MULTIPOLYGON(\\n (\\n (140 110, 260 110, 170 20, 50 20, 140 110)), \\n (\\n (300 270, 420 270, 340 190, 220 190, 300 270)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (330 150, 200 110, 150 150, 280 190, 330 150));b=MULTIPOLYGON(\\n (\\n (140 110, 260 110, 170 20, 50 20, 140 110)), \\n (\\n (300 270, 420 270, 340 190, 220 190, 300 270)))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (60 160, 220 160, 220 20, 60 20, 60 160));b=POLYGON(\\n (20 200, 140 80, 260 200, 20 200))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (60 160, 220 160, 220 20, 60 20, 60 160));b=POLYGON(\\n (20 200, 60 160, 140 80, 220 160, 260 200, 20 200))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (60 160, 220 160, 220 20, 60 20, 60 160));b=POLYGON(\\n (20 200, 60 160, 140 80, 260 200, 20 200))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (60 160, 220 160, 220 20, 60 20, 60 160));b=POLYGON(\\n (60 160, 20 200, 260 200, 140 80, 60 160))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (60 160, 220 160, 220 20, 60 20, 60 160));b=POLYGON(\\n (60 160, 20 200, 260 200, 220 160, 140 80, 60 160))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (70 150, 20 160, 110 160, 20 180, 100 200, 20 200, 190 210, 20 210, 160 220, \\n 20 220, 150 230, 60 240, 180 250, 20 260, 170 260, 60 270, 160 270, 100 310, 170 280, \\n 200 260, 180 230, 210 260, 130 330, 230 250, 210 290, 240 250, 230 210, 260 300, 250 230, \\n 270 300, 270 240, 300 340, 280 250, 320 330, 290 250, 340 350, 290 240, 350 360, 270 190, \\n 350 340, 290 200, 350 330, 300 190, 360 320, 310 190, 360 300, 320 200, 360 280, 330 200, \\n 360 260, 340 200, 370 260, 340 180, 390 290, 340 170, 400 260, 350 170, 400 250, 350 160, \\n 410 240, 350 150, 400 170, 350 140, 310 170, 340 140, 270 180, 330 140, 260 170, 310 140, \\n 240 170, 290 140, 200 190, 270 140, 180 190, 260 140, 170 190, 260 130, 170 180, 250 130, \\n 170 170, 240 120, 170 160, 210 120, 170 150, 210 110, 340 130, 230 110, 420 140, 220 100, \\n 410 130, 220 90, 400 120, 220 80, 390 110, 220 70, 420 110, 240 70, 420 100, 260 70, \\n 420 90, 280 70, 430 80, 230 60, 430 60, 270 50, 450 40, 210 50, 370 40, 260 40, \\n 460 30, 160 40, 210 60, 200 110, 190 60, 190 120, 170 50, 180 130, 150 30, 170 130, \\n 140 20, 160 120, 130 20, 160 150, 120 20, 160 170, 110 20, 160 190, 100 20, 150 190, \\n 90 20, 140 180, 80 20, 120 140, 70 20, 120 150, 60 20, 110 150, 50 20, 100 140, \\n 50 30, 90 130, 40 30, 80 120, 30 30, 80 130, 30 40, 80 140, 20 40, 70 140, \\n 40 90, 60 130, 20 90, 60 140, 20 130, 70 150));b=POLYGON(\\n (190 140, 140 130, 200 160, 130 150, 210 170, 130 170, 210 180, 120 190, 220 200, \\n 120 200, 250 210, 120 210, 250 220, 120 220, 250 230, 120 240, 230 240, 120 250, 240 260, \\n 120 260, 240 270, 120 270, 270 290, 120 290, 230 300, 150 310, 250 310, 180 320, 250 320, \\n 200 360, 260 330, 240 360, 280 320, 290 370, 290 320, 320 360, 310 320, 360 360, 310 310, \\n 380 340, 310 290, 390 330, 310 280, 410 310, 310 270, 420 280, 310 260, 430 250, 300 250, \\n 440 240, 300 240, 450 230, 280 220, 440 220, 280 210, 440 210, 300 200, 430 190, 300 190, \\n 440 180, 330 180, 430 150, 320 180, 420 130, 300 180, 410 120, 280 180, 400 110, 280 170, \\n 390 90, 280 160, 400 70, 270 160, 450 30, 260 160, 420 30, 250 160, 390 30, 240 160, \\n 370 30, 230 160, 360 30, 230 150, 330 50, 240 130, 330 30, 230 130, 310 30, 220 130, \\n 280 30, 230 100, 270 40, 220 110, 250 30, 210 130, 240 30, 210 100, 220 40, 200 90, \\n 200 20, 190 100, 180 30, 20 20, 180 40, 20 30, 180 50, 20 50, 180 60, 30 60, \\n 180 70, 20 70, 170 80, 80 80, 170 90, 20 80, 180 100, 40 100, 200 110, 60 110, \\n 200 120, 120 120, 190 140))]",
+ "eval.tests.test_xml_predicates.test_boolean_predicate[a=POLYGON(\\n (80 190, 220 190, 140 110, 0 110, 80 190));b=MULTIPOLYGON(\\n (\\n (140 110, 260 110, 170 20, 50 20, 140 110)), \\n (\\n (300 270, 420 270, 340 190, 220 190, 300 270)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(0 0, 0 50, 50 50, 50 0, 0 0);b=MULTILINESTRING(\\n (0 0, 0 50), \\n (0 50, 50 50), \\n (50 50, 50 0), \\n (50 0, 0 0))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(0 0, 60 0, 60 60, 60 0, 120 0);b=MULTILINESTRING(\\n (0 0, 60 0), \\n (60 0, 120 0), \\n (60 0, 60 60))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(100 100, 160 40);b=LINESTRING(100 100, 180 20, 20 20, 100 100)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(100 100, 160 40, 160 100);b=LINESTRING(100 100, 180 20, 20 20, 100 100)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(100 100, 180 20);b=LINESTRING(100 100, 180 20, 20 20, 100 100)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(100 100, 180 20, 20 20, 100 100);b=LINESTRING(100 100, 180 180, 20 180, 100 100)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(100 100, 180 20, 20 20, 100 100);b=LINESTRING(180 100, 20 100, 100 180, 180 100)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(100 100, 180 20, 20 20, 100 100);b=LINESTRING(180 180, 100 100, 20 180, 180 180)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(100 100, 190 10, 190 100);b=LINESTRING(100 100, 180 20, 20 20, 100 100)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(100 100, 20 180, 180 180);b=LINESTRING(100 100, 180 20, 20 20, 100 100)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(100 20, 20 20, 20 160, 210 160, 210 20, 110 20, 50 120, 120 150, 200 150);b=LINESTRING(140 130, 100 110, 120 60, 170 60)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(100 40, 100 160, 180 160);b=LINESTRING(100 100, 180 20, 20 20, 100 100)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 100, 40 30, 180 30, 110 100);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110), \\n (110 90, 60 40, 160 40, 110 90))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 110, 110 160, 180 110, 250 160, 250 110);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 110, 170 50, 170 110, 110 110);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110), \\n (110 90, 50 30, 170 30, 110 90))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 110, 170 50, 20 200, 20 110, 200 110);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 110, 180 30, 40 30, 110 110);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110), \\n (110 90, 60 40, 160 40, 110 90))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 110, 180 40, 110 40, 110 110, 70 40);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 110, 180 40, 110 40, 110 180);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 110, 20 110, 110 20, 20 20, 110 110);b=LINESTRING(110 110, 200 200, 110 200, 200 110, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 110, 20 110, 200 110, 50 110, 110 170);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 110, 20 200, 110 200, 110 110, 200 200);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 110, 20 200, 200 200, 110 110);b=POLYGON(\\n (20 20, 200 20, 110 110, 20 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 110, 200 110);b=LINESTRING(200 200, 20 20, 200 20, 110 110, 20 200, 110 200, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 110, 200 20, 20 20, 110 110);b=LINESTRING(110 110, 20 110, 200 110, 50 110, 110 170)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 110, 200 20, 20 20, 110 110);b=LINESTRING(110 110, 20 200, 110 200, 110 110, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 110, 200 20, 20 20, 110 110);b=LINESTRING(110 110, 200 200, 110 110, 20 200, 20 110, 200 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 110, 200 20, 20 20, 110 110);b=LINESTRING(200 20, 20 200, 200 200, 110 110, 110 40)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 110, 200 20, 20 20, 110 110);b=LINESTRING(200 20, 20 200, 200 200, 20 20)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 110, 200 200, 110 110, 20 200, 20 110, 200 110);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 110, 200 200, 200 110, 110 200);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 130, 110 70, 200 100, 110 130);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110), \\n (110 90, 50 30, 170 30, 110 90))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 160, 160 110, 200 110, 250 160, 250 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 160, 180 110, 250 160, 320 110);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 60, 20 150, 200 150, 110 60);b=POLYGON(\\n (20 20, 200 20, 110 110, 20 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 60, 50 30, 170 30, 90 70);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 90, 160 40, 60 40, 110 90);b=POLYGON(\\n (20 20, 200 20, 110 110, 20 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 90, 170 30, 50 30, 110 90);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110), \\n (110 90, 50 30, 170 30, 110 90))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 90, 180 30, 40 30, 110 90);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110), \\n (110 90, 60 40, 160 40, 110 90))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 90, 50 30, 180 30, 110 90);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110), \\n (110 90, 60 40, 160 40, 110 90))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(110 90, 70 50, 130 50, 110 90);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110), \\n (110 90, 50 30, 170 30, 110 90))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(130 110, 180 110, 190 60);b=POLYGON(\\n (20 200, 240 200, 240 20, 20 20, 20 200), \\n (130 110, 60 180, 60 40, 130 110), \\n (130 110, 200 40, 200 180, 130 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(130 110, 180 160, 230 110, 280 160, 330 110);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(130 150, 220 150, 220 240);b=LINESTRING(130 240, 130 150, 220 20, 50 20, 130 150)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(130 160, 160 110, 190 110, 230 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(130 160, 160 110, 200 110, 230 160, 260 210, 360 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(130 160, 160 110, 200 110, 230 160, 260 210, 360 210, 380 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(130 160, 160 110, 200 110, 230 160, 260 210, 380 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(130 160, 160 110, 220 110, 250 160, 250 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(130 20, 150 60);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(140 160, 180 80, 220 160, 250 80);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(140 60, 180 100, 290 100);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(150 150, 40 230);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(150 70, 160 110, 200 60, 150 70);b=POLYGON(\\n (20 20, 200 20, 110 110, 20 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(160 70, 200 110, 280 190, 320 230);b=MULTIPOLYGON(\\n (\\n (140 110, 260 110, 170 20, 50 20, 140 110)), \\n (\\n (300 270, 420 270, 340 190, 220 190, 300 270)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(160 70, 320 230);b=MULTIPOLYGON(\\n (\\n (140 110, 260 110, 170 20, 50 20, 140 110)), \\n (\\n (300 270, 420 270, 340 190, 220 190, 300 270)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(170 120, 210 80, 270 80);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(170 120, 260 50);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(170 50, 170 20, 240 20, 260 60);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(180 150, 250 150, 230 250, 370 250, 410 150);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(180 180, 40 40);b=LINESTRING(120 120, 260 260)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(180 90, 280 120);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(190 90, 190 190, 190 270);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (190 190, 280 50, 100 50, 190 190))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(190 90, 190 270);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (190 190, 280 50, 100 50, 190 190))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 100, 100 100, 180 100, 100 180);b=LINESTRING(100 100, 180 20, 20 20, 100 100)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 100, 100 100, 360 100, 410 100);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 100, 180 100, 100 180);b=LINESTRING(100 100, 180 20, 20 20, 100 100)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 110, 110 110, 20 20, 110 20, 20 110);b=LINESTRING(110 160, 70 110, 60 160, 20 130, 110 160)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 110, 110 110, 20 20, 110 20, 20 110);b=LINESTRING(200 200, 110 110, 200 110, 110 200, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 110, 200 110);b=LINESTRING(200 200, 20 20, 200 20, 110 110, 20 200, 110 200, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 120, 120 120, 20 20, 120 20, 20 120);b=LINESTRING(170 100, 70 100, 170 170, 70 170, 170 100)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 120, 120 120, 20 20, 120 20, 20 120);b=LINESTRING(220 120, 120 20, 220 20, 120 120, 220 120)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 180, 100 100, 20 20, 20 180);b=LINESTRING(100 20, 100 180, 180 100, 100 20)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 140 140);b=LINESTRING(140 80, 20 80, 120 80, 80 20, 80 140)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 140 140);b=LINESTRING(140 80, 20 80, 120 80, 80 20, 80 80, 80 140)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 140 140);b=LINESTRING(140 80, 20 80, 140 80)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 140 140);b=LINESTRING(140 80, 20 80, 80 140, 80 20)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 140 140);b=LINESTRING(140 80, 20 80, 80 140, 80 80, 80 20)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 140 140);b=LINESTRING(140 80, 20 80, 80 80, 140 80)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 140 140);b=LINESTRING(140 80, 80 80, 20 80, 50 140, 50 60)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 140 140);b=LINESTRING(20 140, 140 20, 100 20, 100 80)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 140 140);b=LINESTRING(80 80, 140 80, 80 20, 80 140)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 140 140);b=LINESTRING(80 80, 20 80, 140 80)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 140 140);b=LINESTRING(80 80, 20 80, 140 80, 80 20, 80 140)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 140 140);b=LINESTRING(80 80, 20 80, 140 80, 80 20, 80 80)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 140 140);b=LINESTRING(80 80, 20 80, 140 80, 80 80)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 140 140);b=LINESTRING(80 80, 20 80, 20 140, 140 20, 80 20, 80 80)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 180 180);b=LINESTRING(20 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 180 180);b=LINESTRING(20 20, 180 180)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 180 180);b=LINESTRING(50 50, 140 140)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 200 20, 110 110, 20 20);b=POLYGON(\\n (20 20, 200 20, 110 110, 20 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 230 20, 20 30, 170 30, 20 40, 230 40, 20 50, 230 60, 60 60, \\n 230 70, 20 70, 180 80, 60 80, 230 90, 20 90, 230 100, 30 100, 210 110, 20 110, \\n 80 120, 20 130, 170 130, 90 120, 230 130, 170 140, 230 140, 80 150, 160 140, 20 140, \\n 70 150, 20 150, 230 160, 80 160, 230 170, 20 160, 180 170, 20 170, 230 180, 20 180, \\n 40 190, 230 190, 20 200, 230 200);b=LINESTRING(30 210, 30 60, 40 210, 40 30, 50 190, 50 20, 60 160, 60 50, 70 220, \\n 70 50, 80 20, 80 210, 90 50, 90 150, 100 30, 100 210, 110 20, 110 190, 120 50, \\n 120 180, 130 210, 120 20, 140 210, 130 50, 150 210, 130 20, 160 210, 140 30, 170 210, \\n 150 20, 180 210, 160 20, 190 210, 180 80, 170 50, 170 20, 180 70, 180 20, 190 190, \\n 190 30, 200 210, 200 30, 210 210, 210 20, 220 150, 220 20)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 80 80, 160 80, 240 80, 300 140);b=LINESTRING(20 60, 60 60, 60 140, 80 80, 100 20, 140 140, 180 20, 200 80, 220 20, \\n 240 80, 300 80, 270 110, 200 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 80 80, 160 80, 240 80, 300 140);b=LINESTRING(20 80, 120 80, 200 80, 260 20)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 80 80, 160 80, 240 80, 300 140);b=LINESTRING(20 80, 80 80, 120 80, 140 140, 160 80, 200 80, 220 20, 240 80, 270 110, \\n 300 80)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 20, 80 80, 160 80, 240 80, 300 140);b=LINESTRING(80 20, 80 80, 240 80, 300 20)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 200, 200 200, 20 20, 200 20, 20 200);b=LINESTRING(20 110, 200 110, 200 160, 20 60, 20 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(20 60, 150 60);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(200 110, 110 110, 90 130, 90 200);b=LINESTRING(200 200, 20 20, 200 20, 20 200, 20 130, 90 130)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(200 150, 310 150, 360 220);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(200 200, 20 20, 200 20, 110 110, 20 200, 110 200, 110 110);b=LINESTRING(110 110, 200 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(200 200, 20 20, 200 20, 110 110, 20 200, 110 200, 110 110);b=LINESTRING(20 110, 200 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(210 150, 330 150);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(210 210, 220 150, 320 150, 370 210);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(230 70, 170 120, 190 60, 140 60, 170 120, 270 90);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(290 10, 130 170);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(30 100, 100 100, 180 100);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(30 150, 130 150, 250 150);b=LINESTRING(130 240, 130 150, 220 20, 50 20, 130 150)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(30 150, 130 150, 250 150);b=LINESTRING(130 240, 130 20, 30 20, 130 150)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(30 150, 250 150);b=LINESTRING(120 240, 120 20, 20 20, 120 170)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(30 150, 250 150);b=LINESTRING(130 240, 130 150, 220 20, 50 20, 130 150)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 150, 40 40, 150 40, 150 150, 40 150);b=LINESTRING(170 20, 20 170, 170 170, 170 20)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 150, 40 40, 150 40, 150 150, 40 150);b=LINESTRING(20 150, 170 150, 90 230, 20 150)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 150, 40 40, 150 40, 150 150, 40 150);b=LINESTRING(40 150, 150 150, 150 40, 20 40, 20 150, 40 150)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 150, 40 40, 150 40, 150 150, 40 150);b=LINESTRING(40 150, 150 150, 90 210, 40 150)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 150, 40 40, 150 40, 150 150, 40 150);b=LINESTRING(40 150, 150 40, 170 20, 170 190, 40 150)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 230, 150 150);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100);b=LINESTRING(100 100, 40 40)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100);b=LINESTRING(40 40, 100 100)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 130 190);b=LINESTRING(20 130, 70 130, 160 40)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 130 190);b=LINESTRING(30 140, 80 140, 100 100, 200 30)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 130 190);b=LINESTRING(40 160, 40 100, 110 40, 170 40)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(100 100, 200 120, 240 140, 280 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(140 180, 80 240, 200 260, 240 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(160 160, 240 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(20 200, 40 160, 20 100, 40 40)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(200 120, 100 100, 40 40, 140 80, 200 40)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(200 120, 200 190, 150 240, 200 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(200 240, 150 240, 200 200, 200 120)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(240 200, 200 260, 80 240, 140 180)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(240 240, 160 160)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(260 210, 240 130, 280 120, 260 40)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(280 240, 240 140, 200 120, 100 100)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(280 240, 240 140, 200 120, 100 100, 40 40)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(280 240, 240 140, 200 120, 80 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(40 40, 100 100, 200 120, 80 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(40 40, 20 100, 40 160, 20 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(80 190, 140 140, 40 40)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(80 240, 120 200, 200 120, 100 100, 80 80, 40 40)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 100 100, 200 120, 80 240);b=LINESTRING(80 240, 200 120, 100 100, 40 40)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 120 120);b=LINESTRING(40 120, 120 160)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 120 120);b=LINESTRING(40 120, 120 40)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 120 120);b=LINESTRING(40 40, 60 120)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 120 120);b=LINESTRING(60 240, 120 120)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 120 120);b=LINESTRING(60 240, 40 40)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 180 180);b=LINESTRING(120 120, 20 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 180 180);b=LINESTRING(120 120, 260 260)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 180 180);b=LINESTRING(20 180, 140 140)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 180 180);b=LINESTRING(260 260, 120 120)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 40, 50 130, 130 130);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 80, 160 200, 260 20, 40 80);b=LINESTRING(100 140, 160 200, 260 20, 40 80, 100 140)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 80, 160 200, 260 20, 40 80);b=LINESTRING(260 20, 40 80, 160 200, 260 20)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 80, 160 200, 260 20, 40 80);b=LINESTRING(40 80, 160 200, 260 20, 40 80)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(40 80, 160 200, 260 20, 40 80);b=LINESTRING(40 80, 260 20, 160 200, 40 80)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(50 100, 140 190, 280 190);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210);b=LINESTRING(110 160, 250 160, 310 160)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210);b=LINESTRING(110 160, 310 160, 340 190)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210);b=LINESTRING(140 160, 250 160, 310 160, 340 190)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210);b=LINESTRING(60 110, 110 160, 250 160)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 110, 110 160, 310 160, 360 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 110, 150 110, 200 160, 250 110, 360 110, 360 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 110, 200 110, 250 160, 300 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 110, 200 110, 250 160, 300 210, 360 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 110, 220 110, 250 160, 280 110);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 110, 60 250, 360 210);b=LINESTRING(360 210, 310 160, 110 160, 60 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 110, 60 250, 360 210);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 140, 160 40, 160 140);b=LINESTRING(100 100, 180 20, 20 20, 100 100)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 160, 110 110, 150 70);b=POLYGON(\\n (190 190, 110 110, 20 20, 360 20, 190 190), \\n (250 100, 110 110, 140 30, 250 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 160, 110 110, 150 70);b=POLYGON(\\n (190 190, 20 20, 360 20, 190 190), \\n (250 100, 110 110, 140 30, 250 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 160, 110 110, 150 70);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (110 110, 250 100, 140 30, 110 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 160, 150 70);b=POLYGON(\\n (190 190, 20 20, 360 20, 190 190), \\n (250 100, 110 110, 140 30, 250 100))0]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 160, 150 70);b=POLYGON(\\n (190 190, 20 20, 360 20, 190 190), \\n (250 100, 110 110, 140 30, 250 100))1]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 160, 150 70);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (110 110, 250 100, 140 30, 110 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 60, 100 100, 140 60);b=LINESTRING(100 100, 180 20, 20 20, 100 100)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 60, 60 230, 140 230, 250 160);b=LINESTRING(20 20, 110 110, 200 110, 320 230)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 60, 60 230, 140 230, 250 160);b=LINESTRING(20 20, 60 60, 250 160, 310 230)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 60, 60 230, 140 230, 250 160);b=LINESTRING(60 110, 110 160, 250 160, 310 160, 360 210)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 60, 60 230, 140 230, 250 160);b=LINESTRING(60 150, 110 100, 170 100, 110 230)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 60, 60 230, 140 230, 250 160);b=LINESTRING(60 230, 80 140, 120 140, 140 230)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(60 90, 310 180);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(70 50, 70 150);b=MULTIPOLYGON(\\n (\\n (0 0, 0 100, 140 100, 140 0, 0 0)), \\n (\\n (20 170, 70 100, 130 170, 20 170)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(70 70, 80 20);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(70 70, 80 20, 140 20, 150 60);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(80 110, 130 110, 170 110);b=POLYGON(\\n (20 200, 20 20, 240 20, 240 200, 20 200), \\n (130 110, 60 40, 60 180, 130 110), \\n (130 180, 130 40, 200 110, 130 180))0]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(80 110, 130 110, 170 110);b=POLYGON(\\n (20 200, 20 20, 240 20, 240 200, 20 200), \\n (130 110, 60 40, 60 180, 130 110), \\n (130 180, 130 40, 200 110, 130 180))1]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(80 110, 130 110, 180 110);b=POLYGON(\\n (20 200, 20 20, 240 20, 240 200, 20 200), \\n (60 180, 130 110, 60 40, 60 180), \\n (130 110, 200 40, 200 180, 130 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(80 110, 130 110, 180 110);b=POLYGON(\\n (20 200, 240 200, 240 20, 20 20, 20 200), \\n (130 110, 60 180, 60 40, 130 110), \\n (130 110, 200 40, 200 180, 130 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(80 110, 170 110);b=POLYGON(\\n (20 200, 20 20, 240 20, 240 200, 20 200), \\n (130 110, 60 40, 60 180, 130 110), \\n (130 180, 130 40, 200 110, 130 180))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(80 110, 180 110);b=POLYGON(\\n (20 200, 20 20, 240 20, 240 200, 20 200), \\n (60 180, 130 110, 60 40, 60 180), \\n (130 110, 200 40, 200 180, 130 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(80 110, 180 110);b=POLYGON(\\n (20 200, 240 200, 240 20, 20 20, 20 200), \\n (130 110, 60 180, 60 40, 130 110), \\n (130 110, 200 40, 200 180, 130 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(80 240, 200 120, 100 100, 40 40);b=LINESTRING(20 200, 40 160, 20 100, 40 40)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(80 60, 120 40, 120 70, 80 60);b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110), \\n (110 90, 50 30, 170 30, 110 90))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(80 80, 150 80, 210 80);b=MULTILINESTRING(\\n (20 20, 140 140), \\n (20 140, 140 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(90 200, 90 130, 110 110, 150 200);b=LINESTRING(200 200, 20 20, 200 20, 20 200, 20 130, 90 130)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(90 210, 150 150, 210 90);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=LINESTRING(90 210, 210 90);b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (110 100, 40 30, 180 30), \\n (170 30, 110 90, 50 30));b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (110 110, 60 40, 70 20, 150 20, 170 40), \\n (180 30, 40 30, 110 80));b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 110, 200 110), \\n (110 110, 20 170, 20 130, 200 90));b=MULTIPOLYGON(\\n (\\n (110 110, 20 20, 200 20, 110 110)), \\n (\\n (110 110, 20 200, 200 200, 110 110)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 110, 200 110), \\n (110 50, 110 170, 110 70, 110 150, 200 150));b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 110, 200 110), \\n (110 60, 110 160, 200 160));b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))0]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 110, 200 110), \\n (110 60, 110 160, 200 160));b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))1]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 110, 200 110), \\n (200 200, 110 110, 20 200, 110 200, 110 110));b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 110, 200 110), \\n (200 200, 110 110, 20 210, 110 110));b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 110, 200 110), \\n (50 110, 170 110, 110 170, 110 50, 110 170, 110 50));b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 110, 200 110), \\n (60 180, 60 110, 160 110, 110 110));b=POLYGON(\\n (110 110, 200 20, 20 20, 110 110))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 110, 200 110, 200 160), \\n (110 110, 200 110, 200 70, 20 150));b=MULTIPOLYGON(\\n (\\n (110 110, 20 20, 200 20, 110 110)), \\n (\\n (110 110, 20 200, 200 200, 110 110)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 160, 70 110, 150 110, 200 160), \\n (110 110, 20 110, 50 80, 70 110, 200 110));b=MULTIPOLYGON(\\n (\\n (110 110, 20 20, 200 20, 110 110)), \\n (\\n (110 110, 20 200, 200 200, 110 110)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140));b=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140));b=MULTILINESTRING(\\n (90 140, 90 60, 90 20), \\n (170 20, 130 20, 20 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140));b=MULTILINESTRING(\\n (90 20, 170 100, 170 140), \\n (130 140, 130 60, 90 20, 20 90, 90 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140));b=MULTILINESTRING(\\n (90 20, 170 100, 170 140), \\n (130 140, 130 60, 90 20, 20 90, 90 20, 130 60, 170 60))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140));b=MULTILINESTRING(\\n (90 20, 170 100, 170 140), \\n (170 60, 90 20, 20 60))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140));b=MULTILINESTRING(\\n (90 20, 170 100, 170 140), \\n (170 60, 90 20, 20 60), \\n (120 100, 170 100, 90 20))0]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140));b=MULTILINESTRING(\\n (90 20, 170 100, 170 140), \\n (170 60, 90 20, 20 60), \\n (120 100, 170 100, 90 20))1]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140));b=MULTILINESTRING(\\n (90 20, 170 100, 170 140), \\n (170 60, 90 20, 20 60), \\n (130 100, 130 60, 90 20, 50 90))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140));b=MULTILINESTRING(\\n (90 20, 170 100, 170 140), \\n (170 60, 90 20, 20 60), \\n (130 100, 90 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 20, 90 20, 170 20), \\n (90 20, 90 80, 90 140));b=MULTILINESTRING(\\n (90 20, 170 100, 170 140), \\n (170 60, 90 20, 20 60, 20 140, 90 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 20, 90 90, 20 160), \\n (90 160, 90 20));b=MULTILINESTRING(\\n (160 160, 90 90, 160 20), \\n (160 120, 120 120, 90 90, 120 60, 160 60))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 20, 90 90, 20 160), \\n (90 160, 90 20));b=MULTILINESTRING(\\n (160 160, 90 90, 160 20), \\n (160 120, 120 120, 90 90, 160 60))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (20 20, 90 90, 20 160), \\n (90 160, 90 20));b=MULTILINESTRING(\\n (160 160, 90 90, 160 20), \\n (160 120, 90 90, 160 60))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTILINESTRING(\\n (70 20, 20 90, 70 170), \\n (70 170, 120 90, 70 20));b=MULTILINESTRING(\\n (70 20, 20 90, 70 170), \\n (70 170, 120 90, 70 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((10 80), (110 170), (110 120));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((10 80), (110 170), (160 120));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((110 170), (110 80));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((110 80), (110 120), (110 160));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((110 80), (160 120), (200 160));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((120 190), (160 150), (200 110));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((130 120), (210 150), (340 200));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((160 150), (190 120), (220 90));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((160 150), (240 150), (340 210));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((160 150), (240 150), (340 240));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((160 150), (300 150), (340 150));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((180 180), (230 130), (280 80));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((190 110), (150 70), (230 70));b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((20 120), (60 120), (110 120), (160 120), (200 120));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((20 150), (60 120), (110 80));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((20 20), (140 120), (80 70), (200 170));b=MULTIPOINT((80 70), (20 20), (200 170), (140 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((20 20), (80 70), (140 120), (200 170));b=MULTIPOINT((20 20), (80 70), (140 120), (200 170))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((20 20), (80 70), (140 120), (200 170));b=MULTIPOINT((80 70), (140 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((20 80), (110 160), (20 160));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((20 80), (60 120), (20 160));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((200 190), (240 150), (270 110));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((230 150), (260 120), (290 90));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((300 280), (340 240), (380 200));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((40 170), (40 90), (130 170));b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((40 40), (60 100), (100 60), (120 120));b=MULTIPOINT((20 120), (60 60), (100 100), (140 40))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((40 40), (80 60), (120 100));b=MULTIPOINT((40 40), (120 100), (80 60))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((40 40), (80 60), (120 100));b=MULTIPOINT((40 40), (80 60), (120 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((50 120), (90 80), (130 40));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((50 250), (90 220), (130 190));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((60 120), (110 120), (160 120));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((60 120), (160 120), (110 80));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((60 120), (160 120), (110 80), (110 170));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((60 120), (160 120), (160 40), (60 40));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((80 70), (20 20), (200 170), (140 120));b=MULTIPOINT((80 170), (140 120), (200 80))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((80 70), (20 20), (200 170), (140 120));b=MULTIPOINT((80 170), (140 120), (200 80), (80 70))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((80 70), (20 200), (200 170), (140 120));b=MULTIPOINT((140 120), (80 70))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((90 170), (280 170), (190 90));b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((90 80), (130 120), (210 150));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((90 80), (130 80));b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((90 80), (160 150), (240 150));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((90 80), (160 150), (300 150));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOINT((90 80), (160 150), (340 240));b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOLYGON(\\n (\\n (110 110, 20 200, 200 200, 110 110), \\n (110 110, 100 180, 120 180, 110 110)), \\n (\\n (110 110, 200 20, 20 20, 110 110), \\n (110 110, 120 40, 100 40, 110 110)));b=MULTIPOLYGON(\\n (\\n (110 110, 160 160, 210 110, 160 60, 110 110), \\n (110 110, 160 130, 160 90, 110 110)), \\n (\\n (110 110, 60 60, 10 110, 60 160, 110 110), \\n (110 110, 60 90, 60 130, 110 110)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOLYGON(\\n (\\n (110 110, 70 200, 150 200, 110 110)), \\n (\\n (110 110, 150 20, 70 20, 110 110)));b=MULTIPOLYGON(\\n (\\n (110 110, 160 160, 210 110, 160 60, 110 110)), \\n (\\n (110 110, 60 60, 10 110, 60 160, 110 110)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOLYGON(\\n (\\n (110 110, 70 200, 150 200, 110 110), \\n (110 110, 100 180, 120 180, 110 110)), \\n (\\n (110 110, 150 20, 70 20, 110 110), \\n (110 110, 120 40, 100 40, 110 110)));b=MULTIPOLYGON(\\n (\\n (110 110, 160 160, 210 110, 160 60, 110 110), \\n (110 110, 160 130, 160 90, 110 110)), \\n (\\n (110 110, 60 60, 10 110, 60 160, 110 110), \\n (110 110, 60 90, 60 130, 110 110)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOLYGON(\\n (\\n (110 110, 70 200, 200 200, 110 110), \\n (110 110, 100 180, 120 180, 110 110)), \\n (\\n (110 110, 200 20, 70 20, 110 110), \\n (110 110, 120 40, 100 40, 110 110)));b=MULTIPOLYGON(\\n (\\n (110 110, 160 160, 210 110, 160 60, 110 110), \\n (110 110, 160 130, 160 90, 110 110)), \\n (\\n (110 110, 60 60, 10 110, 60 160, 110 110), \\n (110 110, 60 90, 60 130, 110 110)))0]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOLYGON(\\n (\\n (110 110, 70 200, 200 200, 110 110), \\n (110 110, 100 180, 120 180, 110 110)), \\n (\\n (110 110, 200 20, 70 20, 110 110), \\n (110 110, 120 40, 100 40, 110 110)));b=MULTIPOLYGON(\\n (\\n (110 110, 160 160, 210 110, 160 60, 110 110), \\n (110 110, 160 130, 160 90, 110 110)), \\n (\\n (110 110, 60 60, 10 110, 60 160, 110 110), \\n (110 110, 60 90, 60 130, 110 110)))1]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=MULTIPOLYGON(\\n (\\n (110 110, 70 200, 200 200, 110 110), \\n (110 110, 100 180, 120 180, 110 110)), \\n (\\n (110 110, 200 20, 70 20, 110 110), \\n (110 110, 120 40, 100 40, 110 110)));b=MULTIPOLYGON(\\n (\\n (110 110, 70 200, 210 110, 70 20, 110 110), \\n (110 110, 110 140, 150 110, 110 80, 110 110)), \\n (\\n (110 110, 60 60, 10 110, 60 160, 110 110), \\n (110 110, 60 90, 60 130, 110 110)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(100 100);b=MULTIPOLYGON(\\n (\\n (20 100, 20 20, 100 20, 100 100, 20 100)), \\n (\\n (100 180, 100 100, 180 100, 180 180, 100 180)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(100 20);b=LINESTRING(150 150, 20 20, 280 20, 150 150)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(100 50);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(100 70);b=POLYGON(\\n (20 150, 100 150, 40 50, 170 50, 110 150, 190 150, 190 20, 20 20, 20 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(100 70);b=POLYGON(\\n (20 150, 90 150, 40 50, 160 50, 110 150, 180 150, 180 20, 20 20, 20 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(100 80);b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 110, 110 200, 20 200, 110 110, 20 20, 200 20, 110 110, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 110, 110 200, 20 200, 110 110, 200 20, 140 20, 140 80, 110 110, 80 140, \\n 20 140)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 110, 110 200, 20 200, 110 110, 200 20, 20 20, 110 110, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 110, 110 200, 20 200, 200 20, 140 20, 140 80, 110 110, 80 140, 20 140)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 110, 110 200, 20 200, 200 20, 140 20, 140 80, 80 140, 20 140)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 110, 110 200, 20 200, 200 20, 20 20, 110 110, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 110, 110 200, 20 200, 200 20, 20 20, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 110, 110 200, 20 200, 200 20, 200 110, 110 110, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 110, 20 130, 20 200, 110 110, 200 20, 20 20, 110 110, 200 200, 200 130, \\n 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 110, 20 130, 20 200, 200 20, 20 20, 200 200, 200 130, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 110, 200 200, 110 200, 110 110, 110 20, 20 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 110, 200 200, 110 200, 110 110, 110 20, 200 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 110, 200 200, 110 200, 110 20, 20 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 110, 220 20, 20 20, 110 110, 220 220)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 110, 220 20, 20 20, 220 220)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 110, 80 200, 20 200, 110 110, 200 20, 20 20, 110 110, 200 200, 140 200, \\n 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 110, 80 200, 20 200, 200 20, 20 20, 200 200, 140 200, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 160, 200 250, 110 250, 110 160, 110 110, 110 20, 20 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 160, 200 250, 110 250, 110 160, 110 20, 20 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 200, 110 110, 20 20, 200 20, 110 110, 110 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(110 200, 110 110, 20 20, 200 20, 110 110, 110 200, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(20 200, 110 110, 20 20, 200 20, 110 110, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(20 200, 110 110, 200 20, 140 20, 140 80, 110 110, 80 140, 20 140)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(20 200, 110 110, 200 20, 20 20, 110 110, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(20 200, 110 200, 110 110, 20 20, 200 20, 110 110, 110 200, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(20 200, 200 20, 140 20, 140 80, 110 110, 80 140, 20 140)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(20 200, 200 20, 140 20, 140 80, 80 140, 20 140)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(20 200, 200 20, 20 20, 110 110, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(20 200, 200 20, 20 20, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(200 200, 110 110, 20 20, 200 20, 110 110, 20 200, 110 200, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(200 200, 110 110, 20 20, 200 20, 110 110, 20 200, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(200 200, 110 110, 200 20, 20 20, 110 110, 20 200, 110 200, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(200 200, 110 110, 200 20, 20 20, 110 110, 20 200, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(200 200, 20 20, 20 110, 110 110, 20 200, 110 200, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(200 200, 20 20, 200 20, 110 110, 20 200, 110 200, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(200 200, 20 20, 200 20, 20 200, 110 200, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(200 200, 20 20, 200 20, 20 200, 20 130, 90 130)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(200 200, 20 20, 200 20, 20 200, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(200 200, 20 20, 200 20, 90 130, 20 200, 20 130, 90 130)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(90 130, 20 130, 20 200, 200 20, 20 20, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(90 130, 20 130, 20 200, 90 130, 200 20, 20 20, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=LINESTRING(90 130, 90 200, 20 200, 200 20, 20 20, 200 200, 90 130)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 110);b=MULTIPOLYGON(\\n (\\n (110 110, 20 200, 200 200, 110 110), \\n (110 110, 80 180, 140 180, 110 110)), \\n (\\n (110 110, 20 20, 200 20, 110 110), \\n (110 110, 80 40, 140 40, 110 110)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 120);b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 130);b=POLYGON(\\n (20 160, 80 160, 110 100, 140 160, 200 160, 200 20, 20 20, 20 160))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 150);b=LINESTRING(110 200, 110 110, 20 20, 200 20, 110 110, 110 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 150);b=LINESTRING(110 200, 110 110, 20 20, 200 20, 110 110, 110 200, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 150);b=LINESTRING(20 200, 110 200, 110 110, 20 20, 200 20, 110 110, 110 200, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 160);b=LINESTRING(110 160, 200 250, 110 250, 110 110, 110 20, 20 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 160);b=LINESTRING(110 160, 200 250, 110 250, 110 160, 110 110, 110 20, 20 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 20);b=LINESTRING(110 110, 220 20, 20 20, 220 220)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 20);b=LINESTRING(220 220, 20 20, 220 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 200);b=LINESTRING(110 110, 200 200, 110 200, 110 110, 110 20, 20 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 200);b=LINESTRING(110 110, 200 200, 110 200, 110 110, 110 20, 200 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 200);b=LINESTRING(110 200, 110 110, 20 20, 200 20, 110 110, 110 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 200);b=LINESTRING(110 200, 110 110, 20 20, 200 20, 110 110, 110 200, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 200);b=LINESTRING(110 200, 110 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 200);b=LINESTRING(20 200, 110 200, 110 110, 20 20, 200 20, 110 110, 110 200, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(110 200);b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(130 130);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(140 120);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(140 200);b=LINESTRING(110 110, 200 200, 110 200, 110 110, 110 20, 20 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(140 200);b=LINESTRING(110 110, 200 200, 110 200, 110 110, 110 20, 200 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(150 100);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(150 150);b=LINESTRING(150 150, 20 20, 280 20, 150 150)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(150 80);b=LINESTRING(150 150, 20 20, 280 20, 150 150)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(160 120);b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(160 150);b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(180 90);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (180 140, 180 40, 80 40, 180 140), \\n (180 90, 210 140, 310 40, 230 40, 180 90))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(190 190);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(190 50);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (90 50, 150 110, 190 50, 90 50), \\n (190 50, 230 110, 290 50, 190 50))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(190 90);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(20 100);b=MULTIPOLYGON(\\n (\\n (20 100, 20 20, 100 20, 100 100, 20 100)), \\n (\\n (100 180, 100 100, 180 100, 180 180, 100 180)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(20 110);b=LINESTRING(20 200, 20 20, 110 20, 20 110, 110 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(20 20);b=LINESTRING(150 150, 20 20, 280 20, 150 150)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(20 20);b=LINESTRING(220 220, 20 20, 220 20, 110 110)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(20 20);b=MULTIPOINT((20 20), (80 80), (20 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(20 20);b=POINT(20 20)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(20 20);b=POINT(40 60)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(20 20);b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(20 200);b=LINESTRING(20 200, 200 20, 20 20, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(220 20);b=LINESTRING(110 110, 220 20, 20 20, 220 220)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(220 220);b=LINESTRING(110 110, 220 20, 20 20, 110 110, 220 220)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(230 150);b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(280 50);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(340 240);b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(360 20);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(40 40);b=MULTIPOINT((20 20), (80 80), (20 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(60 100);b=MULTIPOLYGON(\\n (\\n (20 100, 20 20, 100 20, 100 100, 20 100)), \\n (\\n (100 180, 100 100, 180 100, 180 180, 100 180)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(60 120);b=POLYGON(\\n (60 120, 60 40, 160 40, 160 120, 60 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(60 160);b=POLYGON(\\n (190 190, 360 20, 20 20, 190 190), \\n (280 50, 100 50, 190 140, 280 50))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(70 170);b=POLYGON(\\n (110 230, 80 160, 20 160, 20 20, 200 20, 200 160, 140 160, 110 230))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(80 140);b=LINESTRING(20 200, 110 110, 200 20, 140 20, 140 80, 110 110, 80 140, 20 140)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(90 130);b=LINESTRING(200 200, 20 20, 200 20, 20 200, 20 130, 90 130)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(90 130);b=LINESTRING(200 200, 20 20, 200 20, 90 130, 20 200, 20 130, 90 130)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(90 130);b=LINESTRING(90 130, 20 130, 20 200, 110 110, 200 20, 20 20, 110 110, 200 200, 90 130)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(90 130);b=LINESTRING(90 130, 20 130, 20 200, 200 20, 20 20, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(90 130);b=LINESTRING(90 130, 20 130, 20 200, 90 130, 110 110, 200 20, 20 20, 110 110, 200 200, \\n 90 130)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(90 130);b=LINESTRING(90 130, 20 130, 20 200, 90 130, 200 20, 20 20, 200 200)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(90 130);b=LINESTRING(90 130, 90 200, 20 200, 110 110, 200 20, 20 20, 110 110, 200 200, 90 130)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(90 130);b=LINESTRING(90 130, 90 200, 20 200, 200 20, 20 20, 200 200, 90 130)0]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(90 130);b=LINESTRING(90 130, 90 200, 20 200, 200 20, 20 20, 200 200, 90 130)1]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(90 130);b=LINESTRING(90 130, 90 200, 20 200, 90 130, 110 110, 200 20, 20 20, 110 110, 200 200, \\n 90 130)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(90 150);b=LINESTRING(150 150, 20 20, 280 20, 150 150)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POINT(90 80);b=LINESTRING(90 80, 160 150, 300 150, 340 150, 340 240)]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (0 0, 0 200, 110 200, 110 0, 0 0));b=POLYGON(\\n (100 100, 1000000 110, 10000000 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (0 0, 0 200, 200 200, 200 0, 0 0));b=POLYGON(\\n (100 100, 1000000 110, 10000000 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (0 0, 80 0, 80 80, 0 80, 0 0));b=POLYGON(\\n (100 200, 100 140, 180 140, 180 200, 100 200))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (100 0, 100 200, 200 200, 200 0, 100 0));b=POLYGON(\\n (100 100, 1000000 110, 10000000 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (100 100, 100 200, 200 200, 200 100, 100 100));b=POLYGON(\\n (100 100, 1000000 110, 1000000 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (100 100, 100 200, 200 200, 200 100, 100 100));b=POLYGON(\\n (100 100, 2100 110, 2100 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (100 100, 100 200, 200 200, 200 100, 100 100));b=POLYGON(\\n (100 100, 2101 110, 2101 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (100 100, 200 101, 200 100, 100 100));b=POLYGON(\\n (100 100, 2101 110, 2101 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (100 100, 200 200, 200 100, 100 100));b=POLYGON(\\n (100 100, 2101 110, 2101 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (100 60, 140 100, 100 140, 60 100, 100 60));b=MULTIPOLYGON(\\n (\\n (80 40, 120 40, 120 80, 80 80, 80 40)), \\n (\\n (120 80, 160 80, 160 120, 120 120, 120 80)), \\n (\\n (80 120, 120 120, 120 160, 80 160, 80 120)), \\n (\\n (40 80, 80 80, 80 120, 40 120, 40 80)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (101 99, 101 1000000, 102 1000000, 101 99));b=POLYGON(\\n (100 100, 1000000 110, 1000000 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (120 0, 120 200, 200 200, 200 0, 120 0));b=POLYGON(\\n (100 100, 1000000 110, 10000000 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (120 100, 120 200, 200 200, 200 100, 120 100));b=POLYGON(\\n (100 100, 1000000 110, 1000000 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (120 100, 120 200, 200 200, 200 100, 120 100));b=POLYGON(\\n (100 100, 500 110, 500 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (120 100, 120 200, 200 200, 200 100, 120 100));b=POLYGON(\\n (100 100, 501 110, 501 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (120 100, 130 200, 200 200, 200 100, 120 100));b=POLYGON(\\n (100 100, 501 110, 501 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (120 100, 17 200, 200 200, 200 100, 120 100));b=POLYGON(\\n (100 100, 501 110, 501 100, 100 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (120 120, 180 60, 20 20, 20 120, 120 120));b=POLYGON(\\n (120 120, 220 20, 280 20, 240 160, 120 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (120 120, 180 60, 20 20, 20 120, 120 120));b=POLYGON(\\n (280 60, 180 60, 120 120, 260 180, 280 60))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (120 120, 180 60, 20 20, 20 120, 120 120));b=POLYGON(\\n (300 20, 220 20, 120 120, 260 160, 300 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (120 120, 180 60, 20 20, 20 120, 120 120));b=POLYGON(\\n (320 20, 220 20, 80 160, 240 140, 320 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (140 120, 160 20, 20 20, 20 120, 140 120));b=POLYGON(\\n (120 200, 120 120, 40 120, 40 200, 120 200))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (140 120, 160 20, 20 20, 20 120, 140 120));b=POLYGON(\\n (140 120, 140 200, 240 200, 240 120, 140 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (140 120, 160 20, 20 20, 20 120, 140 120));b=POLYGON(\\n (140 120, 160 20, 260 120, 220 200, 140 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (140 120, 160 20, 20 20, 20 120, 140 120));b=POLYGON(\\n (140 120, 20 120, 20 220, 140 220, 140 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (140 120, 160 20, 20 20, 20 120, 140 120));b=POLYGON(\\n (140 120, 240 160, 280 60, 160 20, 140 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (140 120, 160 20, 20 20, 20 120, 140 120));b=POLYGON(\\n (140 140, 20 120, 0 220, 120 240, 140 140))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (140 120, 160 20, 20 20, 20 120, 140 120));b=POLYGON(\\n (160 220, 140 120, 60 120, 40 220, 160 220))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (140 120, 160 20, 20 20, 20 120, 140 120));b=POLYGON(\\n (240 80, 140 120, 180 240, 280 200, 240 80))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (140 120, 160 20, 20 20, 20 120, 140 120));b=POLYGON(\\n (80 180, 140 260, 260 200, 200 60, 80 180))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (140 160, 20 20, 270 20, 150 160, 230 40, 60 40, 140 160));b=POLYGON(\\n (120 100, 180 80, 130 40, 120 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (140 160, 20 20, 270 20, 150 160, 230 40, 60 40, 140 160));b=POLYGON(\\n (140 40, 180 80, 120 100, 140 40))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (140 190, 220 190, 100 70, 20 70, 140 190));b=MULTIPOLYGON(\\n (\\n (140 110, 260 110, 170 20, 50 20, 140 110)), \\n (\\n (300 270, 420 270, 340 190, 220 190, 300 270)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (140 220, 60 140, 140 60, 220 140, 140 220));b=MULTIPOLYGON(\\n (\\n (100 20, 180 20, 180 100, 100 100, 100 20)), \\n (\\n (20 100, 100 100, 100 180, 20 180, 20 100)), \\n (\\n (100 180, 180 180, 180 260, 100 260, 100 180)), \\n (\\n (180 100, 260 100, 260 180, 180 180, 180 100)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (150 150, 270 150, 330 150, 250 70, 190 70, 70 70, 150 150));b=POLYGON(\\n (150 150, 270 150, 190 70, 140 20, 20 20, 70 70, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (150 150, 330 150, 250 70, 70 70, 150 150));b=POLYGON(\\n (150 150, 270 150, 140 20, 20 20, 150 150))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (16 319, 150 39, 25 302, 160 20, 265 20, 127 317, 16 319));b=POLYGON(\\n (10 307, 22 307, 153 34, 22 34, 10 307))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (160 200, 210 70, 120 70, 160 200));b=POLYGON(\\n (160 200, 310 20, 20 20, 160 200), \\n (160 200, 260 40, 70 40, 160 200))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (170 120, 240 100, 260 50, 190 70, 170 120));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (170 120, 260 100, 240 60, 150 80, 170 120));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (170 120, 300 120, 250 70, 120 70, 170 120));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (170 120, 330 120, 260 50, 100 50, 170 120));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (170 120, 330 120, 280 70, 120 70, 170 120));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (190 100, 310 100, 260 50, 140 50, 190 100));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 120, 20 20, 260 20, 260 120, 180 40, 140 120, 100 40, 20 120));b=POLYGON(\\n (20 120, 300 120, 140 240, 20 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 120, 20 20, 260 20, 260 120, 200 40, 140 120, 80 40, 20 120));b=POLYGON(\\n (20 120, 20 240, 260 240, 260 120, 200 200, 140 120, 80 200, 20 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 140, 120 40, 20 40, 20 140));b=POLYGON(\\n (190 140, 190 20, 140 20, 20 140, 190 140))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 180 20, 140 140, 20 140, 20 20));b=POLYGON(\\n (180 100, 80 200, 180 280, 260 200, 180 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 100, 120 100, 140 20, 20 20));b=POLYGON(\\n (120 100, 140 20, 20 20, 20 100, 120 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 100, 120 100, 140 20, 20 20));b=POLYGON(\\n (20 100, 60 100, 120 100, 140 20, 80 20, 20 20, 20 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 100, 120 100, 140 20, 20 20));b=POLYGON(\\n (20 20, 140 20, 120 100, 20 100, 20 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 100, 120 100, 140 20, 20 20));b=POLYGON(\\n (20 20, 20 100, 120 100, 140 20, 20 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (120 40, 20 20, 20 140, 120 120, 120 40))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (140 60, 20 20, 20 180, 140 140, 140 60))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (160 40, 20 100, 160 160, 160 40))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (160 60, 20 20, 100 140, 160 60))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (180 120, 100 40, 20 180, 180 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 100, 140 160, 160 40, 20 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 180, 180 120, 80 40, 20 180))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 180, 60 80, 180 80, 220 180, 120 120, 20 180))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 20, 120 40, 120 120, 20 140, 20 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 20, 140 40, 140 120, 20 160, 80 80, 20 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 20, 140 40, 140 140, 20 180, 80 100, 20 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 20, 140 60, 140 140, 20 180, 20 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 20, 20 140, 120 120, 120 40, 20 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 20, 20 180, 140 140, 140 60, 20 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 20, 20 180, 60 120, 100 180, 140 120, 220 180, 200 120, 140 60, 20 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 20, 60 120, 140 120, 180 20, 20 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 20, 80 140, 160 60, 20 20))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (20 40, 120 40, 120 120, 20 140, 20 40))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (40 180, 60 100, 180 100, 200 180, 120 120, 40 180))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (40 60, 20 180, 100 100, 140 180, 160 120, 220 100, 140 40, 40 60))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (60 100, 180 100, 220 180, 120 140, 20 180, 60 100))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 180, 220 180, 220 20, 20 20));b=POLYGON(\\n (60 40, 60 140, 180 140, 180 40, 60 40))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 300, 280 300, 280 260, 220 260, 60 100, 60 60, 280 60, 280 20, \\n 20 20));b=POLYGON(\\n (100 140, 160 80, 280 180, 200 240, 220 160, 160 200, 180 120, 100 140))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 20 300, 280 300, 280 260, 220 260, 60 100, 60 60, 280 60, 280 20, \\n 20 20));b=POLYGON(\\n (260 200, 180 80, 120 160, 200 160, 180 220, 260 200))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 280 20, 280 140, 220 60, 140 140, 80 60, 20 140, 20 20));b=POLYGON(\\n (0 140, 300 140, 140 240, 0 140))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 280 20, 280 140, 220 60, 140 140, 80 60, 20 140, 20 20));b=POLYGON(\\n (20 240, 20 140, 320 140, 180 240, 20 240))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 280 20, 280 140, 220 60, 140 140, 80 60, 20 140, 20 20));b=POLYGON(\\n (20 240, 20 140, 80 180, 140 140, 220 180, 280 140, 280 240, 20 240))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (20 20, 60 50, 20 40, 60 70, 20 60, 60 90, 20 90, 70 110, 20 130, \\n 80 130, 20 150, 80 160, 20 170, 80 180, 20 200, 80 200, 30 240, 80 220, 50 260, \\n 100 220, 100 260, 120 220, 130 260, 140 220, 150 280, 150 190, 160 280, 170 190, 180 280, \\n 190 190, 200 280, 210 190, 220 280, 230 190, 240 260, 250 230, 260 260, 260 220, 290 270, \\n 290 220, 330 260, 300 210, 340 240, 290 180, 340 210, 290 170, 350 170, 240 150, 350 150, \\n 240 140, 350 130, 240 120, 350 120, 240 110, 350 110, 240 100, 350 100, 240 90, 350 90, \\n 240 80, 350 80, 300 70, 340 60, 290 60, 340 40, 300 50, 340 20, 270 60, 310 20, \\n 250 60, 270 20, 230 60, 240 20, 210 60, 210 20, 190 70, 190 20, 180 90, 170 20, \\n 160 90, 150 20, 140 90, 130 20, 120 90, 110 20, 100 90, 100 20, 90 60, 80 20, \\n 70 40, 20 20));b=POLYGON(\\n (190 140, 140 130, 200 160, 130 150, 210 170, 130 170, 210 180, 120 190, 220 200, \\n 120 200, 250 210, 120 210, 250 220, 120 220, 250 230, 120 240, 230 240, 120 250, 240 260, \\n 120 260, 240 270, 120 270, 270 290, 120 290, 230 300, 150 310, 250 310, 180 320, 250 320, \\n 200 360, 260 330, 240 360, 280 320, 290 370, 290 320, 320 360, 310 320, 360 360, 310 310, \\n 380 340, 310 290, 390 330, 310 280, 410 310, 310 270, 420 280, 310 260, 430 250, 300 250, \\n 440 240, 300 240, 450 230, 280 220, 440 220, 280 210, 440 210, 300 200, 430 190, 300 190, \\n 440 180, 330 180, 430 150, 320 180, 420 130, 300 180, 410 120, 280 180, 400 110, 280 170, \\n 390 90, 280 160, 400 70, 270 160, 450 30, 260 160, 420 30, 250 160, 390 30, 240 160, \\n 370 30, 230 160, 360 30, 230 150, 330 50, 240 130, 330 30, 230 130, 310 30, 220 130, \\n 280 30, 230 100, 270 40, 220 110, 250 30, 210 130, 240 30, 210 100, 220 40, 200 90, \\n 200 20, 190 100, 180 30, 20 20, 180 40, 20 30, 180 50, 20 50, 180 60, 30 60, \\n 180 70, 20 70, 170 80, 80 80, 170 90, 20 80, 180 100, 40 100, 200 110, 60 110, \\n 200 120, 120 120, 190 140))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (220 120, 270 80, 200 60, 160 100, 220 120));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (220 190, 340 190, 260 110, 140 110, 220 190));b=MULTIPOLYGON(\\n (\\n (140 110, 260 110, 170 20, 50 20, 140 110)), \\n (\\n (300 270, 420 270, 340 190, 220 190, 300 270)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (220 80, 180 40, 80 40, 170 130, 270 130, 230 90, 300 90, 250 30, 280 30, \\n 390 140, 150 140, 40 30, 230 30, 280 80, 220 80));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 250 120, 180 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (230 110, 290 80, 190 60, 140 90, 230 110));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (230 210, 230 20, 20 20, 20 210, 230 210), \\n (120 180, 50 50, 200 50, 120 180));b=POLYGON(\\n (230 210, 230 20, 20 20, 20 210, 230 210), \\n (120 180, 50 50, 200 50, 120 180))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (230 210, 230 20, 20 20, 20 210, 230 210), \\n (140 40, 40 40, 40 170, 140 40), \\n (110 190, 210 190, 210 50, 110 190));b=POLYGON(\\n (230 210, 230 20, 20 20, 20 210, 230 210), \\n (140 40, 40 40, 40 170, 140 40), \\n (110 190, 210 190, 210 50, 110 190))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (240 110, 340 110, 290 60, 190 60, 240 110));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 250 120, 180 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (250 120, 350 120, 280 50, 180 50, 250 120));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 250 120, 180 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (260 130, 360 130, 280 40, 170 40, 260 130));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 250 120, 180 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (260 50, 180 70, 180 110, 260 90, 260 50));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (270 90, 200 50, 150 80, 210 120, 270 90));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 330 120, 260 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (280 130, 360 130, 270 40, 190 40, 280 130));b=POLYGON(\\n (150 150, 410 150, 280 20, 20 20, 150 150), \\n (170 120, 250 120, 180 50, 100 50, 170 120))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (280 190, 330 150, 200 110, 150 150, 280 190));b=MULTIPOLYGON(\\n (\\n (140 110, 260 110, 170 20, 50 20, 140 110)), \\n (\\n (300 270, 420 270, 340 190, 220 190, 300 270)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (290 190, 340 150, 220 120, 170 170, 290 190));b=MULTIPOLYGON(\\n (\\n (140 110, 260 110, 170 20, 50 20, 140 110)), \\n (\\n (300 270, 420 270, 340 190, 220 190, 300 270)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (330 150, 200 110, 150 150, 280 190, 330 150));b=MULTIPOLYGON(\\n (\\n (140 110, 260 110, 170 20, 50 20, 140 110)), \\n (\\n (300 270, 420 270, 340 190, 220 190, 300 270)))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (60 160, 220 160, 220 20, 60 20, 60 160));b=POLYGON(\\n (20 200, 140 80, 260 200, 20 200))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (60 160, 220 160, 220 20, 60 20, 60 160));b=POLYGON(\\n (20 200, 60 160, 140 80, 220 160, 260 200, 20 200))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (60 160, 220 160, 220 20, 60 20, 60 160));b=POLYGON(\\n (20 200, 60 160, 140 80, 260 200, 20 200))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (60 160, 220 160, 220 20, 60 20, 60 160));b=POLYGON(\\n (60 160, 20 200, 260 200, 140 80, 60 160))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (60 160, 220 160, 220 20, 60 20, 60 160));b=POLYGON(\\n (60 160, 20 200, 260 200, 220 160, 140 80, 60 160))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (70 150, 20 160, 110 160, 20 180, 100 200, 20 200, 190 210, 20 210, 160 220, \\n 20 220, 150 230, 60 240, 180 250, 20 260, 170 260, 60 270, 160 270, 100 310, 170 280, \\n 200 260, 180 230, 210 260, 130 330, 230 250, 210 290, 240 250, 230 210, 260 300, 250 230, \\n 270 300, 270 240, 300 340, 280 250, 320 330, 290 250, 340 350, 290 240, 350 360, 270 190, \\n 350 340, 290 200, 350 330, 300 190, 360 320, 310 190, 360 300, 320 200, 360 280, 330 200, \\n 360 260, 340 200, 370 260, 340 180, 390 290, 340 170, 400 260, 350 170, 400 250, 350 160, \\n 410 240, 350 150, 400 170, 350 140, 310 170, 340 140, 270 180, 330 140, 260 170, 310 140, \\n 240 170, 290 140, 200 190, 270 140, 180 190, 260 140, 170 190, 260 130, 170 180, 250 130, \\n 170 170, 240 120, 170 160, 210 120, 170 150, 210 110, 340 130, 230 110, 420 140, 220 100, \\n 410 130, 220 90, 400 120, 220 80, 390 110, 220 70, 420 110, 240 70, 420 100, 260 70, \\n 420 90, 280 70, 430 80, 230 60, 430 60, 270 50, 450 40, 210 50, 370 40, 260 40, \\n 460 30, 160 40, 210 60, 200 110, 190 60, 190 120, 170 50, 180 130, 150 30, 170 130, \\n 140 20, 160 120, 130 20, 160 150, 120 20, 160 170, 110 20, 160 190, 100 20, 150 190, \\n 90 20, 140 180, 80 20, 120 140, 70 20, 120 150, 60 20, 110 150, 50 20, 100 140, \\n 50 30, 90 130, 40 30, 80 120, 30 30, 80 130, 30 40, 80 140, 20 40, 70 140, \\n 40 90, 60 130, 20 90, 60 140, 20 130, 70 150));b=POLYGON(\\n (190 140, 140 130, 200 160, 130 150, 210 170, 130 170, 210 180, 120 190, 220 200, \\n 120 200, 250 210, 120 210, 250 220, 120 220, 250 230, 120 240, 230 240, 120 250, 240 260, \\n 120 260, 240 270, 120 270, 270 290, 120 290, 230 300, 150 310, 250 310, 180 320, 250 320, \\n 200 360, 260 330, 240 360, 280 320, 290 370, 290 320, 320 360, 310 320, 360 360, 310 310, \\n 380 340, 310 290, 390 330, 310 280, 410 310, 310 270, 420 280, 310 260, 430 250, 300 250, \\n 440 240, 300 240, 450 230, 280 220, 440 220, 280 210, 440 210, 300 200, 430 190, 300 190, \\n 440 180, 330 180, 430 150, 320 180, 420 130, 300 180, 410 120, 280 180, 400 110, 280 170, \\n 390 90, 280 160, 400 70, 270 160, 450 30, 260 160, 420 30, 250 160, 390 30, 240 160, \\n 370 30, 230 160, 360 30, 230 150, 330 50, 240 130, 330 30, 230 130, 310 30, 220 130, \\n 280 30, 230 100, 270 40, 220 110, 250 30, 210 130, 240 30, 210 100, 220 40, 200 90, \\n 200 20, 190 100, 180 30, 20 20, 180 40, 20 30, 180 50, 20 50, 180 60, 30 60, \\n 180 70, 20 70, 170 80, 80 80, 170 90, 20 80, 180 100, 40 100, 200 110, 60 110, \\n 200 120, 120 120, 190 140))]",
+ "eval.tests.test_xml_predicates.test_relate_matrix[a=POLYGON(\\n (80 190, 220 190, 140 110, 0 110, 80 190));b=MULTIPOLYGON(\\n (\\n (140 110, 260 110, 170 20, 50 20, 140 110)), \\n (\\n (300 270, 420 270, 340 190, 220 190, 300 270)))]",
+ "eval.tests.test_zm_cliprect.test_clip_by_rect_identical[LINESTRING(10 5, 25 20)-POLYGON((10 10, 10 20, 20 20, 20 10, 10 10))-LINESTRING (15 10, 20 15)]",
+ "eval.tests.test_zm_cliprect.test_clip_by_rect_identical[LINESTRING(15 15, 16 15)-POLYGON((10 10, 10 20, 20 20, 20 10, 10 10))-LINESTRING (15 15, 16 15)]",
+ "eval.tests.test_zm_cliprect.test_clip_by_rect_identical[POINT(15 15)-POLYGON((10 10, 10 20, 20 20, 20 10, 10 10))-POINT (15 15)]",
+ "eval.tests.test_zm_cliprect.test_haszm[CIRCULARSTRING M (0 0 0, 1 1 1, 2 0 2)-False-True]",
+ "eval.tests.test_zm_cliprect.test_haszm[LINESTRING EMPTY-False-False]",
+ "eval.tests.test_zm_cliprect.test_haszm[LINESTRING M EMPTY-False-True]",
+ "eval.tests.test_zm_cliprect.test_haszm[LINESTRING Z EMPTY-True-False]",
+ "eval.tests.test_zm_cliprect.test_haszm[LINESTRING ZM EMPTY-True-True]",
+ "eval.tests.test_zm_cliprect.test_haszm[POINT EMPTY-False-False]",
+ "eval.tests.test_zm_cliprect.test_haszm[POINT M (1 2 3)-False-True]",
+ "eval.tests.test_zm_cliprect.test_haszm[POINT M EMPTY-False-True]",
+ "eval.tests.test_zm_cliprect.test_haszm[POINT Z EMPTY-True-False]",
+ "eval.tests.test_zm_cliprect.test_haszm[POINT ZM EMPTY-True-True]",
+ "eval.tests.test_zm_cliprect.test_haszm[POLYGON ((1 -2, 9 -2, 9 5, 1 5, 1 -2))-False-False]"
+ ]
+ }
+ },
+ "commit": "2c89410f5c6aef61a3f0d72a29c1f88cfb3573a4",
+ "data_source": "synthetic_programgym",
+ "difficulty": "medium",
+ "difficulty_score": 3.6609678759837205,
+ "eval_clean_hashes": [
+ "1f665b1680745d7a7e01156b10f3aa414a4bec0a758d002f1ce581aa4dfe5c79"
+ ],
+ "input_record": {
+ "commit": "2c89410f5c6aef61a3f0d72a29c1f88cfb3573a4",
+ "difficulty": "medium",
+ "difficulty_code_lines": 229054,
+ "difficulty_has_tests": true,
+ "difficulty_product_code_lines": 229054,
+ "difficulty_runtime_deps": 1,
+ "difficulty_score": 3.6609678759837205,
+ "difficulty_test_code_lines": 101604,
+ "full_name": "libgeos/geos",
+ "input_joern_zip": "cpp_joern/libgeos__geos.zip",
+ "joern_status": true,
+ "joern_time": 65.71176722017117,
+ "language": "cpp",
+ "pb_match": [
+ {
+ "pb_fullname": "gromacs/gromacs",
+ "rank": 466,
+ "similarity": 0.4825037717819214
+ },
+ {
+ "pb_fullname": "duckdb/duckdb",
+ "rank": 199,
+ "similarity": 0.5122401118278503
+ },
+ {
+ "pb_fullname": "OSGeo/gdal",
+ "rank": 62,
+ "similarity": 0.5230171084403992
+ },
+ {
+ "pb_fullname": "OSGeo/PROJ",
+ "rank": 67,
+ "similarity": 0.48024696111679077
+ },
+ {
+ "pb_fullname": "ninja-build/ninja",
+ "rank": 767,
+ "similarity": 0.43298056721687317
+ },
+ {
+ "pb_fullname": "HaliteChallenge/Halite",
+ "rank": 618,
+ "similarity": 0.44006597995758057
+ }
+ ],
+ "repo_path": "cpp/libgeos__geos",
+ "source": "commit:2c89410f5c6aef61a3f0d72a29c1f88cfb3573a4",
+ "status": "done",
+ "url": "https://github.com/libgeos/geos"
+ },
+ "instance_id": "libgeos__geos.2c89410",
+ "language": "cpp",
+ "module_iterations": [
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_01",
+ "iteration_limit": 15,
+ "module_index": 1,
+ "module_kind": "source",
+ "termination_reason": "module_coverage_threshold_reached"
+ },
+ {
+ "actual_iterations": 15,
+ "branch_name": "generated_module_02",
+ "iteration_limit": 15,
+ "module_index": 2,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 8,
+ "branch_name": "generated_module_03",
+ "iteration_limit": 15,
+ "module_index": 3,
+ "module_kind": "source",
+ "termination_reason": "early_stopping"
+ },
+ {
+ "actual_iterations": 10,
+ "branch_name": "generated_module_04",
+ "iteration_limit": 15,
+ "module_index": 4,
+ "module_kind": "source",
+ "termination_reason": "early_stopping"
+ },
+ {
+ "actual_iterations": 12,
+ "branch_name": "generated_module_05",
+ "iteration_limit": 15,
+ "module_index": 5,
+ "module_kind": "source",
+ "termination_reason": "module_coverage_threshold_reached"
+ },
+ {
+ "actual_iterations": 15,
+ "branch_name": "generated_module_06",
+ "iteration_limit": 15,
+ "module_index": 6,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 15,
+ "branch_name": "generated_upstream",
+ "iteration_limit": 15,
+ "module_index": 7,
+ "module_kind": "tests",
+ "termination_reason": "max_iterations"
+ }
+ ],
+ "repository": "libgeos/geos"
+}
diff --git a/libgeos--geos.2c89410/tests/test.sh b/libgeos--geos.2c89410/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/libgeos--geos.2c89410/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/libgeos--geos.2c89410/tests/workspace.tar.gz b/libgeos--geos.2c89410/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..e80e1f7b6634ad47b94d2b74a677074613234058
--- /dev/null
+++ b/libgeos--geos.2c89410/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e555dfa4476fa20902b3919a9df839c1416cc9e8b920542e12fb2e8264e2cc3f
+size 4633
diff --git a/libigl--libigl.cab0371/environment/Dockerfile b/libigl--libigl.cab0371/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..736b92148dd4c993902b7d08b80956d73d9819e7
--- /dev/null
+++ b/libigl--libigl.cab0371/environment/Dockerfile
@@ -0,0 +1,57 @@
+FROM ubuntu:22.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip autoconf automake gettext file binutils g++ libtool libncurses-dev meson ninja-build unzip wget curl xz-utils bzip2 zip zstd patch python3-pytest python3-pytest-xdist python3-coverage tar && rm -rf /var/lib/apt/lists/*
+ARG CMAKE_VERSION=3.31.10
+ARG CMAKE_PYPI_INDEX_URL=https://pypi.org/simple
+RUN set -eux; python3 -m pip install --no-cache-dir --index-url "${CMAKE_PYPI_INDEX_URL}" --trusted-host "mirror.example.invalid" "cmake==${CMAKE_VERSION}"; cmake --version; ctest --version; cpack --version
+COPY programgym-gcc13.tar.gz /tmp/gcc.tar.gz
+ARG GCC_VERSION=13.3.0
+RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) GCC_ARCH="x64" ;; arm64) GCC_ARCH="arm64" ;; *) echo "unsupported architecture for GCC 13: ${ARCH}" >&2; exit 1 ;; esac; if [ "${GCC_ARCH}" != "x64" ]; then echo "the staged GCC 13 archive is for x64, got ${GCC_ARCH}" >&2; exit 1; fi; rm -rf /opt/gcc-13; mkdir -p /opt/gcc-13; tar -xzf /tmp/gcc.tar.gz --strip-components=1 -C /opt/gcc-13; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/c++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc-13; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++-13; for PROGRAMGYM_GCOV_TOOL in gcov gcov-dump gcov-tool; do if [ -x "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" ]; then ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}-13"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/bin/${PROGRAMGYM_GCOV_TOOL}"; fi; done; ln -sf /opt/gcc-13/bin/gcc /usr/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/c++; rm -f /tmp/gcc.tar.gz; gcc --version; g++ --version; gcov --version; command -v gcov-dump >/dev/null && gcov-dump --version | head -n 1 || true
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /workspace/download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/libigl--libigl.cab0371/environment/download.sh b/libigl--libigl.cab0371/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..daccb740760ec95e79a50c74ff8f925b90db3c12
--- /dev/null
+++ b/libigl--libigl.cab0371/environment/download.sh
@@ -0,0 +1,128 @@
+#!/usr/bin/env bash
+# ProgramGym download stage for libigl/libigl (example target: 101_FileIO).
+#
+# This script is SOURCED, not executed: source /source_ro/download.sh
+# It may fetch/prefetch dependencies (network is available here) but must NOT
+# compile, link, test, package, or otherwise build the project.
+#
+# The repository source tree is NOT available during this stage, so all
+# dependency content is generated inline or fetched from explicit URLs.
+#
+# It prepares an offline cache consumed later by build.sh:
+# - the Eigen source tree that libigl's igl::core depends on
+# - a minimal libigl-tutorial-data source dir providing cube.off, which the
+# 101_FileIO tutorial reads at runtime via TUTORIAL_SHARED_PATH
+#
+# IMPORTANT for build.sh: libigl's cmake/recipes/external/eigen.cmake calls
+# FetchContent_Populate(eigen) directly (the deprecated direct call). In CMake
+# 3.31 FetchContent_Populate only honours FETCHCONTENT_SOURCE_DIR_* as a CACHE
+# variable (-D...), NOT as an environment variable. build.sh therefore passes
+# the directories prepared here via -DFETCHCONTENT_SOURCE_DIR_* on the cmake
+# command line, so the exact paths below must match what build.sh uses.
+
+if [ -z "${PROGRAMGYM_DEPS:-}" ]; then
+ PROGRAMGYM_DEPS=/workspace/.programgym_deps
+fi
+export PROGRAMGYM_DEPS
+
+mkdir -p "${PROGRAMGYM_DEPS}"
+
+# ---- Eigen (pinned by libigl's cmake/recipes/external/eigen.cmake) ---------
+# eigen.cmake declares: GIT_REPOSITORY https://gitlab.com/libeigen/eigen.git
+# GIT_TAG tags/5.0.1
+EIGEN_VERSION=5.0.1
+EIGEN_URL="https://gitlab.com/libeigen/eigen/-/archive/${EIGEN_VERSION}/eigen-${EIGEN_VERSION}.tar.gz"
+EIGEN_SRC="${PROGRAMGYM_DEPS}/eigen-src"
+
+if [ ! -d "${EIGEN_SRC}/Eigen" ]; then
+ EIGEN_TGZ="${PROGRAMGYM_DEPS}/eigen-${EIGEN_VERSION}.tar.gz"
+ if [ ! -f "${EIGEN_TGZ}" ]; then
+ if ! wget -q -O "${EIGEN_TGZ}" "${EIGEN_URL}"; then
+ echo "download.sh: failed to fetch Eigen ${EIGEN_VERSION}" >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+ fi
+ fi
+ EXTRACTED_DIR="${PROGRAMGYM_DEPS}/eigen-${EIGEN_VERSION}"
+ if [ -d "${EXTRACTED_DIR}" ]; then
+ rm -rf "${EXTRACTED_DIR}"
+ fi
+ if ! tar xzf "${EIGEN_TGZ}" -C "${PROGRAMGYM_DEPS}"; then
+ echo "download.sh: failed to unpack Eigen tarball" >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+ fi
+ if [ -d "${EXTRACTED_DIR}/Eigen" ]; then
+ if ! mv "${EXTRACTED_DIR}" "${EIGEN_SRC}"; then
+ echo "download.sh: failed to stage Eigen source tree" >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+ fi
+ fi
+fi
+
+if [ ! -d "${EIGEN_SRC}/Eigen" ]; then
+ echo "download.sh: Eigen source tree not found at ${EIGEN_SRC}" >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+
+# ---- Minimal libigl-tutorial-data tree --------------------------------------
+# libigl's cmake/recipes/external/libigl_tutorial_data.cmake declares
+# GIT_REPOSITORY https://github.com/libigl/libigl-tutorial-data and defines
+# TUTORIAL_SHARED_PATH="${libigl_tutorial_data_SOURCE_DIR}". The 101_FileIO
+# tutorial opens ${TUTORIAL_SHARED_PATH}/cube.off, so we provide an offline
+# data source dir containing exactly that mesh. A minimal CMakeLists.txt is
+# required so FetchContent_MakeAvailable can add_subdirectory it.
+TUTORIAL_SRC="${PROGRAMGYM_DEPS}/tutorial-data"
+if [ ! -f "${TUTORIAL_SRC}/cube.off" ]; then
+ mkdir -p "${TUTORIAL_SRC}"
+
+ TUTORIAL_DATA_CMAKE="cmake_minimum_required(VERSION 3.5)
+project(libigl_tutorial_data LANGUAGES CXX)
+"
+ printf '%s\n' "${TUTORIAL_DATA_CMAKE}" > "${TUTORIAL_SRC}/CMakeLists.txt"
+
+ CUBEOFF="OFF
+8 6 12
+-1 -1 -1
+1 -1 -1
+1 1 -1
+-1 1 -1
+-1 -1 1
+1 -1 1
+1 1 1
+-1 1 1
+4 0 1 2 3
+4 0 4 5 1
+4 1 5 6 2
+4 2 6 7 3
+4 3 7 4 0
+4 4 7 6 5
+"
+ printf '%s\n' "${CUBEOFF}" > "${TUTORIAL_SRC}/cube.off"
+fi
+
+if [ ! -f "${TUTORIAL_SRC}/cube.off" ]; then
+ echo "download.sh: failed to write tutorial data cube.off" >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+
+echo "download.sh: Eigen ready at ${EIGEN_SRC}"
+echo "download.sh: tutorial data ready at ${TUTORIAL_SRC}"
diff --git a/libigl--libigl.cab0371/environment/executable b/libigl--libigl.cab0371/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..ec61307ab4c69f0c58d636ef85fac1a346ae5c35
--- /dev/null
+++ b/libigl--libigl.cab0371/environment/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ac6bb740d61c56304dfcdd3c538227ad168365fccc0e773c0452042cf4c773b5
+size 2807344
diff --git a/libigl--libigl.cab0371/environment/harbor_prepare_download_env.sh b/libigl--libigl.cab0371/environment/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..2c7dd2f2b8fff5fb8926261279d38518e59e407c
--- /dev/null
+++ b/libigl--libigl.cab0371/environment/harbor_prepare_download_env.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+set -euo pipefail
+cd /workspace
+set -a
+source /workspace/download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/libigl--libigl.cab0371/environment/programgym-gcc13.tar.gz b/libigl--libigl.cab0371/environment/programgym-gcc13.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..d65584edfe74425f789a3d2095fa0f130d7ab461
--- /dev/null
+++ b/libigl--libigl.cab0371/environment/programgym-gcc13.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5f67d082b220036c564f110ec9a2dffb736597685d2424761993561d836ebf88
+size 146620404
diff --git a/libigl--libigl.cab0371/environment/workspace.tar.gz b/libigl--libigl.cab0371/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..b26e96fc74ecf26bce8d81ace3381ceb67c19d2b
--- /dev/null
+++ b/libigl--libigl.cab0371/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0ab76e2bd30375321bd4276218f88097f30bf55c94aaf6074094fd6ef0d4f37b
+size 1128
diff --git a/libigl--libigl.cab0371/instruction.md b/libigl--libigl.cab0371/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/libigl--libigl.cab0371/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/libigl--libigl.cab0371/solution/solve.sh b/libigl--libigl.cab0371/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/libigl--libigl.cab0371/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/libigl--libigl.cab0371/task.toml b/libigl--libigl.cab0371/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..520e7d162cac758d0e3a505027c74cbdac03d0f3
--- /dev/null
+++ b/libigl--libigl.cab0371/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/libigl--libigl.cab0371"
+description = "Synthetic ProgramGym cleanroom reconstruction task for libigl/libigl"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "cpp"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "libigl__libigl.cab0371"
+repository = "libigl/libigl"
+commit = "cab03717c7f6f3657bed6438601abf43d84a208f"
+language = "cpp"
+difficulty = "medium"
+difficulty_score = 3.7862572375569066
+test_branches = 6
+test_count = 802
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/libigl--libigl.cab0371/tests/Dockerfile b/libigl--libigl.cab0371/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..7ff3c98df93505861b0a050209ad20f385db35f4
--- /dev/null
+++ b/libigl--libigl.cab0371/tests/Dockerfile
@@ -0,0 +1,65 @@
+FROM ubuntu:22.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip autoconf automake gettext file binutils g++ libtool libncurses-dev meson ninja-build unzip wget curl xz-utils bzip2 zip zstd patch python3-pytest python3-pytest-xdist python3-coverage tar && rm -rf /var/lib/apt/lists/*
+ARG CMAKE_VERSION=3.31.10
+ARG CMAKE_PYPI_INDEX_URL=https://pypi.org/simple
+RUN set -eux; python3 -m pip install --no-cache-dir --index-url "${CMAKE_PYPI_INDEX_URL}" --trusted-host "mirror.example.invalid" "cmake==${CMAKE_VERSION}"; cmake --version; ctest --version; cpack --version
+COPY programgym-gcc13.tar.gz /tmp/gcc.tar.gz
+ARG GCC_VERSION=13.3.0
+RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) GCC_ARCH="x64" ;; arm64) GCC_ARCH="arm64" ;; *) echo "unsupported architecture for GCC 13: ${ARCH}" >&2; exit 1 ;; esac; if [ "${GCC_ARCH}" != "x64" ]; then echo "the staged GCC 13 archive is for x64, got ${GCC_ARCH}" >&2; exit 1; fi; rm -rf /opt/gcc-13; mkdir -p /opt/gcc-13; tar -xzf /tmp/gcc.tar.gz --strip-components=1 -C /opt/gcc-13; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/c++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc-13; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++-13; for PROGRAMGYM_GCOV_TOOL in gcov gcov-dump gcov-tool; do if [ -x "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" ]; then ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}-13"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/bin/${PROGRAMGYM_GCOV_TOOL}"; fi; done; ln -sf /opt/gcc-13/bin/gcc /usr/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/c++; rm -f /tmp/gcc.tar.gz; gcc --version; g++ --version; gcov --version; command -v gcov-dump >/dev/null && gcov-dump --version | head -n 1 || true
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /workspace/download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN python3 -m pip install --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/libigl--libigl.cab0371/tests/blobs/tests/generated_module_01.tar.gz b/libigl--libigl.cab0371/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..1c505c974b7f3fb7e419a54afa946258a3a08460
--- /dev/null
+++ b/libigl--libigl.cab0371/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f1d835b1c63e93770dcdeca885572da1a2d3023bd25357173feaea5313685da1
+size 17029
diff --git a/libigl--libigl.cab0371/tests/blobs/tests/generated_module_03.tar.gz b/libigl--libigl.cab0371/tests/blobs/tests/generated_module_03.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..ce7fa1409c22b38a3fbda644c1a58cf33fb89007
--- /dev/null
+++ b/libigl--libigl.cab0371/tests/blobs/tests/generated_module_03.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:832124ef6f7f4b1ef6bdc323dfe56199468981d19ef43409958cc7337971f060
+size 19830
diff --git a/libigl--libigl.cab0371/tests/blobs/tests/generated_module_04.tar.gz b/libigl--libigl.cab0371/tests/blobs/tests/generated_module_04.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..3d0a282f5112955ea94f5997b5c9acd92d7b5e72
--- /dev/null
+++ b/libigl--libigl.cab0371/tests/blobs/tests/generated_module_04.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fa620b2752e2b6a4bfcf484e3d1f278062298375e9db17c850c80fe5e28ffde8
+size 21099
diff --git a/libigl--libigl.cab0371/tests/blobs/tests/generated_module_05.tar.gz b/libigl--libigl.cab0371/tests/blobs/tests/generated_module_05.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..348091539a3e65a33232f5d136f83eb6c3c068d2
--- /dev/null
+++ b/libigl--libigl.cab0371/tests/blobs/tests/generated_module_05.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3f305c8170bd1bef0b7f2f4349f9d8f1e5c7dde2f1a6d17ba474bc4a951c156f
+size 18739
diff --git a/libigl--libigl.cab0371/tests/blobs/tests/generated_module_06.tar.gz b/libigl--libigl.cab0371/tests/blobs/tests/generated_module_06.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..b13e9f922cfc1d354dfcc56cbcf1dadc77ef5233
--- /dev/null
+++ b/libigl--libigl.cab0371/tests/blobs/tests/generated_module_06.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cc557a6566c78f79a6c652bbe6baaea6e0d26b30bb5d8a988870d00d13114577
+size 19647
diff --git a/libigl--libigl.cab0371/tests/blobs/tests/generated_upstream.tar.gz b/libigl--libigl.cab0371/tests/blobs/tests/generated_upstream.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..435723a6d8c2ec99b7b84453083951138e878374
--- /dev/null
+++ b/libigl--libigl.cab0371/tests/blobs/tests/generated_upstream.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b9a6f7b7ac9aa0479aa6bd51fed14f64a37dc87c78e6fe53ad385b18d66af00d
+size 2591
diff --git a/libigl--libigl.cab0371/tests/download.sh b/libigl--libigl.cab0371/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..daccb740760ec95e79a50c74ff8f925b90db3c12
--- /dev/null
+++ b/libigl--libigl.cab0371/tests/download.sh
@@ -0,0 +1,128 @@
+#!/usr/bin/env bash
+# ProgramGym download stage for libigl/libigl (example target: 101_FileIO).
+#
+# This script is SOURCED, not executed: source /source_ro/download.sh
+# It may fetch/prefetch dependencies (network is available here) but must NOT
+# compile, link, test, package, or otherwise build the project.
+#
+# The repository source tree is NOT available during this stage, so all
+# dependency content is generated inline or fetched from explicit URLs.
+#
+# It prepares an offline cache consumed later by build.sh:
+# - the Eigen source tree that libigl's igl::core depends on
+# - a minimal libigl-tutorial-data source dir providing cube.off, which the
+# 101_FileIO tutorial reads at runtime via TUTORIAL_SHARED_PATH
+#
+# IMPORTANT for build.sh: libigl's cmake/recipes/external/eigen.cmake calls
+# FetchContent_Populate(eigen) directly (the deprecated direct call). In CMake
+# 3.31 FetchContent_Populate only honours FETCHCONTENT_SOURCE_DIR_* as a CACHE
+# variable (-D...), NOT as an environment variable. build.sh therefore passes
+# the directories prepared here via -DFETCHCONTENT_SOURCE_DIR_* on the cmake
+# command line, so the exact paths below must match what build.sh uses.
+
+if [ -z "${PROGRAMGYM_DEPS:-}" ]; then
+ PROGRAMGYM_DEPS=/workspace/.programgym_deps
+fi
+export PROGRAMGYM_DEPS
+
+mkdir -p "${PROGRAMGYM_DEPS}"
+
+# ---- Eigen (pinned by libigl's cmake/recipes/external/eigen.cmake) ---------
+# eigen.cmake declares: GIT_REPOSITORY https://gitlab.com/libeigen/eigen.git
+# GIT_TAG tags/5.0.1
+EIGEN_VERSION=5.0.1
+EIGEN_URL="https://gitlab.com/libeigen/eigen/-/archive/${EIGEN_VERSION}/eigen-${EIGEN_VERSION}.tar.gz"
+EIGEN_SRC="${PROGRAMGYM_DEPS}/eigen-src"
+
+if [ ! -d "${EIGEN_SRC}/Eigen" ]; then
+ EIGEN_TGZ="${PROGRAMGYM_DEPS}/eigen-${EIGEN_VERSION}.tar.gz"
+ if [ ! -f "${EIGEN_TGZ}" ]; then
+ if ! wget -q -O "${EIGEN_TGZ}" "${EIGEN_URL}"; then
+ echo "download.sh: failed to fetch Eigen ${EIGEN_VERSION}" >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+ fi
+ fi
+ EXTRACTED_DIR="${PROGRAMGYM_DEPS}/eigen-${EIGEN_VERSION}"
+ if [ -d "${EXTRACTED_DIR}" ]; then
+ rm -rf "${EXTRACTED_DIR}"
+ fi
+ if ! tar xzf "${EIGEN_TGZ}" -C "${PROGRAMGYM_DEPS}"; then
+ echo "download.sh: failed to unpack Eigen tarball" >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+ fi
+ if [ -d "${EXTRACTED_DIR}/Eigen" ]; then
+ if ! mv "${EXTRACTED_DIR}" "${EIGEN_SRC}"; then
+ echo "download.sh: failed to stage Eigen source tree" >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+ fi
+ fi
+fi
+
+if [ ! -d "${EIGEN_SRC}/Eigen" ]; then
+ echo "download.sh: Eigen source tree not found at ${EIGEN_SRC}" >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+
+# ---- Minimal libigl-tutorial-data tree --------------------------------------
+# libigl's cmake/recipes/external/libigl_tutorial_data.cmake declares
+# GIT_REPOSITORY https://github.com/libigl/libigl-tutorial-data and defines
+# TUTORIAL_SHARED_PATH="${libigl_tutorial_data_SOURCE_DIR}". The 101_FileIO
+# tutorial opens ${TUTORIAL_SHARED_PATH}/cube.off, so we provide an offline
+# data source dir containing exactly that mesh. A minimal CMakeLists.txt is
+# required so FetchContent_MakeAvailable can add_subdirectory it.
+TUTORIAL_SRC="${PROGRAMGYM_DEPS}/tutorial-data"
+if [ ! -f "${TUTORIAL_SRC}/cube.off" ]; then
+ mkdir -p "${TUTORIAL_SRC}"
+
+ TUTORIAL_DATA_CMAKE="cmake_minimum_required(VERSION 3.5)
+project(libigl_tutorial_data LANGUAGES CXX)
+"
+ printf '%s\n' "${TUTORIAL_DATA_CMAKE}" > "${TUTORIAL_SRC}/CMakeLists.txt"
+
+ CUBEOFF="OFF
+8 6 12
+-1 -1 -1
+1 -1 -1
+1 1 -1
+-1 1 -1
+-1 -1 1
+1 -1 1
+1 1 1
+-1 1 1
+4 0 1 2 3
+4 0 4 5 1
+4 1 5 6 2
+4 2 6 7 3
+4 3 7 4 0
+4 4 7 6 5
+"
+ printf '%s\n' "${CUBEOFF}" > "${TUTORIAL_SRC}/cube.off"
+fi
+
+if [ ! -f "${TUTORIAL_SRC}/cube.off" ]; then
+ echo "download.sh: failed to write tutorial data cube.off" >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+
+echo "download.sh: Eigen ready at ${EIGEN_SRC}"
+echo "download.sh: tutorial data ready at ${TUTORIAL_SRC}"
diff --git a/libigl--libigl.cab0371/tests/executable b/libigl--libigl.cab0371/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..ec61307ab4c69f0c58d636ef85fac1a346ae5c35
--- /dev/null
+++ b/libigl--libigl.cab0371/tests/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ac6bb740d61c56304dfcdd3c538227ad168365fccc0e773c0452042cf4c773b5
+size 2807344
diff --git a/libigl--libigl.cab0371/tests/harbor_prepare_download_env.sh b/libigl--libigl.cab0371/tests/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..2c7dd2f2b8fff5fb8926261279d38518e59e407c
--- /dev/null
+++ b/libigl--libigl.cab0371/tests/harbor_prepare_download_env.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+set -euo pipefail
+cd /workspace
+set -a
+source /workspace/download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/libigl--libigl.cab0371/tests/programgym-gcc13.tar.gz b/libigl--libigl.cab0371/tests/programgym-gcc13.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..d65584edfe74425f789a3d2095fa0f130d7ab461
--- /dev/null
+++ b/libigl--libigl.cab0371/tests/programgym-gcc13.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5f67d082b220036c564f110ec9a2dffb736597685d2424761993561d836ebf88
+size 146620404
diff --git a/libigl--libigl.cab0371/tests/programgym_evaluator.py b/libigl--libigl.cab0371/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/libigl--libigl.cab0371/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/libigl--libigl.cab0371/tests/programgym_task.json b/libigl--libigl.cab0371/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..e1534e30ecbc896a4220a6fbcdaf136f2f0400df
--- /dev/null
+++ b/libigl--libigl.cab0371/tests/programgym_task.json
@@ -0,0 +1,1145 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [
+ {
+ "name": "eval.tests.test_writeobj_sibling_integrity.test_writeobj_erofs_symlink_into_readonly_workspace",
+ "reasons": [
+ {
+ "detail": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/.programgym__wtest'",
+ "id": "gold_fail",
+ "message": "test failed against the reference executable",
+ "repair_hint": "Fix the expected observable behavior so the test passes against the reference executable.",
+ "severity": "error",
+ "stage": "gold_execution"
+ },
+ {
+ "id": "skip_without_fixture",
+ "message": "pytest test skips when fixture assets are missing",
+ "path": "eval/tests/test_writeobj_sibling_integrity.py",
+ "repair_hint": "Bundle required fixtures with the branch instead of skipping when they are missing.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ }
+ ],
+ "tests": [
+ "eval.tests.test_executable_io.test_all_diagnostics_on_stdout",
+ "eval.tests.test_executable_io.test_cube_obj_content_is_only_newlines",
+ "eval.tests.test_executable_io.test_cube_obj_created",
+ "eval.tests.test_executable_io.test_cube_obj_exact_content",
+ "eval.tests.test_executable_io.test_cube_obj_expected_delta_from_missing_to_present",
+ "eval.tests.test_executable_io.test_cube_obj_is_created_in_current_working_dir",
+ "eval.tests.test_executable_io.test_cube_obj_two_bytes",
+ "eval.tests.test_executable_io.test_empty_mesh_matrices",
+ "eval.tests.test_executable_io.test_exact_stdout_octet_match",
+ "eval.tests.test_executable_io.test_exit_code_success",
+ "eval.tests.test_executable_io.test_faces_header_has_padding_spaces",
+ "eval.tests.test_executable_io.test_idempotent_stdout",
+ "eval.tests.test_executable_io.test_ioerror_message_printed",
+ "eval.tests.test_executable_io.test_ioerror_names_baked_off_path",
+ "eval.tests.test_executable_io.test_ioerror_precedes_mesh_headers",
+ "eval.tests.test_executable_io.test_no_extra_output_files_besides_cube_obj",
+ "eval.tests.test_executable_io.test_no_faces_printed_when_mesh_missing",
+ "eval.tests.test_executable_io.test_no_vertices_printed_when_mesh_missing",
+ "eval.tests.test_executable_io.test_preexisting_cube_obj_empty_line_replaced",
+ "eval.tests.test_executable_io.test_preexisting_cube_obj_is_overwritten",
+ "eval.tests.test_executable_io.test_preexisting_cube_obj_shortened",
+ "eval.tests.test_executable_io.test_stderr_is_empty",
+ "eval.tests.test_executable_io.test_stdout_deterministic_across_repeats[repeat_2x]",
+ "eval.tests.test_executable_io.test_stdout_deterministic_across_repeats[repeat_3x]",
+ "eval.tests.test_executable_io.test_stdout_deterministic_across_repeats[repeat_5x]",
+ "eval.tests.test_executable_io.test_stdout_is_not_empty",
+ "eval.tests.test_executable_io.test_vertices_precedes_faces",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_artifact[directory_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_artifact[help_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_artifact[no_args]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_artifact[nonexistent_path_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_artifact[numeric_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_artifact[short_help_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_artifact[single_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_artifact[stdin_dash_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_artifact[two_args]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_artifact[version_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_artifact[whitespace_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_stdout[directory_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_stdout[help_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_stdout[no_args]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_stdout[nonexistent_path_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_stdout[numeric_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_stdout[short_help_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_stdout[single_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_stdout[stdin_dash_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_stdout[two_args]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_stdout[version_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_change_stdout[whitespace_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_emit_stderr[directory_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_emit_stderr[help_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_emit_stderr[no_args]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_emit_stderr[nonexistent_path_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_emit_stderr[numeric_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_emit_stderr[short_help_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_emit_stderr[single_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_emit_stderr[stdin_dash_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_emit_stderr[two_args]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_emit_stderr[version_arg]",
+ "eval.tests.test_executable_paths.test_cli_args_do_not_emit_stderr[whitespace_arg]",
+ "eval.tests.test_executable_paths.test_cube_obj_written_into_each_working_directory[dir_with_cube_off]",
+ "eval.tests.test_executable_paths.test_cube_obj_written_into_each_working_directory[dir_with_other_file]",
+ "eval.tests.test_executable_paths.test_cube_obj_written_into_each_working_directory[empty_dir]",
+ "eval.tests.test_executable_paths.test_cube_obj_written_into_each_working_directory[nested_dir]",
+ "eval.tests.test_executable_paths.test_cube_obj_written_to_absolute_cwd",
+ "eval.tests.test_executable_paths.test_cube_obj_written_to_relative_resolved_cwd",
+ "eval.tests.test_executable_paths.test_executable_is_truly_an_elf",
+ "eval.tests.test_executable_paths.test_local_cube_off_and_cube_obj_side_effect",
+ "eval.tests.test_executable_paths.test_local_cube_off_does_not_alter_stdout",
+ "eval.tests.test_executable_paths.test_local_cube_off_in_cwd_is_ignored",
+ "eval.tests.test_executable_paths.test_malformed_local_cube_off_has_no_effect",
+ "eval.tests.test_executable_paths.test_programgym_executable_env_is_set",
+ "eval.tests.test_executable_paths.test_two_isolated_directories_get_two_artifacts",
+ "eval.tests.test_fsobj_state_machine.test_broken_symlink_target_is_created_and_written_through",
+ "eval.tests.test_fsobj_state_machine.test_hardlinked_other_name_is_observably_rewritten",
+ "eval.tests.test_fsobj_state_machine.test_plain_file_control_success_path",
+ "eval.tests.test_fsobj_state_machine.test_symlink_to_directory_takes_writeobj_error_branch[symlink_to_dir_with_file]",
+ "eval.tests.test_fsobj_state_machine.test_symlink_to_directory_takes_writeobj_error_branch[symlink_to_empty_dir]",
+ "eval.tests.test_fsobj_state_machine.test_symlink_to_existing_regular_file_is_written_through",
+ "eval.tests.test_golden_outputs.test_executable_stdout_is_exactly_109_bytes",
+ "eval.tests.test_golden_outputs.test_executable_stdout_is_utf8_plain_text",
+ "eval.tests.test_golden_outputs.test_golden_stdout_round_trip_in_pipeline",
+ "eval.tests.test_golden_outputs.test_stdout_matches_golden_file",
+ "eval.tests.test_read_absolute_path_invariance.test_cube_off_as_broken_symlink_in_cwd_is_ignored",
+ "eval.tests.test_read_absolute_path_invariance.test_cwd_cube_off_collision_is_ignored_by_readoff[cube_off_as_directory]",
+ "eval.tests.test_read_absolute_path_invariance.test_cwd_cube_off_collision_is_ignored_by_readoff[cube_off_as_non_off_file]",
+ "eval.tests.test_read_absolute_path_invariance.test_cwd_cube_off_collision_is_ignored_by_readoff[cube_off_as_valid_off_file]",
+ "eval.tests.test_read_absolute_path_invariance.test_read_report_scoped_to_absolute_path_line_only",
+ "eval.tests.test_read_absolute_path_invariance.test_read_side_produces_no_artifact_beyond_cube_obj",
+ "eval.tests.test_writeobj_error_and_isolation.test_environment_does_not_alter_stdout[empty_locale]",
+ "eval.tests.test_writeobj_error_and_isolation.test_environment_does_not_alter_stdout[lang_ja]",
+ "eval.tests.test_writeobj_error_and_isolation.test_environment_does_not_alter_stdout[lc_all_c]",
+ "eval.tests.test_writeobj_error_and_isolation.test_environment_does_not_alter_stdout[term_256]",
+ "eval.tests.test_writeobj_error_and_isolation.test_stdin_is_ignored_for_artifact_and_stderr[binary_stdin]",
+ "eval.tests.test_writeobj_error_and_isolation.test_stdin_is_ignored_for_artifact_and_stderr[empty_stdin]",
+ "eval.tests.test_writeobj_error_and_isolation.test_stdin_is_ignored_for_artifact_and_stderr[one_megabyte_stdin]",
+ "eval.tests.test_writeobj_error_and_isolation.test_stdin_is_ignored_for_artifact_and_stderr[text_stdin]",
+ "eval.tests.test_writeobj_error_and_isolation.test_stdin_is_ignored_for_artifact_and_stderr[valid_off_on_stdin]",
+ "eval.tests.test_writeobj_error_and_isolation.test_stdin_is_ignored_for_stdout[binary_stdin]",
+ "eval.tests.test_writeobj_error_and_isolation.test_stdin_is_ignored_for_stdout[empty_stdin]",
+ "eval.tests.test_writeobj_error_and_isolation.test_stdin_is_ignored_for_stdout[one_megabyte_stdin]",
+ "eval.tests.test_writeobj_error_and_isolation.test_stdin_is_ignored_for_stdout[text_stdin]",
+ "eval.tests.test_writeobj_error_and_isolation.test_stdin_is_ignored_for_stdout[valid_off_on_stdin]",
+ "eval.tests.test_writeobj_error_and_isolation.test_writeobj_error_does_not_alter_stdout",
+ "eval.tests.test_writeobj_error_and_isolation.test_writeobj_error_exit_code_still_zero",
+ "eval.tests.test_writeobj_error_and_isolation.test_writeobj_error_message_names_cube_obj",
+ "eval.tests.test_writeobj_error_and_isolation.test_writeobj_error_renders_no_output_file",
+ "eval.tests.test_writeobj_error_and_isolation.test_writeobj_error_within_directory_variants[dir_with_file]",
+ "eval.tests.test_writeobj_error_and_isolation.test_writeobj_error_within_directory_variants[dir_with_nested_subdir]",
+ "eval.tests.test_writeobj_error_and_isolation.test_writeobj_error_within_directory_variants[empty_dir]",
+ "eval.tests.test_writeobj_error_and_isolation.test_writeobj_stderr_is_nonempty_when_cube_obj_is_a_directory",
+ "eval.tests.test_writeobj_fs_object_kinds.test_broken_symlink_into_nested_path_creates_target_success[broken_link_one_dir_deep]",
+ "eval.tests.test_writeobj_fs_object_kinds.test_broken_symlink_into_nested_path_creates_target_success[broken_link_two_dirs_deep]",
+ "eval.tests.test_writeobj_fs_object_kinds.test_cube_obj_is_self_referential_symlink_error_branch",
+ "eval.tests.test_writeobj_fs_object_kinds.test_cube_obj_is_two_file_symlink_cycle_error_branch",
+ "eval.tests.test_writeobj_fs_object_kinds.test_multi_hop_symlink_chain_to_directory_error_branch",
+ "eval.tests.test_writeobj_fs_object_kinds.test_symlink_to_directory_error_branch_via_absolute_and_relative[absolute_symlink_to_directory]",
+ "eval.tests.test_writeobj_fs_object_kinds.test_symlink_to_directory_error_branch_via_absolute_and_relative[relative_symlink_to_directory]",
+ "eval.tests.test_writeobj_sibling_integrity.test_writeobj_erofs_symlink_into_readonly_workspace",
+ "eval.tests.test_writeobj_sibling_integrity.test_writeobj_failure_preserves_multiple_siblings",
+ "eval.tests.test_writeobj_sibling_integrity.test_writeobj_failure_preserves_sibling_bytes[keeps_keep.bin-cube_obj_as_abs_link_to_dir]",
+ "eval.tests.test_writeobj_sibling_integrity.test_writeobj_failure_preserves_sibling_bytes[keeps_keep.bin-cube_obj_as_directory]",
+ "eval.tests.test_writeobj_sibling_integrity.test_writeobj_failure_preserves_sibling_bytes[keeps_keep.bin-cube_obj_as_multihop_link_to_dir]",
+ "eval.tests.test_writeobj_sibling_integrity.test_writeobj_failure_preserves_sibling_bytes[keeps_keep.bin-cube_obj_as_self_cycle_link]",
+ "eval.tests.test_writeobj_sibling_integrity.test_writeobj_failure_preserves_sibling_bytes[keeps_note.txt-cube_obj_as_abs_link_to_dir]",
+ "eval.tests.test_writeobj_sibling_integrity.test_writeobj_failure_preserves_sibling_bytes[keeps_note.txt-cube_obj_as_directory]",
+ "eval.tests.test_writeobj_sibling_integrity.test_writeobj_failure_preserves_sibling_bytes[keeps_note.txt-cube_obj_as_multihop_link_to_dir]",
+ "eval.tests.test_writeobj_sibling_integrity.test_writeobj_failure_preserves_sibling_bytes[keeps_note.txt-cube_obj_as_self_cycle_link]",
+ "eval.tests.test_writeobj_sibling_integrity.test_writeobj_failure_preserves_sibling_bytes[keeps_other.dat-cube_obj_as_abs_link_to_dir]",
+ "eval.tests.test_writeobj_sibling_integrity.test_writeobj_failure_preserves_sibling_bytes[keeps_other.dat-cube_obj_as_directory]",
+ "eval.tests.test_writeobj_sibling_integrity.test_writeobj_failure_preserves_sibling_bytes[keeps_other.dat-cube_obj_as_multihop_link_to_dir]",
+ "eval.tests.test_writeobj_sibling_integrity.test_writeobj_failure_preserves_sibling_bytes[keeps_other.dat-cube_obj_as_self_cycle_link]"
+ ]
+ },
+ "generated_module_03": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [
+ {
+ "name": "eval.tests.test_output_naming_and_links.TestHardLinkSemantics.test_copy_on_write_is_not_performed",
+ "reasons": [
+ {
+ "id": "golden_written_in_test",
+ "message": "pytest test writes to its own golden file",
+ "path": "eval/tests/test_output_naming_and_links.py",
+ "repair_hint": "Read committed golden data instead of writing expected output inside the test.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_output_naming_and_links.TestHardLinkSemantics.test_hard_link_to_regular_file_is_written_through",
+ "reasons": [
+ {
+ "id": "golden_written_in_test",
+ "message": "pytest test writes to its own golden file",
+ "path": "eval/tests/test_output_naming_and_links.py",
+ "repair_hint": "Read committed golden data instead of writing expected output inside the test.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_output_naming_and_links.TestHardLinkSemantics.test_hard_linked_names_share_the_written_bytes",
+ "reasons": [
+ {
+ "id": "golden_written_in_test",
+ "message": "pytest test writes to its own golden file",
+ "path": "eval/tests/test_output_naming_and_links.py",
+ "repair_hint": "Read committed golden data instead of writing expected output inside the test.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_output_naming_and_links.TestHardLinkSemantics.test_other_hard_link_name_also_holds_golden",
+ "reasons": [
+ {
+ "id": "golden_written_in_test",
+ "message": "pytest test writes to its own golden file",
+ "path": "eval/tests/test_output_naming_and_links.py",
+ "repair_hint": "Read committed golden data instead of writing expected output inside the test.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_output_naming_and_links.TestOutputNamePrecision.test_mixed_case_objs_are_distinct_entries",
+ "reasons": [
+ {
+ "id": "golden_written_in_test",
+ "message": "pytest test writes to its own golden file",
+ "path": "eval/tests/test_output_naming_and_links.py",
+ "repair_hint": "Read committed golden data instead of writing expected output inside the test.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_output_naming_and_links.TestOutputNamePrecision.test_uppercase_sibling_is_left_untouched",
+ "reasons": [
+ {
+ "id": "golden_written_in_test",
+ "message": "pytest test writes to its own golden file",
+ "path": "eval/tests/test_output_naming_and_links.py",
+ "repair_hint": "Read committed golden data instead of writing expected output inside the test.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_symlink_and_overwrite_targets.TestOverwriteTruncation.test_overwrite_replaces_identical_length_stale_text",
+ "reasons": [
+ {
+ "id": "golden_written_in_test",
+ "message": "pytest test writes to its own golden file",
+ "path": "eval/tests/test_symlink_and_overwrite_targets.py",
+ "repair_hint": "Read committed golden data instead of writing expected output inside the test.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_symlink_and_overwrite_targets.TestOverwriteTruncation.test_overwrite_replaces_longer_stale_content",
+ "reasons": [
+ {
+ "id": "golden_written_in_test",
+ "message": "pytest test writes to its own golden file",
+ "path": "eval/tests/test_symlink_and_overwrite_targets.py",
+ "repair_hint": "Read committed golden data instead of writing expected output inside the test.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_symlink_and_overwrite_targets.TestOverwriteTruncation.test_overwrite_replaces_shorter_stale_content",
+ "reasons": [
+ {
+ "id": "golden_written_in_test",
+ "message": "pytest test writes to its own golden file",
+ "path": "eval/tests/test_symlink_and_overwrite_targets.py",
+ "repair_hint": "Read committed golden data instead of writing expected output inside the test.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_symlink_and_overwrite_targets.TestOverwriteTruncation.test_overwrite_then_rerun_keeps_golden",
+ "reasons": [
+ {
+ "id": "golden_written_in_test",
+ "message": "pytest test writes to its own golden file",
+ "path": "eval/tests/test_symlink_and_overwrite_targets.py",
+ "repair_hint": "Read committed golden data instead of writing expected output inside the test.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ }
+ ],
+ "tests": [
+ "eval.tests.test_executable_behavior.TestExitStatus.test_argv_is_ignored_but_stdout_stays_exact[arg_with_spaces]",
+ "eval.tests.test_executable_behavior.TestExitStatus.test_argv_is_ignored_but_stdout_stays_exact[empty_string]",
+ "eval.tests.test_executable_behavior.TestExitStatus.test_argv_is_ignored_but_stdout_stays_exact[fifty_dashdash]",
+ "eval.tests.test_executable_behavior.TestExitStatus.test_argv_is_ignored_but_stdout_stays_exact[flag_cluster_with_off_path]",
+ "eval.tests.test_executable_behavior.TestExitStatus.test_argv_is_ignored_but_stdout_stays_exact[help_flag]",
+ "eval.tests.test_executable_behavior.TestExitStatus.test_argv_is_ignored_but_stdout_stays_exact[no_args]",
+ "eval.tests.test_executable_behavior.TestExitStatus.test_argv_is_ignored_but_stdout_stays_exact[off_arg]",
+ "eval.tests.test_executable_behavior.TestExitStatus.test_argv_is_ignored_but_stdout_stays_exact[single]",
+ "eval.tests.test_executable_behavior.TestExitStatus.test_argv_is_ignored_but_stdout_stays_exact[three_args]",
+ "eval.tests.test_executable_behavior.TestExitStatus.test_argv_is_ignored_but_stdout_stays_exact[unicode_arg]",
+ "eval.tests.test_executable_behavior.TestExitStatus.test_argv_is_ignored_but_stdout_stays_exact[verbose_flag]",
+ "eval.tests.test_executable_behavior.TestExitStatus.test_exit_zero_pairs_with_exact_branch_stdout",
+ "eval.tests.test_executable_behavior.TestMeshAbsentBranch.test_blank_matrices_follow_each_header_when_absent",
+ "eval.tests.test_executable_behavior.TestMeshAbsentBranch.test_cube_obj_exactly_two_newline_bytes_when_absent",
+ "eval.tests.test_executable_behavior.TestMeshAbsentBranch.test_ioerror_names_exact_off_path",
+ "eval.tests.test_executable_behavior.TestMeshAbsentBranch.test_preexisting_cube_obj_is_overwritten_when_absent",
+ "eval.tests.test_executable_behavior.TestMeshPresentBranch.test_full_mesh_obj_matches_golden",
+ "eval.tests.test_executable_behavior.TestMeshPresentBranch.test_no_ioerror_and_expected_headers_when_present",
+ "eval.tests.test_executable_behavior.TestMeshPresentBranch.test_stdout_matches_full_mesh_golden",
+ "eval.tests.test_executable_behavior.TestStdoutInvariants.test_no_stderr_on_any_branch",
+ "eval.tests.test_executable_behavior.TestStdoutInvariants.test_single_vertices_and_faces_header_lines",
+ "eval.tests.test_executable_behavior.TestStdoutInvariants.test_stdout_is_never_empty_in_either_branch",
+ "eval.tests.test_golden_output.TestDeterminism.test_repeated_runs_are_bit_identical[pass0]",
+ "eval.tests.test_golden_output.TestDeterminism.test_repeated_runs_are_bit_identical[pass1]",
+ "eval.tests.test_golden_output.TestDeterminism.test_repeated_runs_are_bit_identical[pass2]",
+ "eval.tests.test_golden_output.TestDeterminism.test_repeated_runs_are_bit_identical[pass3]",
+ "eval.tests.test_golden_output.TestDeterminism.test_repeated_runs_are_bit_identical[pass4]",
+ "eval.tests.test_golden_output.TestDeterminism.test_repeated_runs_are_bit_identical[pass5]",
+ "eval.tests.test_golden_output.TestDeterminism.test_two_runs_into_same_dir_are_identical",
+ "eval.tests.test_golden_output.TestGoldenAndFilesystemIsolation.test_absolute_and_deep_cwd_are_equivalent",
+ "eval.tests.test_golden_output.TestGoldenAndFilesystemIsolation.test_only_cube_obj_is_created_no_stray_files",
+ "eval.tests.test_golden_output.TestGoldenAndFilesystemIsolation.test_pre_existing_other_files_are_preserved",
+ "eval.tests.test_golden_output.TestGoldenAndFilesystemIsolation.test_siblings_print_identical_stdout_and_own_distinct_obj",
+ "eval.tests.test_golden_output.TestGoldenAndFilesystemIsolation.test_stdout_consistent_between_rerun_and_obj_from_same_dir",
+ "eval.tests.test_golden_output.TestGoldenStdoutAcrossCwds.test_exact_obj_golden_lands_in_cwd[dashes]",
+ "eval.tests.test_golden_output.TestGoldenStdoutAcrossCwds.test_exact_obj_golden_lands_in_cwd[deep]",
+ "eval.tests.test_golden_output.TestGoldenStdoutAcrossCwds.test_exact_obj_golden_lands_in_cwd[dot_dir]",
+ "eval.tests.test_golden_output.TestGoldenStdoutAcrossCwds.test_exact_obj_golden_lands_in_cwd[flat]",
+ "eval.tests.test_golden_output.TestGoldenStdoutAcrossCwds.test_exact_obj_golden_lands_in_cwd[long_name]",
+ "eval.tests.test_golden_output.TestGoldenStdoutAcrossCwds.test_exact_obj_golden_lands_in_cwd[nested]",
+ "eval.tests.test_golden_output.TestGoldenStdoutAcrossCwds.test_exact_obj_golden_lands_in_cwd[single_letter]",
+ "eval.tests.test_golden_output.TestGoldenStdoutAcrossCwds.test_exact_obj_golden_lands_in_cwd[spaces]",
+ "eval.tests.test_golden_output.TestGoldenStdoutAcrossCwds.test_exact_obj_golden_lands_in_cwd[trailing_dot]",
+ "eval.tests.test_golden_output.TestGoldenStdoutAcrossCwds.test_exact_obj_golden_lands_in_cwd[unicode]",
+ "eval.tests.test_golden_output.TestGoldenStdoutAcrossCwds.test_exact_stdout_golden_from_cwd[dashes]",
+ "eval.tests.test_golden_output.TestGoldenStdoutAcrossCwds.test_exact_stdout_golden_from_cwd[deep]",
+ "eval.tests.test_golden_output.TestGoldenStdoutAcrossCwds.test_exact_stdout_golden_from_cwd[dot_dir]",
+ "eval.tests.test_golden_output.TestGoldenStdoutAcrossCwds.test_exact_stdout_golden_from_cwd[flat]",
+ "eval.tests.test_golden_output.TestGoldenStdoutAcrossCwds.test_exact_stdout_golden_from_cwd[long_name]",
+ "eval.tests.test_golden_output.TestGoldenStdoutAcrossCwds.test_exact_stdout_golden_from_cwd[nested]",
+ "eval.tests.test_golden_output.TestGoldenStdoutAcrossCwds.test_exact_stdout_golden_from_cwd[single_letter]",
+ "eval.tests.test_golden_output.TestGoldenStdoutAcrossCwds.test_exact_stdout_golden_from_cwd[spaces]",
+ "eval.tests.test_golden_output.TestGoldenStdoutAcrossCwds.test_exact_stdout_golden_from_cwd[trailing_dot]",
+ "eval.tests.test_golden_output.TestGoldenStdoutAcrossCwds.test_exact_stdout_golden_from_cwd[unicode]",
+ "eval.tests.test_matrix_and_files_domain.TestCrossRepresentation.test_obj_face_count_matches_printed_face_rows",
+ "eval.tests.test_matrix_and_files_domain.TestCrossRepresentation.test_obj_vertex_count_matches_printed_vertex_rows",
+ "eval.tests.test_matrix_and_files_domain.TestFullMeshFaceMatrix.test_all_face_indices_stay_within_vertex_bounds",
+ "eval.tests.test_matrix_and_files_domain.TestFullMeshFaceMatrix.test_face_matrix_is_6_by_4",
+ "eval.tests.test_matrix_and_files_domain.TestFullMeshFaceMatrix.test_faces_are_quad_index_seqs_of_the_cube",
+ "eval.tests.test_matrix_and_files_domain.TestFullMeshVertexMatrix.test_all_eight_cube_corners_present_as_full_rows",
+ "eval.tests.test_matrix_and_files_domain.TestFullMeshVertexMatrix.test_corner_coordinates_are_unit_extent",
+ "eval.tests.test_matrix_and_files_domain.TestFullMeshVertexMatrix.test_vertex_matrix_is_8_by_3",
+ "eval.tests.test_matrix_and_files_domain.TestObjGrammar.test_empty_branch_obj_is_exactly_two_newlines",
+ "eval.tests.test_matrix_and_files_domain.TestObjGrammar.test_full_branch_cube_obj_dims_line_absent",
+ "eval.tests.test_matrix_and_files_domain.TestObjGrammar.test_full_branch_obj_grammar",
+ "eval.tests.test_matrix_and_files_domain.TestObjGrammar.test_full_branch_obj_uses_one_based_indices",
+ "eval.tests.test_matrix_and_files_domain.TestObjGrammar.test_full_branch_obj_vertex_text_echoes_printed_v",
+ "eval.tests.test_output_hygiene_and_isolation.TestConcurrentIsolation.test_concurrent_and_sequential_stdout_are_bit_identical",
+ "eval.tests.test_output_hygiene_and_isolation.TestConcurrentIsolation.test_concurrent_runs_are_isolated_per_working_directory",
+ "eval.tests.test_output_hygiene_and_isolation.TestEnvironmentIndependence.test_custom_environment_variable_does_not_change_output",
+ "eval.tests.test_output_hygiene_and_isolation.TestEnvironmentIndependence.test_environment_independence_is_scoreless_on_stderr",
+ "eval.tests.test_output_hygiene_and_isolation.TestEnvironmentIndependence.test_selected_env_extensions_keep_output_identical[multiple]",
+ "eval.tests.test_output_hygiene_and_isolation.TestEnvironmentIndependence.test_selected_env_extensions_keep_output_identical[single]",
+ "eval.tests.test_output_hygiene_and_isolation.TestEnvironmentIndependence.test_selected_env_extensions_keep_output_identical[spaced_value]",
+ "eval.tests.test_output_hygiene_and_isolation.TestEnvironmentIndependence.test_selected_env_extensions_keep_output_identical[unicode_value]",
+ "eval.tests.test_output_hygiene_and_isolation.TestGeneratedFileType.test_cube_obj_is_a_regular_file_not_symlink",
+ "eval.tests.test_output_hygiene_and_isolation.TestGeneratedFileType.test_cube_obj_is_readable_after_generation",
+ "eval.tests.test_output_hygiene_and_isolation.TestGeneratedFileType.test_cube_obj_remains_a_file_even_when_a_par_sidecar_symlink_exists",
+ "eval.tests.test_output_hygiene_and_isolation.TestStdoutHygiene.test_stdout_has_no_cr_nul_or_other_control_bytes",
+ "eval.tests.test_output_hygiene_and_isolation.TestStdoutHygiene.test_stdout_has_no_double_carriage_before_lf",
+ "eval.tests.test_output_hygiene_and_isolation.TestStdoutHygiene.test_stdout_line_endings_are_lf_only",
+ "eval.tests.test_output_hygiene_and_isolation.TestStdoutHygiene.test_stdout_splits_on_lf_into_expected_line_count",
+ "eval.tests.test_output_naming_and_links.TestHardLinkSemantics.test_copy_on_write_is_not_performed",
+ "eval.tests.test_output_naming_and_links.TestHardLinkSemantics.test_hard_link_to_regular_file_is_written_through",
+ "eval.tests.test_output_naming_and_links.TestHardLinkSemantics.test_hard_linked_names_share_the_written_bytes",
+ "eval.tests.test_output_naming_and_links.TestHardLinkSemantics.test_other_hard_link_name_also_holds_golden",
+ "eval.tests.test_output_naming_and_links.TestLinkTypeGuard.test_regular_output_is_a_plain_regular_file",
+ "eval.tests.test_output_naming_and_links.TestLinkTypeGuard.test_symlink_is_never_mistaken_for_regular",
+ "eval.tests.test_output_naming_and_links.TestOutputNamePrecision.test_mixed_case_objs_are_distinct_entries",
+ "eval.tests.test_output_naming_and_links.TestOutputNamePrecision.test_only_lowercase_obj_is_created",
+ "eval.tests.test_output_naming_and_links.TestOutputNamePrecision.test_unrelated_similar_names_stay_wholly_untouched[cube]",
+ "eval.tests.test_output_naming_and_links.TestOutputNamePrecision.test_unrelated_similar_names_stay_wholly_untouched[cube_name]",
+ "eval.tests.test_output_naming_and_links.TestOutputNamePrecision.test_unrelated_similar_names_stay_wholly_untouched[cube_upper_ext]",
+ "eval.tests.test_output_naming_and_links.TestOutputNamePrecision.test_unrelated_similar_names_stay_wholly_untouched[dot_obj]",
+ "eval.tests.test_output_naming_and_links.TestOutputNamePrecision.test_unrelated_similar_names_stay_wholly_untouched[obj]",
+ "eval.tests.test_output_naming_and_links.TestOutputNamePrecision.test_unrelated_similar_names_stay_wholly_untouched[txt_ext]",
+ "eval.tests.test_output_naming_and_links.TestOutputNamePrecision.test_unrelated_similar_names_stay_wholly_untouched[underscore]",
+ "eval.tests.test_output_naming_and_links.TestOutputNamePrecision.test_uppercase_sibling_is_left_untouched",
+ "eval.tests.test_output_schema_contract.TestEmptyObjBytes.test_empty_obj_byte_length_is_two",
+ "eval.tests.test_output_schema_contract.TestEmptyObjBytes.test_empty_obj_is_exactly_two_newline_bytes",
+ "eval.tests.test_output_schema_contract.TestEmptyObjBytes.test_obj_matches_branch_golden_and_consistent_v_f_rows",
+ "eval.tests.test_output_schema_contract.TestEmptyStdoutLineSchema.test_each_matrix_block_is_a_single_blank_line_when_empty",
+ "eval.tests.test_output_schema_contract.TestEmptyStdoutLineSchema.test_headers_carry_exact_trailing_whitespace",
+ "eval.tests.test_output_schema_contract.TestEmptyStdoutLineSchema.test_ioerror_is_first_line_followed_by_headers",
+ "eval.tests.test_output_schema_contract.TestEmptyStdoutLineSchema.test_stdout_splits_into_exactly_five_lines",
+ "eval.tests.test_output_schema_contract.TestInputIndependence.test_devnull_stdin_matches_piped_stdin",
+ "eval.tests.test_output_schema_contract.TestInputIndependence.test_piped_stdin_does_not_change_stdout_or_obj",
+ "eval.tests.test_output_schema_contract.TestInputIndependence.test_stdout_pipe_and_file_redirect_are_bit_identical",
+ "eval.tests.test_output_schema_contract.TestOpenFailureContract.test_ioerror_mentions_exact_off_path_then_writes_obj",
+ "eval.tests.test_output_schema_contract.TestOpenFailureContract.test_read_outcome_never_changes_exit_stderr_and_obj_write",
+ "eval.tests.test_output_schema_contract.TestSymlinkedCwd.test_cube_obj_written_into_real_target_through_symlink",
+ "eval.tests.test_output_schema_contract.TestWriteObjFailureIsolation.test_writeobj_failure_does_not_replace_the_directory",
+ "eval.tests.test_output_schema_contract.TestWriteObjFailureIsolation.test_writeobj_failure_leaves_stdout_and_exit_untouched",
+ "eval.tests.test_output_schema_contract.TestWriteObjFailureIsolation.test_writeobj_failure_writes_exact_diagnostic_to_stderr",
+ "eval.tests.test_symlink_and_overwrite_targets.TestDanglingSymlinkOutput.test_dangling_symlink_cube_obj_emits_exact_stderr",
+ "eval.tests.test_symlink_and_overwrite_targets.TestDanglingSymlinkOutput.test_dangling_symlink_leaves_stdout_at_branch_golden",
+ "eval.tests.test_symlink_and_overwrite_targets.TestDanglingSymlinkOutput.test_symlink_to_directory_is_a_write_failure",
+ "eval.tests.test_symlink_and_overwrite_targets.TestExistingSymlinkOutput.test_absolute_symlink_target_is_written_through",
+ "eval.tests.test_symlink_and_overwrite_targets.TestExistingSymlinkOutput.test_existing_symlink_cube_obj_is_followed_not_replaced",
+ "eval.tests.test_symlink_and_overwrite_targets.TestExistingSymlinkOutput.test_symlink_chain_is_resolved_to_final_target",
+ "eval.tests.test_symlink_and_overwrite_targets.TestExistingSymlinkOutput.test_symlink_follow_respects_relative_target_in_cwd",
+ "eval.tests.test_symlink_and_overwrite_targets.TestOutputEntryTypeProbe.test_directory_as_regular_output_is_rejected",
+ "eval.tests.test_symlink_and_overwrite_targets.TestOutputEntryTypeProbe.test_regular_output_produces_regular_file_golden",
+ "eval.tests.test_symlink_and_overwrite_targets.TestOverwriteTruncation.test_overwrite_replaces_identical_length_stale_text",
+ "eval.tests.test_symlink_and_overwrite_targets.TestOverwriteTruncation.test_overwrite_replaces_longer_stale_content",
+ "eval.tests.test_symlink_and_overwrite_targets.TestOverwriteTruncation.test_overwrite_replaces_shorter_stale_content",
+ "eval.tests.test_symlink_and_overwrite_targets.TestOverwriteTruncation.test_overwrite_then_rerun_keeps_golden",
+ "eval.tests.test_symlink_and_overwrite_targets.TestOverwriteTruncation.test_overwrite_truncates_arbitrary_stale_bytes[byte_fe]",
+ "eval.tests.test_symlink_and_overwrite_targets.TestOverwriteTruncation.test_overwrite_truncates_arbitrary_stale_bytes[empty]",
+ "eval.tests.test_symlink_and_overwrite_targets.TestOverwriteTruncation.test_overwrite_truncates_arbitrary_stale_bytes[nul_middle]",
+ "eval.tests.test_symlink_and_overwrite_targets.TestOverwriteTruncation.test_overwrite_truncates_arbitrary_stale_bytes[single_byte]",
+ "eval.tests.test_symlink_and_overwrite_targets.TestOverwriteTruncation.test_overwrite_truncates_arbitrary_stale_bytes[spaces_newlines]",
+ "eval.tests.test_symlink_and_overwrite_targets.TestOverwriteTruncation.test_overwrite_truncates_arbitrary_stale_bytes[three_nul]"
+ ]
+ },
+ "generated_module_04": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_cubeobj_metadata.TestCubeObjFileType.test_cubeobj_is_never_the_cwd_itself",
+ "eval.tests.test_cubeobj_metadata.TestCubeObjFileType.test_success_creates_regular_file[flat]",
+ "eval.tests.test_cubeobj_metadata.TestCubeObjFileType.test_success_creates_regular_file[nested/a/b/c]",
+ "eval.tests.test_cubeobj_metadata.TestCubeObjFileType.test_success_creates_regular_file[space name]",
+ "eval.tests.test_cubeobj_metadata.TestCubeObjFileType.test_success_creates_regular_file[uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu]",
+ "eval.tests.test_cubeobj_metadata.TestCubeObjFileType.test_writable_cwd_yields_regular_file_with_content",
+ "eval.tests.test_cubeobj_metadata.TestCubeObjModeBits.test_mode_has_owner_write_and_read",
+ "eval.tests.test_cubeobj_metadata.TestCubeObjModeBits.test_mode_stable_across_cwd_shapes",
+ "eval.tests.test_cubeobj_metadata.TestCubeObjModeBits.test_success_mode_is_0644",
+ "eval.tests.test_cubeobj_metadata.TestCubeObjRecoveryMetadata.test_blocked_dir_recovery_returns_regular_file",
+ "eval.tests.test_cubeobj_metadata.TestCubeObjRecoveryMetadata.test_rerun_after_regular_file_recreates_regular_file",
+ "eval.tests.test_cubeobj_metadata.TestCubeObjRecoveryMetadata.test_symlink_to_regular_file_stays_target_type",
+ "eval.tests.test_cubeobj_umask.TestCubeObjCreationModeUnderUmask.test_creation_mode_follows_umask[u000]",
+ "eval.tests.test_cubeobj_umask.TestCubeObjCreationModeUnderUmask.test_creation_mode_follows_umask[u022]",
+ "eval.tests.test_cubeobj_umask.TestCubeObjCreationModeUnderUmask.test_creation_mode_follows_umask[u027]",
+ "eval.tests.test_cubeobj_umask.TestCubeObjCreationModeUnderUmask.test_creation_mode_follows_umask[u077]",
+ "eval.tests.test_cubeobj_umask.TestCubeObjCreationModeUnderUmask.test_widest_umask_never_sets_execute_bits",
+ "eval.tests.test_cubeobj_umask.TestCubeObjModeIndependence.test_mode_independent_of_cwd_directory_mode",
+ "eval.tests.test_cubeobj_umask.TestCubeObjModeIndependence.test_umask_does_not_perturb_streams_or_code",
+ "eval.tests.test_cubeobj_umask.TestCubeObjOverwritePreservesMode.test_overwrite_keeps_unmasked_preexisting_mode",
+ "eval.tests.test_cubeobj_umask.TestCubeObjOverwritePreservesMode.test_overwrite_preserves_existing_mode",
+ "eval.tests.test_cubeobj_umask.TestCubeObjRecoveryUmask.test_recovery_creates_fresh_umask_file",
+ "eval.tests.test_environment.test_branch_executable_is_elf",
+ "eval.tests.test_environment.test_branch_executable_is_executable",
+ "eval.tests.test_environment.test_branch_executable_is_nonempty_file",
+ "eval.tests.test_environment.test_exe_resolves_to_same_file_as_branch",
+ "eval.tests.test_environment.test_executable_runs_bare_with_headers",
+ "eval.tests.test_environment.test_executable_stdout_is_readable_status_text",
+ "eval.tests.test_environment.test_programgym_executable_env_is_set",
+ "eval.tests.test_environment.test_programgym_executable_env_runs",
+ "eval.tests.test_environment.test_programgym_executable_points_to_branch_binary",
+ "eval.tests.test_executable_io.TestCubeObjPlacement.test_cubeobj_confined_to_cwd",
+ "eval.tests.test_executable_io.TestCubeObjPlacement.test_cubeobj_created_in_cwd[o]",
+ "eval.tests.test_executable_io.TestCubeObjPlacement.test_cubeobj_created_in_cwd[t]",
+ "eval.tests.test_executable_io.TestCubeObjPlacement.test_cubeobj_created_in_cwd[th]",
+ "eval.tests.test_executable_io.TestCubeObjPlacement.test_many_runs_each_get_own_cubeobj[1]",
+ "eval.tests.test_executable_io.TestCubeObjPlacement.test_many_runs_each_get_own_cubeobj[2]",
+ "eval.tests.test_executable_io.TestCubeObjPlacement.test_many_runs_each_get_own_cubeobj[3]",
+ "eval.tests.test_executable_io.TestCubeObjPlacement.test_rerun_overwrites_stale_variants[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA]",
+ "eval.tests.test_executable_io.TestCubeObjPlacement.test_rerun_overwrites_stale_variants[not-an-obj@2391]",
+ "eval.tests.test_executable_io.TestCubeObjPlacement.test_rerun_overwrites_stale_variants[v 0 0 0\\nf 1 2]",
+ "eval.tests.test_executable_io.TestCubeObjPlacement.test_rerun_replaces_stale_cubeobj",
+ "eval.tests.test_executable_io.TestCubeObjPlacement.test_single_invocation_single_cubeobj",
+ "eval.tests.test_executable_io.TestCwdShapes.test_cwd_inside_symlinked_dir_writes_to_target",
+ "eval.tests.test_executable_io.TestCwdShapes.test_cwd_is_relative_to_tmp",
+ "eval.tests.test_executable_io.TestCwdShapes.test_cwd_path_shapes_produce_cubeobj[deep/a/b/c/d/e]",
+ "eval.tests.test_executable_io.TestCwdShapes.test_cwd_path_shapes_produce_cubeobj[uni~qu\\xe9]",
+ "eval.tests.test_executable_io.TestCwdShapes.test_cwd_path_shapes_produce_cubeobj[with space]",
+ "eval.tests.test_executable_io.TestCwdShapes.test_cwd_path_shapes_produce_cubeobj[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]",
+ "eval.tests.test_executable_io.TestDeterminism.test_cubeobj_reproducible_across_runs",
+ "eval.tests.test_executable_io.TestDeterminism.test_stderr_empty_when_writable",
+ "eval.tests.test_executable_io.TestDeterminism.test_stderr_reproducible_across_runs",
+ "eval.tests.test_executable_io.TestDeterminism.test_stdout_content_and_length_stable",
+ "eval.tests.test_executable_io.TestDeterminism.test_stdout_reproducible_across_runs",
+ "eval.tests.test_executable_io.TestEnvironmentRobustness.test_output_unchanged_under_env_variants[FOO_UNDEF]",
+ "eval.tests.test_executable_io.TestEnvironmentRobustness.test_output_unchanged_under_env_variants[HOME]",
+ "eval.tests.test_executable_io.TestEnvironmentRobustness.test_output_unchanged_under_env_variants[LANG]",
+ "eval.tests.test_executable_io.TestEnvironmentRobustness.test_output_unchanged_under_env_variants[LC_ALL]",
+ "eval.tests.test_executable_io.TestEnvironmentRobustness.test_output_unchanged_under_env_variants[TZ]",
+ "eval.tests.test_executable_io.TestEnvironmentRobustness.test_runs_under_minimal_env",
+ "eval.tests.test_executable_io.TestExitCodeAndStreams.test_exact_write_failure_message_not_on_stdout",
+ "eval.tests.test_executable_io.TestExitCodeAndStreams.test_exit_code_and_strong_stdout_invariants[a]",
+ "eval.tests.test_executable_io.TestExitCodeAndStreams.test_exit_code_and_strong_stdout_invariants[b]",
+ "eval.tests.test_executable_io.TestExitCodeAndStreams.test_exit_code_and_strong_stdout_invariants[c]",
+ "eval.tests.test_executable_io.TestExitCodeAndStreams.test_exit_code_and_strong_stdout_invariants[d]",
+ "eval.tests.test_executable_io.TestExitCodeAndStreams.test_faces_header_once",
+ "eval.tests.test_executable_io.TestExitCodeAndStreams.test_matrix_header_appears_on_stdout[Faces:]",
+ "eval.tests.test_executable_io.TestExitCodeAndStreams.test_matrix_header_appears_on_stdout[Vertices:]",
+ "eval.tests.test_executable_io.TestExitCodeAndStreams.test_stdout_is_nonempty_text",
+ "eval.tests.test_executable_io.TestExitCodeAndStreams.test_vertices_header_once",
+ "eval.tests.test_executable_io.TestExitCodeAndStreams.test_vertices_precedes_faces",
+ "eval.tests.test_executable_io.TestFeedAbsentCombined.test_read_and_write_failure_together",
+ "eval.tests.test_executable_io.TestFeedAbsentCombined.test_read_failure_does_not_emit_write_error",
+ "eval.tests.test_executable_io.TestFeedAbsentCombined.test_write_failure_does_not_alias_stdout",
+ "eval.tests.test_executable_io.TestFeedAbsentCombined.test_write_failure_stderr_stable_across_cwds",
+ "eval.tests.test_executable_io.TestFeedAbsentExact.test_cubeobj_exactly_matches_golden",
+ "eval.tests.test_executable_io.TestFeedAbsentExact.test_exit_zero_and_golden",
+ "eval.tests.test_executable_io.TestFeedAbsentExact.test_guard_line_preamble_exact",
+ "eval.tests.test_executable_io.TestFeedAbsentExact.test_matrices_empty_after_guard",
+ "eval.tests.test_executable_io.TestFeedAbsentExact.test_no_write_error_when_feed_absent",
+ "eval.tests.test_executable_io.TestFeedAbsentExact.test_stdout_exactly_matches_golden",
+ "eval.tests.test_executable_io.TestFeedPresentCanonical.test_all_vertex_fields_are_finite_numbers",
+ "eval.tests.test_executable_io.TestFeedPresentCanonical.test_canonical_counts[faces-6]",
+ "eval.tests.test_executable_io.TestFeedPresentCanonical.test_canonical_counts[vertices-8]",
+ "eval.tests.test_executable_io.TestFeedPresentCanonical.test_canonical_face_indices",
+ "eval.tests.test_executable_io.TestFeedPresentCanonical.test_canonical_vertex_coordinates",
+ "eval.tests.test_executable_io.TestFeedPresentCanonical.test_vertex_lines_have_exactly_three_fields",
+ "eval.tests.test_executable_io.TestFeedPresentObjIntegrity.test_all_coordinates_are_unit_cube",
+ "eval.tests.test_executable_io.TestFeedPresentObjIntegrity.test_consistent_quad_valence",
+ "eval.tests.test_executable_io.TestFeedPresentObjIntegrity.test_face_indices_within_vertex_range",
+ "eval.tests.test_executable_io.TestFeedPresentObjIntegrity.test_minimal_face_index_is_exactly_one",
+ "eval.tests.test_executable_io.TestFeedPresentObjIntegrity.test_no_duplicate_vertex_rows",
+ "eval.tests.test_executable_io.TestFeedPresentStdout.test_stdout_face_count_matches_obj",
+ "eval.tests.test_executable_io.TestFeedPresentStdout.test_stdout_face_rows_equal_six",
+ "eval.tests.test_executable_io.TestFeedPresentStdout.test_stdout_scan_vertex_rows_equal_eight",
+ "eval.tests.test_executable_io.TestFeedPresentStdout.test_stdout_vertex_count_matches_obj",
+ "eval.tests.test_executable_io.TestFeedPresentStdout.test_stdout_vertex_values_are_unit_cube_corners",
+ "eval.tests.test_executable_io.TestFeedPresentStdout.test_stdout_vertex_values_match_obj_vertices",
+ "eval.tests.test_executable_io.TestInvocationModes.test_extra_cli_args_do_not_change_output",
+ "eval.tests.test_executable_io.TestInvocationModes.test_repeated_invocations_same_cwd_stable",
+ "eval.tests.test_executable_io.TestInvocationModes.test_single_dash_and_help_tokens_ignored",
+ "eval.tests.test_executable_io.TestOutputChannels.test_cubeobj_captures_only_mesh_records",
+ "eval.tests.test_executable_io.TestOutputChannels.test_status_text_never_in_stderr",
+ "eval.tests.test_executable_io.TestOutputChannels.test_stdout_never_empty",
+ "eval.tests.test_executable_io.TestSubprocessContract.test_bare_invocation_bounded_exit",
+ "eval.tests.test_executable_io.TestSubprocessContract.test_stdout_is_concrete_text",
+ "eval.tests.test_executable_io.TestWriteFailure.test_dangling_symlink_cubeobj_fails",
+ "eval.tests.test_executable_io.TestWriteFailure.test_failed_write_leaves_dir_alone",
+ "eval.tests.test_executable_io.TestWriteFailure.test_no_write_error_when_writable",
+ "eval.tests.test_executable_io.TestWriteFailure.test_symlink_dangling_in_existing_dir_creates_target",
+ "eval.tests.test_executable_io.TestWriteFailure.test_symlink_to_regular_file_writes_through",
+ "eval.tests.test_executable_io.TestWriteFailure.test_write_error_exact_stderr[w0]",
+ "eval.tests.test_executable_io.TestWriteFailure.test_write_error_exact_stderr[w1]",
+ "eval.tests.test_executable_io.TestWriteFailure.test_write_error_exact_stderr[w2]",
+ "eval.tests.test_executable_io.TestWriteFailure.test_write_error_on_stderr_not_stdout",
+ "eval.tests.test_executable_io.TestWriteFailure.test_write_error_stable_across_cwds[lvl1]",
+ "eval.tests.test_executable_io.TestWriteFailure.test_write_error_stable_across_cwds[lvl2]",
+ "eval.tests.test_executable_io.TestWriteFailure.test_write_error_stable_across_cwds[lvl3]",
+ "eval.tests.test_failure_matrix.TestExitCodeAxes.test_exit_zero_across_repeated_runs[0]",
+ "eval.tests.test_failure_matrix.TestExitCodeAxes.test_exit_zero_across_repeated_runs[1]",
+ "eval.tests.test_failure_matrix.TestExitCodeAxes.test_exit_zero_across_repeated_runs[2]",
+ "eval.tests.test_failure_matrix.TestExitCodeAxes.test_exit_zero_normal_state_channels[n0]",
+ "eval.tests.test_failure_matrix.TestExitCodeAxes.test_exit_zero_normal_state_channels[n1]",
+ "eval.tests.test_failure_matrix.TestExitCodeAxes.test_exit_zero_normal_state_channels[n2]",
+ "eval.tests.test_failure_matrix.TestExitCodeAxes.test_exit_zero_write_fail_state_channels[w0]",
+ "eval.tests.test_failure_matrix.TestExitCodeAxes.test_exit_zero_write_fail_state_channels[w1]",
+ "eval.tests.test_failure_matrix.TestExitCodeAxes.test_exit_zero_write_fail_state_channels[w2]",
+ "eval.tests.test_failure_matrix.TestExitCodeAxes.test_stdout_headers_stable_over_many_runs",
+ "eval.tests.test_failure_matrix.TestOutputChannelIndependenceAcrossStates.test_write_failure_keeps_stdout_and_rc[0]",
+ "eval.tests.test_failure_matrix.TestOutputChannelIndependenceAcrossStates.test_write_failure_keeps_stdout_and_rc[1]",
+ "eval.tests.test_failure_matrix.TestOutputChannelIndependenceAcrossStates.test_write_failure_keeps_stdout_and_rc[2]",
+ "eval.tests.test_failure_matrix.TestOutputChannelIndependenceAcrossStates.test_write_failure_message_never_on_stdout",
+ "eval.tests.test_failure_matrix.TestStatefulTransitions.test_read_then_clean_and_rerun_stable",
+ "eval.tests.test_failure_matrix.TestStatefulTransitions.test_success_failure_recovery_chain",
+ "eval.tests.test_failure_matrix.TestWriteFailureStability.test_empty_dir_no_cubeobj_preserved",
+ "eval.tests.test_failure_matrix.TestWriteFailureStability.test_stderr_identical_across_wf_cwds",
+ "eval.tests.test_failure_matrix.TestWriteFailureStability.test_write_failure_independent_of_cwd_depth[depth0]",
+ "eval.tests.test_failure_matrix.TestWriteFailureStability.test_write_failure_independent_of_cwd_depth[depth1]",
+ "eval.tests.test_failure_matrix.TestWriteFailureStability.test_write_failure_independent_of_cwd_depth[depth2]",
+ "eval.tests.test_state_preservation.TestCwdSiblingPreservation.test_success_adds_only_cubeobj",
+ "eval.tests.test_state_preservation.TestCwdSiblingPreservation.test_success_does_not_touch_hidden_sibling",
+ "eval.tests.test_state_preservation.TestCwdSiblingPreservation.test_success_keeps_siblings_exact[a.bin_b.bin]",
+ "eval.tests.test_state_preservation.TestCwdSiblingPreservation.test_success_keeps_siblings_exact[data.txt]",
+ "eval.tests.test_state_preservation.TestCwdSiblingPreservation.test_success_keeps_siblings_exact[note.md]",
+ "eval.tests.test_state_preservation.TestCwdSiblingPreservedOnWriteFailure.test_write_failure_keeps_siblings_exact[1]",
+ "eval.tests.test_state_preservation.TestCwdSiblingPreservedOnWriteFailure.test_write_failure_keeps_siblings_exact[3]",
+ "eval.tests.test_state_preservation.TestStatefulCwdContentChain.test_success_blocked_recovery_keeps_siblings"
+ ]
+ },
+ "generated_module_05": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [
+ {
+ "name": "eval.tests.test_special_file_target.test_socket_entry_preserved_and_no_regular_file",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_special_file_target.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_special_file_target.test_socket_target_reports_writer_failure",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_special_file_target.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ }
+ ],
+ "tests": [
+ "eval.tests.test_additional_contract.test_combined_argv_and_stdin_ignored_on_happy_path",
+ "eval.tests.test_additional_contract.test_combined_argv_and_stdin_ignored_on_writer_failure",
+ "eval.tests.test_additional_contract.test_combined_argv_stdin_special_cwd",
+ "eval.tests.test_additional_contract.test_combined_env_overlay_and_argv",
+ "eval.tests.test_additional_contract.test_dangling_relative_symlink_writes_through_to_new_target",
+ "eval.tests.test_additional_contract.test_dangling_symlink_to_missing_parent_causes_write_failure",
+ "eval.tests.test_additional_contract.test_stdout_to_real_file_keeps_canonical_contract",
+ "eval.tests.test_additional_contract.test_streams_stay_separate_under_real_file_redirection",
+ "eval.tests.test_additional_contract.test_writer_failure_leaves_sibling_files_untouched",
+ "eval.tests.test_additional_contract.test_writer_failure_preserves_many_siblings",
+ "eval.tests.test_additional_contract.test_writer_failure_stderr_is_byte_deterministic",
+ "eval.tests.test_additional_contract.test_writer_failure_stderr_to_real_file",
+ "eval.tests.test_canonical_contract.test_cube_obj_content_is_exact_empty_mesh",
+ "eval.tests.test_canonical_contract.test_cube_obj_has_only_newline_bytes",
+ "eval.tests.test_canonical_contract.test_cube_obj_is_exactly_two_bytes",
+ "eval.tests.test_canonical_contract.test_cube_obj_not_left_in_executable_directory",
+ "eval.tests.test_canonical_contract.test_cube_obj_payload_stable_across_runs",
+ "eval.tests.test_canonical_contract.test_exit_code_is_zero_when_input_missing",
+ "eval.tests.test_canonical_contract.test_faces_block_renders_empty",
+ "eval.tests.test_canonical_contract.test_identical_stdout_across_separate_dirs",
+ "eval.tests.test_canonical_contract.test_identical_stdout_across_two_runs",
+ "eval.tests.test_canonical_contract.test_ioerror_path_in_message_is_absolute_and_expected",
+ "eval.tests.test_canonical_contract.test_ioerror_precedes_vertices_and_faces",
+ "eval.tests.test_canonical_contract.test_readoff_diagnostic_line_is_exact_on_stdout",
+ "eval.tests.test_canonical_contract.test_stderr_is_empty_on_default_path",
+ "eval.tests.test_canonical_contract.test_stdout_is_byte_identical_to_canonical",
+ "eval.tests.test_canonical_contract.test_stdout_reports_two_mesh_blocks_in_order",
+ "eval.tests.test_canonical_contract.test_vertices_block_renders_empty",
+ "eval.tests.test_canonical_contract.test_writes_cube_obj_into_cwd",
+ "eval.tests.test_error_paths.test_blocking_case_insensitive_file_does_not_block",
+ "eval.tests.test_error_paths.test_diagnostic_independent_of_run_directory[a]",
+ "eval.tests.test_error_paths.test_diagnostic_independent_of_run_directory[deep-sub-run]",
+ "eval.tests.test_error_paths.test_diagnostic_independent_of_run_directory[r-u-n]",
+ "eval.tests.test_error_paths.test_diagnostic_independent_of_run_directory[t-m-p---r-u-n---z-o-n-e]",
+ "eval.tests.test_error_paths.test_diagnostic_only_on_stdout_not_stderr",
+ "eval.tests.test_error_paths.test_input_diagnostic_mentions_off_extension",
+ "eval.tests.test_error_paths.test_input_extension_reported_as_documented",
+ "eval.tests.test_error_paths.test_missing_input_reports_on_each_launch",
+ "eval.tests.test_error_paths.test_nearby_filenames_do_not_interfere[0]",
+ "eval.tests.test_error_paths.test_nearby_filenames_do_not_interfere[1]",
+ "eval.tests.test_error_paths.test_nearby_filenames_do_not_interfere[2]",
+ "eval.tests.test_error_paths.test_nearby_filenames_do_not_interfere[3]",
+ "eval.tests.test_error_paths.test_nearby_filenames_do_not_interfere[4]",
+ "eval.tests.test_error_paths.test_no_read_success_signal_when_input_absent",
+ "eval.tests.test_error_paths.test_output_target_is_case_sensitive",
+ "eval.tests.test_error_paths.test_reader_failure_does_not_abort",
+ "eval.tests.test_error_paths.test_reader_then_writer_causal_chain",
+ "eval.tests.test_fifo_output.test_fifo_through_symlink_delivers_payload",
+ "eval.tests.test_fifo_output.test_fifo_through_symlink_keeps_canonical_contract",
+ "eval.tests.test_fifo_output.test_fifo_through_symlink_no_regular_file_appears",
+ "eval.tests.test_fifo_output.test_fifo_through_symlink_preserves_link_and_pipe",
+ "eval.tests.test_fifo_output.test_fifo_write_buffers_payload_for_late_read",
+ "eval.tests.test_fifo_output.test_fifo_write_creates_no_regular_cube_obj",
+ "eval.tests.test_fifo_output.test_fifo_write_delivers_exact_empty_mesh_payload",
+ "eval.tests.test_fifo_output.test_fifo_write_keeps_canonical_stdout_and_empty_stderr",
+ "eval.tests.test_fifo_output.test_fifo_write_keeps_cube_obj_a_fifo",
+ "eval.tests.test_input_insensitivity.test_argv_forms_are_ignored[argv0]",
+ "eval.tests.test_input_insensitivity.test_argv_forms_are_ignored[argv10]",
+ "eval.tests.test_input_insensitivity.test_argv_forms_are_ignored[argv11]",
+ "eval.tests.test_input_insensitivity.test_argv_forms_are_ignored[argv12]",
+ "eval.tests.test_input_insensitivity.test_argv_forms_are_ignored[argv13]",
+ "eval.tests.test_input_insensitivity.test_argv_forms_are_ignored[argv14]",
+ "eval.tests.test_input_insensitivity.test_argv_forms_are_ignored[argv15]",
+ "eval.tests.test_input_insensitivity.test_argv_forms_are_ignored[argv16]",
+ "eval.tests.test_input_insensitivity.test_argv_forms_are_ignored[argv17]",
+ "eval.tests.test_input_insensitivity.test_argv_forms_are_ignored[argv1]",
+ "eval.tests.test_input_insensitivity.test_argv_forms_are_ignored[argv2]",
+ "eval.tests.test_input_insensitivity.test_argv_forms_are_ignored[argv3]",
+ "eval.tests.test_input_insensitivity.test_argv_forms_are_ignored[argv4]",
+ "eval.tests.test_input_insensitivity.test_argv_forms_are_ignored[argv5]",
+ "eval.tests.test_input_insensitivity.test_argv_forms_are_ignored[argv6]",
+ "eval.tests.test_input_insensitivity.test_argv_forms_are_ignored[argv7]",
+ "eval.tests.test_input_insensitivity.test_argv_forms_are_ignored[argv8]",
+ "eval.tests.test_input_insensitivity.test_argv_forms_are_ignored[argv9]",
+ "eval.tests.test_input_insensitivity.test_environment_variables_are_ignored[adversarial_flags]",
+ "eval.tests.test_input_insensitivity.test_environment_variables_are_ignored[empty_edge_cases]",
+ "eval.tests.test_input_insensitivity.test_environment_variables_are_ignored[typical_geo_hints]",
+ "eval.tests.test_input_insensitivity.test_many_arguments_are_ignored[n100]",
+ "eval.tests.test_input_insensitivity.test_many_arguments_are_ignored[n10]",
+ "eval.tests.test_input_insensitivity.test_many_arguments_are_ignored[n2]",
+ "eval.tests.test_input_insensitivity.test_many_arguments_are_ignored[n32]",
+ "eval.tests.test_input_insensitivity.test_many_arguments_are_ignored[n5]",
+ "eval.tests.test_input_insensitivity.test_minimal_environment_does_not_change_contract",
+ "eval.tests.test_input_insensitivity.test_mixed_flag_forms_are_ignored[argv0]",
+ "eval.tests.test_input_insensitivity.test_mixed_flag_forms_are_ignored[argv1]",
+ "eval.tests.test_input_insensitivity.test_mixed_flag_forms_are_ignored[argv2]",
+ "eval.tests.test_input_insensitivity.test_mixed_flag_forms_are_ignored[argv3]",
+ "eval.tests.test_input_insensitivity.test_mixed_flag_forms_are_ignored[argv4]",
+ "eval.tests.test_input_insensitivity.test_mixed_flag_forms_are_ignored[argv5]",
+ "eval.tests.test_input_insensitivity.test_mixed_flag_forms_are_ignored[argv6]",
+ "eval.tests.test_input_insensitivity.test_stdin_is_ignored[0 0 0\\n1 1 1\\n]",
+ "eval.tests.test_input_insensitivity.test_stdin_is_ignored[None]",
+ "eval.tests.test_input_insensitivity.test_stdin_is_ignored[OFF\\n# comment\\n8 6 0\\n]",
+ "eval.tests.test_input_insensitivity.test_stdin_is_ignored[OFF\\n8 6 0\\n]",
+ "eval.tests.test_input_insensitivity.test_stdin_is_ignored[OFF]",
+ "eval.tests.test_input_insensitivity.test_stdin_is_ignored[\\n]",
+ "eval.tests.test_input_insensitivity.test_stdin_is_ignored[\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\x08\\t\\n\\x0b\\x0c\\r\\x0e\\x0f\\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17\\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\\x7f\\x80\\x81\\x82\\x83\\x84\\x85\\x86\\x87\\x88\\x89\\x8a\\x8b\\x8c\\x8d\\x8e\\x8f\\x90\\x91\\x92\\x93\\x94\\x95\\x96\\x97\\x98\\x99\\x9a\\x9b\\x9c\\x9d\\x9e\\x9f\\xa0\\xa1\\xa2\\xa3\\xa4\\xa5\\xa6\\xa7\\xa8\\xa9\\xaa\\xab\\xac\\xad\\xae\\xaf\\xb0\\xb1\\xb2\\xb3\\xb4\\xb5\\xb6\\xb7\\xb8\\xb9\\xba\\xbb\\xbc\\xbd\\xbe\\xbf\\xc0\\xc1\\xc2\\xc3\\xc4\\xc5\\xc6\\xc7\\xc8\\xc9\\xca\\xcb\\xcc\\xcd\\xce\\xcf\\xd0\\xd1\\xd2\\xd3\\xd4\\xd5\\xd6\\xd7\\xd8\\xd9\\xda\\xdb\\xdc\\xdd\\xde\\xdf\\xe0\\xe1\\xe2\\xe3\\xe4\\xe5\\xe6\\xe7\\xe8\\xe9\\xea\\xeb\\xec\\xed\\xee\\xef\\xf0\\xf1\\xf2\\xf3\\xf4\\xf5\\xf6\\xf7\\xf8\\xf9\\xfa\\xfb\\xfc\\xfd\\xfe\\xff]",
+ "eval.tests.test_input_insensitivity.test_stdin_is_ignored[\\x00\\x01\\x02\\x03]",
+ "eval.tests.test_input_insensitivity.test_stdin_is_ignored[]",
+ "eval.tests.test_input_insensitivity.test_stdin_is_ignored[garbage input data\\n]",
+ "eval.tests.test_input_insensitivity.test_stdin_is_ignored[hello world]",
+ "eval.tests.test_input_insensitivity.test_stdin_is_ignored[v 0 0 0\\n]",
+ "eval.tests.test_input_insensitivity.test_stdin_is_ignored[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]",
+ "eval.tests.test_link_and_write_target.test_cross_directory_symlink_is_followed",
+ "eval.tests.test_link_and_write_target.test_hard_link_inode_identity_is_preserved",
+ "eval.tests.test_link_and_write_target.test_hard_link_reader_and_writer_chain_preserves_canonical_stdout",
+ "eval.tests.test_link_and_write_target.test_hard_link_target_content_is_replaced",
+ "eval.tests.test_link_and_write_target.test_hard_link_truncates_longer_payload_to_short",
+ "eval.tests.test_link_and_write_target.test_multi_hard_link_propagates_to_all_names",
+ "eval.tests.test_link_and_write_target.test_symlink_cycle_causes_write_failure",
+ "eval.tests.test_link_and_write_target.test_symlink_cycle_does_not_create_regular_file",
+ "eval.tests.test_link_and_write_target.test_symlink_to_directory_causes_write_failure",
+ "eval.tests.test_link_and_write_target.test_symlink_to_directory_creates_no_output_file",
+ "eval.tests.test_output_files.test_dir_collision_variants_block_writer[dir_with_child]",
+ "eval.tests.test_output_files.test_dir_collision_variants_block_writer[plain_dir]",
+ "eval.tests.test_output_files.test_file_mode_is_readable",
+ "eval.tests.test_output_files.test_generated_file_is_confined_to_run_directory[dir0]",
+ "eval.tests.test_output_files.test_generated_file_is_confined_to_run_directory[dir1]",
+ "eval.tests.test_output_files.test_generated_file_is_confined_to_run_directory[dir2]",
+ "eval.tests.test_output_files.test_generated_file_is_confined_to_run_directory[dir3]",
+ "eval.tests.test_output_files.test_generated_file_is_confined_to_run_directory[dir4]",
+ "eval.tests.test_output_files.test_generated_file_is_confined_to_run_directory[dir5]",
+ "eval.tests.test_output_files.test_generated_file_is_confined_to_run_directory[dir6]",
+ "eval.tests.test_output_files.test_generated_file_is_confined_to_run_directory[dir7]",
+ "eval.tests.test_output_files.test_no_other_generated_files",
+ "eval.tests.test_output_files.test_overwrite_still_emits_canonical_stdout",
+ "eval.tests.test_output_files.test_overwrites_empty_preexisting_file",
+ "eval.tests.test_output_files.test_overwrites_preexisting_longer_file",
+ "eval.tests.test_output_files.test_overwrites_preexisting_sentinel_file",
+ "eval.tests.test_output_files.test_stdout_unchanged_when_write_fails",
+ "eval.tests.test_output_files.test_symlink_target_is_followed_on_output",
+ "eval.tests.test_output_files.test_unrelated_files_are_untouched",
+ "eval.tests.test_output_files.test_write_fails_when_cube_obj_is_directory",
+ "eval.tests.test_output_files.test_write_failure_does_not_remove_directory",
+ "eval.tests.test_output_files.test_write_failure_reports_exact_message",
+ "eval.tests.test_output_files.test_writes_file_in_arbitrary_writable_cwd",
+ "eval.tests.test_path_handling.test_exit_status_stable_regardless_of_writer_failure",
+ "eval.tests.test_path_handling.test_generated_file_appears_in_special_named_cwd[\\xdcn\\xef\\xe7\\xf6d\\xe9-d\\xedr]",
+ "eval.tests.test_path_handling.test_generated_file_appears_in_special_named_cwd[a-b-c-deep-run]",
+ "eval.tests.test_path_handling.test_generated_file_appears_in_special_named_cwd[dir with spaces]",
+ "eval.tests.test_path_handling.test_generated_file_appears_in_special_named_cwd[dot.dir]",
+ "eval.tests.test_path_handling.test_generated_file_appears_in_special_named_cwd[double space]",
+ "eval.tests.test_path_handling.test_generated_file_appears_in_special_named_cwd[hyphen-dir]",
+ "eval.tests.test_path_handling.test_generated_file_appears_in_special_named_cwd[mixed CASE Dir]",
+ "eval.tests.test_path_handling.test_generated_file_appears_in_special_named_cwd[single'quote]",
+ "eval.tests.test_path_handling.test_generated_file_appears_in_special_named_cwd[trailing.dot]",
+ "eval.tests.test_path_handling.test_generated_file_appears_in_special_named_cwd[under_score]",
+ "eval.tests.test_path_handling.test_output_written_to_relative_cwd_only",
+ "eval.tests.test_path_handling.test_reader_stdout_is_ordered_before_any_writer_signal",
+ "eval.tests.test_path_handling.test_slash_normalization_in_report",
+ "eval.tests.test_path_handling.test_writer_diagnostic_embedded_once",
+ "eval.tests.test_path_handling.test_zero_length_run_dir_name_is_handled",
+ "eval.tests.test_special_file_target.test_block_device_node_preserved_on_failure",
+ "eval.tests.test_special_file_target.test_block_device_target_reports_writer_failure",
+ "eval.tests.test_special_file_target.test_char_device_full_node_preserved_no_regular_file",
+ "eval.tests.test_special_file_target.test_char_device_full_write_error_is_not_surfaced",
+ "eval.tests.test_special_file_target.test_char_device_null_leaves_node_and_no_regular_file",
+ "eval.tests.test_special_file_target.test_char_device_null_target_is_silent_success",
+ "eval.tests.test_special_file_target.test_socket_entry_preserved_and_no_regular_file",
+ "eval.tests.test_special_file_target.test_socket_target_reports_writer_failure",
+ "eval.tests.test_special_file_target.test_symlink_to_full_device_write_error_silent",
+ "eval.tests.test_special_file_target.test_symlink_to_full_preserves_link_no_file",
+ "eval.tests.test_special_file_target.test_symlink_to_null_creates_no_regular_file",
+ "eval.tests.test_special_file_target.test_symlink_to_null_device_is_silent_success"
+ ]
+ },
+ "generated_module_06": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_argv_invariance.test_cube_obj_artifact_invariant_under_argv[--]",
+ "eval.tests.test_argv_invariance.test_cube_obj_artifact_invariant_under_argv[--_-n_16]",
+ "eval.tests.test_argv_invariance.test_cube_obj_artifact_invariant_under_argv[--_a;b;c]",
+ "eval.tests.test_argv_invariance.test_cube_obj_artifact_invariant_under_argv[--flag=value]",
+ "eval.tests.test_argv_invariance.test_cube_obj_artifact_invariant_under_argv[--help]",
+ "eval.tests.test_argv_invariance.test_cube_obj_artifact_invariant_under_argv[--input=/tmp/in.off]",
+ "eval.tests.test_argv_invariance.test_cube_obj_artifact_invariant_under_argv[--output=/tmp/out.obj]",
+ "eval.tests.test_argv_invariance.test_cube_obj_artifact_invariant_under_argv[--verbose_3_--quiet]",
+ "eval.tests.test_argv_invariance.test_cube_obj_artifact_invariant_under_argv[--version]",
+ "eval.tests.test_argv_invariance.test_cube_obj_artifact_invariant_under_argv[-abc]",
+ "eval.tests.test_argv_invariance.test_cube_obj_artifact_invariant_under_argv[-h]",
+ "eval.tests.test_argv_invariance.test_cube_obj_artifact_invariant_under_argv[-x_1_-y_2]",
+ "eval.tests.test_argv_invariance.test_cube_obj_artifact_invariant_under_argv[/dev/null]",
+ "eval.tests.test_argv_invariance.test_cube_obj_artifact_invariant_under_argv[1_2_3]",
+ "eval.tests.test_argv_invariance.test_cube_obj_artifact_invariant_under_argv[]",
+ "eval.tests.test_argv_invariance.test_cube_obj_artifact_invariant_under_argv[a b c]",
+ "eval.tests.test_argv_invariance.test_cube_obj_artifact_invariant_under_argv[cube.obj]",
+ "eval.tests.test_argv_invariance.test_cube_obj_artifact_invariant_under_argv[help]",
+ "eval.tests.test_argv_invariance.test_cube_obj_artifact_invariant_under_argv[noargs]",
+ "eval.tests.test_argv_invariance.test_cube_obj_artifact_invariant_under_argv[out.obj]",
+ "eval.tests.test_argv_invariance.test_full_protocol_invariant_under_argv[--]",
+ "eval.tests.test_argv_invariance.test_full_protocol_invariant_under_argv[--_-n_16]",
+ "eval.tests.test_argv_invariance.test_full_protocol_invariant_under_argv[--_a;b;c]",
+ "eval.tests.test_argv_invariance.test_full_protocol_invariant_under_argv[--flag=value]",
+ "eval.tests.test_argv_invariance.test_full_protocol_invariant_under_argv[--help]",
+ "eval.tests.test_argv_invariance.test_full_protocol_invariant_under_argv[--input=/tmp/in.off]",
+ "eval.tests.test_argv_invariance.test_full_protocol_invariant_under_argv[--output=/tmp/out.obj]",
+ "eval.tests.test_argv_invariance.test_full_protocol_invariant_under_argv[--verbose_3_--quiet]",
+ "eval.tests.test_argv_invariance.test_full_protocol_invariant_under_argv[--version]",
+ "eval.tests.test_argv_invariance.test_full_protocol_invariant_under_argv[-abc]",
+ "eval.tests.test_argv_invariance.test_full_protocol_invariant_under_argv[-h]",
+ "eval.tests.test_argv_invariance.test_full_protocol_invariant_under_argv[-x_1_-y_2]",
+ "eval.tests.test_argv_invariance.test_full_protocol_invariant_under_argv[/dev/null]",
+ "eval.tests.test_argv_invariance.test_full_protocol_invariant_under_argv[1_2_3]",
+ "eval.tests.test_argv_invariance.test_full_protocol_invariant_under_argv[]",
+ "eval.tests.test_argv_invariance.test_full_protocol_invariant_under_argv[a b c]",
+ "eval.tests.test_argv_invariance.test_full_protocol_invariant_under_argv[cube.obj]",
+ "eval.tests.test_argv_invariance.test_full_protocol_invariant_under_argv[help]",
+ "eval.tests.test_argv_invariance.test_full_protocol_invariant_under_argv[noargs]",
+ "eval.tests.test_argv_invariance.test_full_protocol_invariant_under_argv[out.obj]",
+ "eval.tests.test_argv_invariance.test_stderr_invariant_under_argv[--]",
+ "eval.tests.test_argv_invariance.test_stderr_invariant_under_argv[--_-n_16]",
+ "eval.tests.test_argv_invariance.test_stderr_invariant_under_argv[--_a;b;c]",
+ "eval.tests.test_argv_invariance.test_stderr_invariant_under_argv[--flag=value]",
+ "eval.tests.test_argv_invariance.test_stderr_invariant_under_argv[--help]",
+ "eval.tests.test_argv_invariance.test_stderr_invariant_under_argv[--input=/tmp/in.off]",
+ "eval.tests.test_argv_invariance.test_stderr_invariant_under_argv[--output=/tmp/out.obj]",
+ "eval.tests.test_argv_invariance.test_stderr_invariant_under_argv[--verbose_3_--quiet]",
+ "eval.tests.test_argv_invariance.test_stderr_invariant_under_argv[--version]",
+ "eval.tests.test_argv_invariance.test_stderr_invariant_under_argv[-abc]",
+ "eval.tests.test_argv_invariance.test_stderr_invariant_under_argv[-h]",
+ "eval.tests.test_argv_invariance.test_stderr_invariant_under_argv[-x_1_-y_2]",
+ "eval.tests.test_argv_invariance.test_stderr_invariant_under_argv[/dev/null]",
+ "eval.tests.test_argv_invariance.test_stderr_invariant_under_argv[1_2_3]",
+ "eval.tests.test_argv_invariance.test_stderr_invariant_under_argv[]",
+ "eval.tests.test_argv_invariance.test_stderr_invariant_under_argv[a b c]",
+ "eval.tests.test_argv_invariance.test_stderr_invariant_under_argv[cube.obj]",
+ "eval.tests.test_argv_invariance.test_stderr_invariant_under_argv[help]",
+ "eval.tests.test_argv_invariance.test_stderr_invariant_under_argv[noargs]",
+ "eval.tests.test_argv_invariance.test_stderr_invariant_under_argv[out.obj]",
+ "eval.tests.test_argv_invariance.test_stdout_invariant_under_argv[--]",
+ "eval.tests.test_argv_invariance.test_stdout_invariant_under_argv[--_-n_16]",
+ "eval.tests.test_argv_invariance.test_stdout_invariant_under_argv[--_a;b;c]",
+ "eval.tests.test_argv_invariance.test_stdout_invariant_under_argv[--flag=value]",
+ "eval.tests.test_argv_invariance.test_stdout_invariant_under_argv[--help]",
+ "eval.tests.test_argv_invariance.test_stdout_invariant_under_argv[--input=/tmp/in.off]",
+ "eval.tests.test_argv_invariance.test_stdout_invariant_under_argv[--output=/tmp/out.obj]",
+ "eval.tests.test_argv_invariance.test_stdout_invariant_under_argv[--verbose_3_--quiet]",
+ "eval.tests.test_argv_invariance.test_stdout_invariant_under_argv[--version]",
+ "eval.tests.test_argv_invariance.test_stdout_invariant_under_argv[-abc]",
+ "eval.tests.test_argv_invariance.test_stdout_invariant_under_argv[-h]",
+ "eval.tests.test_argv_invariance.test_stdout_invariant_under_argv[-x_1_-y_2]",
+ "eval.tests.test_argv_invariance.test_stdout_invariant_under_argv[/dev/null]",
+ "eval.tests.test_argv_invariance.test_stdout_invariant_under_argv[1_2_3]",
+ "eval.tests.test_argv_invariance.test_stdout_invariant_under_argv[]",
+ "eval.tests.test_argv_invariance.test_stdout_invariant_under_argv[a b c]",
+ "eval.tests.test_argv_invariance.test_stdout_invariant_under_argv[cube.obj]",
+ "eval.tests.test_argv_invariance.test_stdout_invariant_under_argv[help]",
+ "eval.tests.test_argv_invariance.test_stdout_invariant_under_argv[noargs]",
+ "eval.tests.test_argv_invariance.test_stdout_invariant_under_argv[out.obj]",
+ "eval.tests.test_byte_exact.TestAbsentExactBytes.test_stdout_contains_exact_section_labels",
+ "eval.tests.test_byte_exact.TestAbsentExactBytes.test_stdout_ends_with_faces_newline",
+ "eval.tests.test_byte_exact.TestAbsentExactBytes.test_stdout_is_exactly_absent_frame",
+ "eval.tests.test_byte_exact.TestAbsentExactBytes.test_stdout_length_matches_golden_frame",
+ "eval.tests.test_byte_exact.TestAbsentExactBytes.test_stdout_prefix_is_io_error_diagnostic",
+ "eval.tests.test_byte_exact.TestDeterminism.test_stdout_identical_across_runs[a]",
+ "eval.tests.test_byte_exact.TestDeterminism.test_stdout_identical_across_runs[b]",
+ "eval.tests.test_byte_exact.TestDeterminism.test_stdout_identical_across_runs[c]",
+ "eval.tests.test_byte_exact.TestDeterminism.test_stdout_identical_across_runs[d]",
+ "eval.tests.test_byte_exact.TestDeterminism.test_stdout_identical_for_distinct_cwd_names[a]",
+ "eval.tests.test_byte_exact.TestDeterminism.test_stdout_identical_for_distinct_cwd_names[b]",
+ "eval.tests.test_byte_exact.TestStderrAbsence.test_stderr_empty_for_argv[argv0]",
+ "eval.tests.test_byte_exact.TestStderrAbsence.test_stderr_empty_for_argv[argv1]",
+ "eval.tests.test_byte_exact.TestStderrAbsence.test_stderr_empty_for_argv[argv2]",
+ "eval.tests.test_byte_exact.TestStderrAbsence.test_stderr_is_empty[s1]",
+ "eval.tests.test_byte_exact.TestStderrAbsence.test_stderr_is_empty[s2]",
+ "eval.tests.test_byte_exact.TestStderrAbsence.test_stderr_is_empty[s3]",
+ "eval.tests.test_byte_exact.TestStderrAbsence.test_stderr_is_empty[s4]",
+ "eval.tests.test_byte_exact.TestStderrAbsence.test_stderr_is_empty[s5]",
+ "eval.tests.test_byte_exact.TestStderrAbsence.test_stderr_remains_empty_in_distinct_cwd",
+ "eval.tests.test_exit_status.test_exit_zero_observed_again_in_fresh_dir[--_x_y_z]",
+ "eval.tests.test_exit_status.test_exit_zero_observed_again_in_fresh_dir[--help]",
+ "eval.tests.test_exit_status.test_exit_zero_observed_again_in_fresh_dir[--input=/tmp/foo.off]",
+ "eval.tests.test_exit_status.test_exit_zero_observed_again_in_fresh_dir[--output=bar.obj]",
+ "eval.tests.test_exit_status.test_exit_zero_observed_again_in_fresh_dir[--unknown-flag]",
+ "eval.tests.test_exit_status.test_exit_zero_observed_again_in_fresh_dir[--verbose_3]",
+ "eval.tests.test_exit_status.test_exit_zero_observed_again_in_fresh_dir[--version]",
+ "eval.tests.test_exit_status.test_exit_zero_observed_again_in_fresh_dir[-h]",
+ "eval.tests.test_exit_status.test_exit_zero_observed_again_in_fresh_dir[-v_-v_-v]",
+ "eval.tests.test_exit_status.test_exit_zero_observed_again_in_fresh_dir[/some/random/path]",
+ "eval.tests.test_exit_status.test_exit_zero_observed_again_in_fresh_dir[9999]",
+ "eval.tests.test_exit_status.test_exit_zero_observed_again_in_fresh_dir[a_b_c]",
+ "eval.tests.test_exit_status.test_exit_zero_observed_again_in_fresh_dir[cube.obj]",
+ "eval.tests.test_exit_status.test_exit_zero_observed_again_in_fresh_dir[help]",
+ "eval.tests.test_exit_status.test_exit_zero_observed_again_in_fresh_dir[none]",
+ "eval.tests.test_exit_status.test_stdout_is_produced_before_exit",
+ "eval.tests.test_exit_status.test_success_exit_zero_with_full_protocol[--_x_y_z]",
+ "eval.tests.test_exit_status.test_success_exit_zero_with_full_protocol[--help]",
+ "eval.tests.test_exit_status.test_success_exit_zero_with_full_protocol[--input=/tmp/foo.off]",
+ "eval.tests.test_exit_status.test_success_exit_zero_with_full_protocol[--output=bar.obj]",
+ "eval.tests.test_exit_status.test_success_exit_zero_with_full_protocol[--unknown-flag]",
+ "eval.tests.test_exit_status.test_success_exit_zero_with_full_protocol[--verbose_3]",
+ "eval.tests.test_exit_status.test_success_exit_zero_with_full_protocol[--version]",
+ "eval.tests.test_exit_status.test_success_exit_zero_with_full_protocol[-h]",
+ "eval.tests.test_exit_status.test_success_exit_zero_with_full_protocol[-v_-v_-v]",
+ "eval.tests.test_exit_status.test_success_exit_zero_with_full_protocol[/some/random/path]",
+ "eval.tests.test_exit_status.test_success_exit_zero_with_full_protocol[9999]",
+ "eval.tests.test_exit_status.test_success_exit_zero_with_full_protocol[a_b_c]",
+ "eval.tests.test_exit_status.test_success_exit_zero_with_full_protocol[cube.obj]",
+ "eval.tests.test_exit_status.test_success_exit_zero_with_full_protocol[help]",
+ "eval.tests.test_exit_status.test_success_exit_zero_with_full_protocol[none]",
+ "eval.tests.test_harness_contract.test_branch_root_executable_fallback_drives_behavior",
+ "eval.tests.test_harness_contract.test_executable_is_deterministic_and_writes_cube_obj",
+ "eval.tests.test_harness_contract.test_programgym_executable_runs_and_produces_absent_protocol[a]",
+ "eval.tests.test_harness_contract.test_programgym_executable_runs_and_produces_absent_protocol[b]",
+ "eval.tests.test_harness_contract.test_resolved_executable_equals_branch_root_fallback",
+ "eval.tests.test_independence_and_fixture.test_absent_stdout_golden_length_and_path",
+ "eval.tests.test_independence_and_fixture.test_absent_stdout_golden_structure",
+ "eval.tests.test_independence_and_fixture.test_artifact_does_not_echo_stdin_or_env",
+ "eval.tests.test_independence_and_fixture.test_cube_obj_artifact_is_lf_only",
+ "eval.tests.test_independence_and_fixture.test_cube_obj_emitted_at_cwd_not_beside_symlinked_exe",
+ "eval.tests.test_independence_and_fixture.test_empty_cube_obj_golden_is_two_lf_bytes",
+ "eval.tests.test_independence_and_fixture.test_foreign_fixture_distinct_from_empty_golden",
+ "eval.tests.test_independence_and_fixture.test_foreign_fixture_is_committed_old_content",
+ "eval.tests.test_independence_and_fixture.test_golden_outputs_are_distinct_and_bind_to_real_output",
+ "eval.tests.test_independence_and_fixture.test_protocol_identical_to_inherited_env_when_extra_var_set",
+ "eval.tests.test_independence_and_fixture.test_protocol_invariant_in_deep_nested_cwd",
+ "eval.tests.test_independence_and_fixture.test_protocol_invariant_in_long_single_segment_cwd",
+ "eval.tests.test_independence_and_fixture.test_protocol_invariant_under_extra_env_marker",
+ "eval.tests.test_independence_and_fixture.test_protocol_invariant_under_stdin[n0]",
+ "eval.tests.test_independence_and_fixture.test_protocol_invariant_under_stdin[n12]",
+ "eval.tests.test_independence_and_fixture.test_protocol_invariant_under_stdin[n16]",
+ "eval.tests.test_independence_and_fixture.test_protocol_invariant_under_stdin[n1]",
+ "eval.tests.test_independence_and_fixture.test_protocol_invariant_under_stdin[n26]",
+ "eval.tests.test_independence_and_fixture.test_protocol_invariant_under_stdin[n4096]",
+ "eval.tests.test_independence_and_fixture.test_protocol_invariant_under_stdin[n5]",
+ "eval.tests.test_independence_and_fixture.test_protocol_invariant_under_stdin[n6]",
+ "eval.tests.test_independence_and_fixture.test_protocol_invariant_under_stdin[n7]",
+ "eval.tests.test_independence_and_fixture.test_protocol_invariant_when_invoked_via_relative_path",
+ "eval.tests.test_independence_and_fixture.test_protocol_invariant_when_invoked_via_symlink",
+ "eval.tests.test_independence_and_fixture.test_resolved_executable_is_nonempty_elf",
+ "eval.tests.test_output_file.TestEmptyMeshContent.test_cube_obj_exact_empty_bytes",
+ "eval.tests.test_output_file.TestEmptyMeshContent.test_cube_obj_has_no_vertex_or_face_lines",
+ "eval.tests.test_output_file.TestEmptyMeshContent.test_cube_obj_size_is_two",
+ "eval.tests.test_output_file.TestOverwriteStateTransition.test_many_runs_leave_canonical_file",
+ "eval.tests.test_output_file.TestOverwriteStateTransition.test_obfuscated_prior_content_is_replaced",
+ "eval.tests.test_output_file.TestOverwriteStateTransition.test_prior_subdirectory_not_required",
+ "eval.tests.test_output_file.TestOverwriteStateTransition.test_run_twice_yields_identical_cube_obj",
+ "eval.tests.test_output_file.test_cube_obj_created_in_cwd",
+ "eval.tests.test_output_file.test_cube_obj_is_at_cwd_not_at_branch_root",
+ "eval.tests.test_output_file.test_cube_obj_not_written_to_data_path",
+ "eval.tests.test_output_file.test_cube_obj_regular_file_in_cwd[0]",
+ "eval.tests.test_output_file.test_cube_obj_regular_file_in_cwd[1]",
+ "eval.tests.test_output_file.test_cube_obj_regular_file_in_cwd[2]",
+ "eval.tests.test_parallel_isolation.test_artifact_only_in_own_cwd[one]",
+ "eval.tests.test_parallel_isolation.test_artifact_only_in_own_cwd[three]",
+ "eval.tests.test_parallel_isolation.test_artifact_only_in_own_cwd[two]",
+ "eval.tests.test_parallel_isolation.test_concurrent_runs_in_isolated_dirs_do_not_interfere",
+ "eval.tests.test_parallel_isolation.test_stdout_independent_of_cwd_contents[five]",
+ "eval.tests.test_parallel_isolation.test_stdout_independent_of_cwd_contents[four]",
+ "eval.tests.test_parallel_isolation.test_stdout_independent_of_cwd_contents[one]",
+ "eval.tests.test_parallel_isolation.test_stdout_independent_of_cwd_contents[six]",
+ "eval.tests.test_parallel_isolation.test_stdout_independent_of_cwd_contents[three]",
+ "eval.tests.test_parallel_isolation.test_stdout_independent_of_cwd_contents[two]",
+ "eval.tests.test_parallel_isolation.test_stress_repeated_runs_remain_stable",
+ "eval.tests.test_protocol_detail.test_absent_stdout_matches_golden",
+ "eval.tests.test_protocol_detail.test_cwd_with_dashes_and_dots",
+ "eval.tests.test_protocol_detail.test_cwd_with_spaces_and_unicode_is_supported",
+ "eval.tests.test_protocol_detail.test_frames_use_simple_newline_delimiter",
+ "eval.tests.test_protocol_detail.test_labels_written_with_column_layout[Faces: ]",
+ "eval.tests.test_protocol_detail.test_labels_written_with_column_layout[Vertices: ]",
+ "eval.tests.test_protocol_detail.test_stdout_bytes_within_letter_set",
+ "eval.tests.test_protocol_detail.test_stdout_has_exactly_one_io_error_diagnostic",
+ "eval.tests.test_protocol_detail.test_stdout_valid_utf8",
+ "eval.tests.test_state_protocol.TestInputPresentProtocol.test_cube_obj_and_stdout_agree_on_vertex_count",
+ "eval.tests.test_state_protocol.TestInputPresentProtocol.test_cube_obj_contains_face_records",
+ "eval.tests.test_state_protocol.TestInputPresentProtocol.test_cube_obj_contains_vertex_records",
+ "eval.tests.test_state_protocol.TestInputPresentProtocol.test_stdout_faces_section_has_indices",
+ "eval.tests.test_state_protocol.TestInputPresentProtocol.test_stdout_has_no_io_error",
+ "eval.tests.test_state_protocol.TestInputPresentProtocol.test_stdout_vertices_section_has_coordinates",
+ "eval.tests.test_state_protocol.test_detected_state_matches_executable_output",
+ "eval.tests.test_stdout_contract.TestAbsentInputProtocol.test_empty_faces_section_when_input_absent",
+ "eval.tests.test_stdout_contract.TestAbsentInputProtocol.test_empty_vertices_section_when_input_absent",
+ "eval.tests.test_stdout_contract.TestAbsentInputProtocol.test_frame_fully_matches_golden",
+ "eval.tests.test_stdout_contract.TestAbsentInputProtocol.test_io_error_names_full_cube_off_path",
+ "eval.tests.test_stdout_contract.TestAbsentInputProtocol.test_io_error_uses_could_not_be_opened_phrase",
+ "eval.tests.test_stdout_contract.TestAbsentInputProtocol.test_stdout_begins_with_io_error",
+ "eval.tests.test_stdout_contract.test_absent_stdout_matches_golden_for_argv[argv0]",
+ "eval.tests.test_stdout_contract.test_absent_stdout_matches_golden_for_argv[argv1]",
+ "eval.tests.test_stdout_contract.test_absent_stdout_matches_golden_for_argv[argv2]",
+ "eval.tests.test_stdout_contract.test_absent_stdout_matches_golden_for_argv[argv3]",
+ "eval.tests.test_stdout_contract.test_absent_stdout_matches_golden_for_argv[argv4]",
+ "eval.tests.test_stdout_contract.test_faces_frame_is_last_section",
+ "eval.tests.test_stdout_contract.test_labels_use_colon_then_space_layout",
+ "eval.tests.test_stdout_contract.test_stdout_has_vertices_then_faces_frame[argv0]",
+ "eval.tests.test_stdout_contract.test_stdout_has_vertices_then_faces_frame[argv1]",
+ "eval.tests.test_stdout_contract.test_stdout_has_vertices_then_faces_frame[argv2]",
+ "eval.tests.test_stdout_contract.test_stdout_has_vertices_then_faces_frame[argv3]",
+ "eval.tests.test_stdout_contract.test_stdout_has_vertices_then_faces_frame[argv4]",
+ "eval.tests.test_stdout_contract.test_vertices_label_before_faces_label",
+ "eval.tests.test_write_failure_paths.test_cube_obj_directory_preserved_not_replaced",
+ "eval.tests.test_write_failure_paths.test_cube_obj_is_directory_diagnostic_deterministic",
+ "eval.tests.test_write_failure_paths.test_dangling_symlink_kept_after_failed_write",
+ "eval.tests.test_write_failure_paths.test_openable_target_writes_canonical_stderr_empty",
+ "eval.tests.test_write_failure_paths.test_symlink_writes_canonical_payload_through[existing_file]",
+ "eval.tests.test_write_failure_paths.test_symlink_writes_canonical_payload_through[missing_file_in_existing_dir]",
+ "eval.tests.test_write_failure_paths.test_symlink_writes_through_replaces_foreign_target[existing_file]",
+ "eval.tests.test_write_failure_paths.test_symlink_writes_through_replaces_foreign_target[missing_file_in_existing_dir]",
+ "eval.tests.test_write_failure_paths.test_symlink_writes_to_target_not_beside_symlink",
+ "eval.tests.test_write_failure_paths.test_unopenable_cube_obj_emits_no_other_files[dangling_symlink]",
+ "eval.tests.test_write_failure_paths.test_unopenable_cube_obj_emits_no_other_files[directory]",
+ "eval.tests.test_write_failure_paths.test_unopenable_cube_obj_emits_no_other_files[symlink_to_dir]",
+ "eval.tests.test_write_failure_paths.test_unopenable_cube_obj_emits_writeobj_diagnostic[dangling_symlink]",
+ "eval.tests.test_write_failure_paths.test_unopenable_cube_obj_emits_writeobj_diagnostic[directory]",
+ "eval.tests.test_write_failure_paths.test_unopenable_cube_obj_emits_writeobj_diagnostic[symlink_to_dir]"
+ ]
+ },
+ "generated_upstream": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_readoff_fileio.test_fileio_exits_zero",
+ "eval.tests.test_readoff_fileio.test_missing_input_reports_readoff_io_error",
+ "eval.tests.test_readoff_fileio.test_stdout_prints_vertices_and_faces_headers",
+ "eval.tests.test_readoff_fileio.test_writeobj_creates_cube_obj_in_cwd"
+ ]
+ }
+ },
+ "commit": "cab03717c7f6f3657bed6438601abf43d84a208f",
+ "data_source": "synthetic_programgym",
+ "difficulty": "medium",
+ "difficulty_score": 3.7862572375569066,
+ "eval_clean_hashes": [
+ "ac6bb740d61c56304dfcdd3c538227ad168365fccc0e773c0452042cf4c773b5"
+ ],
+ "input_record": {
+ "commit": "cab03717c7f6f3657bed6438601abf43d84a208f",
+ "difficulty": "medium",
+ "difficulty_code_lines": 152826,
+ "difficulty_has_tests": true,
+ "difficulty_product_code_lines": 152826,
+ "difficulty_runtime_deps": 3,
+ "difficulty_score": 3.7862572375569066,
+ "difficulty_test_code_lines": 11752,
+ "full_name": "libigl/libigl",
+ "input_joern_zip": "cpp_joern/libigl__libigl.zip",
+ "joern_status": true,
+ "joern_time": 38.67015032796189,
+ "language": "cpp",
+ "pb_match": [
+ {
+ "pb_fullname": "gromacs/gromacs",
+ "rank": 586,
+ "similarity": 0.47571882605552673
+ },
+ {
+ "pb_fullname": "OSGeo/gdal",
+ "rank": 128,
+ "similarity": 0.49386996030807495
+ },
+ {
+ "pb_fullname": "OSGeo/PROJ",
+ "rank": 63,
+ "similarity": 0.48293593525886536
+ }
+ ],
+ "repo_path": "cpp/libigl__libigl",
+ "source": "commit:cab03717c7f6f3657bed6438601abf43d84a208f",
+ "status": "done",
+ "url": "https://github.com/libigl/libigl"
+ },
+ "instance_id": "libigl__libigl.cab0371",
+ "language": "cpp",
+ "module_iterations": [
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_01",
+ "iteration_limit": 15,
+ "module_index": 1,
+ "module_kind": "source",
+ "termination_reason": "early_stopping"
+ },
+ {
+ "actual_iterations": 15,
+ "branch_name": "generated_module_02",
+ "iteration_limit": 15,
+ "module_index": 2,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_03",
+ "iteration_limit": 15,
+ "module_index": 3,
+ "module_kind": "source",
+ "termination_reason": "early_stopping"
+ },
+ {
+ "actual_iterations": 6,
+ "branch_name": "generated_module_04",
+ "iteration_limit": 15,
+ "module_index": 4,
+ "module_kind": "source",
+ "termination_reason": "early_stopping"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_05",
+ "iteration_limit": 15,
+ "module_index": 5,
+ "module_kind": "source",
+ "termination_reason": "early_stopping"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_06",
+ "iteration_limit": 15,
+ "module_index": 6,
+ "module_kind": "source",
+ "termination_reason": "early_stopping"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_upstream",
+ "iteration_limit": 15,
+ "module_index": 7,
+ "module_kind": "tests",
+ "termination_reason": "early_stopping"
+ }
+ ],
+ "repository": "libigl/libigl"
+}
diff --git a/libigl--libigl.cab0371/tests/test.sh b/libigl--libigl.cab0371/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/libigl--libigl.cab0371/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/libigl--libigl.cab0371/tests/workspace.tar.gz b/libigl--libigl.cab0371/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..b26e96fc74ecf26bce8d81ace3381ceb67c19d2b
--- /dev/null
+++ b/libigl--libigl.cab0371/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0ab76e2bd30375321bd4276218f88097f30bf55c94aaf6074094fd6ef0d4f37b
+size 1128
diff --git a/life4--textdistance.rs.0f92088/environment/Dockerfile b/life4--textdistance.rs.0f92088/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..fcda33d89c241f216a19bcd9780cea160ab7d8c3
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/environment/Dockerfile
@@ -0,0 +1,59 @@
+FROM rust:1.97.1-bookworm
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV CARGO_HOME=/usr/local/cargo
+ENV RUSTUP_HOME=/usr/local/rustup
+ENV RUSTUP_TOOLCHAIN=1.97.1
+ENV PROGRAMGYM_RUST_TOOLCHAIN=1.97.1
+ENV PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends apt=2.6.1 bash=5.2.15-2+b13 build-essential=12.9 ca-certificates=20250419~deb12u1 cmake=3.25.1-1 git=1:2.39.5-0+deb12u3 make=4.3-4.1 pkg-config=1.8.1-1 python3=3.11.2-1+b1 python3-pip=23.0.1+dfsg-1 python3-dev=3.11.2-1+b1 autoconf=2.71-3 automake=1:1.16.5-1.3 gettext=0.21-12 file=1:5.44-3 binutils=2.40-2 libtool=2.4.7-7~deb12u1 libncurses-dev=6.4-4 meson=1.0.1-5 ninja-build=1.11.1-2~deb12u1 curl=7.88.1-10+deb12u15 wget=1.21.3-1+deb12u1 xz-utils=5.4.1-1+deb12u1 zstd=1.5.4+dfsg2-5 bzip2=1.0.8-5+b1 zip=3.0-13 unzip=6.0-28+deb12u1 patch=2.7.6-7 grep=3.8-5 python3-pytest python3-pytest-xdist python3-coverage && rm -rf /var/lib/apt/lists/*
+RUN rustup component add llvm-tools-preview --toolchain 1.97.1
+RUN RUST_SYSROOT="$(rustc --print sysroot)"; RUST_HOST="$(rustc -vV | sed -n 's/^host: //p')"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-profdata"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-cov"
+RUN rustc --version && cargo --version && rustup show active-toolchain
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /tmp/programgym-download.sh
+RUN chmod 755 /tmp/programgym-download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /tmp/programgym-download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/life4--textdistance.rs.0f92088/environment/download.sh b/life4--textdistance.rs.0f92088/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..92415c3314ef8c00e31cc8844c69c13ce15dc07c
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/environment/download.sh
@@ -0,0 +1,1209 @@
+#!/usr/bin/env bash
+# download.sh for ProgramGym build-agent (life4/textdistance.rs)
+#
+# Networked download / dependency-prefetch stage. This file is executed via
+# `source /source_ro/download.sh`, so it must be source-safe: export variables
+# into the current shell, avoid positional args, and never `exit` during normal
+# control flow.
+#
+# It must be a completely standalone single file: it must NOT read any
+# repository file (Cargo.toml, Cargo.lock, etc.). The full manifest and the full
+# lockfile are embedded inline below via heredocs. It must not compile, link,
+# test, package, or install built artifacts. Any real command failure aborts
+# loudly (set -e).
+
+set -e
+
+# ---------------------------------------------------------------------------
+# Target decision (mirrors single.json):
+# bin target "textdistance" is auto-derived by Cargo from src/main.rs (the
+# crate's shipped CLI: given an algorithm name and two texts it prints the
+# similarity/distance via the public textdistance::str::* API).
+#
+# The offline release build must resolve against Cargo's full dependency
+# graph (including dev-dependencies/bench deps listed in Cargo.lock), so we
+# cache EVERY crate from the lockfile. To stay standalone we embed the real
+# Cargo.toml and Cargo.lock inline, generate stub source files, and run
+# `cargo fetch --manifest-path ... --locked`. This populates CARGO_HOME's
+# registry cache so the later offline `cargo build --offline` needs no
+# network.
+# ---------------------------------------------------------------------------
+
+# The cached download.sh runs from a read-only mount, so we must NOT run cargo
+# from the repo root or /source_ro. Work in a temp dir.
+DL_WORK=$(mktemp -d)
+
+# Embed the Cargo.toml (library + bin + dev-dependencies + bench target).
+cat > "$DL_WORK/Cargo.toml" <<'EOF'
+[package]
+name = "textdistance"
+version = "1.1.1"
+edition = "2021"
+authors = ["Gram "]
+description = "Lots of algorithms to compare how similar two sequences are"
+repository = "https://github.com/life4/textdistance.rs"
+license = "MIT"
+keywords = ["jaro", "hamming", "levenshtein", "similarity", "distance"]
+categories = [
+ "algorithms",
+ "science",
+ "no-std",
+ "text-processing",
+ "command-line-interface",
+]
+
+[features]
+default = ["std"]
+std = []
+
+[dev-dependencies]
+assert2 = "0.3.15"
+criterion = "0.5.1"
+proptest = "1.1.0"
+rstest = "0.22.0"
+unicode-segmentation = "1.10.1"
+
+[[bench]]
+name = "str_benchmarks"
+harness = false
+EOF
+
+# Embed the Cargo.lock so `cargo fetch --locked` downloads the exact pinned
+# versions that the offline build will resolve against.
+cat > "$DL_WORK/Cargo.lock" <<'EOF'
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 3
+
+[[package]]
+name = "aho-corasick"
+version = "1.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "anes"
+version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
+
+[[package]]
+name = "anstyle"
+version = "1.0.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1"
+
+[[package]]
+name = "assert2"
+version = "0.3.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d31fea2b6e18dfe892863c3a0a68f9e005b0195565f3d55b8612946ebca789cc"
+dependencies = [
+ "assert2-macros",
+ "diff",
+ "is-terminal",
+ "yansi",
+]
+
+[[package]]
+name = "assert2-macros"
+version = "0.3.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3c1ac052c642f6d94e4be0b33028b346b7ab809ea5432b584eb8859f12f7ad2c"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "rustc_version",
+ "syn",
+]
+
+[[package]]
+name = "autocfg"
+version = "1.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
+
+[[package]]
+name = "bit-set"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1"
+dependencies = [
+ "bit-vec",
+]
+
+[[package]]
+name = "bit-vec"
+version = "0.6.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb"
+
+[[package]]
+name = "bitflags"
+version = "2.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
+
+[[package]]
+name = "bumpalo"
+version = "3.16.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
+
+[[package]]
+name = "byteorder"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
+
+[[package]]
+name = "cast"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
+
+[[package]]
+name = "cfg-if"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+
+[[package]]
+name = "ciborium"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e"
+dependencies = [
+ "ciborium-io",
+ "ciborium-ll",
+ "serde",
+]
+
+[[package]]
+name = "ciborium-io"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757"
+
+[[package]]
+name = "ciborium-ll"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9"
+dependencies = [
+ "ciborium-io",
+ "half",
+]
+
+[[package]]
+name = "clap"
+version = "4.5.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3e5a21b8495e732f1b3c364c9949b201ca7bae518c502c80256c96ad79eaf6ac"
+dependencies = [
+ "clap_builder",
+]
+
+[[package]]
+name = "clap_builder"
+version = "4.5.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8cf2dd12af7a047ad9d6da2b6b249759a22a7abc0f474c1dae1777afa4b21a73"
+dependencies = [
+ "anstyle",
+ "clap_lex",
+]
+
+[[package]]
+name = "clap_lex"
+version = "0.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97"
+
+[[package]]
+name = "criterion"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f2b12d017a929603d80db1831cd3a24082f8137ce19c69e6447f54f5fc8d692f"
+dependencies = [
+ "anes",
+ "cast",
+ "ciborium",
+ "clap",
+ "criterion-plot",
+ "is-terminal",
+ "itertools",
+ "num-traits",
+ "once_cell",
+ "oorandom",
+ "plotters",
+ "rayon",
+ "regex",
+ "serde",
+ "serde_derive",
+ "serde_json",
+ "tinytemplate",
+ "walkdir",
+]
+
+[[package]]
+name = "criterion-plot"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1"
+dependencies = [
+ "cast",
+ "itertools",
+]
+
+[[package]]
+name = "crossbeam-deque"
+version = "0.8.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
+dependencies = [
+ "crossbeam-epoch",
+ "crossbeam-utils",
+]
+
+[[package]]
+name = "crossbeam-epoch"
+version = "0.9.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
+dependencies = [
+ "crossbeam-utils",
+]
+
+[[package]]
+name = "crossbeam-utils"
+version = "0.8.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80"
+
+[[package]]
+name = "crunchy"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
+
+[[package]]
+name = "diff"
+version = "0.1.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8"
+
+[[package]]
+name = "either"
+version = "1.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
+
+[[package]]
+name = "equivalent"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
+
+[[package]]
+name = "errno"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
+dependencies = [
+ "libc",
+ "windows-sys 0.52.0",
+]
+
+[[package]]
+name = "fastrand"
+version = "2.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6"
+
+[[package]]
+name = "fnv"
+version = "1.0.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
+
+[[package]]
+name = "futures"
+version = "0.3.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0"
+dependencies = [
+ "futures-channel",
+ "futures-core",
+ "futures-executor",
+ "futures-io",
+ "futures-sink",
+ "futures-task",
+ "futures-util",
+]
+
+[[package]]
+name = "futures-channel"
+version = "0.3.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78"
+dependencies = [
+ "futures-core",
+ "futures-sink",
+]
+
+[[package]]
+name = "futures-core"
+version = "0.3.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d"
+
+[[package]]
+name = "futures-executor"
+version = "0.3.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d"
+dependencies = [
+ "futures-core",
+ "futures-task",
+ "futures-util",
+]
+
+[[package]]
+name = "futures-io"
+version = "0.3.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1"
+
+[[package]]
+name = "futures-macro"
+version = "0.3.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "futures-sink"
+version = "0.3.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5"
+
+[[package]]
+name = "futures-task"
+version = "0.3.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004"
+
+[[package]]
+name = "futures-timer"
+version = "3.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24"
+
+[[package]]
+name = "futures-util"
+version = "0.3.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48"
+dependencies = [
+ "futures-channel",
+ "futures-core",
+ "futures-io",
+ "futures-macro",
+ "futures-sink",
+ "futures-task",
+ "memchr",
+ "pin-project-lite",
+ "pin-utils",
+ "slab",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.2.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "wasi",
+]
+
+[[package]]
+name = "glob"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
+
+[[package]]
+name = "half"
+version = "2.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888"
+dependencies = [
+ "cfg-if",
+ "crunchy",
+]
+
+[[package]]
+name = "hashbrown"
+version = "0.14.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
+
+[[package]]
+name = "hermit-abi"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc"
+
+[[package]]
+name = "indexmap"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5"
+dependencies = [
+ "equivalent",
+ "hashbrown",
+]
+
+[[package]]
+name = "is-terminal"
+version = "0.4.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b"
+dependencies = [
+ "hermit-abi",
+ "libc",
+ "windows-sys 0.52.0",
+]
+
+[[package]]
+name = "itertools"
+version = "0.10.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
+dependencies = [
+ "either",
+]
+
+[[package]]
+name = "itoa"
+version = "1.0.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
+
+[[package]]
+name = "js-sys"
+version = "0.3.70"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a"
+dependencies = [
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "lazy_static"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
+
+[[package]]
+name = "libc"
+version = "0.2.158"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439"
+
+[[package]]
+name = "libm"
+version = "0.2.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058"
+
+[[package]]
+name = "linux-raw-sys"
+version = "0.4.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
+
+[[package]]
+name = "log"
+version = "0.4.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
+
+[[package]]
+name = "memchr"
+version = "2.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
+
+[[package]]
+name = "num-traits"
+version = "0.2.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
+dependencies = [
+ "autocfg",
+ "libm",
+]
+
+[[package]]
+name = "once_cell"
+version = "1.19.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
+
+[[package]]
+name = "oorandom"
+version = "11.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9"
+
+[[package]]
+name = "pin-project-lite"
+version = "0.2.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02"
+
+[[package]]
+name = "pin-utils"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
+
+[[package]]
+name = "plotters"
+version = "0.3.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5aeb6f403d7a4911efb1e33402027fc44f29b5bf6def3effcc22d7bb75f2b747"
+dependencies = [
+ "num-traits",
+ "plotters-backend",
+ "plotters-svg",
+ "wasm-bindgen",
+ "web-sys",
+]
+
+[[package]]
+name = "plotters-backend"
+version = "0.3.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "df42e13c12958a16b3f7f4386b9ab1f3e7933914ecea48da7139435263a4172a"
+
+[[package]]
+name = "plotters-svg"
+version = "0.3.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "51bae2ac328883f7acdfea3d66a7c35751187f870bc81f94563733a154d7a670"
+dependencies = [
+ "plotters-backend",
+]
+
+[[package]]
+name = "ppv-lite86"
+version = "0.2.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
+dependencies = [
+ "zerocopy",
+]
+
+[[package]]
+name = "proc-macro-crate"
+version = "3.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b"
+dependencies = [
+ "toml_edit",
+]
+
+[[package]]
+name = "proc-macro2"
+version = "1.0.86"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
+dependencies = [
+ "unicode-ident",
+]
+
+[[package]]
+name = "proptest"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b4c2511913b88df1637da85cc8d96ec8e43a3f8bb8ccb71ee1ac240d6f3df58d"
+dependencies = [
+ "bit-set",
+ "bit-vec",
+ "bitflags",
+ "lazy_static",
+ "num-traits",
+ "rand",
+ "rand_chacha",
+ "rand_xorshift",
+ "regex-syntax",
+ "rusty-fork",
+ "tempfile",
+ "unarray",
+]
+
+[[package]]
+name = "quick-error"
+version = "1.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
+
+[[package]]
+name = "quote"
+version = "1.0.37"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
+dependencies = [
+ "proc-macro2",
+]
+
+[[package]]
+name = "rand"
+version = "0.8.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
+dependencies = [
+ "libc",
+ "rand_chacha",
+ "rand_core",
+]
+
+[[package]]
+name = "rand_chacha"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
+dependencies = [
+ "ppv-lite86",
+ "rand_core",
+]
+
+[[package]]
+name = "rand_core"
+version = "0.6.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
+dependencies = [
+ "getrandom",
+]
+
+[[package]]
+name = "rand_xorshift"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f"
+dependencies = [
+ "rand_core",
+]
+
+[[package]]
+name = "rayon"
+version = "1.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
+dependencies = [
+ "either",
+ "rayon-core",
+]
+
+[[package]]
+name = "rayon-core"
+version = "1.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
+dependencies = [
+ "crossbeam-deque",
+ "crossbeam-utils",
+]
+
+[[package]]
+name = "regex"
+version = "1.10.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-automata",
+ "regex-syntax",
+]
+
+[[package]]
+name = "regex-automata"
+version = "0.4.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-syntax",
+]
+
+[[package]]
+name = "regex-syntax"
+version = "0.8.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
+
+[[package]]
+name = "relative-path"
+version = "1.9.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ba39f3699c378cd8970968dcbff9c43159ea4cfbd88d43c00b22f2ef10a435d2"
+
+[[package]]
+name = "rstest"
+version = "0.22.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7b423f0e62bdd61734b67cd21ff50871dfaeb9cc74f869dcd6af974fbcb19936"
+dependencies = [
+ "futures",
+ "futures-timer",
+ "rstest_macros",
+ "rustc_version",
+]
+
+[[package]]
+name = "rstest_macros"
+version = "0.22.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c5e1711e7d14f74b12a58411c542185ef7fb7f2e7f8ee6e2940a883628522b42"
+dependencies = [
+ "cfg-if",
+ "glob",
+ "proc-macro-crate",
+ "proc-macro2",
+ "quote",
+ "regex",
+ "relative-path",
+ "rustc_version",
+ "syn",
+ "unicode-ident",
+]
+
+[[package]]
+name = "rustc_version"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
+dependencies = [
+ "semver",
+]
+
+[[package]]
+name = "rustix"
+version = "0.38.36"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f55e80d50763938498dd5ebb18647174e0c76dc38c5505294bb224624f30f36"
+dependencies = [
+ "bitflags",
+ "errno",
+ "libc",
+ "linux-raw-sys",
+ "windows-sys 0.52.0",
+]
+
+[[package]]
+name = "rusty-fork"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f"
+dependencies = [
+ "fnv",
+ "quick-error",
+ "tempfile",
+ "wait-timeout",
+]
+
+[[package]]
+name = "ryu"
+version = "1.0.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
+
+[[package]]
+name = "same-file"
+version = "1.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
+dependencies = [
+ "winapi-util",
+]
+
+[[package]]
+name = "semver"
+version = "1.0.23"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b"
+
+[[package]]
+name = "serde"
+version = "1.0.210"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a"
+dependencies = [
+ "serde_derive",
+]
+
+[[package]]
+name = "serde_derive"
+version = "1.0.210"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "serde_json"
+version = "1.0.128"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8"
+dependencies = [
+ "itoa",
+ "memchr",
+ "ryu",
+ "serde",
+]
+
+[[package]]
+name = "slab"
+version = "0.4.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
+dependencies = [
+ "autocfg",
+]
+
+[[package]]
+name = "syn"
+version = "2.0.77"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
+[[package]]
+name = "tempfile"
+version = "3.12.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64"
+dependencies = [
+ "cfg-if",
+ "fastrand",
+ "once_cell",
+ "rustix",
+ "windows-sys 0.59.0",
+]
+
+[[package]]
+name = "textdistance"
+version = "1.1.1"
+dependencies = [
+ "assert2",
+ "criterion",
+ "proptest",
+ "rstest",
+ "unicode-segmentation",
+]
+
+[[package]]
+name = "tinytemplate"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc"
+dependencies = [
+ "serde",
+ "serde_json",
+]
+
+[[package]]
+name = "toml_datetime"
+version = "0.6.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41"
+
+[[package]]
+name = "toml_edit"
+version = "0.22.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d"
+dependencies = [
+ "indexmap",
+ "toml_datetime",
+ "winnow",
+]
+
+[[package]]
+name = "unarray"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94"
+
+[[package]]
+name = "unicode-ident"
+version = "1.0.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
+
+[[package]]
+name = "unicode-segmentation"
+version = "1.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202"
+
+[[package]]
+name = "wait-timeout"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "walkdir"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
+dependencies = [
+ "same-file",
+ "winapi-util",
+]
+
+[[package]]
+name = "wasi"
+version = "0.11.0+wasi-snapshot-preview1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
+
+[[package]]
+name = "wasm-bindgen"
+version = "0.2.93"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5"
+dependencies = [
+ "cfg-if",
+ "once_cell",
+ "wasm-bindgen-macro",
+]
+
+[[package]]
+name = "wasm-bindgen-backend"
+version = "0.2.93"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b"
+dependencies = [
+ "bumpalo",
+ "log",
+ "once_cell",
+ "proc-macro2",
+ "quote",
+ "syn",
+ "wasm-bindgen-shared",
+]
+
+[[package]]
+name = "wasm-bindgen-macro"
+version = "0.2.93"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf"
+dependencies = [
+ "quote",
+ "wasm-bindgen-macro-support",
+]
+
+[[package]]
+name = "wasm-bindgen-macro-support"
+version = "0.2.93"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+ "wasm-bindgen-backend",
+ "wasm-bindgen-shared",
+]
+
+[[package]]
+name = "wasm-bindgen-shared"
+version = "0.2.93"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484"
+
+[[package]]
+name = "web-sys"
+version = "0.3.70"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "26fdeaafd9bd129f65e7c031593c24d62186301e0c72c8978fa1678be7d532c0"
+dependencies = [
+ "js-sys",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "winapi-util"
+version = "0.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
+dependencies = [
+ "windows-sys 0.59.0",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.52.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
+dependencies = [
+ "windows-targets",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.59.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
+dependencies = [
+ "windows-targets",
+]
+
+[[package]]
+name = "windows-targets"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
+dependencies = [
+ "windows_aarch64_gnullvm",
+ "windows_aarch64_msvc",
+ "windows_i686_gnu",
+ "windows_i686_gnullvm",
+ "windows_i686_msvc",
+ "windows_x86_64_gnu",
+ "windows_x86_64_gnullvm",
+ "windows_x86_64_msvc",
+]
+
+[[package]]
+name = "windows_aarch64_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
+
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
+
+[[package]]
+name = "windows_i686_gnu"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
+
+[[package]]
+name = "windows_i686_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
+
+[[package]]
+name = "windows_i686_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
+
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
+
+[[package]]
+name = "windows_x86_64_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
+
+[[package]]
+name = "windows_x86_64_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
+
+[[package]]
+name = "winnow"
+version = "0.6.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "yansi"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049"
+
+[[package]]
+name = "zerocopy"
+version = "0.7.35"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
+dependencies = [
+ "byteorder",
+ "zerocopy-derive",
+]
+
+[[package]]
+name = "zerocopy-derive"
+version = "0.7.35"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+EOF
+
+# Generate matching minimal stub source files so the embedded manifest's
+# declared lib/bin/bench paths resolve during `cargo fetch`.
+mkdir -p "$DL_WORK/src" "$DL_WORK/benches"
+printf '%s\n' 'pub mod str {}' > "$DL_WORK/src/lib.rs"
+printf '%s\n' 'fn main() {}' > "$DL_WORK/src/main.rs"
+printf '%s\n' 'fn main() {}' > "$DL_WORK/benches/str_benchmarks.rs"
+
+# Prefetch every crate pinned in the embedded lockfile into the Cargo registry
+# cache. This downloads dependencies only (no compile/link/test).
+cargo fetch --manifest-path "$DL_WORK/Cargo.toml" --locked
+
+rm -rf "$DL_WORK"
+
+# Export the environment variables that build.sh relies on. The download and
+# build stages run in the same container, so the registry cache above persists
+# into the offline build.
+export CARGO_HOME="${CARGO_HOME:-$HOME/.cargo}"
+export CARGO_TARGET_DIR="${CARGO_TARGET_DIR:-target}"
+
+echo "[download.sh] dependency prefetch complete for bin target 'textdistance'."
diff --git a/life4--textdistance.rs.0f92088/environment/executable b/life4--textdistance.rs.0f92088/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..5b6a629d82709f655acc6684574d9911493bd63b
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/environment/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bc1933ce8b78fa25e856668d3d40291b3062bbd8801cee5d8e1a1c1932747bf5
+size 566608
diff --git a/life4--textdistance.rs.0f92088/environment/harbor_prepare_download_env.sh b/life4--textdistance.rs.0f92088/environment/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..4a3a33381308d53b7bd2216a2375c8cd54ac24c4
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/environment/harbor_prepare_download_env.sh
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+set -euo pipefail
+command -v cargo
+command -v rustc
+command -v rustup
+cd /workspace
+set -a
+source /tmp/programgym-download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/life4--textdistance.rs.0f92088/environment/workspace.tar.gz b/life4--textdistance.rs.0f92088/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..33752263b88589b6fa516ab5244204d21f54ead5
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:da2d63636e605b0527e4428b3ea44a30a73385778b42d5eb3b313ea25a2f5e43
+size 5902
diff --git a/life4--textdistance.rs.0f92088/instruction.md b/life4--textdistance.rs.0f92088/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/life4--textdistance.rs.0f92088/solution/solve.sh b/life4--textdistance.rs.0f92088/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/life4--textdistance.rs.0f92088/task.toml b/life4--textdistance.rs.0f92088/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..8869f8b71e0afa0317fcafca2b26c6565931ea2c
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/life4--textdistance.rs.0f92088"
+description = "Synthetic ProgramGym cleanroom reconstruction task for life4/textdistance.rs"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "rust"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "life4__textdistance.rs.0f92088"
+repository = "life4/textdistance.rs"
+commit = "0f92088dfc84a99a7652b3f6d7e268afd98dbaa6"
+language = "rust"
+difficulty = "easy"
+difficulty_score = 1.6044420662607233
+test_branches = 5
+test_count = 2898
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/life4--textdistance.rs.0f92088/tests/Dockerfile b/life4--textdistance.rs.0f92088/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..0134a64cf31409020689a99b234432f2b5f5f7fe
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/tests/Dockerfile
@@ -0,0 +1,68 @@
+FROM rust:1.97.1-bookworm
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV CARGO_HOME=/usr/local/cargo
+ENV RUSTUP_HOME=/usr/local/rustup
+ENV RUSTUP_TOOLCHAIN=1.97.1
+ENV PROGRAMGYM_RUST_TOOLCHAIN=1.97.1
+ENV PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends apt=2.6.1 bash=5.2.15-2+b13 build-essential=12.9 ca-certificates=20250419~deb12u1 cmake=3.25.1-1 git=1:2.39.5-0+deb12u3 make=4.3-4.1 pkg-config=1.8.1-1 python3=3.11.2-1+b1 python3-pip=23.0.1+dfsg-1 python3-dev=3.11.2-1+b1 autoconf=2.71-3 automake=1:1.16.5-1.3 gettext=0.21-12 file=1:5.44-3 binutils=2.40-2 libtool=2.4.7-7~deb12u1 libncurses-dev=6.4-4 meson=1.0.1-5 ninja-build=1.11.1-2~deb12u1 curl=7.88.1-10+deb12u15 wget=1.21.3-1+deb12u1 xz-utils=5.4.1-1+deb12u1 zstd=1.5.4+dfsg2-5 bzip2=1.0.8-5+b1 zip=3.0-13 unzip=6.0-28+deb12u1 patch=2.7.6-7 grep=3.8-5 python3-pytest python3-pytest-xdist python3-coverage && rm -rf /var/lib/apt/lists/*
+RUN rustup component add llvm-tools-preview --toolchain 1.97.1
+RUN RUST_SYSROOT="$(rustc --print sysroot)"; RUST_HOST="$(rustc -vV | sed -n 's/^host: //p')"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-profdata"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-cov"
+RUN rustc --version && cargo --version && rustup show active-toolchain
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /tmp/programgym-download.sh
+RUN chmod 755 /tmp/programgym-download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /tmp/programgym-download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN python3 -m pip install --break-system-packages \
+ --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/life4--textdistance.rs.0f92088/tests/blobs/tests/generated_module_01.tar.gz b/life4--textdistance.rs.0f92088/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..2fa80b361f7bc2a574926bc590bd5d5ed8ff4eb8
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:becb8aa62b41184d96639f5ecaf39b5f066f8bb22436aa1260acdfe722423a63
+size 25631
diff --git a/life4--textdistance.rs.0f92088/tests/blobs/tests/generated_module_02.tar.gz b/life4--textdistance.rs.0f92088/tests/blobs/tests/generated_module_02.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..63ca616b974d91ea2e873d401a2e6c476c18680e
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/tests/blobs/tests/generated_module_02.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:96ad8cd77d3e29c952fee93a3c6f77a9f1b931e4f97ad35b130f8cec9ad9da24
+size 23647
diff --git a/life4--textdistance.rs.0f92088/tests/blobs/tests/generated_module_03.tar.gz b/life4--textdistance.rs.0f92088/tests/blobs/tests/generated_module_03.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..077421fa0f35dacba54306b758b292eb620f451f
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/tests/blobs/tests/generated_module_03.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:796be554ccdebda5cdafad683ed93518499694f8e9ea997d961673e235f06485
+size 23834
diff --git a/life4--textdistance.rs.0f92088/tests/blobs/tests/generated_module_04.tar.gz b/life4--textdistance.rs.0f92088/tests/blobs/tests/generated_module_04.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..8d4e743b962abd40ae0e8e8b9e3fcd9046c3671d
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/tests/blobs/tests/generated_module_04.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5a84862d2d9822f99d9035320581f7d979064a4adc7ccc3c91ae9f75191694d5
+size 8703
diff --git a/life4--textdistance.rs.0f92088/tests/blobs/tests/generated_upstream.tar.gz b/life4--textdistance.rs.0f92088/tests/blobs/tests/generated_upstream.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..c626051ea4a26cda90c64a7c3a2989e63c35d3ed
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/tests/blobs/tests/generated_upstream.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9f8ff37f4dbce2514cfe09e3dfb9f08f63d065b7df9ee6b9fe40b0cc7fd6e19d
+size 2861
diff --git a/life4--textdistance.rs.0f92088/tests/download.sh b/life4--textdistance.rs.0f92088/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..92415c3314ef8c00e31cc8844c69c13ce15dc07c
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/tests/download.sh
@@ -0,0 +1,1209 @@
+#!/usr/bin/env bash
+# download.sh for ProgramGym build-agent (life4/textdistance.rs)
+#
+# Networked download / dependency-prefetch stage. This file is executed via
+# `source /source_ro/download.sh`, so it must be source-safe: export variables
+# into the current shell, avoid positional args, and never `exit` during normal
+# control flow.
+#
+# It must be a completely standalone single file: it must NOT read any
+# repository file (Cargo.toml, Cargo.lock, etc.). The full manifest and the full
+# lockfile are embedded inline below via heredocs. It must not compile, link,
+# test, package, or install built artifacts. Any real command failure aborts
+# loudly (set -e).
+
+set -e
+
+# ---------------------------------------------------------------------------
+# Target decision (mirrors single.json):
+# bin target "textdistance" is auto-derived by Cargo from src/main.rs (the
+# crate's shipped CLI: given an algorithm name and two texts it prints the
+# similarity/distance via the public textdistance::str::* API).
+#
+# The offline release build must resolve against Cargo's full dependency
+# graph (including dev-dependencies/bench deps listed in Cargo.lock), so we
+# cache EVERY crate from the lockfile. To stay standalone we embed the real
+# Cargo.toml and Cargo.lock inline, generate stub source files, and run
+# `cargo fetch --manifest-path ... --locked`. This populates CARGO_HOME's
+# registry cache so the later offline `cargo build --offline` needs no
+# network.
+# ---------------------------------------------------------------------------
+
+# The cached download.sh runs from a read-only mount, so we must NOT run cargo
+# from the repo root or /source_ro. Work in a temp dir.
+DL_WORK=$(mktemp -d)
+
+# Embed the Cargo.toml (library + bin + dev-dependencies + bench target).
+cat > "$DL_WORK/Cargo.toml" <<'EOF'
+[package]
+name = "textdistance"
+version = "1.1.1"
+edition = "2021"
+authors = ["Gram "]
+description = "Lots of algorithms to compare how similar two sequences are"
+repository = "https://github.com/life4/textdistance.rs"
+license = "MIT"
+keywords = ["jaro", "hamming", "levenshtein", "similarity", "distance"]
+categories = [
+ "algorithms",
+ "science",
+ "no-std",
+ "text-processing",
+ "command-line-interface",
+]
+
+[features]
+default = ["std"]
+std = []
+
+[dev-dependencies]
+assert2 = "0.3.15"
+criterion = "0.5.1"
+proptest = "1.1.0"
+rstest = "0.22.0"
+unicode-segmentation = "1.10.1"
+
+[[bench]]
+name = "str_benchmarks"
+harness = false
+EOF
+
+# Embed the Cargo.lock so `cargo fetch --locked` downloads the exact pinned
+# versions that the offline build will resolve against.
+cat > "$DL_WORK/Cargo.lock" <<'EOF'
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 3
+
+[[package]]
+name = "aho-corasick"
+version = "1.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "anes"
+version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
+
+[[package]]
+name = "anstyle"
+version = "1.0.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1"
+
+[[package]]
+name = "assert2"
+version = "0.3.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d31fea2b6e18dfe892863c3a0a68f9e005b0195565f3d55b8612946ebca789cc"
+dependencies = [
+ "assert2-macros",
+ "diff",
+ "is-terminal",
+ "yansi",
+]
+
+[[package]]
+name = "assert2-macros"
+version = "0.3.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3c1ac052c642f6d94e4be0b33028b346b7ab809ea5432b584eb8859f12f7ad2c"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "rustc_version",
+ "syn",
+]
+
+[[package]]
+name = "autocfg"
+version = "1.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
+
+[[package]]
+name = "bit-set"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1"
+dependencies = [
+ "bit-vec",
+]
+
+[[package]]
+name = "bit-vec"
+version = "0.6.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb"
+
+[[package]]
+name = "bitflags"
+version = "2.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
+
+[[package]]
+name = "bumpalo"
+version = "3.16.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
+
+[[package]]
+name = "byteorder"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
+
+[[package]]
+name = "cast"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
+
+[[package]]
+name = "cfg-if"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+
+[[package]]
+name = "ciborium"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e"
+dependencies = [
+ "ciborium-io",
+ "ciborium-ll",
+ "serde",
+]
+
+[[package]]
+name = "ciborium-io"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757"
+
+[[package]]
+name = "ciborium-ll"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9"
+dependencies = [
+ "ciborium-io",
+ "half",
+]
+
+[[package]]
+name = "clap"
+version = "4.5.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3e5a21b8495e732f1b3c364c9949b201ca7bae518c502c80256c96ad79eaf6ac"
+dependencies = [
+ "clap_builder",
+]
+
+[[package]]
+name = "clap_builder"
+version = "4.5.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8cf2dd12af7a047ad9d6da2b6b249759a22a7abc0f474c1dae1777afa4b21a73"
+dependencies = [
+ "anstyle",
+ "clap_lex",
+]
+
+[[package]]
+name = "clap_lex"
+version = "0.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97"
+
+[[package]]
+name = "criterion"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f2b12d017a929603d80db1831cd3a24082f8137ce19c69e6447f54f5fc8d692f"
+dependencies = [
+ "anes",
+ "cast",
+ "ciborium",
+ "clap",
+ "criterion-plot",
+ "is-terminal",
+ "itertools",
+ "num-traits",
+ "once_cell",
+ "oorandom",
+ "plotters",
+ "rayon",
+ "regex",
+ "serde",
+ "serde_derive",
+ "serde_json",
+ "tinytemplate",
+ "walkdir",
+]
+
+[[package]]
+name = "criterion-plot"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1"
+dependencies = [
+ "cast",
+ "itertools",
+]
+
+[[package]]
+name = "crossbeam-deque"
+version = "0.8.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
+dependencies = [
+ "crossbeam-epoch",
+ "crossbeam-utils",
+]
+
+[[package]]
+name = "crossbeam-epoch"
+version = "0.9.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
+dependencies = [
+ "crossbeam-utils",
+]
+
+[[package]]
+name = "crossbeam-utils"
+version = "0.8.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80"
+
+[[package]]
+name = "crunchy"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
+
+[[package]]
+name = "diff"
+version = "0.1.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8"
+
+[[package]]
+name = "either"
+version = "1.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
+
+[[package]]
+name = "equivalent"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
+
+[[package]]
+name = "errno"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
+dependencies = [
+ "libc",
+ "windows-sys 0.52.0",
+]
+
+[[package]]
+name = "fastrand"
+version = "2.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6"
+
+[[package]]
+name = "fnv"
+version = "1.0.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
+
+[[package]]
+name = "futures"
+version = "0.3.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0"
+dependencies = [
+ "futures-channel",
+ "futures-core",
+ "futures-executor",
+ "futures-io",
+ "futures-sink",
+ "futures-task",
+ "futures-util",
+]
+
+[[package]]
+name = "futures-channel"
+version = "0.3.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78"
+dependencies = [
+ "futures-core",
+ "futures-sink",
+]
+
+[[package]]
+name = "futures-core"
+version = "0.3.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d"
+
+[[package]]
+name = "futures-executor"
+version = "0.3.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d"
+dependencies = [
+ "futures-core",
+ "futures-task",
+ "futures-util",
+]
+
+[[package]]
+name = "futures-io"
+version = "0.3.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1"
+
+[[package]]
+name = "futures-macro"
+version = "0.3.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "futures-sink"
+version = "0.3.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5"
+
+[[package]]
+name = "futures-task"
+version = "0.3.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004"
+
+[[package]]
+name = "futures-timer"
+version = "3.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24"
+
+[[package]]
+name = "futures-util"
+version = "0.3.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48"
+dependencies = [
+ "futures-channel",
+ "futures-core",
+ "futures-io",
+ "futures-macro",
+ "futures-sink",
+ "futures-task",
+ "memchr",
+ "pin-project-lite",
+ "pin-utils",
+ "slab",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.2.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "wasi",
+]
+
+[[package]]
+name = "glob"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
+
+[[package]]
+name = "half"
+version = "2.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888"
+dependencies = [
+ "cfg-if",
+ "crunchy",
+]
+
+[[package]]
+name = "hashbrown"
+version = "0.14.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
+
+[[package]]
+name = "hermit-abi"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc"
+
+[[package]]
+name = "indexmap"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5"
+dependencies = [
+ "equivalent",
+ "hashbrown",
+]
+
+[[package]]
+name = "is-terminal"
+version = "0.4.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b"
+dependencies = [
+ "hermit-abi",
+ "libc",
+ "windows-sys 0.52.0",
+]
+
+[[package]]
+name = "itertools"
+version = "0.10.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
+dependencies = [
+ "either",
+]
+
+[[package]]
+name = "itoa"
+version = "1.0.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
+
+[[package]]
+name = "js-sys"
+version = "0.3.70"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a"
+dependencies = [
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "lazy_static"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
+
+[[package]]
+name = "libc"
+version = "0.2.158"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439"
+
+[[package]]
+name = "libm"
+version = "0.2.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058"
+
+[[package]]
+name = "linux-raw-sys"
+version = "0.4.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
+
+[[package]]
+name = "log"
+version = "0.4.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
+
+[[package]]
+name = "memchr"
+version = "2.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
+
+[[package]]
+name = "num-traits"
+version = "0.2.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
+dependencies = [
+ "autocfg",
+ "libm",
+]
+
+[[package]]
+name = "once_cell"
+version = "1.19.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
+
+[[package]]
+name = "oorandom"
+version = "11.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9"
+
+[[package]]
+name = "pin-project-lite"
+version = "0.2.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02"
+
+[[package]]
+name = "pin-utils"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
+
+[[package]]
+name = "plotters"
+version = "0.3.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5aeb6f403d7a4911efb1e33402027fc44f29b5bf6def3effcc22d7bb75f2b747"
+dependencies = [
+ "num-traits",
+ "plotters-backend",
+ "plotters-svg",
+ "wasm-bindgen",
+ "web-sys",
+]
+
+[[package]]
+name = "plotters-backend"
+version = "0.3.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "df42e13c12958a16b3f7f4386b9ab1f3e7933914ecea48da7139435263a4172a"
+
+[[package]]
+name = "plotters-svg"
+version = "0.3.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "51bae2ac328883f7acdfea3d66a7c35751187f870bc81f94563733a154d7a670"
+dependencies = [
+ "plotters-backend",
+]
+
+[[package]]
+name = "ppv-lite86"
+version = "0.2.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
+dependencies = [
+ "zerocopy",
+]
+
+[[package]]
+name = "proc-macro-crate"
+version = "3.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b"
+dependencies = [
+ "toml_edit",
+]
+
+[[package]]
+name = "proc-macro2"
+version = "1.0.86"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
+dependencies = [
+ "unicode-ident",
+]
+
+[[package]]
+name = "proptest"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b4c2511913b88df1637da85cc8d96ec8e43a3f8bb8ccb71ee1ac240d6f3df58d"
+dependencies = [
+ "bit-set",
+ "bit-vec",
+ "bitflags",
+ "lazy_static",
+ "num-traits",
+ "rand",
+ "rand_chacha",
+ "rand_xorshift",
+ "regex-syntax",
+ "rusty-fork",
+ "tempfile",
+ "unarray",
+]
+
+[[package]]
+name = "quick-error"
+version = "1.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
+
+[[package]]
+name = "quote"
+version = "1.0.37"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
+dependencies = [
+ "proc-macro2",
+]
+
+[[package]]
+name = "rand"
+version = "0.8.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
+dependencies = [
+ "libc",
+ "rand_chacha",
+ "rand_core",
+]
+
+[[package]]
+name = "rand_chacha"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
+dependencies = [
+ "ppv-lite86",
+ "rand_core",
+]
+
+[[package]]
+name = "rand_core"
+version = "0.6.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
+dependencies = [
+ "getrandom",
+]
+
+[[package]]
+name = "rand_xorshift"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f"
+dependencies = [
+ "rand_core",
+]
+
+[[package]]
+name = "rayon"
+version = "1.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
+dependencies = [
+ "either",
+ "rayon-core",
+]
+
+[[package]]
+name = "rayon-core"
+version = "1.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
+dependencies = [
+ "crossbeam-deque",
+ "crossbeam-utils",
+]
+
+[[package]]
+name = "regex"
+version = "1.10.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-automata",
+ "regex-syntax",
+]
+
+[[package]]
+name = "regex-automata"
+version = "0.4.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-syntax",
+]
+
+[[package]]
+name = "regex-syntax"
+version = "0.8.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
+
+[[package]]
+name = "relative-path"
+version = "1.9.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ba39f3699c378cd8970968dcbff9c43159ea4cfbd88d43c00b22f2ef10a435d2"
+
+[[package]]
+name = "rstest"
+version = "0.22.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7b423f0e62bdd61734b67cd21ff50871dfaeb9cc74f869dcd6af974fbcb19936"
+dependencies = [
+ "futures",
+ "futures-timer",
+ "rstest_macros",
+ "rustc_version",
+]
+
+[[package]]
+name = "rstest_macros"
+version = "0.22.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c5e1711e7d14f74b12a58411c542185ef7fb7f2e7f8ee6e2940a883628522b42"
+dependencies = [
+ "cfg-if",
+ "glob",
+ "proc-macro-crate",
+ "proc-macro2",
+ "quote",
+ "regex",
+ "relative-path",
+ "rustc_version",
+ "syn",
+ "unicode-ident",
+]
+
+[[package]]
+name = "rustc_version"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
+dependencies = [
+ "semver",
+]
+
+[[package]]
+name = "rustix"
+version = "0.38.36"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f55e80d50763938498dd5ebb18647174e0c76dc38c5505294bb224624f30f36"
+dependencies = [
+ "bitflags",
+ "errno",
+ "libc",
+ "linux-raw-sys",
+ "windows-sys 0.52.0",
+]
+
+[[package]]
+name = "rusty-fork"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f"
+dependencies = [
+ "fnv",
+ "quick-error",
+ "tempfile",
+ "wait-timeout",
+]
+
+[[package]]
+name = "ryu"
+version = "1.0.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
+
+[[package]]
+name = "same-file"
+version = "1.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
+dependencies = [
+ "winapi-util",
+]
+
+[[package]]
+name = "semver"
+version = "1.0.23"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b"
+
+[[package]]
+name = "serde"
+version = "1.0.210"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a"
+dependencies = [
+ "serde_derive",
+]
+
+[[package]]
+name = "serde_derive"
+version = "1.0.210"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "serde_json"
+version = "1.0.128"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8"
+dependencies = [
+ "itoa",
+ "memchr",
+ "ryu",
+ "serde",
+]
+
+[[package]]
+name = "slab"
+version = "0.4.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
+dependencies = [
+ "autocfg",
+]
+
+[[package]]
+name = "syn"
+version = "2.0.77"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
+[[package]]
+name = "tempfile"
+version = "3.12.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64"
+dependencies = [
+ "cfg-if",
+ "fastrand",
+ "once_cell",
+ "rustix",
+ "windows-sys 0.59.0",
+]
+
+[[package]]
+name = "textdistance"
+version = "1.1.1"
+dependencies = [
+ "assert2",
+ "criterion",
+ "proptest",
+ "rstest",
+ "unicode-segmentation",
+]
+
+[[package]]
+name = "tinytemplate"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc"
+dependencies = [
+ "serde",
+ "serde_json",
+]
+
+[[package]]
+name = "toml_datetime"
+version = "0.6.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41"
+
+[[package]]
+name = "toml_edit"
+version = "0.22.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d"
+dependencies = [
+ "indexmap",
+ "toml_datetime",
+ "winnow",
+]
+
+[[package]]
+name = "unarray"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94"
+
+[[package]]
+name = "unicode-ident"
+version = "1.0.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
+
+[[package]]
+name = "unicode-segmentation"
+version = "1.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202"
+
+[[package]]
+name = "wait-timeout"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "walkdir"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
+dependencies = [
+ "same-file",
+ "winapi-util",
+]
+
+[[package]]
+name = "wasi"
+version = "0.11.0+wasi-snapshot-preview1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
+
+[[package]]
+name = "wasm-bindgen"
+version = "0.2.93"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5"
+dependencies = [
+ "cfg-if",
+ "once_cell",
+ "wasm-bindgen-macro",
+]
+
+[[package]]
+name = "wasm-bindgen-backend"
+version = "0.2.93"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b"
+dependencies = [
+ "bumpalo",
+ "log",
+ "once_cell",
+ "proc-macro2",
+ "quote",
+ "syn",
+ "wasm-bindgen-shared",
+]
+
+[[package]]
+name = "wasm-bindgen-macro"
+version = "0.2.93"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf"
+dependencies = [
+ "quote",
+ "wasm-bindgen-macro-support",
+]
+
+[[package]]
+name = "wasm-bindgen-macro-support"
+version = "0.2.93"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+ "wasm-bindgen-backend",
+ "wasm-bindgen-shared",
+]
+
+[[package]]
+name = "wasm-bindgen-shared"
+version = "0.2.93"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484"
+
+[[package]]
+name = "web-sys"
+version = "0.3.70"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "26fdeaafd9bd129f65e7c031593c24d62186301e0c72c8978fa1678be7d532c0"
+dependencies = [
+ "js-sys",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "winapi-util"
+version = "0.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
+dependencies = [
+ "windows-sys 0.59.0",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.52.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
+dependencies = [
+ "windows-targets",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.59.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
+dependencies = [
+ "windows-targets",
+]
+
+[[package]]
+name = "windows-targets"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
+dependencies = [
+ "windows_aarch64_gnullvm",
+ "windows_aarch64_msvc",
+ "windows_i686_gnu",
+ "windows_i686_gnullvm",
+ "windows_i686_msvc",
+ "windows_x86_64_gnu",
+ "windows_x86_64_gnullvm",
+ "windows_x86_64_msvc",
+]
+
+[[package]]
+name = "windows_aarch64_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
+
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
+
+[[package]]
+name = "windows_i686_gnu"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
+
+[[package]]
+name = "windows_i686_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
+
+[[package]]
+name = "windows_i686_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
+
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
+
+[[package]]
+name = "windows_x86_64_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
+
+[[package]]
+name = "windows_x86_64_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
+
+[[package]]
+name = "winnow"
+version = "0.6.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "yansi"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049"
+
+[[package]]
+name = "zerocopy"
+version = "0.7.35"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
+dependencies = [
+ "byteorder",
+ "zerocopy-derive",
+]
+
+[[package]]
+name = "zerocopy-derive"
+version = "0.7.35"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+EOF
+
+# Generate matching minimal stub source files so the embedded manifest's
+# declared lib/bin/bench paths resolve during `cargo fetch`.
+mkdir -p "$DL_WORK/src" "$DL_WORK/benches"
+printf '%s\n' 'pub mod str {}' > "$DL_WORK/src/lib.rs"
+printf '%s\n' 'fn main() {}' > "$DL_WORK/src/main.rs"
+printf '%s\n' 'fn main() {}' > "$DL_WORK/benches/str_benchmarks.rs"
+
+# Prefetch every crate pinned in the embedded lockfile into the Cargo registry
+# cache. This downloads dependencies only (no compile/link/test).
+cargo fetch --manifest-path "$DL_WORK/Cargo.toml" --locked
+
+rm -rf "$DL_WORK"
+
+# Export the environment variables that build.sh relies on. The download and
+# build stages run in the same container, so the registry cache above persists
+# into the offline build.
+export CARGO_HOME="${CARGO_HOME:-$HOME/.cargo}"
+export CARGO_TARGET_DIR="${CARGO_TARGET_DIR:-target}"
+
+echo "[download.sh] dependency prefetch complete for bin target 'textdistance'."
diff --git a/life4--textdistance.rs.0f92088/tests/executable b/life4--textdistance.rs.0f92088/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..5b6a629d82709f655acc6684574d9911493bd63b
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/tests/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bc1933ce8b78fa25e856668d3d40291b3062bbd8801cee5d8e1a1c1932747bf5
+size 566608
diff --git a/life4--textdistance.rs.0f92088/tests/harbor_prepare_download_env.sh b/life4--textdistance.rs.0f92088/tests/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..4a3a33381308d53b7bd2216a2375c8cd54ac24c4
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/tests/harbor_prepare_download_env.sh
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+set -euo pipefail
+command -v cargo
+command -v rustc
+command -v rustup
+cd /workspace
+set -a
+source /tmp/programgym-download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/life4--textdistance.rs.0f92088/tests/programgym_evaluator.py b/life4--textdistance.rs.0f92088/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/life4--textdistance.rs.0f92088/tests/programgym_task.json b/life4--textdistance.rs.0f92088/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..fcb68ba7e0fc5f602340bcf47fc11ffde2686398
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/tests/programgym_task.json
@@ -0,0 +1,3145 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_behaviors.test_cosine_one_for_identical_text",
+ "eval.tests.test_behaviors.test_damerau_restricted_counts_transposition",
+ "eval.tests.test_behaviors.test_damerau_transposition_at_distance",
+ "eval.tests.test_behaviors.test_damerau_transposition_bonus_only_when_unrestricted",
+ "eval.tests.test_behaviors.test_identical_strings_have_max_similarity[cosine-1]",
+ "eval.tests.test_behaviors.test_identical_strings_have_max_similarity[entropy_ncd-0]",
+ "eval.tests.test_behaviors.test_identical_strings_have_max_similarity[jaccard-1]",
+ "eval.tests.test_behaviors.test_identical_strings_have_max_similarity[jaro-1]",
+ "eval.tests.test_behaviors.test_identical_strings_have_max_similarity[jaro_winkler-1]",
+ "eval.tests.test_behaviors.test_identical_strings_have_max_similarity[lig3-1]",
+ "eval.tests.test_behaviors.test_identical_strings_have_max_similarity[overlap-1]",
+ "eval.tests.test_behaviors.test_identical_strings_have_max_similarity[ratcliff_obershelp-1]",
+ "eval.tests.test_behaviors.test_identical_strings_have_max_similarity[roberts-1]",
+ "eval.tests.test_behaviors.test_identical_strings_have_max_similarity[sorensen_dice-1]",
+ "eval.tests.test_behaviors.test_identical_strings_have_max_similarity[tversky-1]",
+ "eval.tests.test_behaviors.test_identical_strings_have_max_similarity[yujian_bo-0]",
+ "eval.tests.test_behaviors.test_identical_strings_report_full_length_for_similarity_metrics[lcsseq-9]",
+ "eval.tests.test_behaviors.test_identical_strings_report_full_length_for_similarity_metrics[lcsstr-9]",
+ "eval.tests.test_behaviors.test_identical_strings_report_full_length_for_similarity_metrics[prefix-9]",
+ "eval.tests.test_behaviors.test_identical_strings_report_full_length_for_similarity_metrics[smith_waterman-9]",
+ "eval.tests.test_behaviors.test_identical_strings_report_full_length_for_similarity_metrics[suffix-9]",
+ "eval.tests.test_behaviors.test_integer_metrics_are_nonnegative_integers[saturday-sunday-bag]",
+ "eval.tests.test_behaviors.test_integer_metrics_are_nonnegative_integers[saturday-sunday-damerau_levenshtein]",
+ "eval.tests.test_behaviors.test_integer_metrics_are_nonnegative_integers[saturday-sunday-damerau_levenshtein_restricted]",
+ "eval.tests.test_behaviors.test_integer_metrics_are_nonnegative_integers[saturday-sunday-hamming]",
+ "eval.tests.test_behaviors.test_integer_metrics_are_nonnegative_integers[saturday-sunday-lcsseq]",
+ "eval.tests.test_behaviors.test_integer_metrics_are_nonnegative_integers[saturday-sunday-lcsstr]",
+ "eval.tests.test_behaviors.test_integer_metrics_are_nonnegative_integers[saturday-sunday-length]",
+ "eval.tests.test_behaviors.test_integer_metrics_are_nonnegative_integers[saturday-sunday-levenshtein]",
+ "eval.tests.test_behaviors.test_integer_metrics_are_nonnegative_integers[saturday-sunday-prefix]",
+ "eval.tests.test_behaviors.test_integer_metrics_are_nonnegative_integers[saturday-sunday-sift4_common]",
+ "eval.tests.test_behaviors.test_integer_metrics_are_nonnegative_integers[saturday-sunday-sift4_simple]",
+ "eval.tests.test_behaviors.test_integer_metrics_are_nonnegative_integers[saturday-sunday-smith_waterman]",
+ "eval.tests.test_behaviors.test_integer_metrics_are_nonnegative_integers[saturday-sunday-suffix]",
+ "eval.tests.test_behaviors.test_jaccard_disjoint_is_zero",
+ "eval.tests.test_behaviors.test_jaro_is_between_confidence_known",
+ "eval.tests.test_behaviors.test_jaro_winkler_boosts_common_prefix",
+ "eval.tests.test_behaviors.test_large_inputs_many_codepoints",
+ "eval.tests.test_behaviors.test_lcsseq_vs_lcsstr_differ",
+ "eval.tests.test_behaviors.test_output_is_deterministic_across_runs",
+ "eval.tests.test_behaviors.test_prefix_and_suffix_are_fast_exact_match",
+ "eval.tests.test_behaviors.test_sift4_simple_and_common_agree_on_small_inputs",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[flaw-lawn-cosine]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[flaw-lawn-entropy_ncd]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[flaw-lawn-jaccard]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[flaw-lawn-jaro]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[flaw-lawn-jaro_winkler]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[flaw-lawn-lig3]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[flaw-lawn-overlap]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[flaw-lawn-ratcliff_obershelp]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[flaw-lawn-roberts]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[flaw-lawn-sorensen_dice]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[flaw-lawn-tversky]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[flaw-lawn-yujian_bo]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[saturday-sunday-cosine]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[saturday-sunday-entropy_ncd]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[saturday-sunday-jaccard]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[saturday-sunday-jaro]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[saturday-sunday-jaro_winkler]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[saturday-sunday-lig3]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[saturday-sunday-overlap]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[saturday-sunday-ratcliff_obershelp]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[saturday-sunday-roberts]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[saturday-sunday-sorensen_dice]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[saturday-sunday-tversky]",
+ "eval.tests.test_behaviors.test_similarity_metrics_are_bounded_floats[saturday-sunday-yujian_bo]",
+ "eval.tests.test_behaviors.test_smith_waterman_returns_local_alignment_score",
+ "eval.tests.test_behaviors.test_substring_is_high_similarity_ratcliff",
+ "eval.tests.test_behaviors.test_zero_distance_when_identical[bag]",
+ "eval.tests.test_behaviors.test_zero_distance_when_identical[damerau_levenshtein]",
+ "eval.tests.test_behaviors.test_zero_distance_when_identical[damerau_levenshtein_restricted]",
+ "eval.tests.test_behaviors.test_zero_distance_when_identical[hamming]",
+ "eval.tests.test_behaviors.test_zero_distance_when_identical[length]",
+ "eval.tests.test_behaviors.test_zero_distance_when_identical[levenshtein]",
+ "eval.tests.test_behaviors.test_zero_distance_when_identical[sift4_common]",
+ "eval.tests.test_behaviors.test_zero_distance_when_identical[sift4_simple]",
+ "eval.tests.test_broad_matrix.test_char_set_metrics_are_case_sensitive",
+ "eval.tests.test_broad_matrix.test_damerau_transposition_matrix[ab-ba-2-1]",
+ "eval.tests.test_broad_matrix.test_damerau_transposition_matrix[abcd-badc-3-2]",
+ "eval.tests.test_broad_matrix.test_damerau_transposition_matrix[abcde-bacde-2-1]",
+ "eval.tests.test_broad_matrix.test_damerau_transposition_matrix[abcdef-abfedc-4-3]",
+ "eval.tests.test_broad_matrix.test_damerau_transposition_matrix[ca-ac-2-1]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[b-3]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[c-0]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[d-3_0]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[d-3_1]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[h-3]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[j-0_0]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[j-0_1]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[j-0_2]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[l-0_0]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[l-0_1]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[l-0_2]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[l-3_0]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[l-3_1]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[m-1]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[o-0]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[p-0]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[r-0_0]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[r-0_1]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[s-0_0]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[s-0_1]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[s-0_2]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[s-3_0]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[s-3_1]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[t-0]",
+ "eval.tests.test_broad_matrix.test_empty_vs_nonempty_exact_identity[y-1]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[b-0]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[c-1]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[d-0_0]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[d-0_1]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[h-0]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[j-1_0]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[j-1_1]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[j-1_2]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[l-0_0]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[l-0_1]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[l-1]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[l-3_0]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[l-3_1]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[m-1]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[o-1]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[p-3]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[r-1_0]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[r-1_1]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[s-0_0]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[s-0_1]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[s-1]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[s-3_0]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[s-3_1]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[t-1]",
+ "eval.tests.test_broad_matrix.test_identical_strings_exact_identity[y-0]",
+ "eval.tests.test_broad_matrix.test_integer_results_have_no_decimal_point[bag]",
+ "eval.tests.test_broad_matrix.test_integer_results_have_no_decimal_point[damerau_levenshtein]",
+ "eval.tests.test_broad_matrix.test_integer_results_have_no_decimal_point[damerau_levenshtein_restricted]",
+ "eval.tests.test_broad_matrix.test_integer_results_have_no_decimal_point[hamming]",
+ "eval.tests.test_broad_matrix.test_integer_results_have_no_decimal_point[lcsseq]",
+ "eval.tests.test_broad_matrix.test_integer_results_have_no_decimal_point[lcsstr]",
+ "eval.tests.test_broad_matrix.test_integer_results_have_no_decimal_point[length]",
+ "eval.tests.test_broad_matrix.test_integer_results_have_no_decimal_point[levenshtein]",
+ "eval.tests.test_broad_matrix.test_integer_results_have_no_decimal_point[prefix]",
+ "eval.tests.test_broad_matrix.test_integer_results_have_no_decimal_point[sift4_common]",
+ "eval.tests.test_broad_matrix.test_integer_results_have_no_decimal_point[sift4_simple]",
+ "eval.tests.test_broad_matrix.test_integer_results_have_no_decimal_point[smith_waterman]",
+ "eval.tests.test_broad_matrix.test_integer_results_have_no_decimal_point[suffix]",
+ "eval.tests.test_broad_matrix.test_jaro_winkler_boost_increases_with_common_prefix[abcd-abxy-2]",
+ "eval.tests.test_broad_matrix.test_jaro_winkler_boost_increases_with_common_prefix[crayfish-crayon-3]",
+ "eval.tests.test_broad_matrix.test_jaro_winkler_boost_increases_with_common_prefix[dwayne-duane-2]",
+ "eval.tests.test_broad_matrix.test_jaro_winkler_boost_increases_with_common_prefix[martha-marhta-3]",
+ "eval.tests.test_broad_matrix.test_length_is_absolute_character_difference",
+ "eval.tests.test_broad_matrix.test_levenshtein_20char_substitution",
+ "eval.tests.test_broad_matrix.test_longer_20char_dp_correctness[damerau_levenshtein-3]",
+ "eval.tests.test_broad_matrix.test_longer_20char_dp_correctness[lcsseq-18]",
+ "eval.tests.test_broad_matrix.test_longer_sequence_dp_correctness[damerau_levenshtein-4]",
+ "eval.tests.test_broad_matrix.test_longer_sequence_dp_correctness[lcsseq-8]",
+ "eval.tests.test_broad_matrix.test_longer_sequence_dp_correctness[lcsstr-3]",
+ "eval.tests.test_broad_matrix.test_longer_sequence_dp_correctness[levenshtein-4]",
+ "eval.tests.test_broad_matrix.test_overlap_reaches_maximum_for_containment",
+ "eval.tests.test_broad_matrix.test_prefix_and_suffix_of_identical",
+ "eval.tests.test_broad_matrix.test_prefix_overlaps_suffix_relationship",
+ "eval.tests.test_broad_matrix.test_proper_subset_metric_is_positive_and_submax[cosine]",
+ "eval.tests.test_broad_matrix.test_proper_subset_metric_is_positive_and_submax[jaccard]",
+ "eval.tests.test_broad_matrix.test_proper_subset_metric_is_positive_and_submax[sorensen_dice]",
+ "eval.tests.test_broad_matrix.test_proper_subset_metric_is_positive_and_submax[tversky]",
+ "eval.tests.test_broad_matrix.test_proper_subset_metric_values[cosine-abc-abcde-0.7745966692414834]",
+ "eval.tests.test_broad_matrix.test_proper_subset_metric_values[jaccard-abc-abcde-0.6]",
+ "eval.tests.test_broad_matrix.test_proper_subset_metric_values[overlap-abc-abcde-1]",
+ "eval.tests.test_broad_matrix.test_proper_subset_metric_values[sorensen_dice-abc-abcde-0.75]",
+ "eval.tests.test_broad_matrix.test_proper_subset_metric_values[tversky-abc-abcde-0.6]",
+ "eval.tests.test_broad_matrix.test_ratcliff_half_string_similarity",
+ "eval.tests.test_broad_matrix.test_ratcliff_large_common_block_beats_scattered",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[bag]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[cosine]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[damerau_levenshtein]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[damerau_levenshtein_restricted]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[hamming]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[jaccard]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[jaro]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[jaro_winkler]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[lcsseq]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[lcsstr]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[length]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[levenshtein]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[lig3]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[overlap]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[ratcliff_obershelp]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[roberts]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[sift4_common]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[sift4_simple]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[smith_waterman]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[sorensen_dice]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[tversky]",
+ "eval.tests.test_broad_matrix.test_symmetric_metrics_are_order_independent[yujian_bo]",
+ "eval.tests.test_broad_matrix.test_token_reorder_is_permutation_invariant[cosine]",
+ "eval.tests.test_broad_matrix.test_token_reorder_is_permutation_invariant[jaccard]",
+ "eval.tests.test_broad_matrix.test_token_reorder_is_permutation_invariant[overlap]",
+ "eval.tests.test_broad_matrix.test_token_reorder_is_permutation_invariant[sorensen_dice]",
+ "eval.tests.test_broad_matrix.test_tokenised_multi_word_set_metrics[c-0]",
+ "eval.tests.test_broad_matrix.test_tokenised_multi_word_set_metrics[j-0]",
+ "eval.tests.test_broad_matrix.test_tokenised_multi_word_set_metrics[o-0]",
+ "eval.tests.test_broad_matrix.test_tokenised_multi_word_set_metrics[s-0]",
+ "eval.tests.test_broad_matrix.test_tokenised_multi_word_set_metrics[t-0]",
+ "eval.tests.test_broad_matrix.test_transposed_pair_damerau_lower_than_levenshtein[damerau_levenshtein-2]",
+ "eval.tests.test_broad_matrix.test_transposed_pair_damerau_lower_than_levenshtein[damerau_levenshtein_restricted-2]",
+ "eval.tests.test_broad_matrix.test_transposed_pair_damerau_lower_than_levenshtein[levenshtein-3]",
+ "eval.tests.test_broad_matrix.test_yujian_bo_sensitive_to_transposition",
+ "eval.tests.test_dispatch.test_algorithm_name_is_case_insensitive[damerau_levenshtein_restricted-DAMERAU_LEVENSHTEIN_RESTRICTED]",
+ "eval.tests.test_dispatch.test_algorithm_name_is_case_insensitive[hamming-HAMMING]",
+ "eval.tests.test_dispatch.test_algorithm_name_is_case_insensitive[jaro-Jaro]",
+ "eval.tests.test_dispatch.test_algorithm_name_is_case_insensitive[jaro_winkler-JAro_winkLER]",
+ "eval.tests.test_dispatch.test_algorithm_name_is_case_insensitive[lcsseq-LCSSEQ]",
+ "eval.tests.test_dispatch.test_algorithm_name_is_case_insensitive[levenshtein-LeVeNsHtEiN]",
+ "eval.tests.test_dispatch.test_algorithm_name_is_case_insensitive[mlipns-MLIPNS]",
+ "eval.tests.test_dispatch.test_algorithm_name_is_case_insensitive[ratcliff_obershelp-RATCLIFF_OBERSHELP]",
+ "eval.tests.test_dispatch.test_algorithm_name_is_case_insensitive[sift4_common-SIFT4_COMMON]",
+ "eval.tests.test_dispatch.test_algorithm_name_is_case_insensitive[smith_waterman-Smith_Waterman]",
+ "eval.tests.test_dispatch.test_algorithm_name_is_case_insensitive[sorensen_dice-Sorensen_Dice]",
+ "eval.tests.test_dispatch.test_extra_arguments_are_ignored",
+ "eval.tests.test_dispatch.test_hamming_unicode_scalar_handling[Hello-hello-1]",
+ "eval.tests.test_dispatch.test_hamming_unicode_scalar_handling[\\xe9-\\xe8-1]",
+ "eval.tests.test_dispatch.test_hamming_unicode_scalar_handling[\\xe9-\\xe9f-1]",
+ "eval.tests.test_dispatch.test_hamming_unicode_scalar_handling[a-\\xe9-1]",
+ "eval.tests.test_dispatch.test_identical_prefix_reduces_distance_prefix_alg",
+ "eval.tests.test_dispatch.test_length_distance_is_absolute_difference",
+ "eval.tests.test_dispatch.test_levenshtein_boundary_strings[ - -0]",
+ "eval.tests.test_dispatch.test_levenshtein_boundary_strings[ a-a-1]",
+ "eval.tests.test_dispatch.test_levenshtein_boundary_strings[--0]",
+ "eval.tests.test_dispatch.test_levenshtein_boundary_strings[-abc-3]",
+ "eval.tests.test_dispatch.test_levenshtein_boundary_strings[123-123-0]",
+ "eval.tests.test_dispatch.test_levenshtein_boundary_strings[\\U0001f9e1-\\U0001f9e1-0]",
+ "eval.tests.test_dispatch.test_levenshtein_boundary_strings[a--1]",
+ "eval.tests.test_dispatch.test_levenshtein_boundary_strings[a-a-0]",
+ "eval.tests.test_dispatch.test_missing_algorithm_message",
+ "eval.tests.test_dispatch.test_missing_first_text_message",
+ "eval.tests.test_dispatch.test_missing_required_argument_panics[argv0-algorithm name is required]",
+ "eval.tests.test_dispatch.test_missing_required_argument_panics[argv1-first text is required]",
+ "eval.tests.test_dispatch.test_missing_required_argument_panics[argv2-second text is required]",
+ "eval.tests.test_dispatch.test_missing_second_text_message",
+ "eval.tests.test_dispatch.test_success_leaves_stderr_empty",
+ "eval.tests.test_dispatch.test_suffix_detects_common_tail",
+ "eval.tests.test_dispatch.test_unicode_inputs_run_successfully[ENTROPY_NCD-caf\\xe9-caf\\xe9]",
+ "eval.tests.test_dispatch.test_unicode_inputs_run_successfully[cosine-caf\\xe9-coffee]",
+ "eval.tests.test_dispatch.test_unicode_inputs_run_successfully[entropy_ncd-caf\\xe9-caf\\xe9]",
+ "eval.tests.test_dispatch.test_unicode_inputs_run_successfully[hamming-abc-\\u65e5\\u672c\\u8a9e]",
+ "eval.tests.test_dispatch.test_unicode_inputs_run_successfully[jaro-\\u017c\\xf3\\u0142\\u0107-z\\xf3\\u0142c]",
+ "eval.tests.test_dispatch.test_unicode_inputs_run_successfully[lcsseq-abc-\\u65e5\\u672c\\u8a9e]",
+ "eval.tests.test_dispatch.test_unicode_inputs_run_successfully[levenshtein-abc-\\u65e5\\u672c\\u8a9e]",
+ "eval.tests.test_dispatch.test_unicode_inputs_run_successfully[prefix-\\u65e5\\u672c\\u8a9e-\\u65e5\\u672c\\u8a9e]",
+ "eval.tests.test_dispatch.test_unicode_inputs_run_successfully[suffix-\\u65e5\\u672c\\u8a9e-\\u65e5\\u672c\\u8a9e\\u5b50]",
+ "eval.tests.test_dispatch.test_unknown_algorithm_has_nonzero_exit_code",
+ "eval.tests.test_dispatch.test_unknown_algorithm_panics[H4MMING]",
+ "eval.tests.test_dispatch.test_unknown_algorithm_panics[bogus]",
+ "eval.tests.test_dispatch.test_unknown_algorithm_panics[hamming_]",
+ "eval.tests.test_dispatch.test_unknown_algorithm_panics[jaro-]",
+ "eval.tests.test_dispatch.test_unknown_algorithm_panics[levenshtein2]",
+ "eval.tests.test_dispatch.test_unknown_algorithm_panics[not_an_alg]",
+ "eval.tests.test_dispatch.test_unknown_algorithm_panics[unknown]",
+ "eval.tests.test_iteration3_extended.test_bag_long_repeated_and_tail",
+ "eval.tests.test_iteration3_extended.test_case_and_accent_are_distinct_scalars_across_metrics",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[bag-0]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[cosine-1]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[damerau_levenshtein-0]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[damerau_levenshtein_restricted-0]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[entropy_ncd-0]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[hamming-0]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[jaccard-1]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[jaro-1]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[jaro_winkler-1]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[lcsseq-0]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[lcsstr-0]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[length-0]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[levenshtein-0]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[lig3-1]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[mlipns-1]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[overlap-1]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[prefix-0]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[ratcliff_obershelp-1]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[roberts-1]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[sift4_common-0]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[sift4_simple-0]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[sorensen_dice-1]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[suffix-0]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[tversky-1]",
+ "eval.tests.test_iteration3_extended.test_empty_vs_empty_identity[yujian_bo-0]",
+ "eval.tests.test_iteration3_extended.test_hamming_matches_levenshtein_when_only_tail_differs[a-abcd-3-3]",
+ "eval.tests.test_iteration3_extended.test_hamming_matches_levenshtein_when_only_tail_differs[abc-abcd-1-1]",
+ "eval.tests.test_iteration3_extended.test_hamming_matches_levenshtein_when_only_tail_differs[kitten-sitting-3-3]",
+ "eval.tests.test_iteration3_extended.test_hamming_on_unequal_and_mismatched_lengths[a-abcd-3]",
+ "eval.tests.test_iteration3_extended.test_hamming_on_unequal_and_mismatched_lengths[aaxbb-aaybb-1]",
+ "eval.tests.test_iteration3_extended.test_hamming_on_unequal_and_mismatched_lengths[abc-abcd-1]",
+ "eval.tests.test_iteration3_extended.test_hamming_on_unequal_and_mismatched_lengths[abcd-abc-1]",
+ "eval.tests.test_iteration3_extended.test_hamming_on_unequal_and_mismatched_lengths[abcde-abcdeX-1]",
+ "eval.tests.test_iteration3_extended.test_hamming_on_unequal_and_mismatched_lengths[zzzzz-zzzzx-1]",
+ "eval.tests.test_iteration3_extended.test_jaro_jaro_winkler_additional_exact[-a-0-0]",
+ "eval.tests.test_iteration3_extended.test_jaro_jaro_winkler_additional_exact[abcdef-azcdef-0.888888888888889-0.9]",
+ "eval.tests.test_iteration3_extended.test_jaro_jaro_winkler_additional_exact[book-back-0.6666666666666666-0.7]",
+ "eval.tests.test_iteration3_extended.test_jaro_jaro_winkler_additional_exact[dwayne-duane-0.8222222222222223-0.8400000000000001]",
+ "eval.tests.test_iteration3_extended.test_jaro_jaro_winkler_additional_exact[hello-hallo-0.8666666666666667-0.88]",
+ "eval.tests.test_iteration3_extended.test_jaro_winkler_matches_jaro_when_no_common_prefix",
+ "eval.tests.test_iteration3_extended.test_length_metric_long_various",
+ "eval.tests.test_iteration3_extended.test_levenshtein_adjacent_swap_in_words",
+ "eval.tests.test_iteration3_extended.test_levenshtein_long_repeated_insert",
+ "eval.tests.test_iteration3_extended.test_lig3_exact_values[-abc-0]",
+ "eval.tests.test_iteration3_extended.test_lig3_exact_values[a--0]",
+ "eval.tests.test_iteration3_extended.test_lig3_exact_values[abcde-ace-0.5]",
+ "eval.tests.test_iteration3_extended.test_lig3_exact_values[abcdef-azcdef-0.9090909090909091]",
+ "eval.tests.test_iteration3_extended.test_lig3_exact_values[hello-hallo-0.8888888888888888]",
+ "eval.tests.test_iteration3_extended.test_lig3_exact_values[kitten-sitting-0.7272727272727273]",
+ "eval.tests.test_iteration3_extended.test_long_lcs_subsequence_vs_substring[abcdefgh-abzdefgh-7-5]",
+ "eval.tests.test_iteration3_extended.test_long_lcs_subsequence_vs_substring[hello world-world hello-5-5]",
+ "eval.tests.test_iteration3_extended.test_mlipns_normalises_to_identity",
+ "eval.tests.test_iteration3_extended.test_ratcliff_obershelp_additional_exact_values[-xyz-0]",
+ "eval.tests.test_iteration3_extended.test_ratcliff_obershelp_additional_exact_values[abcde-abcde-1]",
+ "eval.tests.test_iteration3_extended.test_ratcliff_obershelp_additional_exact_values[abcde-ace-0.75]",
+ "eval.tests.test_iteration3_extended.test_ratcliff_obershelp_additional_exact_values[abcdef-azcdef-0.8333333333333334]",
+ "eval.tests.test_iteration3_extended.test_ratcliff_obershelp_additional_exact_values[hello world-world hello-0.45454545454545453]",
+ "eval.tests.test_iteration3_extended.test_roberts_and_ratcliff_agree_on_multiword_sentence",
+ "eval.tests.test_iteration3_extended.test_roberts_and_ratcliff_agree_on_shared_block",
+ "eval.tests.test_iteration3_extended.test_roberts_exact_values[-a-0]",
+ "eval.tests.test_iteration3_extended.test_roberts_exact_values[12345-12346-0.8]",
+ "eval.tests.test_iteration3_extended.test_roberts_exact_values[abcde-ace-0.75]",
+ "eval.tests.test_iteration3_extended.test_roberts_exact_values[abcdef-azcdef-0.8333333333333334]",
+ "eval.tests.test_iteration3_extended.test_roberts_exact_values[kitten-sitting-0.5769230769230769]",
+ "eval.tests.test_iteration3_extended.test_roberts_exact_values[xyz-xyz-1]",
+ "eval.tests.test_iteration3_extended.test_set_metrics_are_case_sensitive_mixed",
+ "eval.tests.test_iteration3_extended.test_set_metrics_disjoint_sets_are_zero[cosine-0]",
+ "eval.tests.test_iteration3_extended.test_set_metrics_disjoint_sets_are_zero[jaccard-0]",
+ "eval.tests.test_iteration3_extended.test_set_metrics_disjoint_sets_are_zero[overlap-0]",
+ "eval.tests.test_iteration3_extended.test_set_metrics_disjoint_sets_are_zero[sorensen_dice-0]",
+ "eval.tests.test_iteration3_extended.test_set_metrics_disjoint_sets_are_zero[tversky-0]",
+ "eval.tests.test_iteration3_extended.test_set_metrics_ignore_repeated_characters[cosine-0.7071067811865476]",
+ "eval.tests.test_iteration3_extended.test_set_metrics_ignore_repeated_characters[jaccard-0.5]",
+ "eval.tests.test_iteration3_extended.test_set_metrics_ignore_repeated_characters[overlap-1]",
+ "eval.tests.test_iteration3_extended.test_set_metrics_ignore_repeated_characters[sorensen_dice-0.6666666666666666]",
+ "eval.tests.test_iteration3_extended.test_set_metrics_ignore_repeated_characters[tversky-0.5]",
+ "eval.tests.test_iteration3_extended.test_set_metrics_on_longer_multiword_sentence[cosine-0.6488856845230502]",
+ "eval.tests.test_iteration3_extended.test_set_metrics_on_longer_multiword_sentence[jaccard-0.48]",
+ "eval.tests.test_iteration3_extended.test_set_metrics_on_longer_multiword_sentence[overlap-0.6666666666666666]",
+ "eval.tests.test_iteration3_extended.test_set_metrics_on_longer_multiword_sentence[sorensen_dice-0.6486486486486487]",
+ "eval.tests.test_iteration3_extended.test_set_metrics_on_longer_multiword_sentence[tversky-0.48]",
+ "eval.tests.test_iteration3_extended.test_set_metrics_on_repeated_word_tokens[cosine-0.7142857142857143]",
+ "eval.tests.test_iteration3_extended.test_set_metrics_on_repeated_word_tokens[jaccard-0.5555555555555556]",
+ "eval.tests.test_iteration3_extended.test_set_metrics_on_repeated_word_tokens[overlap-0.7142857142857143]",
+ "eval.tests.test_iteration3_extended.test_sift4_long_pair_agreement_and_exact",
+ "eval.tests.test_iteration3_extended.test_smith_waterman_genomic_local_align",
+ "eval.tests.test_iteration3_extended.test_unknown_algorithm_exit_code_consistent_with_extra_args",
+ "eval.tests.test_iteration3_extended.test_unusual_algorithm_names_panic_unknown[ hamming]",
+ "eval.tests.test_iteration3_extended.test_unusual_algorithm_names_panic_unknown[-h]",
+ "eval.tests.test_iteration3_extended.test_unusual_algorithm_names_panic_unknown[BOGUS]",
+ "eval.tests.test_iteration3_extended.test_unusual_algorithm_names_panic_unknown[]",
+ "eval.tests.test_iteration3_extended.test_unusual_algorithm_names_panic_unknown[hamming ]",
+ "eval.tests.test_iteration3_extended.test_unusual_algorithm_names_panic_unknown[jaro winkler]",
+ "eval.tests.test_iteration3_extended.test_unusual_algorithm_names_panic_unknown[nstr_hamming]",
+ "eval.tests.test_iteration3_extended.test_yujian_bo_additional_exact_values[-abc-1]",
+ "eval.tests.test_iteration3_extended.test_yujian_bo_additional_exact_values[a-b-0.6666666666666666]",
+ "eval.tests.test_iteration3_extended.test_yujian_bo_additional_exact_values[abcdef-azcdef-0.15384615384615385]",
+ "eval.tests.test_iteration3_extended.test_yujian_bo_additional_exact_values[electric-electric-0]",
+ "eval.tests.test_iteration3_extended.test_yujian_bo_additional_exact_values[hello-hallo-0.18181818181818182]",
+ "eval.tests.test_iteration3_extended.test_yujian_bo_additional_exact_values[kitten-sitting-0.375]",
+ "eval.tests.test_iteration4_extended.test_bag_multiset_on_numeric_and_whitespace[123-321-0]",
+ "eval.tests.test_iteration4_extended.test_bag_multiset_on_numeric_and_whitespace[a-b-1]",
+ "eval.tests.test_iteration4_extended.test_bag_multiset_on_numeric_and_whitespace[aa - aa-0]",
+ "eval.tests.test_iteration4_extended.test_damerau_tail_head_and_reversal_cases[ab-abcde-3-3]",
+ "eval.tests.test_iteration4_extended.test_damerau_tail_head_and_reversal_cases[ab-b-1-1]",
+ "eval.tests.test_iteration4_extended.test_damerau_tail_head_and_reversal_cases[abcd-abc-1-1]",
+ "eval.tests.test_iteration4_extended.test_damerau_tail_head_and_reversal_cases[abcd-dcba-4-3]",
+ "eval.tests.test_iteration4_extended.test_damerau_tail_head_and_reversal_cases[abcdef-abcfed-2-2]",
+ "eval.tests.test_iteration4_extended.test_damerau_variants_agree_on_classic_transpositions[ab-ba-1-1]",
+ "eval.tests.test_iteration4_extended.test_damerau_variants_agree_on_classic_transpositions[abc-acbd-2-2]",
+ "eval.tests.test_iteration4_extended.test_damerau_variants_agree_on_classic_transpositions[abcd-badc-2-2]",
+ "eval.tests.test_iteration4_extended.test_entropy_ncd_identical_uppercase_name",
+ "eval.tests.test_iteration4_extended.test_entropy_ncd_identity_is_exact_zero[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa]",
+ "eval.tests.test_iteration4_extended.test_entropy_ncd_identity_is_exact_zero[caf\\xe9]",
+ "eval.tests.test_iteration4_extended.test_entropy_ncd_identity_is_exact_zero[same]",
+ "eval.tests.test_iteration4_extended.test_hamming_length_diff_charge_on_various",
+ "eval.tests.test_iteration4_extended.test_hamming_zero_partial_common_prefix[abc-xyz-3]",
+ "eval.tests.test_iteration4_extended.test_hamming_zero_partial_common_prefix[abcdef-bcdefg-6]",
+ "eval.tests.test_iteration4_extended.test_hamming_zero_partial_common_prefix[hello-hEllo-1]",
+ "eval.tests.test_iteration4_extended.test_jaro_jw_long_prefix_boost_exacts[abc-abd-0.7777777777777777-0.8222222222222222]",
+ "eval.tests.test_iteration4_extended.test_jaro_jw_long_prefix_boost_exacts[international-internationalization-0.8833333333333333-0.9299999999999999]",
+ "eval.tests.test_iteration4_extended.test_jaro_jw_single_char_and_short_alignment[a-a-1-1]",
+ "eval.tests.test_iteration4_extended.test_jaro_jw_single_char_and_short_alignment[a-b-0-0]",
+ "eval.tests.test_iteration4_extended.test_jaro_jw_single_char_and_short_alignment[ab-ac-0.6666666666666666-0.7]",
+ "eval.tests.test_iteration4_extended.test_lcs_substring_and_subsequence_interior_blocks[lcsseq-abcXdef-Ydef-3]",
+ "eval.tests.test_iteration4_extended.test_lcs_substring_and_subsequence_interior_blocks[lcsseq-abcd-abc-3]",
+ "eval.tests.test_iteration4_extended.test_lcs_substring_and_subsequence_interior_blocks[lcsstr-abcXdef-Ydef-3]",
+ "eval.tests.test_iteration4_extended.test_lcs_substring_and_subsequence_interior_blocks[lcsstr-abcXdef-abc-3]",
+ "eval.tests.test_iteration4_extended.test_lcs_substring_and_subsequence_interior_blocks[lcsstr-abcd-abc-3]",
+ "eval.tests.test_iteration4_extended.test_length_metric_multiword_and_unicode[--0]",
+ "eval.tests.test_iteration4_extended.test_length_metric_multiword_and_unicode[\\u5355-\\u5b57-0]",
+ "eval.tests.test_iteration4_extended.test_length_metric_multiword_and_unicode[the quick-the-6]",
+ "eval.tests.test_iteration4_extended.test_lig3_length_sensitive_exacts[a-abcdef-0.2857142857142857]",
+ "eval.tests.test_iteration4_extended.test_lig3_length_sensitive_exacts[abc-abc-1]",
+ "eval.tests.test_iteration4_extended.test_lig3_length_sensitive_exacts[abcdef-azcdef-0.9090909090909091]",
+ "eval.tests.test_iteration4_extended.test_mlipns_normalisation_values[a-b-1]",
+ "eval.tests.test_iteration4_extended.test_mlipns_normalisation_values[aa-a-1]",
+ "eval.tests.test_iteration4_extended.test_mlipns_normalisation_values[ab-cdef-0]",
+ "eval.tests.test_iteration4_extended.test_mlipns_normalisation_values[abc-abd-1]",
+ "eval.tests.test_iteration4_extended.test_mlipns_normalisation_values[abcd-wxyz-0]",
+ "eval.tests.test_iteration4_extended.test_mlipns_normalisation_values[abcdef-dcba-0]",
+ "eval.tests.test_iteration4_extended.test_mlipns_zero_and_one_verified_pairs[a-a-1]",
+ "eval.tests.test_iteration4_extended.test_mlipns_zero_and_one_verified_pairs[ab-ab-1]",
+ "eval.tests.test_iteration4_extended.test_mlipns_zero_and_one_verified_pairs[abcd-axwy-0]",
+ "eval.tests.test_iteration4_extended.test_mlipns_zero_and_one_verified_pairs[abcd-wxyz-0]",
+ "eval.tests.test_iteration4_extended.test_mlipns_zero_and_one_verified_pairs[abcd-wxyza-0]",
+ "eval.tests.test_iteration4_extended.test_prefix_vs_suffix_shared_head_only[full-fullness-4-0]",
+ "eval.tests.test_iteration4_extended.test_prefix_vs_suffix_shared_head_only[internationalization-internet-6-0]",
+ "eval.tests.test_iteration4_extended.test_prefix_zero_while_suffix_full_on_shared_tail",
+ "eval.tests.test_iteration4_extended.test_ratcliff_empty_and_identity_exacts[--1]",
+ "eval.tests.test_iteration4_extended.test_ratcliff_empty_and_identity_exacts[a--0]",
+ "eval.tests.test_iteration4_extended.test_ratcliff_empty_and_identity_exacts[abc-abc-1]",
+ "eval.tests.test_iteration4_extended.test_ratcliff_repeated_nested_blocks",
+ "eval.tests.test_iteration4_extended.test_roberts_single_and_disjoint_exacts[a-a-1]",
+ "eval.tests.test_iteration4_extended.test_roberts_single_and_disjoint_exacts[a-b-0]",
+ "eval.tests.test_iteration4_extended.test_roberts_single_and_disjoint_exacts[ab-cd-0]",
+ "eval.tests.test_iteration4_extended.test_roberts_single_and_disjoint_exacts[abc-abx-0.6666666666666666]",
+ "eval.tests.test_iteration4_extended.test_set_metric_permutation_of_tokens_is_unchanged",
+ "eval.tests.test_iteration4_extended.test_set_metric_single_repeated_token[cosine-0.674199862463242]",
+ "eval.tests.test_iteration4_extended.test_set_metric_single_repeated_token[jaccard-0.45454545454545453]",
+ "eval.tests.test_iteration4_extended.test_set_metric_single_repeated_token[overlap-1]",
+ "eval.tests.test_iteration4_extended.test_set_metric_single_token_inside_pair[jaccard-0.42857142857142855]",
+ "eval.tests.test_iteration4_extended.test_set_metric_single_token_inside_pair[overlap-1]",
+ "eval.tests.test_iteration4_extended.test_set_metric_subset_containment_values[cosine-0.7745966692414834]",
+ "eval.tests.test_iteration4_extended.test_set_metric_subset_containment_values[sorensen_dice-0.75]",
+ "eval.tests.test_iteration4_extended.test_set_metric_subset_containment_values[tversky-0.6]",
+ "eval.tests.test_iteration4_extended.test_sift4_simple_vs_common[ABCDEFGHIJKLMNOPQRST-ABCDXEFGHIJKLMNOPQRUV-3-3]",
+ "eval.tests.test_iteration4_extended.test_sift4_simple_vs_common[GACACCAGACC-GACGCGGTACC-1-2]",
+ "eval.tests.test_iteration4_extended.test_sift4_simple_vs_common[ab-b-1-1]",
+ "eval.tests.test_iteration4_extended.test_sift4_understates_full_reorder_again",
+ "eval.tests.test_iteration4_extended.test_smith_waterman_interior_and_disjoint[aaaa-bbbb-0]",
+ "eval.tests.test_iteration4_extended.test_smith_waterman_interior_and_disjoint[ab-ba-0]",
+ "eval.tests.test_iteration4_extended.test_smith_waterman_interior_and_disjoint[abcabc-xyzabc-3]",
+ "eval.tests.test_iteration4_extended.test_smith_waterman_interior_and_disjoint[abcde-xabcdey-4]",
+ "eval.tests.test_iteration4_extended.test_smith_waterman_interior_and_disjoint[zz-q-0]",
+ "eval.tests.test_iteration4_extended.test_smith_waterman_interior_block_length",
+ "eval.tests.test_iteration4_extended.test_success_contract_one_line_empty_stderr_new_algs[damerau_levenshtein_restricted]",
+ "eval.tests.test_iteration4_extended.test_success_contract_one_line_empty_stderr_new_algs[mlipns]",
+ "eval.tests.test_iteration4_extended.test_success_contract_one_line_empty_stderr_new_algs[roberts]",
+ "eval.tests.test_iteration4_extended.test_success_contract_one_line_empty_stderr_new_algs[smith_waterman]",
+ "eval.tests.test_iteration4_extended.test_yujian_bo_disjoint_equal_length_exacts[a-b-0.6666666666666666]",
+ "eval.tests.test_iteration4_extended.test_yujian_bo_disjoint_equal_length_exacts[ab-cd-0.6666666666666666]",
+ "eval.tests.test_iteration4_extended.test_yujian_bo_disjoint_equal_length_exacts[abcd-wxyz-0.6666666666666666]",
+ "eval.tests.test_iteration5_extended.test_bag_empty_and_single_side[-abc-3]",
+ "eval.tests.test_iteration5_extended.test_bag_empty_and_single_side[a--1]",
+ "eval.tests.test_iteration5_extended.test_bag_empty_and_single_side[abc--3]",
+ "eval.tests.test_iteration5_extended.test_damerau_restricted_vs_unrestricted_diverge[damerau_levenshtein-2]",
+ "eval.tests.test_iteration5_extended.test_damerau_restricted_vs_unrestricted_diverge[damerau_levenshtein_restricted-3]",
+ "eval.tests.test_iteration5_extended.test_damerau_restricted_vs_unrestricted_diverge[levenshtein-3]",
+ "eval.tests.test_iteration5_extended.test_entropy_ncd_dissimilar_pair_exceeds_near_edit_pair",
+ "eval.tests.test_iteration5_extended.test_entropy_ncd_identity_exact_zero_stable_content[a]",
+ "eval.tests.test_iteration5_extended.test_entropy_ncd_identity_exact_zero_stable_content[ab]",
+ "eval.tests.test_iteration5_extended.test_entropy_ncd_identity_exact_zero_stable_content[alpha]",
+ "eval.tests.test_iteration5_extended.test_entropy_ncd_identity_exact_zero_stable_content[line1\\nline2]",
+ "eval.tests.test_iteration5_extended.test_hamming_interior_and_unicode_scalar[\\u65e5\\u672c\\u8a9e-\\u65e5\\u672c\\u8a9e-0]",
+ "eval.tests.test_iteration5_extended.test_hamming_interior_and_unicode_scalar[a\\xe4b-a\\xe9b-1]",
+ "eval.tests.test_iteration5_extended.test_hamming_interior_and_unicode_scalar[abc-aXc-1]",
+ "eval.tests.test_iteration5_extended.test_hamming_interior_and_unicode_scalar[abcdef-abXdef-1]",
+ "eval.tests.test_iteration5_extended.test_jaro_jw_long_prefix_alignment[abc def-abc xef-0.9047619047619048-0.9428571428571428]",
+ "eval.tests.test_iteration5_extended.test_jaro_jw_long_prefix_alignment[single-singl-0.9444444444444445-0.9666666666666667]",
+ "eval.tests.test_iteration5_extended.test_lcs_intention_vs_execution_exact",
+ "eval.tests.test_iteration5_extended.test_lcs_seq_greater_than_str_interior_gap",
+ "eval.tests.test_iteration5_extended.test_lig3_length_ratio_values[ab-abcd-0.6666666666666666]",
+ "eval.tests.test_iteration5_extended.test_lig3_length_ratio_values[abc-abcd-0.8571428571428571]",
+ "eval.tests.test_iteration5_extended.test_prefix_suffix_shared_middle",
+ "eval.tests.test_iteration5_extended.test_roberts_differs_from_ratcliff_on_token_pair",
+ "eval.tests.test_iteration5_extended.test_roberts_length_ratio_values[ab-abcd-0.6666666666666666]",
+ "eval.tests.test_iteration5_extended.test_roberts_length_ratio_values[abc--0]",
+ "eval.tests.test_iteration5_extended.test_roberts_length_ratio_values[abc-abcd-0.8571428571428571]",
+ "eval.tests.test_iteration5_extended.test_set_metric_repeated_shared_token[jaccard-0.3333333333333333]",
+ "eval.tests.test_iteration5_extended.test_set_metric_repeated_shared_token[overlap-0.6666666666666666]",
+ "eval.tests.test_iteration5_extended.test_set_metric_repeated_shared_token[sorensen_dice-0.5]",
+ "eval.tests.test_iteration5_extended.test_set_metric_token_superset[cosine-0.6546536707079772]",
+ "eval.tests.test_iteration5_extended.test_set_metric_token_superset[jaccard-0.42857142857142855]",
+ "eval.tests.test_iteration5_extended.test_set_metric_token_superset[overlap-1]",
+ "eval.tests.test_iteration5_extended.test_set_metric_token_superset[sorensen_dice-0.6]",
+ "eval.tests.test_iteration5_extended.test_set_metric_token_superset[tversky-0.42857142857142855]",
+ "eval.tests.test_iteration5_extended.test_smith_waterman_repeat_flank_and_ratio",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[bag]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[cosine]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[damerau_levenshtein]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[damerau_levenshtein_restricted]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[hamming]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[jaccard]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[jaro]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[jaro_winkler]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[lcsseq]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[lcsstr]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[length]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[levenshtein]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[lig3]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[mlipns]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[overlap]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[prefix]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[ratcliff_obershelp]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[sift4_common]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[sift4_simple]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[smith_waterman]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[sorensen_dice]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[suffix]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[tversky]",
+ "eval.tests.test_iteration5_extended.test_success_contract_all_algorithms[yujian_bo]",
+ "eval.tests.test_iteration5_extended.test_yujian_bo_length_ratio_values[a-abc-0.6666666666666666]",
+ "eval.tests.test_iteration5_extended.test_yujian_bo_length_ratio_values[a-bcdef-0.9090909090909091]",
+ "eval.tests.test_iteration5_extended.test_yujian_bo_length_ratio_values[ab-abc-0.3333333333333333]",
+ "eval.tests.test_iteration5_extended.test_yujian_bo_length_ratio_values[abc-abcd-0.25]",
+ "eval.tests.test_oracles.test_entropy_ncd_approximate_tolerance",
+ "eval.tests.test_oracles.test_exact_oracle[bag__abc__]",
+ "eval.tests.test_oracles.test_exact_oracle[bag__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[bag__kitten__sitting]",
+ "eval.tests.test_oracles.test_exact_oracle[cosine__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[cosine__abc__acbd]",
+ "eval.tests.test_oracles.test_exact_oracle[cosine__abcabc__abcabc]",
+ "eval.tests.test_oracles.test_exact_oracle[damerau_levenshtein____abc]",
+ "eval.tests.test_oracles.test_exact_oracle[damerau_levenshtein__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[damerau_levenshtein__kitten__sitting]",
+ "eval.tests.test_oracles.test_exact_oracle[damerau_levenshtein_restricted__ab__ab]",
+ "eval.tests.test_oracles.test_exact_oracle[damerau_levenshtein_restricted__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[damerau_levenshtein_restricted__abc__acbd]",
+ "eval.tests.test_oracles.test_exact_oracle[hamming____abc]",
+ "eval.tests.test_oracles.test_exact_oracle[hamming__a__]",
+ "eval.tests.test_oracles.test_exact_oracle[hamming__ab__ab]",
+ "eval.tests.test_oracles.test_exact_oracle[hamming__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[hamming__kitten__sitting]",
+ "eval.tests.test_oracles.test_exact_oracle[jaccard__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[jaccard__abc__acbd]",
+ "eval.tests.test_oracles.test_exact_oracle[jaro__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[jaro__frog__fogr]",
+ "eval.tests.test_oracles.test_exact_oracle[jaro__kitten__sitting]",
+ "eval.tests.test_oracles.test_exact_oracle[jaro_winkler__1234567__1234567]",
+ "eval.tests.test_oracles.test_exact_oracle[jaro_winkler__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[jaro_winkler__martha__marhta]",
+ "eval.tests.test_oracles.test_exact_oracle[lcsseq__abc__]",
+ "eval.tests.test_oracles.test_exact_oracle[lcsseq__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[lcsseq__kitten__sitting]",
+ "eval.tests.test_oracles.test_exact_oracle[lcsstr____abc]",
+ "eval.tests.test_oracles.test_exact_oracle[lcsstr__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[lcsstr__kitten__sitting]",
+ "eval.tests.test_oracles.test_exact_oracle[length____abc]",
+ "eval.tests.test_oracles.test_exact_oracle[length__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[length__kitten__sitting]",
+ "eval.tests.test_oracles.test_exact_oracle[levenshtein__abc__]",
+ "eval.tests.test_oracles.test_exact_oracle[levenshtein__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[levenshtein__kitten__sitting]",
+ "eval.tests.test_oracles.test_exact_oracle[lig3__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[lig3__abc__acbd]",
+ "eval.tests.test_oracles.test_exact_oracle[mlipns____]",
+ "eval.tests.test_oracles.test_exact_oracle[mlipns__ab__ab]",
+ "eval.tests.test_oracles.test_exact_oracle[mlipns__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[overlap__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[overlap__abc__acbd]",
+ "eval.tests.test_oracles.test_exact_oracle[prefix__ab__ab]",
+ "eval.tests.test_oracles.test_exact_oracle[prefix__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[prefix__kitten__sitting]",
+ "eval.tests.test_oracles.test_exact_oracle[ratcliff_obershelp__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[ratcliff_obershelp__abc__acbd]",
+ "eval.tests.test_oracles.test_exact_oracle[ratcliff_obershelp__kitten__sitting]",
+ "eval.tests.test_oracles.test_exact_oracle[roberts__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[roberts__abc__acbd]",
+ "eval.tests.test_oracles.test_exact_oracle[sift4_common__abc__]",
+ "eval.tests.test_oracles.test_exact_oracle[sift4_common__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[sift4_common__kitten__sitting]",
+ "eval.tests.test_oracles.test_exact_oracle[sift4_simple____abc]",
+ "eval.tests.test_oracles.test_exact_oracle[sift4_simple__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[sift4_simple__kitten__sitting]",
+ "eval.tests.test_oracles.test_exact_oracle[smith_waterman__ab__ab]",
+ "eval.tests.test_oracles.test_exact_oracle[smith_waterman__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[smith_waterman__kitten__sitting]",
+ "eval.tests.test_oracles.test_exact_oracle[sorensen_dice__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[sorensen_dice__abc__acbd]",
+ "eval.tests.test_oracles.test_exact_oracle[suffix__ab__ab]",
+ "eval.tests.test_oracles.test_exact_oracle[suffix__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[suffix__abc__xbc]",
+ "eval.tests.test_oracles.test_exact_oracle[tversky__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[tversky__abc__acbd]",
+ "eval.tests.test_oracles.test_exact_oracle[yujian_bo__abc__abd]",
+ "eval.tests.test_oracles.test_exact_oracle[yujian_bo__abc__acbd]",
+ "eval.tests.test_oracles.test_successful_invocation_prints_one_line_and_exits_zero",
+ "eval.tests.test_semantics_wide.test_bag_distance_is_multiset_difference[aaa-aaa-0]",
+ "eval.tests.test_semantics_wide.test_bag_distance_is_multiset_difference[aaa-bbb-3]",
+ "eval.tests.test_semantics_wide.test_bag_distance_is_multiset_difference[aaab-ab-2]",
+ "eval.tests.test_semantics_wide.test_bag_distance_is_multiset_difference[aab-abb-1]",
+ "eval.tests.test_semantics_wide.test_bag_distance_is_multiset_difference[abc-aabbcc-3]",
+ "eval.tests.test_semantics_wide.test_bag_is_set_based_not_order_based",
+ "eval.tests.test_semantics_wide.test_common_prefix_lengths[-anything-0]",
+ "eval.tests.test_semantics_wide.test_common_prefix_lengths[abc-xyz-0]",
+ "eval.tests.test_semantics_wide.test_common_prefix_lengths[hello-help-3]",
+ "eval.tests.test_semantics_wide.test_common_prefix_lengths[internationalization-internet-6]",
+ "eval.tests.test_semantics_wide.test_common_prefix_lengths[suffix??-suffix?-7]",
+ "eval.tests.test_semantics_wide.test_common_suffix_lengths[--0]",
+ "eval.tests.test_semantics_wide.test_common_suffix_lengths[bleeding-blending-4]",
+ "eval.tests.test_semantics_wide.test_common_suffix_lengths[hello-world-0]",
+ "eval.tests.test_semantics_wide.test_common_suffix_lengths[running-running-7]",
+ "eval.tests.test_semantics_wide.test_damerau_at_most_levenshtein[GACACCAGACC-GACGCGGTACC]",
+ "eval.tests.test_semantics_wide.test_damerau_at_most_levenshtein[ab-]",
+ "eval.tests.test_semantics_wide.test_damerau_at_most_levenshtein[abcdef-axcdef]",
+ "eval.tests.test_semantics_wide.test_damerau_at_most_levenshtein[flaw-lawn]",
+ "eval.tests.test_semantics_wide.test_damerau_at_most_levenshtein[hello world-world hello]",
+ "eval.tests.test_semantics_wide.test_damerau_at_most_levenshtein[kitten-sitting]",
+ "eval.tests.test_semantics_wide.test_damerau_at_most_levenshtein[random-qwerty]",
+ "eval.tests.test_semantics_wide.test_damerau_at_most_levenshtein[zzz-z]",
+ "eval.tests.test_semantics_wide.test_jaro_winkler_exact_values[CRATE-TRACE-0.7333333333333334-0.7333333333333334]",
+ "eval.tests.test_semantics_wide.test_jaro_winkler_exact_values[MARTHA-MARHTA-0.9444444444444445-0.9611111111111111]",
+ "eval.tests.test_semantics_wide.test_jaro_winkler_exact_values[abc-acb-0.5555555555555555-0.5999999999999999]",
+ "eval.tests.test_semantics_wide.test_jaro_winkler_exact_values[one-one-1-1]",
+ "eval.tests.test_semantics_wide.test_lcs_subsequence_at_least_substring[GACACCAGACC-GACGCGGTACC]",
+ "eval.tests.test_semantics_wide.test_lcs_subsequence_at_least_substring[ab-]",
+ "eval.tests.test_semantics_wide.test_lcs_subsequence_at_least_substring[abcdef-axcdef]",
+ "eval.tests.test_semantics_wide.test_lcs_subsequence_at_least_substring[flaw-lawn]",
+ "eval.tests.test_semantics_wide.test_lcs_subsequence_at_least_substring[hello world-world hello]",
+ "eval.tests.test_semantics_wide.test_lcs_subsequence_at_least_substring[kitten-sitting]",
+ "eval.tests.test_semantics_wide.test_lcs_subsequence_at_least_substring[random-qwerty]",
+ "eval.tests.test_semantics_wide.test_lcs_subsequence_at_least_substring[zzz-z]",
+ "eval.tests.test_semantics_wide.test_numeric_string_prefix_suffix",
+ "eval.tests.test_semantics_wide.test_numeric_strings_counted_as_text_hamming[1.5-1.5-0]",
+ "eval.tests.test_semantics_wide.test_numeric_strings_counted_as_text_hamming[123-124-1]",
+ "eval.tests.test_semantics_wide.test_numeric_strings_counted_as_text_hamming[123-456-3]",
+ "eval.tests.test_semantics_wide.test_numeric_strings_counted_as_text_levenshtein[-7-7-1]",
+ "eval.tests.test_semantics_wide.test_numeric_strings_counted_as_text_levenshtein[0-1-1]",
+ "eval.tests.test_semantics_wide.test_numeric_strings_counted_as_text_levenshtein[1.5-1.6-1]",
+ "eval.tests.test_semantics_wide.test_numeric_strings_counted_as_text_levenshtein[123-123-0]",
+ "eval.tests.test_semantics_wide.test_numeric_strings_counted_as_text_levenshtein[123-124-1]",
+ "eval.tests.test_semantics_wide.test_numeric_strings_counted_as_text_levenshtein[7-77-1]",
+ "eval.tests.test_semantics_wide.test_punctuation_counts_as_content",
+ "eval.tests.test_semantics_wide.test_sift4_approx_can_understate_reordered_edit_distance",
+ "eval.tests.test_semantics_wide.test_sift4_variants_agree_on_short_inputs[ab-]",
+ "eval.tests.test_semantics_wide.test_sift4_variants_agree_on_short_inputs[abcdef-axcdef]",
+ "eval.tests.test_semantics_wide.test_sift4_variants_agree_on_short_inputs[flaw-lawn]",
+ "eval.tests.test_semantics_wide.test_sift4_variants_agree_on_short_inputs[kitten-sitting]",
+ "eval.tests.test_semantics_wide.test_sift4_variants_agree_on_short_inputs[random-qwerty]",
+ "eval.tests.test_semantics_wide.test_sift4_variants_agree_on_short_inputs[zzz-z]",
+ "eval.tests.test_semantics_wide.test_sift4_variants_diverge_on_long_input",
+ "eval.tests.test_semantics_wide.test_unicode_accent_variants_similarity[cosine-caf\\xe9-cafe-0.75]",
+ "eval.tests.test_semantics_wide.test_unicode_accent_variants_similarity[jaccard-caf\\xe9-cafe-0.6]",
+ "eval.tests.test_semantics_wide.test_unicode_accent_variants_similarity[jaro-caf\\xe9-cafe-0.8333333333333334]",
+ "eval.tests.test_semantics_wide.test_unicode_scalar_counting_across_metrics[hamming-\\xe9-\\xe8-1]",
+ "eval.tests.test_semantics_wide.test_unicode_scalar_counting_across_metrics[hamming-\\xe9f-\\xe9f-0]",
+ "eval.tests.test_semantics_wide.test_unicode_scalar_counting_across_metrics[lcsseq-\\xe9x-\\xe9y-1]",
+ "eval.tests.test_semantics_wide.test_unicode_scalar_counting_across_metrics[length-\\xe9\\xe9\\xe9-\\xe9\\xe9-1]",
+ "eval.tests.test_semantics_wide.test_unicode_scalar_counting_across_metrics[levenshtein-\\xe9-\\xe8-1]",
+ "eval.tests.test_semantics_wide.test_unicode_scalar_counting_across_metrics[levenshtein-a-\\xe9-1]",
+ "eval.tests.test_semantics_wide.test_unicode_scalar_counting_across_metrics[prefix-caf\\xe9-caf\\xe9-4]",
+ "eval.tests.test_semantics_wide.test_unicode_scalar_counting_across_metrics[suffix-caf\\xe9-xaf\\xe9-3]",
+ "eval.tests.test_semantics_wide.test_whitespace_counts_as_content"
+ ]
+ },
+ "generated_module_02": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_algorithm_chars_routing.test_chars_routing_keeps_tabs_and_whitespace",
+ "eval.tests.test_algorithm_chars_routing.test_empty_scalar_routing_boundaries",
+ "eval.tests.test_algorithm_chars_routing.test_hamming_more_unicode_scalars[ham_'\\U0001f60a\\U0001f622'_'\\U0001f622\\U0001f60a']",
+ "eval.tests.test_algorithm_chars_routing.test_hamming_more_unicode_scalars[ham_'\\u042f\\u0431\\u043b\\u043e\\u043a\\u043e'_'\\u042f\\u0431\\u043b\\u043e\\u043a\\u043e']",
+ "eval.tests.test_algorithm_chars_routing.test_hamming_more_unicode_scalars[ham_'\\u65e5\\u672c\\u8a9e\\u6587'_'\\u65e5\\u672c\\u6587\\u65e5']",
+ "eval.tests.test_algorithm_chars_routing.test_hamming_more_unicode_scalars[ham_'e\\u0301e'_'\\xe9\\xe9']",
+ "eval.tests.test_algorithm_chars_routing.test_hamming_scalar_routing_exact[route_'0\\u0301'_'0\\u0300']",
+ "eval.tests.test_algorithm_chars_routing.test_hamming_scalar_routing_exact[route_'ABC'_'ABB']",
+ "eval.tests.test_algorithm_chars_routing.test_hamming_scalar_routing_exact[route_'\\U0001f431\\U0001f436'_'\\U0001f431\\U0001f436']",
+ "eval.tests.test_algorithm_chars_routing.test_hamming_scalar_routing_exact[route_'\\U0001f600\\U0001f600\\U0001f600'_'\\U0001f600\\U0001f600\\U0001f600']",
+ "eval.tests.test_algorithm_chars_routing.test_hamming_scalar_routing_exact[route_'\\u043f\\u0440\\u0438\\u0432\\u0435\\u0301\\u0442'_'\\u043f\\u0440\\u0438\\u0432\\u0435\\u0442']",
+ "eval.tests.test_algorithm_chars_routing.test_hamming_scalar_routing_exact[route_'\\u65e5\\u672c\\u8a9e\\u3068'_'\\u65e5\\u672c\\u3068']",
+ "eval.tests.test_algorithm_chars_routing.test_hamming_scalar_routing_exact[route_'\\xe9\\xe9'_'e\\xe9']",
+ "eval.tests.test_algorithm_chars_routing.test_hamming_scalar_routing_exact[route_'\\xfcn\\xefcod'_'un\\xefcod']",
+ "eval.tests.test_algorithm_chars_routing.test_hamming_scalar_routing_exact[route_'a'_'a']",
+ "eval.tests.test_algorithm_chars_routing.test_hamming_scalar_routing_exact[route_'aaaa'_'abaa']",
+ "eval.tests.test_algorithm_chars_routing.test_hamming_scalar_routing_exact[route_'caf\\xe9'_'caf\\xe8']",
+ "eval.tests.test_algorithm_chars_routing.test_hamming_scalar_routing_exact[route_'na\\xefve'_'naive']",
+ "eval.tests.test_algorithm_chars_routing.test_hamming_scalar_routing_exact[route_'sch\\xf6n'_'schon']",
+ "eval.tests.test_aux_models_identities.test_cosine_bounded_by_overlap[cos_le_Saturday_Sunday]",
+ "eval.tests.test_aux_models_identities.test_cosine_bounded_by_overlap[cos_le_\\u0442\\u0435\\u0441\\u0442_\\u0422\\u0435\\u0441\\u0442]",
+ "eval.tests.test_aux_models_identities.test_cosine_bounded_by_overlap[cos_le_\\u304b\\u3093_\\u304b\\u3093\\u3058]",
+ "eval.tests.test_aux_models_identities.test_cosine_bounded_by_overlap[cos_le_abcdef_azced]",
+ "eval.tests.test_aux_models_identities.test_cosine_bounded_by_overlap[cos_le_board_broad]",
+ "eval.tests.test_aux_models_identities.test_cosine_bounded_by_overlap[cos_le_kitten_sitting]",
+ "eval.tests.test_aux_models_identities.test_cosine_independent_model[cos_Saturday_Sunday]",
+ "eval.tests.test_aux_models_identities.test_cosine_independent_model[cos_\\u0436\\u043e\\u043f\\u0430_\\u0441\\u0430\\u043f\\u043e]",
+ "eval.tests.test_aux_models_identities.test_cosine_independent_model[cos_\\u043a\\u0430\\u0441\\u0442\\u043e\\u0440\\u043a\\u0430_\\u043a\\u0430\\u0441\\u0442\\u043e\\u0440\\u0435]",
+ "eval.tests.test_aux_models_identities.test_cosine_independent_model[cos_\\u841d\\u535c_\\u841d\\u535c]",
+ "eval.tests.test_aux_models_identities.test_cosine_independent_model[cos_\\u963f_\\u554a]",
+ "eval.tests.test_aux_models_identities.test_cosine_independent_model[cos_aab_abb]",
+ "eval.tests.test_aux_models_identities.test_cosine_independent_model[cos_board_broad]",
+ "eval.tests.test_aux_models_identities.test_cosine_independent_model[cos_c\\xe0fe_caf\\xe9]",
+ "eval.tests.test_aux_models_identities.test_cosine_independent_model[cos_missidy_missinai]",
+ "eval.tests.test_aux_models_identities.test_jaro_independent_model[ja_book_back]",
+ "eval.tests.test_aux_models_identities.test_jaro_independent_model[ja_dixon_dicksonx]",
+ "eval.tests.test_aux_models_identities.test_jaro_independent_model[ja_dwayne_duane]",
+ "eval.tests.test_aux_models_identities.test_jaro_independent_model[ja_flaw_lawn]",
+ "eval.tests.test_aux_models_identities.test_jaro_independent_model[ja_kitten_sitting]",
+ "eval.tests.test_aux_models_identities.test_jaro_independent_model[ja_martha_marhta]",
+ "eval.tests.test_aux_models_identities.test_jaro_independent_model[ja_north_south]",
+ "eval.tests.test_aux_models_identities.test_jaro_independent_model[ja_test_tset]",
+ "eval.tests.test_aux_models_identities.test_jaro_winkler_at_least_jaro[jw_ge_Saturday_Sunday]",
+ "eval.tests.test_aux_models_identities.test_jaro_winkler_at_least_jaro[jw_ge_\\u0442\\u0435\\u0441\\u0442_\\u0422\\u0435\\u0441\\u0442]",
+ "eval.tests.test_aux_models_identities.test_jaro_winkler_at_least_jaro[jw_ge_\\u304b\\u3093_\\u304b\\u3093\\u3058]",
+ "eval.tests.test_aux_models_identities.test_jaro_winkler_at_least_jaro[jw_ge_abcdef_azced]",
+ "eval.tests.test_aux_models_identities.test_jaro_winkler_at_least_jaro[jw_ge_board_broad]",
+ "eval.tests.test_aux_models_identities.test_jaro_winkler_at_least_jaro[jw_ge_kitten_sitting]",
+ "eval.tests.test_aux_models_identities.test_jaro_winkler_independent_model[jw_book_back]",
+ "eval.tests.test_aux_models_identities.test_jaro_winkler_independent_model[jw_dixon_dicksonx]",
+ "eval.tests.test_aux_models_identities.test_jaro_winkler_independent_model[jw_dwayne_duane]",
+ "eval.tests.test_aux_models_identities.test_jaro_winkler_independent_model[jw_flaw_lawn]",
+ "eval.tests.test_aux_models_identities.test_jaro_winkler_independent_model[jw_kitten_sitting]",
+ "eval.tests.test_aux_models_identities.test_jaro_winkler_independent_model[jw_martha_marhta]",
+ "eval.tests.test_aux_models_identities.test_jaro_winkler_independent_model[jw_north_south]",
+ "eval.tests.test_aux_models_identities.test_jaro_winkler_independent_model[jw_test_tset]",
+ "eval.tests.test_aux_models_identities.test_levenshtein_never_exceeds_lcs_insert_delete_distance[le_seq_Saturday_Sunday]",
+ "eval.tests.test_aux_models_identities.test_levenshtein_never_exceeds_lcs_insert_delete_distance[le_seq_\\u0442\\u0435\\u0441\\u0442_\\u0422\\u0435\\u0441\\u0442]",
+ "eval.tests.test_aux_models_identities.test_levenshtein_never_exceeds_lcs_insert_delete_distance[le_seq_\\u304b\\u3093_\\u304b\\u3093\\u3058]",
+ "eval.tests.test_aux_models_identities.test_levenshtein_never_exceeds_lcs_insert_delete_distance[le_seq_abcdef_azced]",
+ "eval.tests.test_aux_models_identities.test_levenshtein_never_exceeds_lcs_insert_delete_distance[le_seq_board_broad]",
+ "eval.tests.test_aux_models_identities.test_levenshtein_never_exceeds_lcs_insert_delete_distance[le_seq_kitten_sitting]",
+ "eval.tests.test_aux_models_identities.test_ratcliff_independent_model[rat_book_back]",
+ "eval.tests.test_aux_models_identities.test_ratcliff_independent_model[rat_dixon_dicksonx]",
+ "eval.tests.test_aux_models_identities.test_ratcliff_independent_model[rat_dwayne_duane]",
+ "eval.tests.test_aux_models_identities.test_ratcliff_independent_model[rat_flaw_lawn]",
+ "eval.tests.test_aux_models_identities.test_ratcliff_independent_model[rat_kitten_sitting]",
+ "eval.tests.test_aux_models_identities.test_ratcliff_independent_model[rat_martha_marhta]",
+ "eval.tests.test_aux_models_identities.test_ratcliff_independent_model[rat_north_south]",
+ "eval.tests.test_aux_models_identities.test_ratcliff_independent_model[rat_test_tset]",
+ "eval.tests.test_aux_models_identities.test_roberts_independent_model[rob_Saturday_Sunday]",
+ "eval.tests.test_aux_models_identities.test_roberts_independent_model[rob_\\u0436\\u043e\\u043f\\u0430_\\u0441\\u0430\\u043f\\u043e]",
+ "eval.tests.test_aux_models_identities.test_roberts_independent_model[rob_\\u043a\\u0430\\u0441\\u0442\\u043e\\u0440\\u043a\\u0430_\\u043a\\u0430\\u0441\\u0442\\u043e\\u0440\\u0435]",
+ "eval.tests.test_aux_models_identities.test_roberts_independent_model[rob_\\u841d\\u535c_\\u841d\\u535c]",
+ "eval.tests.test_aux_models_identities.test_roberts_independent_model[rob_\\u963f_\\u554a]",
+ "eval.tests.test_aux_models_identities.test_roberts_independent_model[rob_aab_abb]",
+ "eval.tests.test_aux_models_identities.test_roberts_independent_model[rob_board_broad]",
+ "eval.tests.test_aux_models_identities.test_roberts_independent_model[rob_c\\xe0fe_caf\\xe9]",
+ "eval.tests.test_aux_models_identities.test_roberts_independent_model[rob_missidy_missinai]",
+ "eval.tests.test_aux_models_identities.test_yujian_bo_independent_model[yuj_Saturday_Sunday]",
+ "eval.tests.test_aux_models_identities.test_yujian_bo_independent_model[yuj_\\u0436\\u043e\\u043f\\u0430_\\u0441\\u0430\\u043f\\u043e]",
+ "eval.tests.test_aux_models_identities.test_yujian_bo_independent_model[yuj_\\u043a\\u0430\\u0441\\u0442\\u043e\\u0440\\u043a\\u0430_\\u043a\\u0430\\u0441\\u0442\\u043e\\u0440\\u0435]",
+ "eval.tests.test_aux_models_identities.test_yujian_bo_independent_model[yuj_\\u841d\\u535c_\\u841d\\u535c]",
+ "eval.tests.test_aux_models_identities.test_yujian_bo_independent_model[yuj_\\u963f_\\u554a]",
+ "eval.tests.test_aux_models_identities.test_yujian_bo_independent_model[yuj_aab_abb]",
+ "eval.tests.test_aux_models_identities.test_yujian_bo_independent_model[yuj_board_broad]",
+ "eval.tests.test_aux_models_identities.test_yujian_bo_independent_model[yuj_c\\xe0fe_caf\\xe9]",
+ "eval.tests.test_aux_models_identities.test_yujian_bo_independent_model[yuj_missidy_missinai]",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_bag_independent_model[bag_'\\u0442\\u0435\\u0441\\u0442'_'\\u0422\\u0435\\u0441\\u0442']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_bag_independent_model[bag_'abc'_'cba']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_bag_independent_model[bag_'barn'_'burn']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_bag_independent_model[bag_'beach'_'peach']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_bag_independent_model[bag_'cake'_'came']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_bag_independent_model[bag_'clap'_'clap']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_bag_independent_model[bag_'door'_'doom']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_bag_independent_model[bag_'fame'_'game']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_bag_independent_model[bag_'kite'_'kite']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_bag_independent_model[bag_'lone'_'lona']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_bag_independent_model[bag_'mine'_'mine']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_bag_independent_model[bag_'oliva'_'olivia']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_bag_independent_model[bag_'post'_'past']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_bag_independent_model[bag_'role'_'rule']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_bag_independent_model[bag_'said'_'paid']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_bag_independent_model[bag_'shore'_'share']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_bag_independent_model[bag_'sign'_'sigh']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_bag_independent_model[bag_'wall'_'well']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_mlipns_independent_model[ml_'\\u0442\\u0435\\u0441\\u0442'_'\\u0422\\u0435\\u0441\\u0442']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_mlipns_independent_model[ml_'abc'_'cba']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_mlipns_independent_model[ml_'barn'_'burn']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_mlipns_independent_model[ml_'beach'_'peach']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_mlipns_independent_model[ml_'cake'_'came']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_mlipns_independent_model[ml_'clap'_'clap']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_mlipns_independent_model[ml_'door'_'doom']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_mlipns_independent_model[ml_'fame'_'game']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_mlipns_independent_model[ml_'kite'_'kite']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_mlipns_independent_model[ml_'lone'_'lona']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_mlipns_independent_model[ml_'mine'_'mine']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_mlipns_independent_model[ml_'oliva'_'olivia']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_mlipns_independent_model[ml_'post'_'past']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_mlipns_independent_model[ml_'role'_'rule']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_mlipns_independent_model[ml_'said'_'paid']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_mlipns_independent_model[ml_'shore'_'share']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_mlipns_independent_model[ml_'sign'_'sigh']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_mlipns_independent_model[ml_'wall'_'well']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_smith_waterman_independent_model[sw_'\\u0442\\u0435\\u0441\\u0442'_'\\u0422\\u0435\\u0441\\u0442']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_smith_waterman_independent_model[sw_'abc'_'cba']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_smith_waterman_independent_model[sw_'barn'_'burn']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_smith_waterman_independent_model[sw_'beach'_'peach']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_smith_waterman_independent_model[sw_'cake'_'came']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_smith_waterman_independent_model[sw_'clap'_'clap']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_smith_waterman_independent_model[sw_'door'_'doom']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_smith_waterman_independent_model[sw_'fame'_'game']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_smith_waterman_independent_model[sw_'kite'_'kite']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_smith_waterman_independent_model[sw_'lone'_'lona']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_smith_waterman_independent_model[sw_'mine'_'mine']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_smith_waterman_independent_model[sw_'oliva'_'olivia']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_smith_waterman_independent_model[sw_'post'_'past']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_smith_waterman_independent_model[sw_'role'_'rule']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_smith_waterman_independent_model[sw_'said'_'paid']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_smith_waterman_independent_model[sw_'shore'_'share']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_smith_waterman_independent_model[sw_'sign'_'sigh']",
+ "eval.tests.test_bag_sw_mlipns_deep_corpus.test_smith_waterman_independent_model[sw_'wall'_'well']",
+ "eval.tests.test_cli_dispatch.test_dispatcher_accepts_uppercase_algorithm_names",
+ "eval.tests.test_cli_dispatch.test_empty_string_arguments_accepted",
+ "eval.tests.test_cli_dispatch.test_every_algorithm_name_dispatches_to_finite_value",
+ "eval.tests.test_cli_dispatch.test_missing_algorithm_name_fails",
+ "eval.tests.test_cli_dispatch.test_missing_all_arguments_fails",
+ "eval.tests.test_cli_dispatch.test_missing_both_texts_fails",
+ "eval.tests.test_cli_dispatch.test_unknown_algorithm_name_fails",
+ "eval.tests.test_cli_dispatch.test_whitespace_and_unicode_arguments_passed_verbatim",
+ "eval.tests.test_constants_metrics_fresh_corpus.test_damerau_variants_agree_on_non_transposition[flaw-lawn-2]",
+ "eval.tests.test_constants_metrics_fresh_corpus.test_damerau_variants_agree_on_non_transposition[gumbo-gambol-2]",
+ "eval.tests.test_constants_metrics_fresh_corpus.test_damerau_variants_agree_on_non_transposition[horse-ros-3]",
+ "eval.tests.test_constants_metrics_fresh_corpus.test_f64_constants_fresh_corpus['\\u043c\\u043e\\u0440\\u043e\\u0437'_'\\u0440\\u043e\\u0437\\u043c\\u0430\\u0440\\u0438\\u043d']",
+ "eval.tests.test_constants_metrics_fresh_corpus.test_f64_constants_fresh_corpus['abcde'_'abcXe']",
+ "eval.tests.test_constants_metrics_fresh_corpus.test_f64_constants_fresh_corpus['flaw'_'lawn']",
+ "eval.tests.test_constants_metrics_fresh_corpus.test_f64_constants_fresh_corpus['gumbo'_'gambol']",
+ "eval.tests.test_constants_metrics_fresh_corpus.test_f64_constants_fresh_corpus['horse'_'ros']",
+ "eval.tests.test_constants_metrics_fresh_corpus.test_f64_constants_fresh_corpus['intention'_'execution']",
+ "eval.tests.test_constants_metrics_fresh_corpus.test_f64_constants_fresh_corpus['kitten'_'sitting']",
+ "eval.tests.test_constants_metrics_fresh_corpus.test_f64_constants_fresh_corpus['north'_'south']",
+ "eval.tests.test_constants_metrics_fresh_corpus.test_usize_constants_fresh_corpus['\\u043c\\u043e\\u0440\\u043e\\u0437'_'\\u0440\\u043e\\u0437\\u043c\\u0430\\u0440\\u0438\\u043d']",
+ "eval.tests.test_constants_metrics_fresh_corpus.test_usize_constants_fresh_corpus['abcde'_'abcXe']",
+ "eval.tests.test_constants_metrics_fresh_corpus.test_usize_constants_fresh_corpus['flaw'_'lawn']",
+ "eval.tests.test_constants_metrics_fresh_corpus.test_usize_constants_fresh_corpus['gumbo'_'gambol']",
+ "eval.tests.test_constants_metrics_fresh_corpus.test_usize_constants_fresh_corpus['horse'_'ros']",
+ "eval.tests.test_constants_metrics_fresh_corpus.test_usize_constants_fresh_corpus['intention'_'execution']",
+ "eval.tests.test_constants_metrics_fresh_corpus.test_usize_constants_fresh_corpus['kitten'_'sitting']",
+ "eval.tests.test_constants_metrics_fresh_corpus.test_usize_constants_fresh_corpus['north'_'south']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_hamming_independent_model[ham_'GACT'_'GCTA']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_hamming_independent_model[ham_'Saturday'_'Sunday']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_hamming_independent_model[ham_'abcdef'_'azced']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_hamming_independent_model[ham_'board'_'broad']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_hamming_independent_model[ham_'care'_'cars']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_hamming_independent_model[ham_'catch'_'match']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_hamming_independent_model[ham_'clap'_'clap']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_hamming_independent_model[ham_'float'_'flood']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_hamming_independent_model[ham_'grate'_'great']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_hamming_independent_model[ham_'green'_'greenish']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_hamming_independent_model[ham_'hello'_'halo']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_hamming_independent_model[ham_'mouse'_'moose']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_hamming_independent_model[ham_'pale'_'male']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_hamming_independent_model[ham_'pike'_'poke']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_hamming_independent_model[ham_'return'_'retire']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_hamming_independent_model[ham_'road'_'rod']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_hamming_independent_model[ham_'shine'_'shine']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_hamming_independent_model[ham_'shore'_'share']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_hamming_independent_model[ham_'stack'_'stuck']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_hamming_independent_model[ham_'train'_'rain']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsseq_independent_model[seq_'GACT'_'GCTA']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsseq_independent_model[seq_'Saturday'_'Sunday']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsseq_independent_model[seq_'abcdef'_'azced']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsseq_independent_model[seq_'board'_'broad']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsseq_independent_model[seq_'care'_'cars']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsseq_independent_model[seq_'catch'_'match']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsseq_independent_model[seq_'clap'_'clap']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsseq_independent_model[seq_'float'_'flood']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsseq_independent_model[seq_'grate'_'great']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsseq_independent_model[seq_'green'_'greenish']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsseq_independent_model[seq_'hello'_'halo']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsseq_independent_model[seq_'mouse'_'moose']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsseq_independent_model[seq_'pale'_'male']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsseq_independent_model[seq_'pike'_'poke']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsseq_independent_model[seq_'return'_'retire']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsseq_independent_model[seq_'road'_'rod']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsseq_independent_model[seq_'shine'_'shine']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsseq_independent_model[seq_'shore'_'share']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsseq_independent_model[seq_'stack'_'stuck']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsseq_independent_model[seq_'train'_'rain']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsstr_independent_model[str_'GACT'_'GCTA']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsstr_independent_model[str_'Saturday'_'Sunday']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsstr_independent_model[str_'abcdef'_'azced']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsstr_independent_model[str_'board'_'broad']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsstr_independent_model[str_'care'_'cars']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsstr_independent_model[str_'catch'_'match']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsstr_independent_model[str_'clap'_'clap']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsstr_independent_model[str_'float'_'flood']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsstr_independent_model[str_'grate'_'great']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsstr_independent_model[str_'green'_'greenish']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsstr_independent_model[str_'hello'_'halo']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsstr_independent_model[str_'mouse'_'moose']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsstr_independent_model[str_'pale'_'male']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsstr_independent_model[str_'pike'_'poke']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsstr_independent_model[str_'return'_'retire']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsstr_independent_model[str_'road'_'rod']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsstr_independent_model[str_'shine'_'shine']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsstr_independent_model[str_'shore'_'share']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsstr_independent_model[str_'stack'_'stuck']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_lcsstr_independent_model[str_'train'_'rain']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_levenshtein_independent_model[lev_'GACT'_'GCTA']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_levenshtein_independent_model[lev_'Saturday'_'Sunday']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_levenshtein_independent_model[lev_'abcdef'_'azced']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_levenshtein_independent_model[lev_'board'_'broad']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_levenshtein_independent_model[lev_'care'_'cars']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_levenshtein_independent_model[lev_'catch'_'match']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_levenshtein_independent_model[lev_'clap'_'clap']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_levenshtein_independent_model[lev_'float'_'flood']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_levenshtein_independent_model[lev_'grate'_'great']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_levenshtein_independent_model[lev_'green'_'greenish']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_levenshtein_independent_model[lev_'hello'_'halo']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_levenshtein_independent_model[lev_'mouse'_'moose']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_levenshtein_independent_model[lev_'pale'_'male']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_levenshtein_independent_model[lev_'pike'_'poke']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_levenshtein_independent_model[lev_'return'_'retire']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_levenshtein_independent_model[lev_'road'_'rod']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_levenshtein_independent_model[lev_'shine'_'shine']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_levenshtein_independent_model[lev_'shore'_'share']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_levenshtein_independent_model[lev_'stack'_'stuck']",
+ "eval.tests.test_edit_metrics_deep_corpus.test_levenshtein_independent_model[lev_'train'_'rain']",
+ "eval.tests.test_independent_model_reference.test_bag_matches_independent_model['\\u043c\\u043e\\u0440\\u043e\\u0437'_'\\u0440\\u043e\\u0437\\u043c\\u0430\\u0440\\u0438\\u043d']",
+ "eval.tests.test_independent_model_reference.test_bag_matches_independent_model['abcde'_'abcXe']",
+ "eval.tests.test_independent_model_reference.test_bag_matches_independent_model['book'_'back']",
+ "eval.tests.test_independent_model_reference.test_bag_matches_independent_model['caf\\xe9'_'coffee']",
+ "eval.tests.test_independent_model_reference.test_bag_matches_independent_model['flaw'_'lawn']",
+ "eval.tests.test_independent_model_reference.test_bag_matches_independent_model['gambol'_'gumbo']",
+ "eval.tests.test_independent_model_reference.test_bag_matches_independent_model['gumbo'_'gambol']",
+ "eval.tests.test_independent_model_reference.test_bag_matches_independent_model['horse'_'ros']",
+ "eval.tests.test_independent_model_reference.test_bag_matches_independent_model['intention'_'execution']",
+ "eval.tests.test_independent_model_reference.test_bag_matches_independent_model['kitten'_'sitting']",
+ "eval.tests.test_independent_model_reference.test_bag_matches_independent_model['north'_'south']",
+ "eval.tests.test_independent_model_reference.test_bag_matches_independent_model['polynomial'_'exponential']",
+ "eval.tests.test_independent_model_reference.test_bag_matches_independent_model['railroad'_'hospital']",
+ "eval.tests.test_independent_model_reference.test_bag_matches_independent_model['sunday'_'friday']",
+ "eval.tests.test_independent_model_reference.test_hamming_matches_independent_model['\\u043c\\u043e\\u0440\\u043e\\u0437'_'\\u0440\\u043e\\u0437\\u043c\\u0430\\u0440\\u0438\\u043d']",
+ "eval.tests.test_independent_model_reference.test_hamming_matches_independent_model['abcde'_'abcXe']",
+ "eval.tests.test_independent_model_reference.test_hamming_matches_independent_model['book'_'back']",
+ "eval.tests.test_independent_model_reference.test_hamming_matches_independent_model['caf\\xe9'_'coffee']",
+ "eval.tests.test_independent_model_reference.test_hamming_matches_independent_model['flaw'_'lawn']",
+ "eval.tests.test_independent_model_reference.test_hamming_matches_independent_model['gambol'_'gumbo']",
+ "eval.tests.test_independent_model_reference.test_hamming_matches_independent_model['gumbo'_'gambol']",
+ "eval.tests.test_independent_model_reference.test_hamming_matches_independent_model['horse'_'ros']",
+ "eval.tests.test_independent_model_reference.test_hamming_matches_independent_model['intention'_'execution']",
+ "eval.tests.test_independent_model_reference.test_hamming_matches_independent_model['kitten'_'sitting']",
+ "eval.tests.test_independent_model_reference.test_hamming_matches_independent_model['north'_'south']",
+ "eval.tests.test_independent_model_reference.test_hamming_matches_independent_model['polynomial'_'exponential']",
+ "eval.tests.test_independent_model_reference.test_hamming_matches_independent_model['railroad'_'hospital']",
+ "eval.tests.test_independent_model_reference.test_hamming_matches_independent_model['sunday'_'friday']",
+ "eval.tests.test_independent_model_reference.test_hamming_triangle_inequality_over_split[tri_abc_abd_abe]",
+ "eval.tests.test_independent_model_reference.test_hamming_triangle_inequality_over_split[tri_abcde_abcXe_abXe]",
+ "eval.tests.test_independent_model_reference.test_hamming_triangle_inequality_over_split[tri_kitten_sitting_setting]",
+ "eval.tests.test_independent_model_reference.test_hamming_triangle_inequality_over_split[tri_moroz_rozma_rozmaryn]",
+ "eval.tests.test_independent_model_reference.test_hamming_triangle_inequality_over_split[tri_north_south_mouth]",
+ "eval.tests.test_independent_model_reference.test_lcsseq_matches_independent_model['\\u043c\\u043e\\u0440\\u043e\\u0437'_'\\u0440\\u043e\\u0437\\u043c\\u0430\\u0440\\u0438\\u043d']",
+ "eval.tests.test_independent_model_reference.test_lcsseq_matches_independent_model['abcde'_'abcXe']",
+ "eval.tests.test_independent_model_reference.test_lcsseq_matches_independent_model['book'_'back']",
+ "eval.tests.test_independent_model_reference.test_lcsseq_matches_independent_model['caf\\xe9'_'coffee']",
+ "eval.tests.test_independent_model_reference.test_lcsseq_matches_independent_model['flaw'_'lawn']",
+ "eval.tests.test_independent_model_reference.test_lcsseq_matches_independent_model['gambol'_'gumbo']",
+ "eval.tests.test_independent_model_reference.test_lcsseq_matches_independent_model['gumbo'_'gambol']",
+ "eval.tests.test_independent_model_reference.test_lcsseq_matches_independent_model['horse'_'ros']",
+ "eval.tests.test_independent_model_reference.test_lcsseq_matches_independent_model['intention'_'execution']",
+ "eval.tests.test_independent_model_reference.test_lcsseq_matches_independent_model['kitten'_'sitting']",
+ "eval.tests.test_independent_model_reference.test_lcsseq_matches_independent_model['north'_'south']",
+ "eval.tests.test_independent_model_reference.test_lcsseq_matches_independent_model['polynomial'_'exponential']",
+ "eval.tests.test_independent_model_reference.test_lcsseq_matches_independent_model['railroad'_'hospital']",
+ "eval.tests.test_independent_model_reference.test_lcsseq_matches_independent_model['sunday'_'friday']",
+ "eval.tests.test_independent_model_reference.test_lcsstr_matches_independent_model['\\u043c\\u043e\\u0440\\u043e\\u0437'_'\\u0440\\u043e\\u0437\\u043c\\u0430\\u0440\\u0438\\u043d']",
+ "eval.tests.test_independent_model_reference.test_lcsstr_matches_independent_model['abcde'_'abcXe']",
+ "eval.tests.test_independent_model_reference.test_lcsstr_matches_independent_model['book'_'back']",
+ "eval.tests.test_independent_model_reference.test_lcsstr_matches_independent_model['caf\\xe9'_'coffee']",
+ "eval.tests.test_independent_model_reference.test_lcsstr_matches_independent_model['flaw'_'lawn']",
+ "eval.tests.test_independent_model_reference.test_lcsstr_matches_independent_model['gambol'_'gumbo']",
+ "eval.tests.test_independent_model_reference.test_lcsstr_matches_independent_model['gumbo'_'gambol']",
+ "eval.tests.test_independent_model_reference.test_lcsstr_matches_independent_model['horse'_'ros']",
+ "eval.tests.test_independent_model_reference.test_lcsstr_matches_independent_model['intention'_'execution']",
+ "eval.tests.test_independent_model_reference.test_lcsstr_matches_independent_model['kitten'_'sitting']",
+ "eval.tests.test_independent_model_reference.test_lcsstr_matches_independent_model['north'_'south']",
+ "eval.tests.test_independent_model_reference.test_lcsstr_matches_independent_model['polynomial'_'exponential']",
+ "eval.tests.test_independent_model_reference.test_lcsstr_matches_independent_model['railroad'_'hospital']",
+ "eval.tests.test_independent_model_reference.test_lcsstr_matches_independent_model['sunday'_'friday']",
+ "eval.tests.test_independent_model_reference.test_levenshtein_matches_independent_model['\\u043c\\u043e\\u0440\\u043e\\u0437'_'\\u0440\\u043e\\u0437\\u043c\\u0430\\u0440\\u0438\\u043d']",
+ "eval.tests.test_independent_model_reference.test_levenshtein_matches_independent_model['abcde'_'abcXe']",
+ "eval.tests.test_independent_model_reference.test_levenshtein_matches_independent_model['book'_'back']",
+ "eval.tests.test_independent_model_reference.test_levenshtein_matches_independent_model['caf\\xe9'_'coffee']",
+ "eval.tests.test_independent_model_reference.test_levenshtein_matches_independent_model['flaw'_'lawn']",
+ "eval.tests.test_independent_model_reference.test_levenshtein_matches_independent_model['gambol'_'gumbo']",
+ "eval.tests.test_independent_model_reference.test_levenshtein_matches_independent_model['gumbo'_'gambol']",
+ "eval.tests.test_independent_model_reference.test_levenshtein_matches_independent_model['horse'_'ros']",
+ "eval.tests.test_independent_model_reference.test_levenshtein_matches_independent_model['intention'_'execution']",
+ "eval.tests.test_independent_model_reference.test_levenshtein_matches_independent_model['kitten'_'sitting']",
+ "eval.tests.test_independent_model_reference.test_levenshtein_matches_independent_model['north'_'south']",
+ "eval.tests.test_independent_model_reference.test_levenshtein_matches_independent_model['polynomial'_'exponential']",
+ "eval.tests.test_independent_model_reference.test_levenshtein_matches_independent_model['railroad'_'hospital']",
+ "eval.tests.test_independent_model_reference.test_levenshtein_matches_independent_model['sunday'_'friday']",
+ "eval.tests.test_independent_model_reference.test_levenshtein_triangle_inequality[tri_abc_abd_abe]",
+ "eval.tests.test_independent_model_reference.test_levenshtein_triangle_inequality[tri_abcde_abcXe_abXe]",
+ "eval.tests.test_independent_model_reference.test_levenshtein_triangle_inequality[tri_kitten_sitting_setting]",
+ "eval.tests.test_independent_model_reference.test_levenshtein_triangle_inequality[tri_moroz_rozma_rozmaryn]",
+ "eval.tests.test_independent_model_reference.test_levenshtein_triangle_inequality[tri_north_south_mouth]",
+ "eval.tests.test_independent_model_reference.test_prefix_matches_independent_model['\\u043c\\u043e\\u0440\\u043e\\u0437'_'\\u0440\\u043e\\u0437\\u043c\\u0430\\u0440\\u0438\\u043d']",
+ "eval.tests.test_independent_model_reference.test_prefix_matches_independent_model['abcde'_'abcXe']",
+ "eval.tests.test_independent_model_reference.test_prefix_matches_independent_model['book'_'back']",
+ "eval.tests.test_independent_model_reference.test_prefix_matches_independent_model['caf\\xe9'_'coffee']",
+ "eval.tests.test_independent_model_reference.test_prefix_matches_independent_model['flaw'_'lawn']",
+ "eval.tests.test_independent_model_reference.test_prefix_matches_independent_model['gambol'_'gumbo']",
+ "eval.tests.test_independent_model_reference.test_prefix_matches_independent_model['gumbo'_'gambol']",
+ "eval.tests.test_independent_model_reference.test_prefix_matches_independent_model['horse'_'ros']",
+ "eval.tests.test_independent_model_reference.test_prefix_matches_independent_model['intention'_'execution']",
+ "eval.tests.test_independent_model_reference.test_prefix_matches_independent_model['kitten'_'sitting']",
+ "eval.tests.test_independent_model_reference.test_prefix_matches_independent_model['north'_'south']",
+ "eval.tests.test_independent_model_reference.test_prefix_matches_independent_model['polynomial'_'exponential']",
+ "eval.tests.test_independent_model_reference.test_prefix_matches_independent_model['railroad'_'hospital']",
+ "eval.tests.test_independent_model_reference.test_prefix_matches_independent_model['sunday'_'friday']",
+ "eval.tests.test_independent_model_reference.test_suffix_matches_independent_model['\\u043c\\u043e\\u0440\\u043e\\u0437'_'\\u0440\\u043e\\u0437\\u043c\\u0430\\u0440\\u0438\\u043d']",
+ "eval.tests.test_independent_model_reference.test_suffix_matches_independent_model['abcde'_'abcXe']",
+ "eval.tests.test_independent_model_reference.test_suffix_matches_independent_model['book'_'back']",
+ "eval.tests.test_independent_model_reference.test_suffix_matches_independent_model['caf\\xe9'_'coffee']",
+ "eval.tests.test_independent_model_reference.test_suffix_matches_independent_model['flaw'_'lawn']",
+ "eval.tests.test_independent_model_reference.test_suffix_matches_independent_model['gambol'_'gumbo']",
+ "eval.tests.test_independent_model_reference.test_suffix_matches_independent_model['gumbo'_'gambol']",
+ "eval.tests.test_independent_model_reference.test_suffix_matches_independent_model['horse'_'ros']",
+ "eval.tests.test_independent_model_reference.test_suffix_matches_independent_model['intention'_'execution']",
+ "eval.tests.test_independent_model_reference.test_suffix_matches_independent_model['kitten'_'sitting']",
+ "eval.tests.test_independent_model_reference.test_suffix_matches_independent_model['north'_'south']",
+ "eval.tests.test_independent_model_reference.test_suffix_matches_independent_model['polynomial'_'exponential']",
+ "eval.tests.test_independent_model_reference.test_suffix_matches_independent_model['railroad'_'hospital']",
+ "eval.tests.test_independent_model_reference.test_suffix_matches_independent_model['sunday'_'friday']",
+ "eval.tests.test_independent_model_reference.test_yujian_bo_matches_independent_model['\\u043c\\u043e\\u0440\\u043e\\u0437'_'\\u0440\\u043e\\u0437\\u043c\\u0430\\u0440\\u0438\\u043d']",
+ "eval.tests.test_independent_model_reference.test_yujian_bo_matches_independent_model['abcde'_'abcXe']",
+ "eval.tests.test_independent_model_reference.test_yujian_bo_matches_independent_model['book'_'back']",
+ "eval.tests.test_independent_model_reference.test_yujian_bo_matches_independent_model['caf\\xe9'_'coffee']",
+ "eval.tests.test_independent_model_reference.test_yujian_bo_matches_independent_model['flaw'_'lawn']",
+ "eval.tests.test_independent_model_reference.test_yujian_bo_matches_independent_model['gambol'_'gumbo']",
+ "eval.tests.test_independent_model_reference.test_yujian_bo_matches_independent_model['gumbo'_'gambol']",
+ "eval.tests.test_independent_model_reference.test_yujian_bo_matches_independent_model['horse'_'ros']",
+ "eval.tests.test_independent_model_reference.test_yujian_bo_matches_independent_model['intention'_'execution']",
+ "eval.tests.test_independent_model_reference.test_yujian_bo_matches_independent_model['kitten'_'sitting']",
+ "eval.tests.test_independent_model_reference.test_yujian_bo_matches_independent_model['north'_'south']",
+ "eval.tests.test_independent_model_reference.test_yujian_bo_matches_independent_model['polynomial'_'exponential']",
+ "eval.tests.test_independent_model_reference.test_yujian_bo_matches_independent_model['railroad'_'hospital']",
+ "eval.tests.test_independent_model_reference.test_yujian_bo_matches_independent_model['sunday'_'friday']",
+ "eval.tests.test_independent_model_reference.test_yujian_bo_triangle_inequality[tri_abc_abd_abe]",
+ "eval.tests.test_independent_model_reference.test_yujian_bo_triangle_inequality[tri_abcde_abcXe_abXe]",
+ "eval.tests.test_independent_model_reference.test_yujian_bo_triangle_inequality[tri_kitten_sitting_setting]",
+ "eval.tests.test_independent_model_reference.test_yujian_bo_triangle_inequality[tri_moroz_rozma_rozmaryn]",
+ "eval.tests.test_independent_model_reference.test_yujian_bo_triangle_inequality[tri_north_south_mouth]",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'\\u0430\\u0440\\u0430\\u0445\\u0438\\u0441'_'\\u0430\\u0440\\u0430\\u0445\\u0438\\u0441\\u043e\\u0432']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'\\u043b\\u043e\\u0434\\u043a\\u0430'_'\\u043b\\u0430\\u0434\\u044c\\u044f']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'\\u043c\\u043e\\u0441\\u043a\\u0432\\u0430'_'\\u043c\\u043e\\u0441\\u043a\\u0432\\u0435']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'\\u0441\\u0442\\u0430\\u043a\\u0430\\u043d'_'\\u0441\\u0442\\u0430\\u043a\\u0430\\u043d\\u044c']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'a'_'ab']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'ab'_'abc']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'abc'_'abcd']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'abc'_'axc']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'abcd'_'abcde']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'abcde'_'abcdef']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'abcdefg'_'abcfedg']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'abcdefgh'_'abcdefgh']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'american'_'american']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'bookkeeper'_'bookkeeper']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'deer'_'dear']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'ice'_'rice']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'level'_'lever']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'magnificent'_'magnificent']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'moon'_'noon']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'move'_'moves']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'please'_'pleas']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'quartz'_'quartz']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'radar'_'race']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'rhythm'_'rhytm']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'skyline'_'skline']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'static'_'statices']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'sun'_'son']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'sunday'_'sun']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'tattarrattat'_'tatarrat']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'terminator'_'terminator']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'wrong'_'wringer']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'xx'_'xz']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'xy'_'yx']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'xyz'_'xyz']",
+ "eval.tests.test_iter5_cross_metric_identities.test_bag_distance_never_exceeds_levenshtein[bag_lev_'zibra'_'zebra']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'\\u0430\\u0440\\u0430\\u0445\\u0438\\u0441'_'\\u0430\\u0440\\u0430\\u0445\\u0438\\u0441\\u043e\\u0432']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'\\u043b\\u043e\\u0434\\u043a\\u0430'_'\\u043b\\u0430\\u0434\\u044c\\u044f']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'\\u043c\\u043e\\u0441\\u043a\\u0432\\u0430'_'\\u043c\\u043e\\u0441\\u043a\\u0432\\u0435']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'\\u043f\\u0438\\u0442\\u043e\\u043d'_'\\u043f\\u0438\\u0442\\u043e\\u043d\\u0433']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'\\u0441\\u0442\\u0430\\u043a\\u0430\\u043d'_'\\u0441\\u0442\\u0430\\u043a\\u0430\\u043d\\u044c']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'\\u30eb\\u30d3\\u30fc'_'\\u30eb\\u30d3\\u30fc\\u30ba']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'a'_'ab']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'aab'_'ab']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'ab'_'abc']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'abc'_'abcd']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'abc'_'axc']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'abcd'_'abcde']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'abcde'_'abcdef']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'abcdefgh'_'abcdefgh']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'american'_'american']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'bookkeeper'_'bookkeeper']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'caf\\xe9'_'cate']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'deer'_'dear']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'level'_'lever']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'magnificent'_'magnificent']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'moon'_'noon']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'move'_'moves']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'quartz'_'quartz']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'quick'_'quack']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'radar'_'race']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'rhythm'_'rhytm']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'static'_'statices']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'sun'_'son']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'sunday'_'sun']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'tattarrattat'_'tatarrat']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'wrong'_'wringer']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'xx'_'xz']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'xy'_'yx']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'xyz'_'xyz']",
+ "eval.tests.test_iter5_cross_metric_identities.test_hamming_at_least_scalar_count_difference[ham_len_'zibra'_'zebra']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'\\u0430\\u0440\\u0430\\u0445\\u0438\\u0441'_'\\u0430\\u0440\\u0430\\u0445\\u0438\\u0441\\u043e\\u0432']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'\\u043a\\u0430\\u0440\\u0430\\u043d\\u0434\\u0430\\u0448'_'\\u043a\\u0430\\u0440\\u0430\\u043d\\u0434\\u0448']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'\\u043b\\u043e\\u0434\\u043a\\u0430'_'\\u043b\\u0430\\u0434\\u044c\\u044f']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'\\u043c\\u043e\\u0441\\u043a\\u0432\\u0430'_'\\u043c\\u043e\\u0441\\u043a\\u0432\\u0435']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'\\u0441\\u0442\\u0430\\u043a\\u0430\\u043d'_'\\u0441\\u0442\\u0430\\u043a\\u0430\\u043d\\u044c']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'\\u5fae\\u7b11'_'\\u5fae\\u7b11\\u307f']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'abcdefg'_'abcfedg']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'alphabet'_'alphabet']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'bookkeeper'_'bookkeeper']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'cushion'_'cuision']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'dragonfly'_'dragonfl']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'entertainment'_'entertainement']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'flamingo'_'flaminggo']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'ice'_'rice']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'jupyter'_'jupiter']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'keyboard'_'keybord']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'library'_'librar']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'macaroni'_'macaroni']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'moon'_'noon']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'mortar'_'martar']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'notebook'_'note']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'pastry'_'pantry']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'pencil'_'pencil']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'pepper'_'pipper']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'photograph'_'photograph']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'please'_'pleas']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'quartz'_'quartz']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'rhythm'_'rhytm']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'schnell'_'schnel']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'skyline'_'skline']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'spaghetti'_'spagheti']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'sun'_'son']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'terminator'_'terminator']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'windows'_'windowless']",
+ "eval.tests.test_iter5_cross_metric_identities.test_overlap_sd_jaccard_sandwich[sand_'zibra'_'zebra']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'\\u043f\\u0438\\u0442\\u043e\\u043d'_'\\u043f\\u0438\\u0442\\u043e\\u043d\\u0433']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'\\u30eb\\u30d3\\u30fc'_'\\u30eb\\u30d3\\u30fc\\u30ba']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'a'_'ab']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'aab'_'ab']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'ab'_'abc']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'abc'_'abcd']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'abc'_'axc']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'abcd'_'abcde']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'abcde'_'abcdef']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'abcdef'_'abcfed']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'abcdefgh'_'abcdefgh']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'american'_'american']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'board'_'booard']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'book'_'books']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'caf\\xe9'_'cate']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'dixon'_'dickens']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'flaw'_'flawn']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'float'_'flote']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'gact'_'gcta']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'hello'_'helloo']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'kitten'_'setting']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'move'_'moves']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'north'_'nort']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'quick'_'quack']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'road'_'rode']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'saturday'_'saturnday']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'sitting'_'kittenish']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'spam'_'psam']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'static'_'statices']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'sunday'_'sun']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'teh'_'thhe']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'wrong'_'wringer']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'xx'_'xz']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'xy'_'yx']",
+ "eval.tests.test_iter5_cross_metric_identities.test_smith_waterman_never_exceeds_lcsseq[sw_lcs_'xyz'_'xyz']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'\\u0430\\u0440\\u0430\\u0445\\u0438\\u0441'_'\\u0430\\u0440\\u0430\\u0445\\u0438\\u0441\\u043e\\u0432']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'\\u043a\\u0430\\u0440\\u0430\\u043d\\u0434\\u0430\\u0448'_'\\u043a\\u0430\\u0440\\u0430\\u043d\\u0434\\u0448']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'\\u043b\\u043e\\u0434\\u043a\\u0430'_'\\u043b\\u0430\\u0434\\u044c\\u044f']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'\\u043c\\u043e\\u0441\\u043a\\u0432\\u0430'_'\\u043c\\u043e\\u0441\\u043a\\u0432\\u0435']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'\\u043f\\u0438\\u0442\\u043e\\u043d'_'\\u043f\\u0438\\u0442\\u043e\\u043d\\u0433']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'\\u0441\\u0442\\u0430\\u043a\\u0430\\u043d'_'\\u0441\\u0442\\u0430\\u043a\\u0430\\u043d\\u044c']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'\\u30eb\\u30d3\\u30fc'_'\\u30eb\\u30d3\\u30fc\\u30ba']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'\\u5fae\\u7b11'_'\\u5fae\\u7b11\\u307f']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'a'_'ab']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'aab'_'ab']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'ab'_'abc']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'abc'_'abcd']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'abc'_'axc']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'abcd'_'abcde']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'abcde'_'abcdef']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'abcdef'_'abcfed']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'abcdefg'_'abcfedg']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'abcdefgh'_'abcdefgh']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'alphabet'_'alphabet']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'american'_'american']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'biscuit'_'biscuts']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'board'_'booard']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'book'_'books']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'bookkeeper'_'bookkeeper']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'caf\\xe9'_'cate']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'chocolate'_'choclate']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'cushion'_'cuision']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'deer'_'dear']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'dixon'_'dickens']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'dragonfly'_'dragonfl']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'entertainment'_'entertainement']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'flamingo'_'flaminggo']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'flaw'_'flawn']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'float'_'flote']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'gact'_'gcta']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'hello'_'helloo']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'ice'_'rice']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'jupyter'_'jupiter']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'keyboard'_'keybord']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'kitten'_'setting']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'level'_'lever']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'library'_'librar']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'macaroni'_'macaroni']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'magnificent'_'magnificent']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'moon'_'noon']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'mortar'_'martar']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'move'_'moves']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'north'_'nort']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'notebook'_'note']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'pastry'_'pantry']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'pencil'_'pencil']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'pepper'_'pipper']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'photograph'_'photograph']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'please'_'pleas']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'quartz'_'quartz']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'quick'_'quack']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'radar'_'race']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'rhythm'_'rhytm']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'road'_'rode']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'saturday'_'saturnday']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'schnell'_'schnel']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'sitting'_'kittenish']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'skyline'_'skline']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'spaghetti'_'spagheti']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'spam'_'psam']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'static'_'statices']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'sun'_'son']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'sunday'_'sun']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'tattarrattat'_'tatarrat']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'teh'_'thhe']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'terminator'_'terminator']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'windows'_'windowless']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'wrong'_'wringer']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'xx'_'xz']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'xy'_'yx']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'xyz'_'xyz']",
+ "eval.tests.test_iter5_damerau_independent_dp.test_damerau_independent_edit_script[dm_'zibra'_'zebra']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_''_'']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'ATCG'_'TAGC']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'Alex'_'Alexander']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'Bram'_'Bramberley']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'Glavin'_'Glawyn']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'Lewis'_'Louis']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'Niall'_'Neil']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'Wild'_'Wildsmith']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'Williams'_'Vylliems']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'a'_'']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'ab'_'ba']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'abc'_'acbd']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'abc'_'xyz']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'aluminum'_'Romanian']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'cat'_'cat']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'cat'_'hat']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'dixon'_'dicksonx']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'karolin'_'kathrin']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'na\\xefve'_'naive']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'sitting'_'kitten']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'test'_'tset']",
+ "eval.tests.test_lig3_reference.test_lig3_exact_value[lig3_'x'_'x']",
+ "eval.tests.test_lig3_reference.test_lig3_identical_is_one",
+ "eval.tests.test_lig3_reference.test_lig3_no_overlap_is_zero",
+ "eval.tests.test_lig3_reference.test_lig3_one_substitution_palette",
+ "eval.tests.test_lig3_reference.test_lig3_result_bounded_and_symmetric",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'GACT'_'GCTA']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'Saturday'_'Sunday']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'abcdef'_'azced']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'barn'_'burn']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'board'_'broad']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'care'_'cars']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'catch'_'match']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'clap'_'clap']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'fame'_'game']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'float'_'flood']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'grate'_'great']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'green'_'greenish']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'hello'_'halo']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'mouse'_'moose']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'pale'_'male']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'pike'_'poke']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'return'_'retire']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'road'_'rod']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'shine'_'shine']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'shore'_'share']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'stack'_'stuck']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_prefix_independent_model[pre_'train'_'rain']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'GACT'_'GCTA']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'Saturday'_'Sunday']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'abcdef'_'azced']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'barn'_'burn']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'board'_'broad']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'care'_'cars']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'catch'_'match']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'clap'_'clap']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'fame'_'game']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'float'_'flood']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'grate'_'great']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'green'_'greenish']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'hello'_'halo']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'mouse'_'moose']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'pale'_'male']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'pike'_'poke']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'return'_'retire']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'road'_'rod']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'shine'_'shine']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'shore'_'share']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'stack'_'stuck']",
+ "eval.tests.test_prefix_suffix_deep_corpus.test_suffix_independent_model[suf_'train'_'rain']",
+ "eval.tests.test_result_behavior.test_chars_based_length_counts_unicode_scalars[len_0_'\\xe9'_'']",
+ "eval.tests.test_result_behavior.test_chars_based_length_counts_unicode_scalars[len_1_'\\u65e5\\u672c\\u8a9e'_'']",
+ "eval.tests.test_result_behavior.test_chars_based_length_counts_unicode_scalars[len_2_'\\U0001f600'_'']",
+ "eval.tests.test_result_behavior.test_chars_based_length_counts_unicode_scalars[len_3_'na\\xefve'_'']",
+ "eval.tests.test_result_behavior.test_chars_based_length_counts_unicode_scalars[len_4_'na\\u0308ive'_'naive']",
+ "eval.tests.test_result_behavior.test_chars_based_length_counts_unicode_scalars[len_5_'e\\u0301'_'e']",
+ "eval.tests.test_result_behavior.test_chars_based_length_counts_unicode_scalars[len_6_'\\u306e\\u306e'_'\\u306e']",
+ "eval.tests.test_result_behavior.test_chars_based_length_counts_unicode_scalars[len_7_'\\u65e5\\u672c\\u8a9e'_'\\u65e5\\u672c']",
+ "eval.tests.test_result_behavior.test_chars_based_length_counts_unicode_scalars[len_8_'\\U0001f600e'_'\\U0001f600']",
+ "eval.tests.test_result_behavior.test_chars_based_length_counts_unicode_scalars[len_9_'a\\u0301a'_'aa']",
+ "eval.tests.test_result_behavior.test_combining_mark_counts_as_separate_char",
+ "eval.tests.test_result_behavior.test_empty_self_comparison_ideal_for_f64",
+ "eval.tests.test_result_behavior.test_empty_self_comparison_zero_for_usize",
+ "eval.tests.test_result_behavior.test_empty_vs_single_char_boundary",
+ "eval.tests.test_result_behavior.test_f64_metrics_bounded_to_unit_interval",
+ "eval.tests.test_result_behavior.test_f64_metrics_symmetric_under_swap",
+ "eval.tests.test_result_behavior.test_identical_inputs_distance_is_zero_for_usize",
+ "eval.tests.test_result_behavior.test_identical_inputs_reach_ideal_value_for_f64",
+ "eval.tests.test_result_behavior.test_identical_unicode_zero_distance[\\U0001f600]",
+ "eval.tests.test_result_behavior.test_identical_unicode_zero_distance[\\u043f\\u0440\\u0438\\u0432\\u0435\\u0442]",
+ "eval.tests.test_result_behavior.test_identical_unicode_zero_distance[\\u65e5\\u672c\\u8a9e]",
+ "eval.tests.test_result_behavior.test_identical_unicode_zero_distance[na\\xefve]",
+ "eval.tests.test_result_behavior.test_usize_metrics_symmetric_under_swap",
+ "eval.tests.test_result_invariants.test_damerau_levenshtein_never_exceeds_plain_levenshtein[lev_'CA'_'ABC']",
+ "eval.tests.test_result_invariants.test_damerau_levenshtein_never_exceeds_plain_levenshtein[lev_'Theater'_'Theatre']",
+ "eval.tests.test_result_invariants.test_damerau_levenshtein_never_exceeds_plain_levenshtein[lev_'\\u043d\\u0430\\u0438\\u0432\\u043d\\u044b\\u0439'_'\\u043d\\u0435\\u0436\\u043d\\u044b\\u0439']",
+ "eval.tests.test_result_invariants.test_damerau_levenshtein_never_exceeds_plain_levenshtein[lev_'\\uac00\\ub098\\ub2e4'_'\\uac00\\ub098\\ub098\\ub2e4']",
+ "eval.tests.test_result_invariants.test_damerau_levenshtein_never_exceeds_plain_levenshtein[lev_'ab'_'ba']",
+ "eval.tests.test_result_invariants.test_damerau_levenshtein_never_exceeds_plain_levenshtein[lev_'abcd'_'bdca']",
+ "eval.tests.test_result_invariants.test_damerau_levenshtein_never_exceeds_plain_levenshtein[lev_'abcdef'_'fedcba']",
+ "eval.tests.test_result_invariants.test_damerau_levenshtein_never_exceeds_plain_levenshtein[lev_'hansi'_'hasni']",
+ "eval.tests.test_result_invariants.test_damerau_levenshtein_never_exceeds_plain_levenshtein[lev_'hello'_'world']",
+ "eval.tests.test_result_invariants.test_damerau_levenshtein_never_exceeds_plain_levenshtein[lev_'karolin'_'kathrin']",
+ "eval.tests.test_result_invariants.test_damerau_levenshtein_never_exceeds_plain_levenshtein[lev_'kitten'_'sitting']",
+ "eval.tests.test_result_invariants.test_damerau_levenshtein_never_exceeds_plain_levenshtein[lev_'ping'_'pong']",
+ "eval.tests.test_result_invariants.test_damerau_levenshtein_never_exceeds_plain_levenshtein[lev_'sitting'_'kitten']",
+ "eval.tests.test_result_invariants.test_damerau_levenshtein_never_exceeds_plain_levenshtein[lev_'test'_'tset']",
+ "eval.tests.test_result_invariants.test_identical_usize_metrics_all_zero",
+ "eval.tests.test_result_invariants.test_lcsseq_at_least_lcsstr[seq_'CA'_'ABC']",
+ "eval.tests.test_result_invariants.test_lcsseq_at_least_lcsstr[seq_'Theater'_'Theatre']",
+ "eval.tests.test_result_invariants.test_lcsseq_at_least_lcsstr[seq_'\\u043d\\u0430\\u0438\\u0432\\u043d\\u044b\\u0439'_'\\u043d\\u0435\\u0436\\u043d\\u044b\\u0439']",
+ "eval.tests.test_result_invariants.test_lcsseq_at_least_lcsstr[seq_'\\uac00\\ub098\\ub2e4'_'\\uac00\\ub098\\ub098\\ub2e4']",
+ "eval.tests.test_result_invariants.test_lcsseq_at_least_lcsstr[seq_'ab'_'ba']",
+ "eval.tests.test_result_invariants.test_lcsseq_at_least_lcsstr[seq_'abcd'_'bdca']",
+ "eval.tests.test_result_invariants.test_lcsseq_at_least_lcsstr[seq_'abcdef'_'fedcba']",
+ "eval.tests.test_result_invariants.test_lcsseq_at_least_lcsstr[seq_'hansi'_'hasni']",
+ "eval.tests.test_result_invariants.test_lcsseq_at_least_lcsstr[seq_'hello'_'world']",
+ "eval.tests.test_result_invariants.test_lcsseq_at_least_lcsstr[seq_'karolin'_'kathrin']",
+ "eval.tests.test_result_invariants.test_lcsseq_at_least_lcsstr[seq_'kitten'_'sitting']",
+ "eval.tests.test_result_invariants.test_lcsseq_at_least_lcsstr[seq_'ping'_'pong']",
+ "eval.tests.test_result_invariants.test_lcsseq_at_least_lcsstr[seq_'sitting'_'kitten']",
+ "eval.tests.test_result_invariants.test_lcsseq_at_least_lcsstr[seq_'test'_'tset']",
+ "eval.tests.test_result_invariants.test_length_metric_equals_scalar_count_difference[len_'CA'_'ABC']",
+ "eval.tests.test_result_invariants.test_length_metric_equals_scalar_count_difference[len_'Theater'_'Theatre']",
+ "eval.tests.test_result_invariants.test_length_metric_equals_scalar_count_difference[len_'\\u043d\\u0430\\u0438\\u0432\\u043d\\u044b\\u0439'_'\\u043d\\u0435\\u0436\\u043d\\u044b\\u0439']",
+ "eval.tests.test_result_invariants.test_length_metric_equals_scalar_count_difference[len_'\\uac00\\ub098\\ub2e4'_'\\uac00\\ub098\\ub098\\ub2e4']",
+ "eval.tests.test_result_invariants.test_length_metric_equals_scalar_count_difference[len_'ab'_'ba']",
+ "eval.tests.test_result_invariants.test_length_metric_equals_scalar_count_difference[len_'abcd'_'bdca']",
+ "eval.tests.test_result_invariants.test_length_metric_equals_scalar_count_difference[len_'abcdef'_'fedcba']",
+ "eval.tests.test_result_invariants.test_length_metric_equals_scalar_count_difference[len_'hansi'_'hasni']",
+ "eval.tests.test_result_invariants.test_length_metric_equals_scalar_count_difference[len_'hello'_'world']",
+ "eval.tests.test_result_invariants.test_length_metric_equals_scalar_count_difference[len_'karolin'_'kathrin']",
+ "eval.tests.test_result_invariants.test_length_metric_equals_scalar_count_difference[len_'kitten'_'sitting']",
+ "eval.tests.test_result_invariants.test_length_metric_equals_scalar_count_difference[len_'ping'_'pong']",
+ "eval.tests.test_result_invariants.test_length_metric_equals_scalar_count_difference[len_'sitting'_'kitten']",
+ "eval.tests.test_result_invariants.test_length_metric_equals_scalar_count_difference[len_'test'_'tset']",
+ "eval.tests.test_result_invariants.test_levenshtein_and_hamming_bound_edge",
+ "eval.tests.test_result_invariants.test_restricted_damerau_never_below_unrestricted[res_'CA'_'ABC']",
+ "eval.tests.test_result_invariants.test_restricted_damerau_never_below_unrestricted[res_'Theater'_'Theatre']",
+ "eval.tests.test_result_invariants.test_restricted_damerau_never_below_unrestricted[res_'\\u043d\\u0430\\u0438\\u0432\\u043d\\u044b\\u0439'_'\\u043d\\u0435\\u0436\\u043d\\u044b\\u0439']",
+ "eval.tests.test_result_invariants.test_restricted_damerau_never_below_unrestricted[res_'\\uac00\\ub098\\ub2e4'_'\\uac00\\ub098\\ub098\\ub2e4']",
+ "eval.tests.test_result_invariants.test_restricted_damerau_never_below_unrestricted[res_'ab'_'ba']",
+ "eval.tests.test_result_invariants.test_restricted_damerau_never_below_unrestricted[res_'abcd'_'bdca']",
+ "eval.tests.test_result_invariants.test_restricted_damerau_never_below_unrestricted[res_'abcdef'_'fedcba']",
+ "eval.tests.test_result_invariants.test_restricted_damerau_never_below_unrestricted[res_'hansi'_'hasni']",
+ "eval.tests.test_result_invariants.test_restricted_damerau_never_below_unrestricted[res_'hello'_'world']",
+ "eval.tests.test_result_invariants.test_restricted_damerau_never_below_unrestricted[res_'karolin'_'kathrin']",
+ "eval.tests.test_result_invariants.test_restricted_damerau_never_below_unrestricted[res_'kitten'_'sitting']",
+ "eval.tests.test_result_invariants.test_restricted_damerau_never_below_unrestricted[res_'ping'_'pong']",
+ "eval.tests.test_result_invariants.test_restricted_damerau_never_below_unrestricted[res_'sitting'_'kitten']",
+ "eval.tests.test_result_invariants.test_restricted_damerau_never_below_unrestricted[res_'test'_'tset']",
+ "eval.tests.test_result_invariants.test_sorensen_dice_related_to_jaccard[sdj_'CA'_'ABC']",
+ "eval.tests.test_result_invariants.test_sorensen_dice_related_to_jaccard[sdj_'Theater'_'Theatre']",
+ "eval.tests.test_result_invariants.test_sorensen_dice_related_to_jaccard[sdj_'\\u043d\\u0430\\u0438\\u0432\\u043d\\u044b\\u0439'_'\\u043d\\u0435\\u0436\\u043d\\u044b\\u0439']",
+ "eval.tests.test_result_invariants.test_sorensen_dice_related_to_jaccard[sdj_'\\uac00\\ub098\\ub2e4'_'\\uac00\\ub098\\ub098\\ub2e4']",
+ "eval.tests.test_result_invariants.test_sorensen_dice_related_to_jaccard[sdj_'ab'_'ba']",
+ "eval.tests.test_result_invariants.test_sorensen_dice_related_to_jaccard[sdj_'abcd'_'bdca']",
+ "eval.tests.test_result_invariants.test_sorensen_dice_related_to_jaccard[sdj_'abcdef'_'fedcba']",
+ "eval.tests.test_result_invariants.test_sorensen_dice_related_to_jaccard[sdj_'hansi'_'hasni']",
+ "eval.tests.test_result_invariants.test_sorensen_dice_related_to_jaccard[sdj_'hello'_'world']",
+ "eval.tests.test_result_invariants.test_sorensen_dice_related_to_jaccard[sdj_'karolin'_'kathrin']",
+ "eval.tests.test_result_invariants.test_sorensen_dice_related_to_jaccard[sdj_'kitten'_'sitting']",
+ "eval.tests.test_result_invariants.test_sorensen_dice_related_to_jaccard[sdj_'ping'_'pong']",
+ "eval.tests.test_result_invariants.test_sorensen_dice_related_to_jaccard[sdj_'sitting'_'kitten']",
+ "eval.tests.test_result_invariants.test_sorensen_dice_related_to_jaccard[sdj_'test'_'tset']",
+ "eval.tests.test_set_metric_reference.test_jaccard_matches_independent_model[sent_'MissiSSippi'_'mississippi']",
+ "eval.tests.test_set_metric_reference.test_jaccard_matches_independent_model[sent_'\\u0430'_'\\u0430']",
+ "eval.tests.test_set_metric_reference.test_jaccard_matches_independent_model[sent_'\\u0431\\u044c\\u0435\\u0442'_'\\u0431\\u044c\\u0451\\u0442']",
+ "eval.tests.test_set_metric_reference.test_jaccard_matches_independent_model[sent_'\\xe9\\xe0\\xef'_'eai']",
+ "eval.tests.test_set_metric_reference.test_jaccard_matches_independent_model[sent_'now is the time'_'the time is now']",
+ "eval.tests.test_set_metric_reference.test_jaccard_matches_independent_model[sent_'sphinx of black quartz'_'judge my vow']",
+ "eval.tests.test_set_metric_reference.test_jaccard_matches_independent_model[sent_'the quick brown fox jumps'_'the quick brown fox leaps']",
+ "eval.tests.test_set_metric_reference.test_jaccard_matches_independent_model[sent_'zz'_'buzz']",
+ "eval.tests.test_set_metric_reference.test_overlap_matches_independent_model[sent_'MissiSSippi'_'mississippi']",
+ "eval.tests.test_set_metric_reference.test_overlap_matches_independent_model[sent_'\\u0430'_'\\u0430']",
+ "eval.tests.test_set_metric_reference.test_overlap_matches_independent_model[sent_'\\u0431\\u044c\\u0435\\u0442'_'\\u0431\\u044c\\u0451\\u0442']",
+ "eval.tests.test_set_metric_reference.test_overlap_matches_independent_model[sent_'\\xe9\\xe0\\xef'_'eai']",
+ "eval.tests.test_set_metric_reference.test_overlap_matches_independent_model[sent_'now is the time'_'the time is now']",
+ "eval.tests.test_set_metric_reference.test_overlap_matches_independent_model[sent_'sphinx of black quartz'_'judge my vow']",
+ "eval.tests.test_set_metric_reference.test_overlap_matches_independent_model[sent_'the quick brown fox jumps'_'the quick brown fox leaps']",
+ "eval.tests.test_set_metric_reference.test_overlap_matches_independent_model[sent_'zz'_'buzz']",
+ "eval.tests.test_set_metric_reference.test_set_metric_empty_boundary_literals[empty_''_''_jaccard]",
+ "eval.tests.test_set_metric_reference.test_set_metric_empty_boundary_literals[empty_''_''_overlap]",
+ "eval.tests.test_set_metric_reference.test_set_metric_empty_boundary_literals[empty_''_''_sorensen_dice]",
+ "eval.tests.test_set_metric_reference.test_set_metric_empty_boundary_literals[empty_''_'abc'_jaccard]",
+ "eval.tests.test_set_metric_reference.test_set_metric_empty_boundary_literals[empty_''_'xyz'_overlap]",
+ "eval.tests.test_set_metric_reference.test_set_metric_empty_boundary_literals[empty_'abc'_''_sorensen_dice]",
+ "eval.tests.test_set_metric_reference.test_set_metric_reference_exact[set_'Caf\\xe9'_'caf\\xe9']",
+ "eval.tests.test_set_metric_reference.test_set_metric_reference_exact[set_'\\u0440rush'_'\\u0440\\u0443\\u0441\\u0441h']",
+ "eval.tests.test_set_metric_reference.test_set_metric_reference_exact[set_'\\u65e5\\u672c\\u8a9e'_'\\u65e5\\u672c']",
+ "eval.tests.test_set_metric_reference.test_set_metric_reference_exact[set_'aa'_'aaa']",
+ "eval.tests.test_set_metric_reference.test_set_metric_reference_exact[set_'aaab'_'bbba']",
+ "eval.tests.test_set_metric_reference.test_set_metric_reference_exact[set_'aab'_'abb']",
+ "eval.tests.test_set_metric_reference.test_set_metric_reference_exact[set_'ab'_'']",
+ "eval.tests.test_set_metric_reference.test_set_metric_reference_exact[set_'abcde'_'edcba']",
+ "eval.tests.test_set_metric_reference.test_set_metric_reference_exact[set_'caf\\xe9'_'cafe']",
+ "eval.tests.test_set_metric_reference.test_set_metric_reference_exact[set_'g\\xfcten'_'g\\xfaten']",
+ "eval.tests.test_set_metric_reference.test_set_metric_reference_exact[set_'hello'_'heLLo']",
+ "eval.tests.test_set_metric_reference.test_set_metric_reference_exact[set_'mississippi'_'misspi']",
+ "eval.tests.test_set_metric_reference.test_set_metric_reference_exact[set_'na\\xefve'_'naive']",
+ "eval.tests.test_set_metric_reference.test_set_metric_reference_exact[set_'pneumonoultramicroscopicsilicovolcanoconiosis'_'pneumonoultramicroscopicsilicovolcanoconio']",
+ "eval.tests.test_set_metric_reference.test_set_metric_reference_exact[set_'stressed'_'desserts']",
+ "eval.tests.test_set_metric_reference.test_sorensen_dice_matches_independent_model[sent_'MissiSSippi'_'mississippi']",
+ "eval.tests.test_set_metric_reference.test_sorensen_dice_matches_independent_model[sent_'\\u0430'_'\\u0430']",
+ "eval.tests.test_set_metric_reference.test_sorensen_dice_matches_independent_model[sent_'\\u0431\\u044c\\u0435\\u0442'_'\\u0431\\u044c\\u0451\\u0442']",
+ "eval.tests.test_set_metric_reference.test_sorensen_dice_matches_independent_model[sent_'\\xe9\\xe0\\xef'_'eai']",
+ "eval.tests.test_set_metric_reference.test_sorensen_dice_matches_independent_model[sent_'now is the time'_'the time is now']",
+ "eval.tests.test_set_metric_reference.test_sorensen_dice_matches_independent_model[sent_'sphinx of black quartz'_'judge my vow']",
+ "eval.tests.test_set_metric_reference.test_sorensen_dice_matches_independent_model[sent_'the quick brown fox jumps'_'the quick brown fox leaps']",
+ "eval.tests.test_set_metric_reference.test_sorensen_dice_matches_independent_model[sent_'zz'_'buzz']",
+ "eval.tests.test_set_models_deep_corpus.test_jaccard_independent_model[jac_'GACT'_'GCTA']",
+ "eval.tests.test_set_models_deep_corpus.test_jaccard_independent_model[jac_'Saturday'_'Sunday']",
+ "eval.tests.test_set_models_deep_corpus.test_jaccard_independent_model[jac_'abcdef'_'azced']",
+ "eval.tests.test_set_models_deep_corpus.test_jaccard_independent_model[jac_'board'_'broad']",
+ "eval.tests.test_set_models_deep_corpus.test_jaccard_independent_model[jac_'care'_'cars']",
+ "eval.tests.test_set_models_deep_corpus.test_jaccard_independent_model[jac_'catch'_'match']",
+ "eval.tests.test_set_models_deep_corpus.test_jaccard_independent_model[jac_'clap'_'clap']",
+ "eval.tests.test_set_models_deep_corpus.test_jaccard_independent_model[jac_'float'_'flood']",
+ "eval.tests.test_set_models_deep_corpus.test_jaccard_independent_model[jac_'grate'_'great']",
+ "eval.tests.test_set_models_deep_corpus.test_jaccard_independent_model[jac_'green'_'greenish']",
+ "eval.tests.test_set_models_deep_corpus.test_jaccard_independent_model[jac_'hello'_'halo']",
+ "eval.tests.test_set_models_deep_corpus.test_jaccard_independent_model[jac_'mouse'_'moose']",
+ "eval.tests.test_set_models_deep_corpus.test_jaccard_independent_model[jac_'pale'_'male']",
+ "eval.tests.test_set_models_deep_corpus.test_jaccard_independent_model[jac_'pike'_'poke']",
+ "eval.tests.test_set_models_deep_corpus.test_jaccard_independent_model[jac_'return'_'retire']",
+ "eval.tests.test_set_models_deep_corpus.test_jaccard_independent_model[jac_'road'_'rod']",
+ "eval.tests.test_set_models_deep_corpus.test_jaccard_independent_model[jac_'shine'_'shine']",
+ "eval.tests.test_set_models_deep_corpus.test_jaccard_independent_model[jac_'shore'_'share']",
+ "eval.tests.test_set_models_deep_corpus.test_jaccard_independent_model[jac_'stack'_'stuck']",
+ "eval.tests.test_set_models_deep_corpus.test_jaccard_independent_model[jac_'train'_'rain']",
+ "eval.tests.test_set_models_deep_corpus.test_overlap_independent_model[ovl_'GACT'_'GCTA']",
+ "eval.tests.test_set_models_deep_corpus.test_overlap_independent_model[ovl_'Saturday'_'Sunday']",
+ "eval.tests.test_set_models_deep_corpus.test_overlap_independent_model[ovl_'abcdef'_'azced']",
+ "eval.tests.test_set_models_deep_corpus.test_overlap_independent_model[ovl_'board'_'broad']",
+ "eval.tests.test_set_models_deep_corpus.test_overlap_independent_model[ovl_'care'_'cars']",
+ "eval.tests.test_set_models_deep_corpus.test_overlap_independent_model[ovl_'catch'_'match']",
+ "eval.tests.test_set_models_deep_corpus.test_overlap_independent_model[ovl_'clap'_'clap']",
+ "eval.tests.test_set_models_deep_corpus.test_overlap_independent_model[ovl_'float'_'flood']",
+ "eval.tests.test_set_models_deep_corpus.test_overlap_independent_model[ovl_'grate'_'great']",
+ "eval.tests.test_set_models_deep_corpus.test_overlap_independent_model[ovl_'green'_'greenish']",
+ "eval.tests.test_set_models_deep_corpus.test_overlap_independent_model[ovl_'hello'_'halo']",
+ "eval.tests.test_set_models_deep_corpus.test_overlap_independent_model[ovl_'mouse'_'moose']",
+ "eval.tests.test_set_models_deep_corpus.test_overlap_independent_model[ovl_'pale'_'male']",
+ "eval.tests.test_set_models_deep_corpus.test_overlap_independent_model[ovl_'pike'_'poke']",
+ "eval.tests.test_set_models_deep_corpus.test_overlap_independent_model[ovl_'return'_'retire']",
+ "eval.tests.test_set_models_deep_corpus.test_overlap_independent_model[ovl_'road'_'rod']",
+ "eval.tests.test_set_models_deep_corpus.test_overlap_independent_model[ovl_'shine'_'shine']",
+ "eval.tests.test_set_models_deep_corpus.test_overlap_independent_model[ovl_'shore'_'share']",
+ "eval.tests.test_set_models_deep_corpus.test_overlap_independent_model[ovl_'stack'_'stuck']",
+ "eval.tests.test_set_models_deep_corpus.test_overlap_independent_model[ovl_'train'_'rain']",
+ "eval.tests.test_set_models_deep_corpus.test_sorensen_dice_independent_model[sd_'GACT'_'GCTA']",
+ "eval.tests.test_set_models_deep_corpus.test_sorensen_dice_independent_model[sd_'Saturday'_'Sunday']",
+ "eval.tests.test_set_models_deep_corpus.test_sorensen_dice_independent_model[sd_'abcdef'_'azced']",
+ "eval.tests.test_set_models_deep_corpus.test_sorensen_dice_independent_model[sd_'board'_'broad']",
+ "eval.tests.test_set_models_deep_corpus.test_sorensen_dice_independent_model[sd_'care'_'cars']",
+ "eval.tests.test_set_models_deep_corpus.test_sorensen_dice_independent_model[sd_'catch'_'match']",
+ "eval.tests.test_set_models_deep_corpus.test_sorensen_dice_independent_model[sd_'clap'_'clap']",
+ "eval.tests.test_set_models_deep_corpus.test_sorensen_dice_independent_model[sd_'float'_'flood']",
+ "eval.tests.test_set_models_deep_corpus.test_sorensen_dice_independent_model[sd_'grate'_'great']",
+ "eval.tests.test_set_models_deep_corpus.test_sorensen_dice_independent_model[sd_'green'_'greenish']",
+ "eval.tests.test_set_models_deep_corpus.test_sorensen_dice_independent_model[sd_'hello'_'halo']",
+ "eval.tests.test_set_models_deep_corpus.test_sorensen_dice_independent_model[sd_'mouse'_'moose']",
+ "eval.tests.test_set_models_deep_corpus.test_sorensen_dice_independent_model[sd_'pale'_'male']",
+ "eval.tests.test_set_models_deep_corpus.test_sorensen_dice_independent_model[sd_'pike'_'poke']",
+ "eval.tests.test_set_models_deep_corpus.test_sorensen_dice_independent_model[sd_'return'_'retire']",
+ "eval.tests.test_set_models_deep_corpus.test_sorensen_dice_independent_model[sd_'road'_'rod']",
+ "eval.tests.test_set_models_deep_corpus.test_sorensen_dice_independent_model[sd_'shine'_'shine']",
+ "eval.tests.test_set_models_deep_corpus.test_sorensen_dice_independent_model[sd_'shore'_'share']",
+ "eval.tests.test_set_models_deep_corpus.test_sorensen_dice_independent_model[sd_'stack'_'stuck']",
+ "eval.tests.test_set_models_deep_corpus.test_sorensen_dice_independent_model[sd_'train'_'rain']",
+ "eval.tests.test_val_f64_reference.test_cosine_nval[''_'']",
+ "eval.tests.test_val_f64_reference.test_cosine_nval['abc'_'acbd']",
+ "eval.tests.test_val_f64_reference.test_cosine_nval['nelson'_'']",
+ "eval.tests.test_val_f64_reference.test_cosine_nval['nelson'_'neilsen']",
+ "eval.tests.test_val_f64_reference.test_cosine_nval['test'_'text']",
+ "eval.tests.test_val_f64_reference.test_default_tversky_equals_jaccard[abc-acbd]",
+ "eval.tests.test_val_f64_reference.test_default_tversky_equals_jaccard[nelson-neilsen]",
+ "eval.tests.test_val_f64_reference.test_default_tversky_equals_jaccard[sitting-kitten]",
+ "eval.tests.test_val_f64_reference.test_default_tversky_equals_jaccard[test-text]",
+ "eval.tests.test_val_f64_reference.test_default_tversky_equals_jaccard[the quick brown fox-the quick brown dog]",
+ "eval.tests.test_val_f64_reference.test_jaccard_nval[''_'']",
+ "eval.tests.test_val_f64_reference.test_jaccard_nval['abc'_'abc']",
+ "eval.tests.test_val_f64_reference.test_jaccard_nval['abc'_'acbd']",
+ "eval.tests.test_val_f64_reference.test_jaccard_nval['nelson'_'']",
+ "eval.tests.test_val_f64_reference.test_jaccard_nval['test'_'text']",
+ "eval.tests.test_val_f64_reference.test_jaro_nval[''_'']",
+ "eval.tests.test_val_f64_reference.test_jaro_nval[''_'abc']",
+ "eval.tests.test_val_f64_reference.test_jaro_nval['a'_'a']",
+ "eval.tests.test_val_f64_reference.test_jaro_nval['a'_'b']",
+ "eval.tests.test_val_f64_reference.test_jaro_nval['abc'_'']",
+ "eval.tests.test_val_f64_reference.test_jaro_nval['abc'_'acbd']",
+ "eval.tests.test_val_f64_reference.test_jaro_nval['test'_'tset']",
+ "eval.tests.test_val_f64_reference.test_jaro_winkler_nval[''_'']",
+ "eval.tests.test_val_f64_reference.test_jaro_winkler_nval[''_'foo']",
+ "eval.tests.test_val_f64_reference.test_jaro_winkler_nval['a'_'a']",
+ "eval.tests.test_val_f64_reference.test_jaro_winkler_nval['abc'_'xyz']",
+ "eval.tests.test_val_f64_reference.test_jaro_winkler_nval['dwayne'_'duane']",
+ "eval.tests.test_val_f64_reference.test_jaro_winkler_nval['martha'_'marhta']",
+ "eval.tests.test_val_f64_reference.test_jaro_winkler_nval['test'_'tset']",
+ "eval.tests.test_val_f64_reference.test_lig3_nval[''_'']",
+ "eval.tests.test_val_f64_reference.test_lig3_nval['ATCG'_'TAGC']",
+ "eval.tests.test_val_f64_reference.test_lig3_nval['abc'_'acbd']",
+ "eval.tests.test_val_f64_reference.test_lig3_nval['aluminum'_'Catalan']",
+ "eval.tests.test_val_f64_reference.test_lig3_nval['cat'_'hat']",
+ "eval.tests.test_val_f64_reference.test_overlap_nval[''_'']",
+ "eval.tests.test_val_f64_reference.test_overlap_nval['abc'_'acbd']",
+ "eval.tests.test_val_f64_reference.test_overlap_nval['nelson'_'']",
+ "eval.tests.test_val_f64_reference.test_overlap_nval['nelson'_'neilsen']",
+ "eval.tests.test_val_f64_reference.test_overlap_nval['test'_'text']",
+ "eval.tests.test_val_f64_reference.test_sorensen_dice_nval[''_'']",
+ "eval.tests.test_val_f64_reference.test_sorensen_dice_nval['healed'_'sealed']",
+ "eval.tests.test_val_f64_reference.test_sorensen_dice_nval['nelson'_'']",
+ "eval.tests.test_val_f64_reference.test_sorensen_dice_nval['sitting'_'kitten']",
+ "eval.tests.test_val_f64_reference.test_sorensen_dice_nval['test'_'text']",
+ "eval.tests.test_val_f64_reference.test_tversky_nval[''_'']",
+ "eval.tests.test_val_f64_reference.test_tversky_nval['nelson'_'']",
+ "eval.tests.test_val_f64_reference.test_tversky_nval['spam'_'qwer']",
+ "eval.tests.test_val_f64_reference.test_tversky_nval['test'_'text']",
+ "eval.tests.test_val_f64_reference.test_yujian_bo_nval[''_'']",
+ "eval.tests.test_val_f64_reference.test_yujian_bo_nval['ATCG'_'TAGC']",
+ "eval.tests.test_val_f64_reference.test_yujian_bo_nval['a'_'']",
+ "eval.tests.test_val_f64_reference.test_yujian_bo_nval['bc'_'bc']",
+ "eval.tests.test_val_f64_reference.test_yujian_bo_nval['cat'_'hat']",
+ "eval.tests.test_val_golden_constants.test_damerau_levenshtein_val[''_'']",
+ "eval.tests.test_val_golden_constants.test_damerau_levenshtein_val['ab'_'ba']",
+ "eval.tests.test_val_golden_constants.test_damerau_levenshtein_val['ab'_'cde']",
+ "eval.tests.test_val_golden_constants.test_damerau_levenshtein_val['hannah'_'hannha']",
+ "eval.tests.test_val_golden_constants.test_damerau_levenshtein_val['sitting'_'kitten']",
+ "eval.tests.test_val_golden_constants.test_damerau_levenshtein_val['spam'_'qwer']",
+ "eval.tests.test_val_golden_constants.test_damerau_levenshtein_val['test'_'text']",
+ "eval.tests.test_val_golden_constants.test_damerau_levenshtein_val['test'_'tset']",
+ "eval.tests.test_val_golden_constants.test_damerau_restricted_vs_unrestricted['CA'_'ABC']",
+ "eval.tests.test_val_golden_constants.test_damerau_restricted_vs_unrestricted['ab'_'bca']",
+ "eval.tests.test_val_golden_constants.test_damerau_restricted_vs_unrestricted['abcd'_'bdac']",
+ "eval.tests.test_val_golden_constants.test_damerau_restricted_vs_unrestricted['hansi'_'hasni']",
+ "eval.tests.test_val_golden_constants.test_entropy_ncd_nval[''_'']",
+ "eval.tests.test_val_golden_constants.test_entropy_ncd_nval['abc'_'acbd']",
+ "eval.tests.test_val_golden_constants.test_entropy_ncd_nval['hello'_'world']",
+ "eval.tests.test_val_golden_constants.test_entropy_ncd_nval['spam'_'qwer']",
+ "eval.tests.test_val_golden_constants.test_entropy_ncd_nval['test'_'tset']",
+ "eval.tests.test_val_golden_constants.test_ratcliff_obershelp_nval[''_'']",
+ "eval.tests.test_val_golden_constants.test_ratcliff_obershelp_nval['abc'_'']",
+ "eval.tests.test_val_golden_constants.test_ratcliff_obershelp_nval['abc'_'acbd']",
+ "eval.tests.test_val_golden_constants.test_ratcliff_obershelp_nval['hello'_'world']",
+ "eval.tests.test_val_golden_constants.test_ratcliff_obershelp_nval['sitting'_'kitten']",
+ "eval.tests.test_val_golden_constants.test_ratcliff_obershelp_nval['test'_'tset']",
+ "eval.tests.test_val_golden_constants.test_roberts_nval[''_'']",
+ "eval.tests.test_val_golden_constants.test_roberts_nval['abc'_'acbd']",
+ "eval.tests.test_val_golden_constants.test_roberts_nval['hello'_'world']",
+ "eval.tests.test_val_golden_constants.test_roberts_nval['sitting'_'kitten']",
+ "eval.tests.test_val_golden_constants.test_roberts_nval['test'_'tset']",
+ "eval.tests.test_val_golden_constants.test_sift4_common_val[''_'']",
+ "eval.tests.test_val_golden_constants.test_sift4_common_val['abc'_'acbd']",
+ "eval.tests.test_val_golden_constants.test_sift4_common_val['hello'_'world']",
+ "eval.tests.test_val_golden_constants.test_sift4_common_val['sitting'_'kitten']",
+ "eval.tests.test_val_golden_constants.test_sift4_common_val['spam'_'qwer']",
+ "eval.tests.test_val_golden_constants.test_sift4_common_val['test'_'tset']",
+ "eval.tests.test_val_golden_constants.test_sift4_simple_val[''_'']",
+ "eval.tests.test_val_golden_constants.test_sift4_simple_val['Los Angeles'_'Angeles']",
+ "eval.tests.test_val_golden_constants.test_sift4_simple_val['a'_'b']",
+ "eval.tests.test_val_golden_constants.test_sift4_simple_val['abc'_'acbd']",
+ "eval.tests.test_val_golden_constants.test_sift4_simple_val['sitting'_'kitten']",
+ "eval.tests.test_val_golden_constants.test_sift4_simple_val['test'_'tset']",
+ "eval.tests.test_val_usize_reference.test_bag_val['aluminum'_'Catalan']",
+ "eval.tests.test_val_usize_reference.test_bag_val['cat'_'hat']",
+ "eval.tests.test_val_usize_reference.test_bag_val['qwe'_'erty']",
+ "eval.tests.test_val_usize_reference.test_bag_val['sitting'_'kitten']",
+ "eval.tests.test_val_usize_reference.test_hamming_val[''_'abc']",
+ "eval.tests.test_val_usize_reference.test_hamming_val['abcdefg'_'hijklmn']",
+ "eval.tests.test_val_usize_reference.test_hamming_val['karolin'_'kathrin']",
+ "eval.tests.test_val_usize_reference.test_hamming_val['sitting'_'kitten']",
+ "eval.tests.test_val_usize_reference.test_lcsseq_val[''_'abcd']",
+ "eval.tests.test_val_usize_reference.test_lcsseq_val['abc'_'acbd']",
+ "eval.tests.test_val_usize_reference.test_lcsseq_val['abcd'_'abcd']",
+ "eval.tests.test_val_usize_reference.test_lcsseq_val['aggtab'_'gxtxayb']",
+ "eval.tests.test_val_usize_reference.test_lcsstr_val[''_'a']",
+ "eval.tests.test_val_usize_reference.test_lcsstr_val['GeeksforGeeks'_'GeeksQuiz']",
+ "eval.tests.test_val_usize_reference.test_lcsstr_val['a'_'a']",
+ "eval.tests.test_val_usize_reference.test_lcsstr_val['sitting'_'kitten']",
+ "eval.tests.test_val_usize_reference.test_length_val[''_'a']",
+ "eval.tests.test_val_usize_reference.test_length_val['a'_'a']",
+ "eval.tests.test_val_usize_reference.test_length_val['ab'_'cdefg']",
+ "eval.tests.test_val_usize_reference.test_length_val['sitting'_'kitten']",
+ "eval.tests.test_val_usize_reference.test_levenshtein_val[''_'abc']",
+ "eval.tests.test_val_usize_reference.test_levenshtein_val['distance'_'difference']",
+ "eval.tests.test_val_usize_reference.test_levenshtein_val['sitting'_'kitten']",
+ "eval.tests.test_val_usize_reference.test_levenshtein_val['test'_'tset']",
+ "eval.tests.test_val_usize_reference.test_mlipns_val['Niall'_'Neil']",
+ "eval.tests.test_val_usize_reference.test_mlipns_val['abc'_'acbd']",
+ "eval.tests.test_val_usize_reference.test_mlipns_val['cat'_'hat']",
+ "eval.tests.test_val_usize_reference.test_mlipns_val['hello'_'hello']",
+ "eval.tests.test_val_usize_reference.test_prefix_val[''_'a']",
+ "eval.tests.test_val_usize_reference.test_prefix_val['a'_'a']",
+ "eval.tests.test_val_usize_reference.test_prefix_val['abcd'_'bcd']",
+ "eval.tests.test_val_usize_reference.test_prefix_val['abcde'_'abcef']",
+ "eval.tests.test_val_usize_reference.test_smith_waterman_val['ATCG'_'TAGC']",
+ "eval.tests.test_val_usize_reference.test_smith_waterman_val['Niall'_'Neil']",
+ "eval.tests.test_val_usize_reference.test_smith_waterman_val['abcd'_'abce']",
+ "eval.tests.test_val_usize_reference.test_smith_waterman_val['hello'_'world']",
+ "eval.tests.test_val_usize_reference.test_suffix_val['a'_'b']",
+ "eval.tests.test_val_usize_reference.test_suffix_val['abcd'_'fabcd']",
+ "eval.tests.test_val_usize_reference.test_suffix_val['abcde'_'abfcde']",
+ "eval.tests.test_val_usize_reference.test_suffix_val['flower'_'tower']"
+ ]
+ },
+ "generated_module_03": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_cli_contract.test_algorithm_name_case_insensitive_mixed",
+ "eval.tests.test_cli_contract.test_algorithm_name_case_insensitive_upper",
+ "eval.tests.test_cli_contract.test_each_algorithm_dispatches[damerau_levenshtein]",
+ "eval.tests.test_cli_contract.test_each_algorithm_dispatches[damerau_levenshtein_restricted]",
+ "eval.tests.test_cli_contract.test_each_algorithm_dispatches[hamming]",
+ "eval.tests.test_cli_contract.test_each_algorithm_dispatches[lcsseq]",
+ "eval.tests.test_cli_contract.test_each_algorithm_dispatches[lcsstr]",
+ "eval.tests.test_cli_contract.test_each_algorithm_dispatches[length]",
+ "eval.tests.test_cli_contract.test_each_algorithm_dispatches[levenshtein]",
+ "eval.tests.test_cli_contract.test_each_algorithm_dispatches[lig3]",
+ "eval.tests.test_cli_contract.test_each_algorithm_dispatches[mlipns]",
+ "eval.tests.test_cli_contract.test_each_algorithm_dispatches[prefix]",
+ "eval.tests.test_cli_contract.test_each_algorithm_dispatches[ratcliff_obershelp]",
+ "eval.tests.test_cli_contract.test_each_algorithm_dispatches[sift4_common]",
+ "eval.tests.test_cli_contract.test_each_algorithm_dispatches[sift4_simple]",
+ "eval.tests.test_cli_contract.test_each_algorithm_dispatches[smith_waterman]",
+ "eval.tests.test_cli_contract.test_each_algorithm_dispatches[suffix]",
+ "eval.tests.test_cli_contract.test_each_algorithm_dispatches[yujian_bo]",
+ "eval.tests.test_cli_contract.test_empty_string_algorithm_name_panics",
+ "eval.tests.test_cli_contract.test_extra_arguments_ignored",
+ "eval.tests.test_cli_contract.test_no_arguments_panics",
+ "eval.tests.test_cli_contract.test_partial_arguments_panic",
+ "eval.tests.test_cli_contract.test_success_outputs_single_float_line",
+ "eval.tests.test_cli_contract.test_two_arguments_panic",
+ "eval.tests.test_cli_contract.test_unicode_chars_count_as_single_units",
+ "eval.tests.test_cli_contract.test_unknown_algorithm_panics",
+ "eval.tests.test_cli_contract.test_whitespace_preserved_in_strings",
+ "eval.tests.test_damerau_deep.test_damerau_crossing_order_unrestricted_cheaper[abcd-bdac-3-4]",
+ "eval.tests.test_damerau_deep.test_damerau_crossing_order_unrestricted_cheaper[abcdef-abdfce-3-4]",
+ "eval.tests.test_damerau_deep.test_damerau_extra_known[abc-acbc-1]",
+ "eval.tests.test_damerau_deep.test_damerau_extra_known[abc-cba-2]",
+ "eval.tests.test_damerau_deep.test_damerau_extra_known[abcde-abced-1]",
+ "eval.tests.test_damerau_deep.test_damerau_extra_known[hello-hlleo-2]",
+ "eval.tests.test_damerau_deep.test_damerau_extra_known[race-car-3]",
+ "eval.tests.test_damerau_deep.test_damerau_extra_known[xyz-xzy-1]",
+ "eval.tests.test_damerau_deep.test_damerau_never_exceeds_levenshtein",
+ "eval.tests.test_damerau_deep.test_damerau_transposition_costs_one[abcde-abced]",
+ "eval.tests.test_damerau_deep.test_damerau_transposition_costs_one[xyz-xzy]",
+ "eval.tests.test_damerau_deep.test_restricted_extra_known[ACTGAC-ACGAC-1]",
+ "eval.tests.test_damerau_deep.test_restricted_extra_known[CA-abc-3]",
+ "eval.tests.test_damerau_deep.test_restricted_extra_known[Saturday-Sunday-3]",
+ "eval.tests.test_damerau_deep.test_restricted_extra_known[kitten-kitten-0]",
+ "eval.tests.test_damerau_levenshtein.test_damerau_differs_from_levenshtein_on_transposition",
+ "eval.tests.test_damerau_levenshtein.test_damerau_identical_is_zero[]",
+ "eval.tests.test_damerau_levenshtein.test_damerau_identical_is_zero[a]",
+ "eval.tests.test_damerau_levenshtein.test_damerau_identical_is_zero[hello]",
+ "eval.tests.test_damerau_levenshtein.test_damerau_known[--0]",
+ "eval.tests.test_damerau_levenshtein.test_damerau_known[-abc-3]",
+ "eval.tests.test_damerau_levenshtein.test_damerau_known[Niall-Neil-3]",
+ "eval.tests.test_damerau_levenshtein.test_damerau_known[ab-ba-1]",
+ "eval.tests.test_damerau_levenshtein.test_damerau_known[abc--3]",
+ "eval.tests.test_damerau_levenshtein.test_damerau_known[cat-hat-1]",
+ "eval.tests.test_damerau_levenshtein.test_damerau_known[hannah-hannha-1]",
+ "eval.tests.test_damerau_levenshtein.test_damerau_known[hansi-hasni-1]",
+ "eval.tests.test_damerau_levenshtein.test_damerau_known[test-text-1]",
+ "eval.tests.test_damerau_levenshtein.test_damerau_transposition_costs_one[ab-ba]",
+ "eval.tests.test_damerau_levenshtein.test_damerau_transposition_costs_one[test-tset]",
+ "eval.tests.test_damerau_levenshtein.test_restricted_ab_bca",
+ "eval.tests.test_damerau_levenshtein.test_restricted_is_costlier_for_cross_order",
+ "eval.tests.test_damerau_levenshtein.test_restricted_known[-abc-3]",
+ "eval.tests.test_damerau_levenshtein.test_restricted_known[ATCG-TAGC-2]",
+ "eval.tests.test_damerau_levenshtein.test_restricted_known[hannah-hannha-1]",
+ "eval.tests.test_damerau_levenshtein.test_restricted_known[test-tset-1]",
+ "eval.tests.test_damerau_levenshtein.test_unrestricted_ab_bca",
+ "eval.tests.test_derived_semantics.test_hamming_matches_perposition_definition[AGCGTSADT-TGTAGC]",
+ "eval.tests.test_derived_semantics.test_hamming_matches_perposition_definition[ATGCGTA-GCTA]",
+ "eval.tests.test_derived_semantics.test_hamming_matches_perposition_definition[abcdefghij-abcdeg]",
+ "eval.tests.test_derived_semantics.test_hamming_matches_perposition_definition[algorithm-logarithm]",
+ "eval.tests.test_derived_semantics.test_hamming_matches_perposition_definition[backgammon-backgamm]",
+ "eval.tests.test_derived_semantics.test_hamming_matches_perposition_definition[book-back]",
+ "eval.tests.test_derived_semantics.test_hamming_matches_perposition_definition[computer-commuter]",
+ "eval.tests.test_derived_semantics.test_hamming_matches_perposition_definition[example-samples]",
+ "eval.tests.test_derived_semantics.test_hamming_matches_perposition_definition[flour-flower]",
+ "eval.tests.test_derived_semantics.test_hamming_matches_perposition_definition[intention-execution]",
+ "eval.tests.test_derived_semantics.test_hamming_matches_perposition_definition[kitten-sitting]",
+ "eval.tests.test_derived_semantics.test_hamming_matches_perposition_definition[naive-naive]",
+ "eval.tests.test_derived_semantics.test_hamming_matches_perposition_definition[physical-psyche]",
+ "eval.tests.test_derived_semantics.test_hamming_matches_perposition_definition[republican-democrat]",
+ "eval.tests.test_derived_semantics.test_hamming_matches_perposition_definition[sunday-saturday]",
+ "eval.tests.test_derived_semantics.test_lcsseq_matches_dp_reference[AGCGTSADT-TGTAGC]",
+ "eval.tests.test_derived_semantics.test_lcsseq_matches_dp_reference[ATGCGTA-GCTA]",
+ "eval.tests.test_derived_semantics.test_lcsseq_matches_dp_reference[abcdefghij-abcdeg]",
+ "eval.tests.test_derived_semantics.test_lcsseq_matches_dp_reference[algorithm-logarithm]",
+ "eval.tests.test_derived_semantics.test_lcsseq_matches_dp_reference[backgammon-backgamm]",
+ "eval.tests.test_derived_semantics.test_lcsseq_matches_dp_reference[book-back]",
+ "eval.tests.test_derived_semantics.test_lcsseq_matches_dp_reference[computer-commuter]",
+ "eval.tests.test_derived_semantics.test_lcsseq_matches_dp_reference[example-samples]",
+ "eval.tests.test_derived_semantics.test_lcsseq_matches_dp_reference[flour-flower]",
+ "eval.tests.test_derived_semantics.test_lcsseq_matches_dp_reference[intention-execution]",
+ "eval.tests.test_derived_semantics.test_lcsseq_matches_dp_reference[kitten-sitting]",
+ "eval.tests.test_derived_semantics.test_lcsseq_matches_dp_reference[naive-naive]",
+ "eval.tests.test_derived_semantics.test_lcsseq_matches_dp_reference[physical-psyche]",
+ "eval.tests.test_derived_semantics.test_lcsseq_matches_dp_reference[republican-democrat]",
+ "eval.tests.test_derived_semantics.test_lcsseq_matches_dp_reference[sunday-saturday]",
+ "eval.tests.test_derived_semantics.test_lcsstr_matches_dp_reference[AGCGTSADT-TGTAGC]",
+ "eval.tests.test_derived_semantics.test_lcsstr_matches_dp_reference[ATGCGTA-GCTA]",
+ "eval.tests.test_derived_semantics.test_lcsstr_matches_dp_reference[abcdefghij-abcdeg]",
+ "eval.tests.test_derived_semantics.test_lcsstr_matches_dp_reference[algorithm-logarithm]",
+ "eval.tests.test_derived_semantics.test_lcsstr_matches_dp_reference[backgammon-backgamm]",
+ "eval.tests.test_derived_semantics.test_lcsstr_matches_dp_reference[book-back]",
+ "eval.tests.test_derived_semantics.test_lcsstr_matches_dp_reference[computer-commuter]",
+ "eval.tests.test_derived_semantics.test_lcsstr_matches_dp_reference[example-samples]",
+ "eval.tests.test_derived_semantics.test_lcsstr_matches_dp_reference[flour-flower]",
+ "eval.tests.test_derived_semantics.test_lcsstr_matches_dp_reference[intention-execution]",
+ "eval.tests.test_derived_semantics.test_lcsstr_matches_dp_reference[kitten-sitting]",
+ "eval.tests.test_derived_semantics.test_lcsstr_matches_dp_reference[naive-naive]",
+ "eval.tests.test_derived_semantics.test_lcsstr_matches_dp_reference[physical-psyche]",
+ "eval.tests.test_derived_semantics.test_lcsstr_matches_dp_reference[republican-democrat]",
+ "eval.tests.test_derived_semantics.test_lcsstr_matches_dp_reference[sunday-saturday]",
+ "eval.tests.test_derived_semantics.test_length_matches_absolute_difference[AGCGTSADT-TGTAGC]",
+ "eval.tests.test_derived_semantics.test_length_matches_absolute_difference[ATGCGTA-GCTA]",
+ "eval.tests.test_derived_semantics.test_length_matches_absolute_difference[abcdefghij-abcdeg]",
+ "eval.tests.test_derived_semantics.test_length_matches_absolute_difference[algorithm-logarithm]",
+ "eval.tests.test_derived_semantics.test_length_matches_absolute_difference[backgammon-backgamm]",
+ "eval.tests.test_derived_semantics.test_length_matches_absolute_difference[book-back]",
+ "eval.tests.test_derived_semantics.test_length_matches_absolute_difference[computer-commuter]",
+ "eval.tests.test_derived_semantics.test_length_matches_absolute_difference[example-samples]",
+ "eval.tests.test_derived_semantics.test_length_matches_absolute_difference[flour-flower]",
+ "eval.tests.test_derived_semantics.test_length_matches_absolute_difference[intention-execution]",
+ "eval.tests.test_derived_semantics.test_length_matches_absolute_difference[kitten-sitting]",
+ "eval.tests.test_derived_semantics.test_length_matches_absolute_difference[naive-naive]",
+ "eval.tests.test_derived_semantics.test_length_matches_absolute_difference[physical-psyche]",
+ "eval.tests.test_derived_semantics.test_length_matches_absolute_difference[republican-democrat]",
+ "eval.tests.test_derived_semantics.test_length_matches_absolute_difference[sunday-saturday]",
+ "eval.tests.test_derived_semantics.test_levenshtein_matches_dp_reference[AGCGTSADT-TGTAGC]",
+ "eval.tests.test_derived_semantics.test_levenshtein_matches_dp_reference[ATGCGTA-GCTA]",
+ "eval.tests.test_derived_semantics.test_levenshtein_matches_dp_reference[abcdefghij-abcdeg]",
+ "eval.tests.test_derived_semantics.test_levenshtein_matches_dp_reference[algorithm-logarithm]",
+ "eval.tests.test_derived_semantics.test_levenshtein_matches_dp_reference[backgammon-backgamm]",
+ "eval.tests.test_derived_semantics.test_levenshtein_matches_dp_reference[book-back]",
+ "eval.tests.test_derived_semantics.test_levenshtein_matches_dp_reference[computer-commuter]",
+ "eval.tests.test_derived_semantics.test_levenshtein_matches_dp_reference[example-samples]",
+ "eval.tests.test_derived_semantics.test_levenshtein_matches_dp_reference[flour-flower]",
+ "eval.tests.test_derived_semantics.test_levenshtein_matches_dp_reference[intention-execution]",
+ "eval.tests.test_derived_semantics.test_levenshtein_matches_dp_reference[kitten-sitting]",
+ "eval.tests.test_derived_semantics.test_levenshtein_matches_dp_reference[naive-naive]",
+ "eval.tests.test_derived_semantics.test_levenshtein_matches_dp_reference[physical-psyche]",
+ "eval.tests.test_derived_semantics.test_levenshtein_matches_dp_reference[republican-democrat]",
+ "eval.tests.test_derived_semantics.test_levenshtein_matches_dp_reference[sunday-saturday]",
+ "eval.tests.test_derived_semantics.test_prefix_matches_definition[AGCGTSADT-TGTAGC]",
+ "eval.tests.test_derived_semantics.test_prefix_matches_definition[ATGCGTA-GCTA]",
+ "eval.tests.test_derived_semantics.test_prefix_matches_definition[abcdefghij-abcdeg]",
+ "eval.tests.test_derived_semantics.test_prefix_matches_definition[algorithm-logarithm]",
+ "eval.tests.test_derived_semantics.test_prefix_matches_definition[backgammon-backgamm]",
+ "eval.tests.test_derived_semantics.test_prefix_matches_definition[book-back]",
+ "eval.tests.test_derived_semantics.test_prefix_matches_definition[computer-commuter]",
+ "eval.tests.test_derived_semantics.test_prefix_matches_definition[example-samples]",
+ "eval.tests.test_derived_semantics.test_prefix_matches_definition[flour-flower]",
+ "eval.tests.test_derived_semantics.test_prefix_matches_definition[intention-execution]",
+ "eval.tests.test_derived_semantics.test_prefix_matches_definition[kitten-sitting]",
+ "eval.tests.test_derived_semantics.test_prefix_matches_definition[naive-naive]",
+ "eval.tests.test_derived_semantics.test_prefix_matches_definition[physical-psyche]",
+ "eval.tests.test_derived_semantics.test_prefix_matches_definition[republican-democrat]",
+ "eval.tests.test_derived_semantics.test_prefix_matches_definition[sunday-saturday]",
+ "eval.tests.test_derived_semantics.test_suffix_matches_definition[AGCGTSADT-TGTAGC]",
+ "eval.tests.test_derived_semantics.test_suffix_matches_definition[ATGCGTA-GCTA]",
+ "eval.tests.test_derived_semantics.test_suffix_matches_definition[abcdefghij-abcdeg]",
+ "eval.tests.test_derived_semantics.test_suffix_matches_definition[algorithm-logarithm]",
+ "eval.tests.test_derived_semantics.test_suffix_matches_definition[backgammon-backgamm]",
+ "eval.tests.test_derived_semantics.test_suffix_matches_definition[book-back]",
+ "eval.tests.test_derived_semantics.test_suffix_matches_definition[computer-commuter]",
+ "eval.tests.test_derived_semantics.test_suffix_matches_definition[example-samples]",
+ "eval.tests.test_derived_semantics.test_suffix_matches_definition[flour-flower]",
+ "eval.tests.test_derived_semantics.test_suffix_matches_definition[intention-execution]",
+ "eval.tests.test_derived_semantics.test_suffix_matches_definition[kitten-sitting]",
+ "eval.tests.test_derived_semantics.test_suffix_matches_definition[naive-naive]",
+ "eval.tests.test_derived_semantics.test_suffix_matches_definition[physical-psyche]",
+ "eval.tests.test_derived_semantics.test_suffix_matches_definition[republican-democrat]",
+ "eval.tests.test_derived_semantics.test_suffix_matches_definition[sunday-saturday]",
+ "eval.tests.test_extended_reference_pairs.test_damerau_restricted_fresh[CA-ABC-3]",
+ "eval.tests.test_extended_reference_pairs.test_damerau_restricted_fresh[abcdef-abdfec-3]",
+ "eval.tests.test_extended_reference_pairs.test_damerau_restricted_fresh[apples-applss-1]",
+ "eval.tests.test_extended_reference_pairs.test_damerau_restricted_fresh[computer-commuter-1]",
+ "eval.tests.test_extended_reference_pairs.test_damerau_unrestricted_fresh[CA-ABC-2]",
+ "eval.tests.test_extended_reference_pairs.test_damerau_unrestricted_fresh[abcdef-abdfec-3]",
+ "eval.tests.test_extended_reference_pairs.test_damerau_unrestricted_fresh[apples-applss-1]",
+ "eval.tests.test_extended_reference_pairs.test_damerau_unrestricted_fresh[computer-commuter-1]",
+ "eval.tests.test_extended_reference_pairs.test_hamming_fresh_pairs[AAAA-AAAB-1]",
+ "eval.tests.test_extended_reference_pairs.test_hamming_fresh_pairs[ab-cd-2]",
+ "eval.tests.test_extended_reference_pairs.test_hamming_fresh_pairs[abcd-abce-1]",
+ "eval.tests.test_extended_reference_pairs.test_hamming_fresh_pairs[abcde-xbcde-1]",
+ "eval.tests.test_extended_reference_pairs.test_hamming_fresh_pairs[abcdef-abcXef-1]",
+ "eval.tests.test_extended_reference_pairs.test_hamming_fresh_pairs[kitten-kitting-2]",
+ "eval.tests.test_extended_reference_pairs.test_lcsseq_fresh[ABAB-BABA-3]",
+ "eval.tests.test_extended_reference_pairs.test_lcsseq_fresh[AGCGT-TAGC-3]",
+ "eval.tests.test_extended_reference_pairs.test_lcsseq_fresh[aaaa-aa-2]",
+ "eval.tests.test_extended_reference_pairs.test_lcsseq_fresh[abcabc-ab-2]",
+ "eval.tests.test_extended_reference_pairs.test_lcsseq_fresh[computer-commuter-7]",
+ "eval.tests.test_extended_reference_pairs.test_lcsseq_fresh[flour-flower-4]",
+ "eval.tests.test_extended_reference_pairs.test_lcsseq_fresh[kitten-mitten-5]",
+ "eval.tests.test_extended_reference_pairs.test_lcsstr_fresh[ABAB-BABA-3]",
+ "eval.tests.test_extended_reference_pairs.test_lcsstr_fresh[aaaa-aa-2]",
+ "eval.tests.test_extended_reference_pairs.test_lcsstr_fresh[abcabc-ab-2]",
+ "eval.tests.test_extended_reference_pairs.test_lcsstr_fresh[computer-commuter-4]",
+ "eval.tests.test_extended_reference_pairs.test_lcsstr_fresh[flour-flower-3]",
+ "eval.tests.test_extended_reference_pairs.test_lcsstr_fresh[kitten-mitten-5]",
+ "eval.tests.test_extended_reference_pairs.test_length_fresh[book-back-0]",
+ "eval.tests.test_extended_reference_pairs.test_length_fresh[cat-elephant-5]",
+ "eval.tests.test_extended_reference_pairs.test_length_fresh[execution-executive-0]",
+ "eval.tests.test_extended_reference_pairs.test_length_fresh[flour-flower-1]",
+ "eval.tests.test_extended_reference_pairs.test_levenshtein_fresh_pairs[abcdefghij-abcdeg-4]",
+ "eval.tests.test_extended_reference_pairs.test_levenshtein_fresh_pairs[abcdefghijkl-abcdefx-6]",
+ "eval.tests.test_extended_reference_pairs.test_levenshtein_fresh_pairs[algorithm-logarithm-3]",
+ "eval.tests.test_extended_reference_pairs.test_levenshtein_fresh_pairs[backgammon-backgamm-2]",
+ "eval.tests.test_extended_reference_pairs.test_levenshtein_fresh_pairs[book-back-2]",
+ "eval.tests.test_extended_reference_pairs.test_levenshtein_fresh_pairs[computerr-commuter-2]",
+ "eval.tests.test_extended_reference_pairs.test_levenshtein_fresh_pairs[execution-intention-5]",
+ "eval.tests.test_extended_reference_pairs.test_levenshtein_fresh_pairs[flour-flower-2]",
+ "eval.tests.test_extended_reference_pairs.test_levenshtein_fresh_pairs[photo-foto-2]",
+ "eval.tests.test_extended_reference_pairs.test_levenshtein_fresh_pairs[physical-psyche-5]",
+ "eval.tests.test_extended_reference_pairs.test_levenshtein_fresh_pairs[republican-democrat-8]",
+ "eval.tests.test_extended_reference_pairs.test_levenshtein_fresh_pairs[sunday-saturday-3]",
+ "eval.tests.test_extended_reference_pairs.test_lig3_fresh[book-back-0.6666666666666666]",
+ "eval.tests.test_extended_reference_pairs.test_lig3_fresh[flour-flower-0.75]",
+ "eval.tests.test_extended_reference_pairs.test_lig3_fresh[hello-hallo-0.8888888888888888]",
+ "eval.tests.test_extended_reference_pairs.test_lig3_fresh[photo-foto-0.0]",
+ "eval.tests.test_extended_reference_pairs.test_mlipns_fresh[book-back-1]",
+ "eval.tests.test_extended_reference_pairs.test_mlipns_fresh[flour-flower-1]",
+ "eval.tests.test_extended_reference_pairs.test_mlipns_fresh[hello-hallo-1]",
+ "eval.tests.test_extended_reference_pairs.test_mlipns_fresh[sunday-saturday-0]",
+ "eval.tests.test_extended_reference_pairs.test_prefix_fresh[book-back-1]",
+ "eval.tests.test_extended_reference_pairs.test_prefix_fresh[execution-executive-7]",
+ "eval.tests.test_extended_reference_pairs.test_prefix_fresh[flour-flower-3]",
+ "eval.tests.test_extended_reference_pairs.test_ratcliff_obershelp_fresh[book-back-0.5]",
+ "eval.tests.test_extended_reference_pairs.test_ratcliff_obershelp_fresh[flour-flower-0.7272727272727273]",
+ "eval.tests.test_extended_reference_pairs.test_ratcliff_obershelp_fresh[photo-foto-0.6666666666666666]",
+ "eval.tests.test_extended_reference_pairs.test_ratcliff_obershelp_fresh[sunday-saturday-0.7142857142857143]",
+ "eval.tests.test_extended_reference_pairs.test_sift4_common_fresh[abcabc-ab-4]",
+ "eval.tests.test_extended_reference_pairs.test_sift4_common_fresh[abcdef-abcXef-1]",
+ "eval.tests.test_extended_reference_pairs.test_sift4_common_fresh[computer-commuter-1]",
+ "eval.tests.test_extended_reference_pairs.test_sift4_common_fresh[example-samples-2]",
+ "eval.tests.test_extended_reference_pairs.test_sift4_common_fresh[hello-hallo-1]",
+ "eval.tests.test_extended_reference_pairs.test_sift4_common_fresh[kitten-mitten-1]",
+ "eval.tests.test_extended_reference_pairs.test_sift4_simple_fresh[computer-commuter-1]",
+ "eval.tests.test_extended_reference_pairs.test_sift4_simple_fresh[example-samples-2]",
+ "eval.tests.test_extended_reference_pairs.test_sift4_simple_fresh[hello-hallo-1]",
+ "eval.tests.test_extended_reference_pairs.test_sift4_simple_fresh[kitten-mitten-1]",
+ "eval.tests.test_extended_reference_pairs.test_smith_waterman_fresh[AAAC-GAATTC-2]",
+ "eval.tests.test_extended_reference_pairs.test_smith_waterman_fresh[ACACACTG-AGCACTG-5]",
+ "eval.tests.test_extended_reference_pairs.test_smith_waterman_fresh[ATGC-ATGCATGC-4]",
+ "eval.tests.test_extended_reference_pairs.test_smith_waterman_fresh[book-back-2]",
+ "eval.tests.test_extended_reference_pairs.test_smith_waterman_fresh[flour-flower-3]",
+ "eval.tests.test_extended_reference_pairs.test_smith_waterman_fresh[photo-foto-3]",
+ "eval.tests.test_extended_reference_pairs.test_suffix_fresh[book-back-1]",
+ "eval.tests.test_extended_reference_pairs.test_suffix_fresh[execution-executive-0]",
+ "eval.tests.test_extended_reference_pairs.test_suffix_fresh[flour-flower-1]",
+ "eval.tests.test_extended_reference_pairs.test_yujian_bo_fresh[book-back-0.4]",
+ "eval.tests.test_extended_reference_pairs.test_yujian_bo_fresh[flour-flower-0.3076923076923077]",
+ "eval.tests.test_extended_reference_pairs.test_yujian_bo_fresh[hello-hallo-0.18181818181818182]",
+ "eval.tests.test_fresh_extended_behavior.test_damerau_fresh_transposition_cost[a cat-an abct-3]",
+ "eval.tests.test_fresh_extended_behavior.test_damerau_fresh_transposition_cost[abcd-badc-2]",
+ "eval.tests.test_fresh_extended_behavior.test_damerau_fresh_transposition_cost[fiog-frog-1]",
+ "eval.tests.test_fresh_extended_behavior.test_damerau_fresh_transposition_cost[frog-fiog-1]",
+ "eval.tests.test_fresh_extended_behavior.test_damerau_restricted_charges_cross_transposition",
+ "eval.tests.test_fresh_extended_behavior.test_hamming_case_flip_full_length",
+ "eval.tests.test_fresh_extended_behavior.test_hamming_fresh_length_extension[-abc-3]",
+ "eval.tests.test_fresh_extended_behavior.test_hamming_fresh_length_extension[Rust-rust-1]",
+ "eval.tests.test_fresh_extended_behavior.test_hamming_fresh_length_extension[The-the-1]",
+ "eval.tests.test_fresh_extended_behavior.test_hamming_fresh_length_extension[aa-aaaaa-3]",
+ "eval.tests.test_fresh_extended_behavior.test_hamming_fresh_length_extension[ab-abcd-2]",
+ "eval.tests.test_fresh_extended_behavior.test_hamming_fresh_length_extension[abc--3]",
+ "eval.tests.test_fresh_extended_behavior.test_hamming_fresh_length_extension[hello world-hello world-6]",
+ "eval.tests.test_fresh_extended_behavior.test_lcs_case_sensitive",
+ "eval.tests.test_fresh_extended_behavior.test_lcsseq_fresh_subsequence[-abc-0]",
+ "eval.tests.test_fresh_extended_behavior.test_lcsseq_fresh_subsequence[AGGTAB-GXTXAYB-4]",
+ "eval.tests.test_fresh_extended_behavior.test_lcsseq_fresh_subsequence[human-chimp-2]",
+ "eval.tests.test_fresh_extended_behavior.test_lcsstr_fresh_contiguous_substring[-abc-0]",
+ "eval.tests.test_fresh_extended_behavior.test_lcsstr_fresh_contiguous_substring[ABABC-BABC A-4]",
+ "eval.tests.test_fresh_extended_behavior.test_lcsstr_fresh_contiguous_substring[abcabc-bcabcd-5]",
+ "eval.tests.test_fresh_extended_behavior.test_length_ignores_content[StR-str]",
+ "eval.tests.test_fresh_extended_behavior.test_length_ignores_content[abc-abc]",
+ "eval.tests.test_fresh_extended_behavior.test_length_ignores_content[hello world-hello world]",
+ "eval.tests.test_fresh_extended_behavior.test_length_ignores_content[qwer-zxcv]",
+ "eval.tests.test_fresh_extended_behavior.test_levenshtein_bounded_by_length_sum",
+ "eval.tests.test_fresh_extended_behavior.test_levenshtein_fresh_edit_distance[abcd-abcd-0]",
+ "eval.tests.test_fresh_extended_behavior.test_levenshtein_fresh_edit_distance[ag-cat-gcaat-3]",
+ "eval.tests.test_fresh_extended_behavior.test_levenshtein_fresh_edit_distance[paul-apple-4]",
+ "eval.tests.test_fresh_extended_behavior.test_lig3_fresh_normalized_similarity[ca-abc-0.0]",
+ "eval.tests.test_fresh_extended_behavior.test_lig3_fresh_normalized_similarity[hello-world-0.3333333333333333]",
+ "eval.tests.test_fresh_extended_behavior.test_lig3_fresh_normalized_similarity[human-chimp-0.0]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_accept_reject[--1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_accept_reject[Niall-Neil-0]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_accept_reject[a-b-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_accept_reject[aabbcc-aabb-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_accept_reject[ab-cd-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_accept_reject[abc-aby-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_accept_reject[abc-axx-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_accept_reject[abcd-wxyz-0]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_accept_reject[abcde-abcfg-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_accept_reject[abcdef-abcdex-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_accept_reject[abcdef-abcxy-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_accept_reject[jellyfish-jellyfist-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_accept_reject[kathrin-katherin-0]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_accept_reject[pack-puck-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_accept_reject[xyz-xy-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_matches_hamming_threshold[--1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_matches_hamming_threshold[Niall-Neil-0]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_matches_hamming_threshold[a-b-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_matches_hamming_threshold[aabbcc-aabb-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_matches_hamming_threshold[ab-cd-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_matches_hamming_threshold[abc-aby-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_matches_hamming_threshold[abc-axx-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_matches_hamming_threshold[abcd-wxyz-0]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_matches_hamming_threshold[abcde-abcfg-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_matches_hamming_threshold[abcdef-abcdex-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_matches_hamming_threshold[abcdef-abcxy-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_matches_hamming_threshold[jellyfish-jellyfist-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_matches_hamming_threshold[kathrin-katherin-0]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_matches_hamming_threshold[pack-puck-1]",
+ "eval.tests.test_fresh_extended_behavior.test_mlipns_fresh_matches_hamming_threshold[xyz-xy-1]",
+ "eval.tests.test_fresh_extended_behavior.test_prefix_fresh_common_prefix_length[-abc-0]",
+ "eval.tests.test_fresh_extended_behavior.test_prefix_fresh_common_prefix_length[abc--0]",
+ "eval.tests.test_fresh_extended_behavior.test_prefix_fresh_common_prefix_length[abc-bxce-0]",
+ "eval.tests.test_fresh_extended_behavior.test_prefix_fresh_common_prefix_length[abcdef-abcxyz-3]",
+ "eval.tests.test_fresh_extended_behavior.test_prefix_fresh_common_prefix_length[same-saaame-2]",
+ "eval.tests.test_fresh_extended_behavior.test_prefix_plus_suffix_disagree_on_internal_match",
+ "eval.tests.test_fresh_extended_behavior.test_ratcliff_fresh_normalized_similarity[GCATGCU-GATTACA-0.42857142857142855]",
+ "eval.tests.test_fresh_extended_behavior.test_ratcliff_fresh_normalized_similarity[abc-cba-0.3333333333333333]",
+ "eval.tests.test_fresh_extended_behavior.test_ratcliff_fresh_normalized_similarity[hello world-world hello-0.45454545454545453]",
+ "eval.tests.test_fresh_extended_behavior.test_ratcliff_fresh_normalized_similarity[human-chimp-0.4]",
+ "eval.tests.test_fresh_extended_behavior.test_smith_waterman_fresh_alignment_scores[GCATGCU-GATTACA-3]",
+ "eval.tests.test_fresh_extended_behavior.test_smith_waterman_fresh_alignment_scores[auctgca-agtca-2]",
+ "eval.tests.test_fresh_extended_behavior.test_smith_waterman_fresh_alignment_scores[kitten-sitting-3]",
+ "eval.tests.test_fresh_extended_behavior.test_suffix_fresh_common_suffix_length[-abc-0]",
+ "eval.tests.test_fresh_extended_behavior.test_suffix_fresh_common_suffix_length[abc-zbc-2]",
+ "eval.tests.test_fresh_extended_behavior.test_suffix_fresh_common_suffix_length[abcdef-xyzdef-3]",
+ "eval.tests.test_fresh_extended_behavior.test_suffix_fresh_common_suffix_length[abcx-wx-1]",
+ "eval.tests.test_fresh_extended_behavior.test_yujian_bo_fresh_normalized_distance[ca-abc-0.75]",
+ "eval.tests.test_fresh_extended_behavior.test_yujian_bo_fresh_normalized_distance[flaw-lawn-0.4]",
+ "eval.tests.test_fresh_extended_behavior.test_yujian_bo_fresh_normalized_distance[human-chimp-0.5714285714285714]",
+ "eval.tests.test_hamming.test_hamming_equal_length_boundaries[--0]",
+ "eval.tests.test_hamming.test_hamming_equal_length_boundaries[a-a-0]",
+ "eval.tests.test_hamming.test_hamming_equal_length_boundaries[ab-ba-2]",
+ "eval.tests.test_hamming.test_hamming_extra_chars_add_mismatches",
+ "eval.tests.test_hamming.test_hamming_full_mismatch_is_longer_length",
+ "eval.tests.test_hamming.test_hamming_identical_is_zero[]",
+ "eval.tests.test_hamming.test_hamming_identical_is_zero[hello]",
+ "eval.tests.test_hamming.test_hamming_is_symmetric",
+ "eval.tests.test_hamming.test_hamming_known[--0]",
+ "eval.tests.test_hamming.test_hamming_known[-abc-3]",
+ "eval.tests.test_hamming.test_hamming_known[Rust-rust-1]",
+ "eval.tests.test_hamming.test_hamming_known[abcdefg-hijklmn-7]",
+ "eval.tests.test_hamming.test_hamming_known[hello-world-4]",
+ "eval.tests.test_hamming.test_hamming_known[hi mark-hi markus-2]",
+ "eval.tests.test_hamming.test_hamming_known[karolin-kathrin-3]",
+ "eval.tests.test_hamming_deep.test_hamming_empty_and_length_difference[--0]",
+ "eval.tests.test_hamming_deep.test_hamming_empty_and_length_difference[-a-1]",
+ "eval.tests.test_hamming_deep.test_hamming_empty_and_length_difference[a--1]",
+ "eval.tests.test_hamming_deep.test_hamming_empty_and_length_difference[a-abc-2]",
+ "eval.tests.test_hamming_deep.test_hamming_empty_and_length_difference[ab-abcd-2]",
+ "eval.tests.test_hamming_deep.test_hamming_empty_and_length_difference[abcd-ab-2]",
+ "eval.tests.test_hamming_deep.test_hamming_extra_known[12345-123x5-1]",
+ "eval.tests.test_hamming_deep.test_hamming_extra_known[abc-aac-1]",
+ "eval.tests.test_hamming_deep.test_hamming_extra_known[hello-hello-0]",
+ "eval.tests.test_hamming_deep.test_hamming_extra_known[short-shorter-2]",
+ "eval.tests.test_hamming_deep.test_hamming_extra_known[soccer-osasnesr-8]",
+ "eval.tests.test_hamming_deep.test_hamming_full_mismatch_equals_length[aaaaaa-bbbbbb-6]",
+ "eval.tests.test_hamming_deep.test_hamming_full_mismatch_equals_length[abcdef-ghijkl-6]",
+ "eval.tests.test_hamming_deep.test_hamming_unicode_per_char[\\u03b1\\u03b2\\u03b3-\\u03b1\\u03b2\\u03b4-1]",
+ "eval.tests.test_hamming_deep.test_hamming_unicode_per_char[\\u4f60\\u597d\\u4e16\\u754c-\\u4f60\\u597d\\uff0c\\u4e16\\u754c-3]",
+ "eval.tests.test_lcs.test_lcsseq_known[--0]",
+ "eval.tests.test_lcs.test_lcsseq_known[-abcd-0]",
+ "eval.tests.test_lcs.test_lcsseq_known[\\u4f60\\u597d\\uff0c\\u4e16\\u754c-\\u518d\\u89c1\\u4e16\\u754c-2]",
+ "eval.tests.test_lcs.test_lcsseq_known[abcd--0]",
+ "eval.tests.test_lcs.test_lcsseq_known[abcd-abcd-4]",
+ "eval.tests.test_lcs.test_lcsseq_known[abcdefghi-acegi-5]",
+ "eval.tests.test_lcs.test_lcsseq_known[aggtab-gxtxayb-4]",
+ "eval.tests.test_lcs.test_lcsseq_known[test-text-3]",
+ "eval.tests.test_lcs.test_lcsseq_known[thisisatest-testing123testing-7]",
+ "eval.tests.test_lcs.test_lcsseq_matches_reference[abcdef-xbcegf]",
+ "eval.tests.test_lcs.test_lcsseq_matches_reference[test-text]",
+ "eval.tests.test_lcs.test_lcsstr_known[--0]",
+ "eval.tests.test_lcs.test_lcsstr_known[a--0]",
+ "eval.tests.test_lcs.test_lcsstr_known[a-a-1]",
+ "eval.tests.test_lcs.test_lcsstr_known[abcdef-bcd-3]",
+ "eval.tests.test_lcs.test_lcsstr_known[abcdef-xabded-2]",
+ "eval.tests.test_lcs.test_lcsstr_known[abcdxyz-xyzabcd-4]",
+ "eval.tests.test_lcs.test_lcsstr_known[zxabcdezy-yzabcdezx-6]",
+ "eval.tests.test_lcs.test_lcsstr_le_lcsseq",
+ "eval.tests.test_lcs.test_lcsstr_not_necessarily_contiguous",
+ "eval.tests.test_lcs.test_lcsstr_unicode_boundaries[--0]",
+ "eval.tests.test_lcs.test_lcsstr_unicode_boundaries[\\u043a\\u0430\\u0442\\u0430\\u0441\\u0442\\u0440\\u043e\\u0444\\u0430-\\u043a\\u043e\\u0441\\u0442\\u0440\\u043e\\u043c\\u0430-4]",
+ "eval.tests.test_lcs.test_lcsstr_unicode_boundaries[\\u043f-\\u043f-1]",
+ "eval.tests.test_lcs.test_lcsstr_unicode_boundaries[a-a-1]",
+ "eval.tests.test_lcs_deep.test_lcsseq_extra_known[ABCBDAB-BDCABA-4]",
+ "eval.tests.test_lcs_deep.test_lcsseq_extra_known[GXTXAYB-AGGTAB-4]",
+ "eval.tests.test_lcs_deep.test_lcsseq_extra_known[XMJYAUZ-MZJAWXU-4]",
+ "eval.tests.test_lcs_deep.test_lcsseq_extra_known[abcdef-acf-3]",
+ "eval.tests.test_lcs_deep.test_lcsseq_strictly_greater_when_not_contiguous",
+ "eval.tests.test_lcs_deep.test_lcsseq_symmetric[ABCBDAB-BDCABA]",
+ "eval.tests.test_lcs_deep.test_lcsseq_symmetric[abcdef-acf]",
+ "eval.tests.test_lcs_deep.test_lcsseq_unicode_per_char[\\u03b1\\u03b2\\u03b3\\u03b4-\\u03b1\\u03b3\\u03b4-3]",
+ "eval.tests.test_lcs_deep.test_lcsseq_unicode_per_char[\\u65e5\\u672c-\\u65e5\\u672c-2]",
+ "eval.tests.test_lcs_deep.test_lcsstr_extra_known[ABCBDAB-BDCABA-2]",
+ "eval.tests.test_lcs_deep.test_lcsstr_extra_known[GXTXAYB-AGGTAB-1]",
+ "eval.tests.test_lcs_deep.test_lcsstr_extra_known[XMJYAUZ-MZJAWXU-1]",
+ "eval.tests.test_lcs_deep.test_lcsstr_extra_known[abcdef-acf-1]",
+ "eval.tests.test_levenshtein.test_levenshtein_boundaries[-a-1]",
+ "eval.tests.test_levenshtein.test_levenshtein_boundaries[ab-ba-2]",
+ "eval.tests.test_levenshtein.test_levenshtein_boundaries[abc-def-3]",
+ "eval.tests.test_levenshtein.test_levenshtein_identical_is_zero[]",
+ "eval.tests.test_levenshtein.test_levenshtein_identical_is_zero[a]",
+ "eval.tests.test_levenshtein.test_levenshtein_identical_is_zero[hello]",
+ "eval.tests.test_levenshtein.test_levenshtein_is_symmetric[abc-abc-0]",
+ "eval.tests.test_levenshtein.test_levenshtein_is_symmetric[sitting-kitten-3]",
+ "eval.tests.test_levenshtein.test_levenshtein_known[--0]",
+ "eval.tests.test_levenshtein.test_levenshtein_known[-abc-3]",
+ "eval.tests.test_levenshtein.test_levenshtein_known[a-b-1]",
+ "eval.tests.test_levenshtein.test_levenshtein_known[abc--3]",
+ "eval.tests.test_levenshtein.test_levenshtein_known[abc-axc-1]",
+ "eval.tests.test_levenshtein.test_levenshtein_known[distance-difference-5]",
+ "eval.tests.test_levenshtein.test_levenshtein_known[kitten-sitting-3]",
+ "eval.tests.test_levenshtein.test_levenshtein_known[saturday-sunday-3]",
+ "eval.tests.test_levenshtein.test_levenshtein_known[sitting-kitten-3]",
+ "eval.tests.test_levenshtein.test_levenshtein_known[test-text-1]",
+ "eval.tests.test_levenshtein.test_levenshtein_known[test-tset-2]",
+ "eval.tests.test_levenshtein.test_levenshtein_max_is_longer_length",
+ "eval.tests.test_levenshtein_deep.test_levenshtein_bounded_by_longer_length[abcdef-xyz]",
+ "eval.tests.test_levenshtein_deep.test_levenshtein_bounded_by_longer_length[kitten-sitting]",
+ "eval.tests.test_levenshtein_deep.test_levenshtein_edit_operations[-abc-3]",
+ "eval.tests.test_levenshtein_deep.test_levenshtein_edit_operations[abc--3]",
+ "eval.tests.test_levenshtein_deep.test_levenshtein_edit_operations[cat-cats-1]",
+ "eval.tests.test_levenshtein_deep.test_levenshtein_edit_operations[cat-cut-1]",
+ "eval.tests.test_levenshtein_deep.test_levenshtein_edit_operations[cats-cat-1]",
+ "eval.tests.test_levenshtein_deep.test_levenshtein_edit_operations[ice-nice-1]",
+ "eval.tests.test_levenshtein_deep.test_levenshtein_extra_known[ab-acb-1]",
+ "eval.tests.test_levenshtein_deep.test_levenshtein_extra_known[abcdef-abcdefg-1]",
+ "eval.tests.test_levenshtein_deep.test_levenshtein_extra_known[flaw-lawn-2]",
+ "eval.tests.test_levenshtein_deep.test_levenshtein_extra_known[hello-hollo-1]",
+ "eval.tests.test_levenshtein_deep.test_levenshtein_extra_known[intention-execution-5]",
+ "eval.tests.test_levenshtein_deep.test_levenshtein_extra_known[kitten-smitten-2]",
+ "eval.tests.test_levenshtein_deep.test_levenshtein_substitution_vs_transposition",
+ "eval.tests.test_levenshtein_deep.test_levenshtein_unicode_counted_per_char[\\u03b1\\u03b2\\u03b3-\\u03b1\\u03b2]",
+ "eval.tests.test_levenshtein_deep.test_levenshtein_unicode_counted_per_char[\\u4f60\\u597d\\u4e16\\u754c-\\u4f60\\u597d\\uff0c\\u4e16\\u754c]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_identical_is_accepted[]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_identical_is_accepted[a]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_identical_is_accepted[ab]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_identical_is_accepted[hello]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_known[--1]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_known[Niall-Neil-0]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_known[a-b-1]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_known[abcdef-xyzxyz-0]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_known[cat-hat-1]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_known[hello-help-1]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_known[kathrin-karolin-1]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_known[kitten-kitteN-1]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_known[same-differ-0]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_matches_derived_threshold[--1]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_matches_derived_threshold[Niall-Neil-0]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_matches_derived_threshold[a-b-1]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_matches_derived_threshold[abcdef-xyzxyz-0]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_matches_derived_threshold[cat-hat-1]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_matches_derived_threshold[hello-help-1]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_matches_derived_threshold[kathrin-karolin-1]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_matches_derived_threshold[kitten-kitteN-1]",
+ "eval.tests.test_mlipns_boundary.test_mlipns_matches_derived_threshold[same-differ-0]",
+ "eval.tests.test_mlipns_yujian_lig3.test_lig3_disjoint_is_zero",
+ "eval.tests.test_mlipns_yujian_lig3.test_lig3_identical_is_one",
+ "eval.tests.test_mlipns_yujian_lig3.test_lig3_known[ATCG-TAGC-0.0]",
+ "eval.tests.test_mlipns_yujian_lig3.test_lig3_known[Glavin-Glawyn-0.8]",
+ "eval.tests.test_mlipns_yujian_lig3.test_lig3_known[Lewis-Louis-0.75]",
+ "eval.tests.test_mlipns_yujian_lig3.test_lig3_known[Niall-Neil-0.5714285714285714]",
+ "eval.tests.test_mlipns_yujian_lig3.test_lig3_known[aluminum-Catalan-0.0]",
+ "eval.tests.test_mlipns_yujian_lig3.test_lig3_known[cat-hat-0.8]",
+ "eval.tests.test_mlipns_yujian_lig3.test_mlipns_high_mismatch_is_zero[abcdef-xyzxyz]",
+ "eval.tests.test_mlipns_yujian_lig3.test_mlipns_identical_is_one[]",
+ "eval.tests.test_mlipns_yujian_lig3.test_mlipns_identical_is_one[abc]",
+ "eval.tests.test_mlipns_yujian_lig3.test_mlipns_known[--1]",
+ "eval.tests.test_mlipns_yujian_lig3.test_mlipns_known[Niall-Neil-0]",
+ "eval.tests.test_mlipns_yujian_lig3.test_mlipns_known[cat-hat-1]",
+ "eval.tests.test_mlipns_yujian_lig3.test_yujian_bo_fully_different_same_length",
+ "eval.tests.test_mlipns_yujian_lig3.test_yujian_bo_identical_is_zero[]",
+ "eval.tests.test_mlipns_yujian_lig3.test_yujian_bo_identical_is_zero[hello]",
+ "eval.tests.test_mlipns_yujian_lig3.test_yujian_bo_known[--0.0]",
+ "eval.tests.test_mlipns_yujian_lig3.test_yujian_bo_known[ATCG-TAGC-0.5454545454545454]",
+ "eval.tests.test_mlipns_yujian_lig3.test_yujian_bo_known[a--1.0]",
+ "eval.tests.test_mlipns_yujian_lig3.test_yujian_bo_known[aluminum-Catalan-0.6363636363636364]",
+ "eval.tests.test_mlipns_yujian_lig3.test_yujian_bo_known[bcd-fgh-0.6666666666666666]",
+ "eval.tests.test_mlipns_yujian_lig3.test_yujian_bo_known[cat-hat-0.2857142857142857]",
+ "eval.tests.test_prefix_length_deep.test_length_counts_only_length_difference[abcdef-abcabc]",
+ "eval.tests.test_prefix_length_deep.test_length_counts_only_length_difference[hello-jello]",
+ "eval.tests.test_prefix_length_deep.test_length_extra_known[a-abc-2]",
+ "eval.tests.test_prefix_length_deep.test_length_extra_known[aaab-aaac-0]",
+ "eval.tests.test_prefix_length_deep.test_length_extra_known[abc-defabc-3]",
+ "eval.tests.test_prefix_length_deep.test_length_extra_known[abcdef-abc-3]",
+ "eval.tests.test_prefix_length_deep.test_length_extra_known[caf\\xe9-cafe-0]",
+ "eval.tests.test_prefix_length_deep.test_length_extra_known[long-short-1]",
+ "eval.tests.test_prefix_length_deep.test_length_extra_known[xyza-zyzzza-2]",
+ "eval.tests.test_prefix_length_deep.test_length_unicode_per_char[\\u03b1\\u03b2\\u03b3-\\u03b1\\u03b2\\u03b3\\u03b4-1]",
+ "eval.tests.test_prefix_length_deep.test_length_unicode_per_char[\\u65e5\\u672c-\\u65e5\\u672c\\u8a9e-1]",
+ "eval.tests.test_prefix_length_deep.test_prefix_extra_known[a-abc-1]",
+ "eval.tests.test_prefix_length_deep.test_prefix_extra_known[aaab-aaac-3]",
+ "eval.tests.test_prefix_length_deep.test_prefix_extra_known[abc-defabc-0]",
+ "eval.tests.test_prefix_length_deep.test_prefix_extra_known[abcdef-abc-3]",
+ "eval.tests.test_prefix_length_deep.test_prefix_extra_known[caf\\xe9-cafe-3]",
+ "eval.tests.test_prefix_length_deep.test_prefix_extra_known[long-short-0]",
+ "eval.tests.test_prefix_length_deep.test_prefix_extra_known[xyza-zyzzza-0]",
+ "eval.tests.test_prefix_length_deep.test_prefix_suffix_cover_whole_word_when_rotated",
+ "eval.tests.test_prefix_length_deep.test_suffix_extra_known[a-abc-0]",
+ "eval.tests.test_prefix_length_deep.test_suffix_extra_known[aaab-aaac-0]",
+ "eval.tests.test_prefix_length_deep.test_suffix_extra_known[abc-defabc-3]",
+ "eval.tests.test_prefix_length_deep.test_suffix_extra_known[abcdef-abc-0]",
+ "eval.tests.test_prefix_length_deep.test_suffix_extra_known[caf\\xe9-cafe-0]",
+ "eval.tests.test_prefix_length_deep.test_suffix_extra_known[na\\xefve-naive-2]",
+ "eval.tests.test_prefix_length_deep.test_suffix_extra_known[xyza-zyzzza-2]",
+ "eval.tests.test_prefix_suffix_length.test_length_ignores_content",
+ "eval.tests.test_prefix_suffix_length.test_length_is_symmetric",
+ "eval.tests.test_prefix_suffix_length.test_length_known[--0]",
+ "eval.tests.test_prefix_suffix_length.test_length_known[-a-1]",
+ "eval.tests.test_prefix_suffix_length.test_length_known[a--1]",
+ "eval.tests.test_prefix_suffix_length.test_length_known[a-a-0]",
+ "eval.tests.test_prefix_suffix_length.test_length_known[a-b-0]",
+ "eval.tests.test_prefix_suffix_length.test_length_known[abcd-bcd-1]",
+ "eval.tests.test_prefix_suffix_length.test_prefix_and_suffix_disagree",
+ "eval.tests.test_prefix_suffix_length.test_prefix_known[--0]",
+ "eval.tests.test_prefix_suffix_length.test_prefix_known[-a-0]",
+ "eval.tests.test_prefix_suffix_length.test_prefix_known[a-a-1]",
+ "eval.tests.test_prefix_suffix_length.test_prefix_known[a-b-0]",
+ "eval.tests.test_prefix_suffix_length.test_prefix_known[abcd-bcd-0]",
+ "eval.tests.test_prefix_suffix_length.test_prefix_known[abcde-abcef-3]",
+ "eval.tests.test_prefix_suffix_length.test_prefix_suffix_full_match[]",
+ "eval.tests.test_prefix_suffix_length.test_prefix_suffix_full_match[abc]",
+ "eval.tests.test_prefix_suffix_length.test_suffix_known[--0]",
+ "eval.tests.test_prefix_suffix_length.test_suffix_known[-a-0]",
+ "eval.tests.test_prefix_suffix_length.test_suffix_known[a-a-1]",
+ "eval.tests.test_prefix_suffix_length.test_suffix_known[a-b-0]",
+ "eval.tests.test_prefix_suffix_length.test_suffix_known[abcd-fabcd-4]",
+ "eval.tests.test_prefix_suffix_length.test_suffix_known[abcde-abcef-0]",
+ "eval.tests.test_ratcliff_smith.test_ratcliff_obershelp_asymmetry",
+ "eval.tests.test_ratcliff_smith.test_ratcliff_obershelp_disjoint_symbols_is_zero[abc-def]",
+ "eval.tests.test_ratcliff_smith.test_ratcliff_obershelp_disjoint_symbols_is_zero[qwe-rty]",
+ "eval.tests.test_ratcliff_smith.test_ratcliff_obershelp_identical_is_one",
+ "eval.tests.test_ratcliff_smith.test_ratcliff_obershelp_known[--1.0]",
+ "eval.tests.test_ratcliff_smith.test_ratcliff_obershelp_known[-abc-0.0]",
+ "eval.tests.test_ratcliff_smith.test_ratcliff_obershelp_known[GESTALT PATTERN MATCHING-GESTALT PRACTICE-0.6]",
+ "eval.tests.test_ratcliff_smith.test_ratcliff_obershelp_known[abc--0.0]",
+ "eval.tests.test_ratcliff_smith.test_ratcliff_obershelp_known[abc-abc-1.0]",
+ "eval.tests.test_ratcliff_smith.test_ratcliff_obershelp_known[abc-acbd-0.5714285714285714]",
+ "eval.tests.test_ratcliff_smith.test_ratcliff_obershelp_shared_symbols_exact[domain-damion-0.5]",
+ "eval.tests.test_ratcliff_smith.test_ratcliff_obershelp_shared_symbols_exact[hello-help-0.6666666666666666]",
+ "eval.tests.test_ratcliff_smith.test_ratcliff_obershelp_shared_symbols_exact[kitten-xylophone-0.13333333333333333]",
+ "eval.tests.test_ratcliff_smith.test_ratcliff_obershelp_unit_range_endpoints[--1.0]",
+ "eval.tests.test_ratcliff_smith.test_ratcliff_obershelp_unit_range_endpoints[abc-abc-1.0]",
+ "eval.tests.test_ratcliff_smith.test_ratcliff_obershelp_unit_range_endpoints[abc-def-0.0]",
+ "eval.tests.test_ratcliff_smith.test_ratcliff_obershelp_unit_range_endpoints[hello-help-0.6666666666666666]",
+ "eval.tests.test_ratcliff_smith.test_smith_waterman_disjoint_zero",
+ "eval.tests.test_ratcliff_smith.test_smith_waterman_identical_positive",
+ "eval.tests.test_ratcliff_smith.test_smith_waterman_known[--0]",
+ "eval.tests.test_ratcliff_smith.test_smith_waterman_known[AGACTAGTTAC-CGAGACGT-3]",
+ "eval.tests.test_ratcliff_smith.test_smith_waterman_known[Niall-Neil-1]",
+ "eval.tests.test_ratcliff_smith.test_smith_waterman_known[abcd-abce-3]",
+ "eval.tests.test_ratcliff_smith.test_smith_waterman_known[aluminum-Catalan-0]",
+ "eval.tests.test_ratcliff_smith.test_smith_waterman_known[cat-hat-2]",
+ "eval.tests.test_ratcliff_smith.test_smith_waterman_known[hello-world-1]",
+ "eval.tests.test_ratcliff_smith.test_smith_waterman_known[qwe-rty-0]",
+ "eval.tests.test_ratcliff_smith_deep.test_ratcliff_extra_known[GESMAT-CMATT-0.5454545454545454]",
+ "eval.tests.test_ratcliff_smith_deep.test_ratcliff_extra_known[RADAR-RADAR-1.0]",
+ "eval.tests.test_ratcliff_smith_deep.test_ratcliff_extra_known[abcdabcd-abcd-0.6666666666666666]",
+ "eval.tests.test_ratcliff_smith_deep.test_ratcliff_extra_known[didga-iadga-0.8]",
+ "eval.tests.test_ratcliff_smith_deep.test_ratcliff_extra_known[kitten-kitten-1.0]",
+ "eval.tests.test_ratcliff_smith_deep.test_ratcliff_extra_known[race-car-0.2857142857142857]",
+ "eval.tests.test_ratcliff_smith_deep.test_ratcliff_similarity_asymmetric[GESTALT PATTERN MATCHING-GESTALT PRACTICE]",
+ "eval.tests.test_ratcliff_smith_deep.test_ratcliff_similarity_asymmetric[domain-damion]",
+ "eval.tests.test_ratcliff_smith_deep.test_ratcliff_similarity_within_unit_range[domain-damion]",
+ "eval.tests.test_ratcliff_smith_deep.test_ratcliff_similarity_within_unit_range[hello-help]",
+ "eval.tests.test_ratcliff_smith_deep.test_ratcliff_similarity_within_unit_range[kitten-xylophone]",
+ "eval.tests.test_ratcliff_smith_deep.test_ratcliff_similarity_within_unit_range[race-car]",
+ "eval.tests.test_ratcliff_smith_deep.test_smith_waterman_disjoint_is_zero[qwe-rty]",
+ "eval.tests.test_ratcliff_smith_deep.test_smith_waterman_disjoint_is_zero[xyz-abc]",
+ "eval.tests.test_ratcliff_smith_deep.test_smith_waterman_extra_known[A-B-0]",
+ "eval.tests.test_ratcliff_smith_deep.test_smith_waterman_extra_known[AGCT-AGCT-4]",
+ "eval.tests.test_ratcliff_smith_deep.test_smith_waterman_extra_known[GGATCGA-GAATTCAGTTA-2]",
+ "eval.tests.test_ratcliff_smith_deep.test_smith_waterman_extra_known[HEAGSWGHE-HEAWGSWGHE-8]",
+ "eval.tests.test_ratcliff_smith_deep.test_smith_waterman_extra_known[ab-abcd-0]",
+ "eval.tests.test_ratcliff_smith_deep.test_smith_waterman_score_counts_matches",
+ "eval.tests.test_relationships.test_all_distances_zero_on_identical[]",
+ "eval.tests.test_relationships.test_all_distances_zero_on_identical[a]",
+ "eval.tests.test_relationships.test_all_distances_zero_on_identical[hello]",
+ "eval.tests.test_relationships.test_all_distances_zero_on_identical[kitten]",
+ "eval.tests.test_relationships.test_damerau_leq_levenshtein[intention-execution]",
+ "eval.tests.test_relationships.test_damerau_leq_levenshtein[kitten-sitting]",
+ "eval.tests.test_relationships.test_damerau_leq_levenshtein[saturday-sunday]",
+ "eval.tests.test_relationships.test_damerau_leq_levenshtein[test-text]",
+ "eval.tests.test_relationships.test_lcsseq_at_least_lcsstr[aa-aabb]",
+ "eval.tests.test_relationships.test_lcsseq_at_least_lcsstr[ab-ba]",
+ "eval.tests.test_relationships.test_lcsseq_at_least_lcsstr[kitten-sitting]",
+ "eval.tests.test_relationships.test_lcsseq_bounded_by_common_chars",
+ "eval.tests.test_relationships.test_len_mismatch_bounds_edit_distance[kitten-sitting]",
+ "eval.tests.test_relationships.test_len_mismatch_bounds_edit_distance[saturday-sunday]",
+ "eval.tests.test_relationships.test_len_mismatch_bounds_edit_distance[short-shorter]",
+ "eval.tests.test_relationships.test_ratcliff_lcsstr_prefix_consistency[hello-help]",
+ "eval.tests.test_relationships.test_ratcliff_lcsstr_prefix_consistency[kitten-xylophone]",
+ "eval.tests.test_relationships.test_subsequence_and_substring_equal_length_on_identical",
+ "eval.tests.test_relationships.test_yujian_bo_distance_and_lig3_similarity_complement[flaw-lawn]",
+ "eval.tests.test_relationships.test_yujian_bo_distance_and_lig3_similarity_complement[kitten-sitting]",
+ "eval.tests.test_round5_documented_unique.test_damerau_documented_unique[BAR-BOR-1]",
+ "eval.tests.test_round5_documented_unique.test_damerau_documented_unique[FOO-BOR-2]",
+ "eval.tests.test_round5_documented_unique.test_damerau_documented_unique[abcdef-badcfe-3]",
+ "eval.tests.test_round5_documented_unique.test_damerau_documented_unique[klm-klmb-1]",
+ "eval.tests.test_round5_documented_unique.test_damerau_documented_unique[klmb-klm-1]",
+ "eval.tests.test_round5_documented_unique.test_damerau_documented_unique[zzaabb-zzabab-1]",
+ "eval.tests.test_round5_documented_unique.test_damerau_documented_unique[zzaabbio-zzababoi-2]",
+ "eval.tests.test_round5_documented_unique.test_hamming_documented_unique[Andrew-Anders-3]",
+ "eval.tests.test_round5_documented_unique.test_hamming_documented_unique[book-books-1]",
+ "eval.tests.test_round5_documented_unique.test_lcsseq_documented_unique[abcdgh-aedfhr-3]",
+ "eval.tests.test_round5_documented_unique.test_lcsstr_documented_unique[GeekforGeeks-GeeksQuiz-5]",
+ "eval.tests.test_round5_documented_unique.test_lcsstr_documented_unique[ab-b-1]",
+ "eval.tests.test_round5_documented_unique.test_lcsstr_documented_unique[xyxyxy-yxyxyx-5]",
+ "eval.tests.test_round5_documented_unique.test_levenshtein_documented_unique[Tier-Tor-2]",
+ "eval.tests.test_round5_documented_unique.test_levenshtein_documented_unique[gumbo-gambol-2]",
+ "eval.tests.test_round5_documented_unique.test_levenshtein_documented_unique[javawasneat-scalaisgreat-7]",
+ "eval.tests.test_round5_documented_unique.test_levenshtein_documented_unique[kitten-skitt-3]",
+ "eval.tests.test_round5_documented_unique.test_levenshtein_documented_unique[levenshtein-frankenstein-6]",
+ "eval.tests.test_round5_documented_unique.test_levenshtein_documented_unique[sturgeon-urgently-6]",
+ "eval.tests.test_round5_documented_unique.test_levenshtein_documented_unique[test-qwe-4]",
+ "eval.tests.test_round5_documented_unique.test_levenshtein_documented_unique[test-testit-2]",
+ "eval.tests.test_round5_documented_unique.test_levenshtein_documented_unique[xabxcdxxefxgx-1ab2cd34ef5g6-6]",
+ "eval.tests.test_round5_documented_unique.test_levenshtein_documented_unique[xabxcdxxefxgx-abcdefg-6]",
+ "eval.tests.test_round5_documented_unique.test_lig3_documented_unique[Alex-Alexander-0.6153846153846154]",
+ "eval.tests.test_round5_documented_unique.test_lig3_documented_unique[Bram-Bramberley-0.5714285714285714]",
+ "eval.tests.test_round5_documented_unique.test_lig3_documented_unique[Laure-Lore-0.5]",
+ "eval.tests.test_round5_documented_unique.test_lig3_documented_unique[Wild-Wildsmith-0.6153846153846154]",
+ "eval.tests.test_round5_documented_unique.test_lig3_documented_unique[Williams-Vylliems-0.7692307692307693]",
+ "eval.tests.test_round5_documented_unique.test_mlipns_documented_unique[banana-bandanna-0]",
+ "eval.tests.test_round5_documented_unique.test_mlipns_documented_unique[dog-dot-1]",
+ "eval.tests.test_round5_documented_unique.test_mlipns_documented_unique[feline-canine-1]",
+ "eval.tests.test_round5_documented_unique.test_mlipns_documented_unique[formal-formula-1]",
+ "eval.tests.test_round5_documented_unique.test_mlipns_documented_unique[hotel-motel-1]",
+ "eval.tests.test_round5_documented_unique.test_mlipns_documented_unique[icecream-icycream-1]",
+ "eval.tests.test_round5_documented_unique.test_mlipns_documented_unique[radar-racecar-0]",
+ "eval.tests.test_round5_documented_unique.test_mlipns_documented_unique[zebra-zebraz-1]",
+ "eval.tests.test_round5_documented_unique.test_prefix_documented_unique[abracadabra-abracadabra-11]",
+ "eval.tests.test_round5_documented_unique.test_prefix_documented_unique[alphabet-alpha-5]",
+ "eval.tests.test_round5_documented_unique.test_prefix_documented_unique[inter-internal-5]",
+ "eval.tests.test_round5_documented_unique.test_prefix_documented_unique[prefix-preview-3]",
+ "eval.tests.test_round5_documented_unique.test_ratcliff_documented_unique[Laure-Lore-0.6666666666666666]",
+ "eval.tests.test_round5_documented_unique.test_ratcliff_documented_unique[abcdef-cdefab-0.6666666666666666]",
+ "eval.tests.test_round5_documented_unique.test_sift4_common_documented_unique[buoy-buoy-0]",
+ "eval.tests.test_round5_documented_unique.test_sift4_common_documented_unique[stephen-stephew-1]",
+ "eval.tests.test_round5_documented_unique.test_smith_waterman_documented_unique[ACGT-ACGT-4]",
+ "eval.tests.test_round5_documented_unique.test_smith_waterman_documented_unique[GATTACA-GCATGCU-3]",
+ "eval.tests.test_round5_documented_unique.test_smith_waterman_documented_unique[check-shrek-2]",
+ "eval.tests.test_round5_documented_unique.test_smith_waterman_documented_unique[wildlife-wildress-4]",
+ "eval.tests.test_round5_documented_unique.test_suffix_documented_unique[123456-3456-4]",
+ "eval.tests.test_round5_documented_unique.test_suffix_documented_unique[abcdef-zbcdef-5]",
+ "eval.tests.test_round5_documented_unique.test_suffix_documented_unique[better-butter-4]",
+ "eval.tests.test_round5_documented_unique.test_suffix_documented_unique[fate-ate-3]",
+ "eval.tests.test_round5_documented_unique.test_suffix_documented_unique[going-showing-3]",
+ "eval.tests.test_round5_documented_unique.test_suffix_documented_unique[preview-review-6]",
+ "eval.tests.test_round5_documented_unique.test_suffix_documented_unique[reading-ceiling-3]",
+ "eval.tests.test_round5_documented_unique.test_yujian_bo_documented_unique[Atlantic-Atlantico-0.1111111111111111]",
+ "eval.tests.test_round5_documented_unique.test_yujian_bo_documented_unique[Atlantic-Tlantic-0.23529411764705882]",
+ "eval.tests.test_round5_documented_unique.test_yujian_bo_documented_unique[Base-Baseball-0.5]",
+ "eval.tests.test_round5_documented_unique.test_yujian_bo_documented_unique[Baseball-Basketball-0.2]",
+ "eval.tests.test_round5_documented_unique.test_yujian_bo_documented_unique[Gumbo-Gambol-0.3076923076923077]",
+ "eval.tests.test_round5_long_word_pairs.test_damerau_long_word_pairs[cantankerous-circumlocution-12]",
+ "eval.tests.test_round5_long_word_pairs.test_damerau_long_word_pairs[defenestration-sesquipedalian-10]",
+ "eval.tests.test_round5_long_word_pairs.test_damerau_long_word_pairs[galumphing-bamboozle-9]",
+ "eval.tests.test_round5_long_word_pairs.test_damerau_long_word_pairs[hullabaloo-gobbledygook-9]",
+ "eval.tests.test_round5_long_word_pairs.test_damerau_long_word_pairs[juxtaposition-antidisestablishmentarian-19]",
+ "eval.tests.test_round5_long_word_pairs.test_damerau_long_word_pairs[kerfuffle-hodgepodge-9]",
+ "eval.tests.test_round5_long_word_pairs.test_damerau_long_word_pairs[melancholy-flabbergasted-12]",
+ "eval.tests.test_round5_long_word_pairs.test_damerau_long_word_pairs[onomatopoeia-serendipity-11]",
+ "eval.tests.test_round5_long_word_pairs.test_damerau_long_word_pairs[phosphorescent-photosynthesis-10]",
+ "eval.tests.test_round5_long_word_pairs.test_damerau_long_word_pairs[quizzical-helictrope-9]",
+ "eval.tests.test_round5_long_word_pairs.test_damerau_long_word_pairs[tintinnabulation-hubbub-14]",
+ "eval.tests.test_round5_long_word_pairs.test_damerau_long_word_pairs[transcendental-inexplicable-12]",
+ "eval.tests.test_round5_long_word_pairs.test_hamming_long_word_pairs[cantankerous-circumlocution-13]",
+ "eval.tests.test_round5_long_word_pairs.test_hamming_long_word_pairs[defenestration-sesquipedalian-10]",
+ "eval.tests.test_round5_long_word_pairs.test_hamming_long_word_pairs[galumphing-bamboozle-9]",
+ "eval.tests.test_round5_long_word_pairs.test_hamming_long_word_pairs[hullabaloo-gobbledygook-11]",
+ "eval.tests.test_round5_long_word_pairs.test_hamming_long_word_pairs[juxtaposition-antidisestablishmentarian-24]",
+ "eval.tests.test_round5_long_word_pairs.test_hamming_long_word_pairs[kerfuffle-hodgepodge-10]",
+ "eval.tests.test_round5_long_word_pairs.test_hamming_long_word_pairs[melancholy-flabbergasted-13]",
+ "eval.tests.test_round5_long_word_pairs.test_hamming_long_word_pairs[onomatopoeia-serendipity-11]",
+ "eval.tests.test_round5_long_word_pairs.test_hamming_long_word_pairs[phosphorescent-photosynthesis-11]",
+ "eval.tests.test_round5_long_word_pairs.test_hamming_long_word_pairs[quizzical-helictrope-10]",
+ "eval.tests.test_round5_long_word_pairs.test_hamming_long_word_pairs[tintinnabulation-hubbub-16]",
+ "eval.tests.test_round5_long_word_pairs.test_hamming_long_word_pairs[transcendental-inexplicable-14]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsseq_long_word_pairs[cantankerous-circumlocution-4]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsseq_long_word_pairs[defenestration-sesquipedalian-5]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsseq_long_word_pairs[galumphing-bamboozle-2]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsseq_long_word_pairs[hullabaloo-gobbledygook-4]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsseq_long_word_pairs[juxtaposition-antidisestablishmentarian-6]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsseq_long_word_pairs[kerfuffle-hodgepodge-2]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsseq_long_word_pairs[melancholy-flabbergasted-2]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsseq_long_word_pairs[onomatopoeia-serendipity-3]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsseq_long_word_pairs[phosphorescent-photosynthesis-7]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsseq_long_word_pairs[quizzical-helictrope-2]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsseq_long_word_pairs[tintinnabulation-hubbub-2]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsseq_long_word_pairs[transcendental-inexplicable-4]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsstr_long_word_pairs[cantankerous-circumlocution-1]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsstr_long_word_pairs[defenestration-sesquipedalian-2]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsstr_long_word_pairs[galumphing-bamboozle-1]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsstr_long_word_pairs[hullabaloo-gobbledygook-2]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsstr_long_word_pairs[juxtaposition-antidisestablishmentarian-2]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsstr_long_word_pairs[kerfuffle-hodgepodge-1]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsstr_long_word_pairs[melancholy-flabbergasted-2]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsstr_long_word_pairs[onomatopoeia-serendipity-1]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsstr_long_word_pairs[phosphorescent-photosynthesis-3]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsstr_long_word_pairs[quizzical-helictrope-2]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsstr_long_word_pairs[tintinnabulation-hubbub-2]",
+ "eval.tests.test_round5_long_word_pairs.test_lcsstr_long_word_pairs[transcendental-inexplicable-1]",
+ "eval.tests.test_round5_long_word_pairs.test_length_long_word_pairs[cantankerous-circumlocution-2]",
+ "eval.tests.test_round5_long_word_pairs.test_length_long_word_pairs[defenestration-sesquipedalian-0]",
+ "eval.tests.test_round5_long_word_pairs.test_length_long_word_pairs[galumphing-bamboozle-1]",
+ "eval.tests.test_round5_long_word_pairs.test_length_long_word_pairs[hullabaloo-gobbledygook-2]",
+ "eval.tests.test_round5_long_word_pairs.test_length_long_word_pairs[juxtaposition-antidisestablishmentarian-12]",
+ "eval.tests.test_round5_long_word_pairs.test_length_long_word_pairs[kerfuffle-hodgepodge-1]",
+ "eval.tests.test_round5_long_word_pairs.test_length_long_word_pairs[melancholy-flabbergasted-3]",
+ "eval.tests.test_round5_long_word_pairs.test_length_long_word_pairs[onomatopoeia-serendipity-1]",
+ "eval.tests.test_round5_long_word_pairs.test_length_long_word_pairs[phosphorescent-photosynthesis-0]",
+ "eval.tests.test_round5_long_word_pairs.test_length_long_word_pairs[quizzical-helictrope-1]",
+ "eval.tests.test_round5_long_word_pairs.test_length_long_word_pairs[tintinnabulation-hubbub-10]",
+ "eval.tests.test_round5_long_word_pairs.test_length_long_word_pairs[transcendental-inexplicable-2]",
+ "eval.tests.test_round5_long_word_pairs.test_levenshtein_long_word_pairs[cantankerous-circumlocution-13]",
+ "eval.tests.test_round5_long_word_pairs.test_levenshtein_long_word_pairs[defenestration-sesquipedalian-10]",
+ "eval.tests.test_round5_long_word_pairs.test_levenshtein_long_word_pairs[galumphing-bamboozle-9]",
+ "eval.tests.test_round5_long_word_pairs.test_levenshtein_long_word_pairs[hullabaloo-gobbledygook-9]",
+ "eval.tests.test_round5_long_word_pairs.test_levenshtein_long_word_pairs[juxtaposition-antidisestablishmentarian-19]",
+ "eval.tests.test_round5_long_word_pairs.test_levenshtein_long_word_pairs[kerfuffle-hodgepodge-9]",
+ "eval.tests.test_round5_long_word_pairs.test_levenshtein_long_word_pairs[melancholy-flabbergasted-12]",
+ "eval.tests.test_round5_long_word_pairs.test_levenshtein_long_word_pairs[onomatopoeia-serendipity-11]",
+ "eval.tests.test_round5_long_word_pairs.test_levenshtein_long_word_pairs[phosphorescent-photosynthesis-10]",
+ "eval.tests.test_round5_long_word_pairs.test_levenshtein_long_word_pairs[quizzical-helictrope-9]",
+ "eval.tests.test_round5_long_word_pairs.test_levenshtein_long_word_pairs[tintinnabulation-hubbub-14]",
+ "eval.tests.test_round5_long_word_pairs.test_levenshtein_long_word_pairs[transcendental-inexplicable-12]",
+ "eval.tests.test_round5_long_word_pairs.test_lig3_long_word_pairs[cantankerous-circumlocution-0.13333333333333333]",
+ "eval.tests.test_round5_long_word_pairs.test_lig3_long_word_pairs[defenestration-sesquipedalian-0.4444444444444444]",
+ "eval.tests.test_round5_long_word_pairs.test_lig3_long_word_pairs[galumphing-bamboozle-0.18181818181818182]",
+ "eval.tests.test_round5_long_word_pairs.test_lig3_long_word_pairs[hullabaloo-gobbledygook-0.18181818181818182]",
+ "eval.tests.test_round5_long_word_pairs.test_lig3_long_word_pairs[juxtaposition-antidisestablishmentarian-0.09523809523809523]",
+ "eval.tests.test_round5_long_word_pairs.test_lig3_long_word_pairs[kerfuffle-hodgepodge-0]",
+ "eval.tests.test_round5_long_word_pairs.test_lig3_long_word_pairs[melancholy-flabbergasted-0]",
+ "eval.tests.test_round5_long_word_pairs.test_lig3_long_word_pairs[onomatopoeia-serendipity-0.15384615384615385]",
+ "eval.tests.test_round5_long_word_pairs.test_lig3_long_word_pairs[phosphorescent-photosynthesis-0.375]",
+ "eval.tests.test_round5_long_word_pairs.test_lig3_long_word_pairs[quizzical-helictrope-0]",
+ "eval.tests.test_round5_long_word_pairs.test_lig3_long_word_pairs[tintinnabulation-hubbub-0]",
+ "eval.tests.test_round5_long_word_pairs.test_lig3_long_word_pairs[transcendental-inexplicable-0]",
+ "eval.tests.test_round5_long_word_pairs.test_mlipns_long_word_pairs[cantankerous-circumlocution-0]",
+ "eval.tests.test_round5_long_word_pairs.test_mlipns_long_word_pairs[defenestration-sesquipedalian-0]",
+ "eval.tests.test_round5_long_word_pairs.test_mlipns_long_word_pairs[galumphing-bamboozle-0]",
+ "eval.tests.test_round5_long_word_pairs.test_mlipns_long_word_pairs[hullabaloo-gobbledygook-0]",
+ "eval.tests.test_round5_long_word_pairs.test_mlipns_long_word_pairs[juxtaposition-antidisestablishmentarian-0]",
+ "eval.tests.test_round5_long_word_pairs.test_mlipns_long_word_pairs[kerfuffle-hodgepodge-0]",
+ "eval.tests.test_round5_long_word_pairs.test_mlipns_long_word_pairs[melancholy-flabbergasted-0]",
+ "eval.tests.test_round5_long_word_pairs.test_mlipns_long_word_pairs[onomatopoeia-serendipity-0]",
+ "eval.tests.test_round5_long_word_pairs.test_mlipns_long_word_pairs[phosphorescent-photosynthesis-0]",
+ "eval.tests.test_round5_long_word_pairs.test_mlipns_long_word_pairs[quizzical-helictrope-0]",
+ "eval.tests.test_round5_long_word_pairs.test_mlipns_long_word_pairs[tintinnabulation-hubbub-0]",
+ "eval.tests.test_round5_long_word_pairs.test_mlipns_long_word_pairs[transcendental-inexplicable-0]",
+ "eval.tests.test_round5_long_word_pairs.test_prefix_long_word_pairs[cantankerous-circumlocution-1]",
+ "eval.tests.test_round5_long_word_pairs.test_prefix_long_word_pairs[defenestration-sesquipedalian-0]",
+ "eval.tests.test_round5_long_word_pairs.test_prefix_long_word_pairs[galumphing-bamboozle-0]",
+ "eval.tests.test_round5_long_word_pairs.test_prefix_long_word_pairs[hullabaloo-gobbledygook-0]",
+ "eval.tests.test_round5_long_word_pairs.test_prefix_long_word_pairs[juxtaposition-antidisestablishmentarian-0]",
+ "eval.tests.test_round5_long_word_pairs.test_prefix_long_word_pairs[kerfuffle-hodgepodge-0]",
+ "eval.tests.test_round5_long_word_pairs.test_prefix_long_word_pairs[melancholy-flabbergasted-0]",
+ "eval.tests.test_round5_long_word_pairs.test_prefix_long_word_pairs[onomatopoeia-serendipity-0]",
+ "eval.tests.test_round5_long_word_pairs.test_prefix_long_word_pairs[phosphorescent-photosynthesis-3]",
+ "eval.tests.test_round5_long_word_pairs.test_prefix_long_word_pairs[quizzical-helictrope-0]",
+ "eval.tests.test_round5_long_word_pairs.test_prefix_long_word_pairs[tintinnabulation-hubbub-0]",
+ "eval.tests.test_round5_long_word_pairs.test_prefix_long_word_pairs[transcendental-inexplicable-0]",
+ "eval.tests.test_round5_long_word_pairs.test_ratcliff_long_word_pairs[cantankerous-circumlocution-0.15384615384615385]",
+ "eval.tests.test_round5_long_word_pairs.test_ratcliff_long_word_pairs[defenestration-sesquipedalian-0.35714285714285715]",
+ "eval.tests.test_round5_long_word_pairs.test_ratcliff_long_word_pairs[galumphing-bamboozle-0.21052631578947367]",
+ "eval.tests.test_round5_long_word_pairs.test_ratcliff_long_word_pairs[hullabaloo-gobbledygook-0.2727272727272727]",
+ "eval.tests.test_round5_long_word_pairs.test_ratcliff_long_word_pairs[juxtaposition-antidisestablishmentarian-0.2631578947368421]",
+ "eval.tests.test_round5_long_word_pairs.test_ratcliff_long_word_pairs[kerfuffle-hodgepodge-0.21052631578947367]",
+ "eval.tests.test_round5_long_word_pairs.test_ratcliff_long_word_pairs[melancholy-flabbergasted-0.17391304347826086]",
+ "eval.tests.test_round5_long_word_pairs.test_ratcliff_long_word_pairs[onomatopoeia-serendipity-0.17391304347826086]",
+ "eval.tests.test_round5_long_word_pairs.test_ratcliff_long_word_pairs[phosphorescent-photosynthesis-0.5]",
+ "eval.tests.test_round5_long_word_pairs.test_ratcliff_long_word_pairs[quizzical-helictrope-0.21052631578947367]",
+ "eval.tests.test_round5_long_word_pairs.test_ratcliff_long_word_pairs[tintinnabulation-hubbub-0.18181818181818182]",
+ "eval.tests.test_round5_long_word_pairs.test_ratcliff_long_word_pairs[transcendental-inexplicable-0.15384615384615385]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_common_long_word_pairs[cantankerous-circumlocution-11]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_common_long_word_pairs[defenestration-sesquipedalian-9]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_common_long_word_pairs[galumphing-bamboozle-8]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_common_long_word_pairs[hullabaloo-gobbledygook-9]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_common_long_word_pairs[juxtaposition-antidisestablishmentarian-20]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_common_long_word_pairs[kerfuffle-hodgepodge-8]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_common_long_word_pairs[melancholy-flabbergasted-11]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_common_long_word_pairs[onomatopoeia-serendipity-9]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_common_long_word_pairs[phosphorescent-photosynthesis-8]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_common_long_word_pairs[quizzical-helictrope-8]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_common_long_word_pairs[tintinnabulation-hubbub-15]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_common_long_word_pairs[transcendental-inexplicable-11]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_simple_long_word_pairs[cantankerous-circumlocution-11]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_simple_long_word_pairs[defenestration-sesquipedalian-7]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_simple_long_word_pairs[galumphing-bamboozle-8]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_simple_long_word_pairs[hullabaloo-gobbledygook-7]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_simple_long_word_pairs[juxtaposition-antidisestablishmentarian-18]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_simple_long_word_pairs[kerfuffle-hodgepodge-8]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_simple_long_word_pairs[melancholy-flabbergasted-11]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_simple_long_word_pairs[onomatopoeia-serendipity-7]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_simple_long_word_pairs[phosphorescent-photosynthesis-5]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_simple_long_word_pairs[quizzical-helictrope-7]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_simple_long_word_pairs[tintinnabulation-hubbub-15]",
+ "eval.tests.test_round5_long_word_pairs.test_sift4_simple_long_word_pairs[transcendental-inexplicable-9]",
+ "eval.tests.test_round5_long_word_pairs.test_smith_waterman_long_word_pairs[cantankerous-circumlocution-1]",
+ "eval.tests.test_round5_long_word_pairs.test_smith_waterman_long_word_pairs[defenestration-sesquipedalian-4]",
+ "eval.tests.test_round5_long_word_pairs.test_smith_waterman_long_word_pairs[galumphing-bamboozle-0]",
+ "eval.tests.test_round5_long_word_pairs.test_smith_waterman_long_word_pairs[hullabaloo-gobbledygook-2]",
+ "eval.tests.test_round5_long_word_pairs.test_smith_waterman_long_word_pairs[juxtaposition-antidisestablishmentarian-2]",
+ "eval.tests.test_round5_long_word_pairs.test_smith_waterman_long_word_pairs[kerfuffle-hodgepodge-1]",
+ "eval.tests.test_round5_long_word_pairs.test_smith_waterman_long_word_pairs[melancholy-flabbergasted-0]",
+ "eval.tests.test_round5_long_word_pairs.test_smith_waterman_long_word_pairs[onomatopoeia-serendipity-0]",
+ "eval.tests.test_round5_long_word_pairs.test_smith_waterman_long_word_pairs[phosphorescent-photosynthesis-3]",
+ "eval.tests.test_round5_long_word_pairs.test_smith_waterman_long_word_pairs[quizzical-helictrope-1]",
+ "eval.tests.test_round5_long_word_pairs.test_smith_waterman_long_word_pairs[tintinnabulation-hubbub-0]",
+ "eval.tests.test_round5_long_word_pairs.test_smith_waterman_long_word_pairs[transcendental-inexplicable-1]",
+ "eval.tests.test_round5_long_word_pairs.test_suffix_long_word_pairs[cantankerous-circumlocution-0]",
+ "eval.tests.test_round5_long_word_pairs.test_suffix_long_word_pairs[defenestration-sesquipedalian-1]",
+ "eval.tests.test_round5_long_word_pairs.test_suffix_long_word_pairs[galumphing-bamboozle-0]",
+ "eval.tests.test_round5_long_word_pairs.test_suffix_long_word_pairs[hullabaloo-gobbledygook-0]",
+ "eval.tests.test_round5_long_word_pairs.test_suffix_long_word_pairs[juxtaposition-antidisestablishmentarian-1]",
+ "eval.tests.test_round5_long_word_pairs.test_suffix_long_word_pairs[kerfuffle-hodgepodge-1]",
+ "eval.tests.test_round5_long_word_pairs.test_suffix_long_word_pairs[melancholy-flabbergasted-0]",
+ "eval.tests.test_round5_long_word_pairs.test_suffix_long_word_pairs[onomatopoeia-serendipity-0]",
+ "eval.tests.test_round5_long_word_pairs.test_suffix_long_word_pairs[phosphorescent-photosynthesis-0]",
+ "eval.tests.test_round5_long_word_pairs.test_suffix_long_word_pairs[quizzical-helictrope-0]",
+ "eval.tests.test_round5_long_word_pairs.test_suffix_long_word_pairs[tintinnabulation-hubbub-0]",
+ "eval.tests.test_round5_long_word_pairs.test_suffix_long_word_pairs[transcendental-inexplicable-0]",
+ "eval.tests.test_round5_long_word_pairs.test_yujian_bo_long_word_pairs[cantankerous-circumlocution-0.6666666666666666]",
+ "eval.tests.test_round5_long_word_pairs.test_yujian_bo_long_word_pairs[defenestration-sesquipedalian-0.5263157894736842]",
+ "eval.tests.test_round5_long_word_pairs.test_yujian_bo_long_word_pairs[galumphing-bamboozle-0.6428571428571429]",
+ "eval.tests.test_round5_long_word_pairs.test_yujian_bo_long_word_pairs[hullabaloo-gobbledygook-0.5806451612903226]",
+ "eval.tests.test_round5_long_word_pairs.test_yujian_bo_long_word_pairs[juxtaposition-antidisestablishmentarian-0.6666666666666666]",
+ "eval.tests.test_round5_long_word_pairs.test_yujian_bo_long_word_pairs[kerfuffle-hodgepodge-0.6428571428571429]",
+ "eval.tests.test_round5_long_word_pairs.test_yujian_bo_long_word_pairs[melancholy-flabbergasted-0.6857142857142857]",
+ "eval.tests.test_round5_long_word_pairs.test_yujian_bo_long_word_pairs[onomatopoeia-serendipity-0.6470588235294118]",
+ "eval.tests.test_round5_long_word_pairs.test_yujian_bo_long_word_pairs[phosphorescent-photosynthesis-0.5263157894736842]",
+ "eval.tests.test_round5_long_word_pairs.test_yujian_bo_long_word_pairs[quizzical-helictrope-0.6428571428571429]",
+ "eval.tests.test_round5_long_word_pairs.test_yujian_bo_long_word_pairs[tintinnabulation-hubbub-0.7777777777777778]",
+ "eval.tests.test_round5_long_word_pairs.test_yujian_bo_long_word_pairs[transcendental-inexplicable-0.631578947368421]",
+ "eval.tests.test_sift4.test_sift4_common_agrees_with_simple",
+ "eval.tests.test_sift4.test_sift4_common_known[--0]",
+ "eval.tests.test_sift4.test_sift4_common_known[Chicago-Chiag-2]",
+ "eval.tests.test_sift4.test_sift4_common_known[London-Lond-2]",
+ "eval.tests.test_sift4.test_sift4_common_known[San Francisco-san Francisco-1]",
+ "eval.tests.test_sift4.test_sift4_common_known[a-a-0]",
+ "eval.tests.test_sift4.test_sift4_common_known[a-b-1]",
+ "eval.tests.test_sift4.test_sift4_common_known[aa-aabb-2]",
+ "eval.tests.test_sift4.test_sift4_common_known[aaaa-abbb-3]",
+ "eval.tests.test_sift4.test_sift4_common_underflow_regression[/-\\xae/-1]",
+ "eval.tests.test_sift4.test_sift4_common_underflow_regression[aaaaaa |-baaaaa-3]",
+ "eval.tests.test_sift4.test_sift4_empty_vs_content",
+ "eval.tests.test_sift4.test_sift4_identical_is_zero[--0]",
+ "eval.tests.test_sift4.test_sift4_identical_is_zero[ab-ab-0]",
+ "eval.tests.test_sift4.test_sift4_identical_is_zero[kitten-kitten-0]",
+ "eval.tests.test_sift4.test_sift4_simple_known[--0]",
+ "eval.tests.test_sift4.test_sift4_simple_known[Chicago-Chiag-2]",
+ "eval.tests.test_sift4.test_sift4_simple_known[London-Lond-2]",
+ "eval.tests.test_sift4.test_sift4_simple_known[San Francisco-san Francisco-1]",
+ "eval.tests.test_sift4.test_sift4_simple_known[a-a-0]",
+ "eval.tests.test_sift4.test_sift4_simple_known[a-b-1]",
+ "eval.tests.test_sift4.test_sift4_simple_known[aa-aabb-2]",
+ "eval.tests.test_sift4.test_sift4_simple_known[aaaa-abbb-3]",
+ "eval.tests.test_sift4_deep.test_sift4_common_diverges_from_simple_on_palindromic_pair",
+ "eval.tests.test_sift4_deep.test_sift4_common_extra_known[Katherine-Kathryn-3]",
+ "eval.tests.test_sift4_deep.test_sift4_common_extra_known[Los Angeles-Angeles-4]",
+ "eval.tests.test_sift4_deep.test_sift4_common_extra_known[bb-aabb-2]",
+ "eval.tests.test_sift4_deep.test_sift4_common_extra_known[dcba-abcd-3]",
+ "eval.tests.test_sift4_deep.test_sift4_common_extra_known[sitting-kitten-3]",
+ "eval.tests.test_sift4_deep.test_sift4_common_identical_at_various_lengths[London-London]",
+ "eval.tests.test_sift4_deep.test_sift4_common_identical_at_various_lengths[a-a]",
+ "eval.tests.test_sift4_deep.test_sift4_common_identical_at_various_lengths[ab-ab]",
+ "eval.tests.test_sift4_deep.test_sift4_common_parity_deep[123 nowhere ave-123 n0where 4ve-2]",
+ "eval.tests.test_sift4_deep.test_sift4_common_parity_deep[Bangkok-Bagrok-2]",
+ "eval.tests.test_sift4_deep.test_sift4_common_parity_deep[abba-aabb-1]",
+ "eval.tests.test_sift4_deep.test_sift4_common_parity_deep[bisectable6-disectable6-1]",
+ "eval.tests.test_sift4_deep.test_sift4_empty_operand_equals_other_length[--0]",
+ "eval.tests.test_sift4_deep.test_sift4_empty_operand_equals_other_length[-New York-8]",
+ "eval.tests.test_sift4_deep.test_sift4_empty_operand_equals_other_length[San Francisco--13]",
+ "eval.tests.test_sift4_deep.test_sift4_empty_operand_equals_other_length[abc--3]",
+ "eval.tests.test_sift4_deep.test_sift4_length_difference_only[123-1234-1]",
+ "eval.tests.test_sift4_deep.test_sift4_length_difference_only[1234-123-1]",
+ "eval.tests.test_sift4_deep.test_sift4_length_difference_only[1234-1234-0]",
+ "eval.tests.test_sift4_deep.test_sift4_single_character_substitution[a-b]",
+ "eval.tests.test_sift4_deep.test_sift4_single_character_substitution[ab-ac]",
+ "eval.tests.test_sift4_deep.test_sift4_single_character_substitution[abc-xbc]",
+ "eval.tests.test_sift4_deep.test_sift4_transposition_cost[abc-acb-1]",
+ "eval.tests.test_sift4_deep.test_sift4_transposition_cost[abcdef-abcfde-1]",
+ "eval.tests.test_sift4_deep.test_sift4_transposition_cost[xyz-xzy-1]",
+ "eval.tests.test_sift4_deep.test_sift4_unicode_by_char[\\u65e5\\u672c-\\u65e5\\u672c\\u8a9e]",
+ "eval.tests.test_sift4_deep.test_sift4_unicode_by_char[caf\\xe9-cafe]",
+ "eval.tests.test_sift4_deep.test_sift4_unicode_by_char[na\\xefve-naive]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_common_additional_exact[abcd-bcda-1]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_common_additional_exact[acb-bac-1]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_common_additional_exact[hello world-hello wrold-1]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_common_additional_exact[kitten-welding-5]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_common_long_and_reverse[aaaa-bbbb-4]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_common_long_and_reverse[abcde-edcba-3]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_common_long_and_reverse[pneumonoultramicroscopicsilicovolcanoconiosis-pneumonoultramicroscopicsilicovolcanoconiosis-0]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_common_offset_window_rows[abc-ABC-3]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_common_offset_window_rows[abc-abcabc-3]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_common_offset_window_rows[abc-bca-1]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_common_offset_window_rows[abcd-abce-1]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_common_offset_window_rows[abcd-abde-1]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_common_offset_window_rows[abcd-cdab-2]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_common_offset_window_rows[abcde-abxde-1]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_common_offset_window_rows[abcdef-bacdef-1]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_common_offset_window_rows[hello-hlelo-1]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_common_offset_window_rows[kitten-kittne-1]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_common_offset_window_rows[racecar-racecars-1]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_common_offset_window_rows[world-wrold-1]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_common_offset_window_rows[xabcy-abcx-2]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_counts_case_differences[HELLO-hello-5-5]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_counts_case_differences[Hello World-hello world-2-2]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_counts_case_differences[KITTEN-kitten-6-6]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_counts_case_differences[Rust-rust-1-1]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_counts_case_differences[abc-ABC-3-3]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_crossing_with_pinned_both_variants[abcd-dabc-1-1]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_crossing_with_pinned_both_variants[afox-oaxf-2-2]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_crossing_with_pinned_both_variants[hello-hlelo-1-0]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_crossing_with_pinned_both_variants[xabcy-abcx-2-2]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_identical_strings_zero_both_variants",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_simple_and_common_agree_on_close_pairs",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_simple_offset_window_rows[abc-ABC-3]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_simple_offset_window_rows[abcd-abce-1]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_simple_offset_window_rows[abcdef-bacdef-1]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_simple_offset_window_rows[kitten-kittne-1]",
+ "eval.tests.test_sift4_offset_and_divergence.test_sift4_simple_offset_window_rows[world-wrold-1]",
+ "eval.tests.test_yujian_lig3_deep.test_lig3_disjoint_same_length_is_zero",
+ "eval.tests.test_yujian_lig3_deep.test_lig3_extra_known[GACTTA-GATTA-0.8571428571428571]",
+ "eval.tests.test_yujian_lig3_deep.test_lig3_extra_known[Mississippi-mississippi-0.9523809523809523]",
+ "eval.tests.test_yujian_lig3_deep.test_lig3_extra_known[abcdef-abcdef-1.0]",
+ "eval.tests.test_yujian_lig3_deep.test_lig3_extra_known[kitten-sitting-0.7272727272727273]",
+ "eval.tests.test_yujian_lig3_deep.test_lig3_identical_approaches_one[]",
+ "eval.tests.test_yujian_lig3_deep.test_lig3_identical_approaches_one[abc]",
+ "eval.tests.test_yujian_lig3_deep.test_lig3_identical_approaches_one[kitten]",
+ "eval.tests.test_yujian_lig3_deep.test_lig3_similarity_in_unit_range[GACTTA-GATTA]",
+ "eval.tests.test_yujian_lig3_deep.test_lig3_similarity_in_unit_range[Mississippi-mississippi]",
+ "eval.tests.test_yujian_lig3_deep.test_lig3_similarity_in_unit_range[kitten-sitting]",
+ "eval.tests.test_yujian_lig3_deep.test_yujian_bo_distance_in_unit_range[abc-xyz]",
+ "eval.tests.test_yujian_lig3_deep.test_yujian_bo_distance_in_unit_range[intention-execution]",
+ "eval.tests.test_yujian_lig3_deep.test_yujian_bo_distance_in_unit_range[kitten-sitting]",
+ "eval.tests.test_yujian_lig3_deep.test_yujian_bo_extra_known[abc-xyz-0.6666666666666666]",
+ "eval.tests.test_yujian_lig3_deep.test_yujian_bo_extra_known[abcdef-abcdef-0.0]",
+ "eval.tests.test_yujian_lig3_deep.test_yujian_bo_extra_known[flaw-lawn-0.4]",
+ "eval.tests.test_yujian_lig3_deep.test_yujian_bo_extra_known[intention-execution-0.43478260869565216]",
+ "eval.tests.test_yujian_lig3_deep.test_yujian_bo_extra_known[kitten-sitting-0.375]",
+ "eval.tests.test_yujian_lig3_deep.test_yujian_bo_identical_is_zero[]",
+ "eval.tests.test_yujian_lig3_deep.test_yujian_bo_identical_is_zero[a]",
+ "eval.tests.test_yujian_lig3_deep.test_yujian_bo_identical_is_zero[hello]"
+ ]
+ },
+ "generated_module_04": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_bag.test_bag_number_matches_source_docstring",
+ "eval.tests.test_bag.test_bag_symmetric_distance",
+ "eval.tests.test_bag.test_bag_value[--0]",
+ "eval.tests.test_bag.test_bag_value[-aaaa-4]",
+ "eval.tests.test_bag.test_bag_value[-abc-3]",
+ "eval.tests.test_bag.test_bag_value[ABC-abc-3]",
+ "eval.tests.test_bag.test_bag_value[ATCG-TAGC-0]",
+ "eval.tests.test_bag.test_bag_value[Niall-Neil-2]",
+ "eval.tests.test_bag.test_bag_value[a-b-1]",
+ "eval.tests.test_bag.test_bag_value[aaaa-aa-2]",
+ "eval.tests.test_bag.test_bag_value[aaabbb-aaa-3]",
+ "eval.tests.test_bag.test_bag_value[aba-aa-1]",
+ "eval.tests.test_bag.test_bag_value[abc-cba-0]",
+ "eval.tests.test_bag.test_bag_value[abc-xyz-3]",
+ "eval.tests.test_bag.test_bag_value[abcde-ab-3]",
+ "eval.tests.test_bag.test_bag_value[abcdef-aabbcc-3]",
+ "eval.tests.test_bag.test_bag_value[abcdef-aabbccddeeff-6]",
+ "eval.tests.test_bag.test_bag_value[aluminum-Catalan-5]",
+ "eval.tests.test_bag.test_bag_value[cat-hat-1]",
+ "eval.tests.test_bag.test_bag_value[e\\xf1e-ene-1]",
+ "eval.tests.test_bag.test_bag_value[kitten-sitting-3]",
+ "eval.tests.test_bag.test_bag_value[qwe-erty-3]",
+ "eval.tests.test_bag.test_bag_value[qwe-ewq-0]",
+ "eval.tests.test_bag.test_bag_value[qwe-qwe-0]",
+ "eval.tests.test_bag.test_bag_value[qwe-rtys-4]",
+ "eval.tests.test_bag.test_bag_value[test-tests-1]",
+ "eval.tests.test_bag.test_bag_value[zzz--3]",
+ "eval.tests.test_bag.test_bag_with_extra_args_ignored",
+ "eval.tests.test_cli_errors.test_algorithm_name_is_case_insensitive[Entropy_Ncd]",
+ "eval.tests.test_cli_errors.test_algorithm_name_is_case_insensitive[JACCARD]",
+ "eval.tests.test_cli_errors.test_algorithm_name_is_case_insensitive[OVerlAp]",
+ "eval.tests.test_cli_errors.test_algorithm_name_is_case_insensitive[bag]",
+ "eval.tests.test_cli_errors.test_extra_arguments_are_ignored",
+ "eval.tests.test_cli_errors.test_missing_arguments_panic[0]",
+ "eval.tests.test_cli_errors.test_missing_arguments_panic[1]",
+ "eval.tests.test_cli_errors.test_missing_arguments_panic[2]",
+ "eval.tests.test_cli_errors.test_stderr_empty_on_success",
+ "eval.tests.test_cli_errors.test_stdout_is_single_numeric_line",
+ "eval.tests.test_cli_errors.test_unicode_arguments_roundtrip",
+ "eval.tests.test_cli_errors.test_unknown_algorithm_panics",
+ "eval.tests.test_cosine.test_cosine_disjoint_is_zero",
+ "eval.tests.test_cosine.test_cosine_extra_args_ignored",
+ "eval.tests.test_cosine.test_cosine_half_overlap",
+ "eval.tests.test_cosine.test_cosine_repeated_squared_norm",
+ "eval.tests.test_cosine.test_cosine_value[--1]",
+ "eval.tests.test_cosine.test_cosine_value[Niall-Neil-0.6708203932499369]",
+ "eval.tests.test_cosine.test_cosine_value[aaaa-aa-0.7071067811865475]",
+ "eval.tests.test_cosine.test_cosine_value[abc-abc-1]",
+ "eval.tests.test_cosine.test_cosine_value[abc-acbd-0.8660254037844387]",
+ "eval.tests.test_cosine.test_cosine_value[abc-xyz-0]",
+ "eval.tests.test_cosine.test_cosine_value[abcdef-abcd-0.8164965809277261]",
+ "eval.tests.test_cosine.test_cosine_value[dwayne-duane-0.7302967433402214]",
+ "eval.tests.test_cosine.test_cosine_value[hello-world-0.4]",
+ "eval.tests.test_cosine.test_cosine_value[nelson--0]",
+ "eval.tests.test_cosine.test_cosine_value[nelson-neilsen-0.7715167498104595]",
+ "eval.tests.test_cosine.test_cosine_value[test-text-0.75]",
+ "eval.tests.test_cosine.test_cosine_value[the quick-the lazy-0.47140452079103173]",
+ "eval.tests.test_cosine.test_cosine_value[xxxyyy-x-0.4082482904638631]",
+ "eval.tests.test_cosine.test_cosine_value[zab-zax-0.6666666666666666]",
+ "eval.tests.test_entropy_ncd.test_entropy_ncd_disjoint_uniform_is_one",
+ "eval.tests.test_entropy_ncd.test_entropy_ncd_distances_more_dissimilar_inputs",
+ "eval.tests.test_entropy_ncd.test_entropy_ncd_extra_args_ignored",
+ "eval.tests.test_entropy_ncd.test_entropy_ncd_identical_is_zero",
+ "eval.tests.test_entropy_ncd.test_entropy_ncd_single_char",
+ "eval.tests.test_entropy_ncd.test_entropy_ncd_value[--0]",
+ "eval.tests.test_entropy_ncd.test_entropy_ncd_value[Mississippi-Missouri-0.1662072343394691]",
+ "eval.tests.test_entropy_ncd.test_entropy_ncd_value[aaa-bbb-1]",
+ "eval.tests.test_entropy_ncd.test_entropy_ncd_value[aaaa-aa-0]",
+ "eval.tests.test_entropy_ncd.test_entropy_ncd_value[aaaaaaaaaaaaaa-bbbbbbbbbbbbbb-1]",
+ "eval.tests.test_entropy_ncd.test_entropy_ncd_value[abc-acbd-0.12174985473119697]",
+ "eval.tests.test_entropy_ncd.test_entropy_ncd_value[abc-xyz-0.38685280723454163]",
+ "eval.tests.test_entropy_ncd.test_entropy_ncd_value[abcdef-abcd-0.14558816020596327]",
+ "eval.tests.test_entropy_ncd.test_entropy_ncd_value[attribution-tribute-0.10553278369376712]",
+ "eval.tests.test_entropy_ncd.test_entropy_ncd_value[hello-world-0.21809961838087866]",
+ "eval.tests.test_entropy_ncd.test_entropy_ncd_value[nelson-neilsen-0.05402703023689724]",
+ "eval.tests.test_entropy_ncd.test_entropy_ncd_value[test-nani-0.4]",
+ "eval.tests.test_entropy_ncd.test_entropy_ncd_value[test-test-0]",
+ "eval.tests.test_entropy_ncd.test_entropy_ncd_value[test-text-0.1]",
+ "eval.tests.test_entropy_ncd.test_entropy_ncd_value[the quick brown-the quick black-0.0732523246941786]",
+ "eval.tests.test_jaccard.test_jaccard_anagram_same",
+ "eval.tests.test_jaccard.test_jaccard_case_sensitive",
+ "eval.tests.test_jaccard.test_jaccard_disjoint_is_zero",
+ "eval.tests.test_jaccard.test_jaccard_extra_args_ignored",
+ "eval.tests.test_jaccard.test_jaccard_repeated_larger_set",
+ "eval.tests.test_jaccard.test_jaccard_single_letter",
+ "eval.tests.test_jaccard.test_jaccard_value[--1]",
+ "eval.tests.test_jaccard.test_jaccard_value[-neilsen-0]",
+ "eval.tests.test_jaccard.test_jaccard_value[aaaa-aa-0.5]",
+ "eval.tests.test_jaccard.test_jaccard_value[ab-aabb-0.5]",
+ "eval.tests.test_jaccard.test_jaccard_value[abc-abc-1]",
+ "eval.tests.test_jaccard.test_jaccard_value[abc-acbd-0.75]",
+ "eval.tests.test_jaccard.test_jaccard_value[abc-bac-1]",
+ "eval.tests.test_jaccard.test_jaccard_value[abcabc-abc-0.5]",
+ "eval.tests.test_jaccard.test_jaccard_value[abcdef-abcd-0.6666666666666666]",
+ "eval.tests.test_jaccard.test_jaccard_value[decide-resize-0.3333333333333333]",
+ "eval.tests.test_jaccard.test_jaccard_value[hello-world-0.25]",
+ "eval.tests.test_jaccard.test_jaccard_value[nelson--0]",
+ "eval.tests.test_jaccard.test_jaccard_value[nelson-neilsen-0.625]",
+ "eval.tests.test_jaccard.test_jaccard_value[test-text-0.6]",
+ "eval.tests.test_jaccard.test_jaccard_value[testabctest-test\\xf6\\u0999\\u9999test-0.5714285714285714]",
+ "eval.tests.test_jaccard.test_jaccard_value[the quick-the lazy-0.3076923076923077]",
+ "eval.tests.test_jaccard.test_jaccard_value[xxxyyy-x-0.16666666666666666]",
+ "eval.tests.test_jaccard.test_jaccard_value[zab-zax-0.5]",
+ "eval.tests.test_jaro.test_jaro_extra_args_ignored",
+ "eval.tests.test_jaro.test_jaro_single_char_and_empty_handling",
+ "eval.tests.test_jaro.test_jaro_symmetric",
+ "eval.tests.test_jaro.test_jaro_transposition_penalty",
+ "eval.tests.test_jaro.test_jaro_value[--1]",
+ "eval.tests.test_jaro.test_jaro_value[Friedrich Nietzsche-Jean-Paul Sartre-0.3918859649122807]",
+ "eval.tests.test_jaro.test_jaro_value[Jaro-Winkler-Jaro-Winkler-1]",
+ "eval.tests.test_jaro.test_jaro_value[a-a-1]",
+ "eval.tests.test_jaro.test_jaro_value[a-aaaaa-0.7333333333333334]",
+ "eval.tests.test_jaro.test_jaro_value[a-ab-0.8333333333333334]",
+ "eval.tests.test_jaro.test_jaro_value[a-b-0]",
+ "eval.tests.test_jaro.test_jaro_value[ab-a-0.8333333333333334]",
+ "eval.tests.test_jaro.test_jaro_value[abc-acbd-0.8055555555555555]",
+ "eval.tests.test_jaro.test_jaro_value[abc-xyz-0]",
+ "eval.tests.test_jaro.test_jaro_value[abcd-abef-0.6666666666666666]",
+ "eval.tests.test_jaro.test_jaro_value[abcefg-abcfgh-0.888888888888889]",
+ "eval.tests.test_jaro.test_jaro_value[dixon-dicksonx-0.7666666666666666]",
+ "eval.tests.test_jaro.test_jaro_value[dwayne-duane-0.8222222222222223]",
+ "eval.tests.test_jaro.test_jaro_value[hello-world-0.4666666666666666]",
+ "eval.tests.test_jaro.test_jaro_value[jellyfish-smellyfish-0.8962962962962964]",
+ "eval.tests.test_jaro.test_jaro_value[martha-marhta-0.9444444444444445]",
+ "eval.tests.test_jaro.test_jaro_value[sameprefixabc-sameprefixxyz-0.8461538461538461]",
+ "eval.tests.test_jaro.test_jaro_value[test-text-0.8333333333333334]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_boosted_over_jaro",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_disjoint_is_zero",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_extra_args_ignored",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_prefix_boost_is_monotonic_in_prefix",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_prefix_boost_variation",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_prefix_cap_bypass",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[--1]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[-foo-0]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[0-0@-0.8500000000000001]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[012345-0123456-0.9714285714285714]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[012abc-012abcd-0.9714285714285714]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[012abc-013abcd-0.8793650793650793]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[@-@@-0.8500000000000001]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[Dinsdale-D-0.7375]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[Fredericksberg-Frederiksen-0.9246753246753247]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[Friedrich Nietzsche-Fran-Paul Sartre-0.5619883040935673]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[Thorkel-Thorgier-0.8678571428571429]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[William-Williams-0.975]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[a-a-1]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[a-ab-0.8500000000000001]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[a-b-0]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[a1bc-a1be-0.8833333333333334]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[aaaa-aaaaa-0.96]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[abc-xyz-0]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[dixon-dicksonx-0.8133333333333332]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[dwayne-duane-0.8400000000000001]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[jaz-jal-0.8222222222222222]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[jellyfish-smellyfis-0.8518518518518517]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[jellyfish-smellyfish-0.8962962962962964]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[martha-marhta-0.9611111111111111]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[orangutan-kumquat-orangutan kumquat-0.9764705882352941]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[test-text-0.8666666666666667]",
+ "eval.tests.test_jaro_winkler.test_jaro_winkler_value[testabctest-test\\xf6\\u0999\\u9999test-0.890909090909091]",
+ "eval.tests.test_overlap.test_overlap_disjoint_is_zero",
+ "eval.tests.test_overlap.test_overlap_extra_args_ignored",
+ "eval.tests.test_overlap.test_overlap_full_containment_is_one",
+ "eval.tests.test_overlap.test_overlap_single_char_edge",
+ "eval.tests.test_overlap.test_overlap_value[--1]",
+ "eval.tests.test_overlap.test_overlap_value[-neilsen-0]",
+ "eval.tests.test_overlap.test_overlap_value[Niall-Neil-0.75]",
+ "eval.tests.test_overlap.test_overlap_value[a-ab-1]",
+ "eval.tests.test_overlap.test_overlap_value[aaaa-aa-1]",
+ "eval.tests.test_overlap.test_overlap_value[abc-abc-1]",
+ "eval.tests.test_overlap.test_overlap_value[abc-acbd-1]",
+ "eval.tests.test_overlap.test_overlap_value[abc-bac-1]",
+ "eval.tests.test_overlap.test_overlap_value[abc-xyz-0]",
+ "eval.tests.test_overlap.test_overlap_value[attribution-tribute-0.8571428571428571]",
+ "eval.tests.test_overlap.test_overlap_value[dwayne-duane-0.8]",
+ "eval.tests.test_overlap.test_overlap_value[hello-world-0.4]",
+ "eval.tests.test_overlap.test_overlap_value[nelson--0]",
+ "eval.tests.test_overlap.test_overlap_value[nelson-neilsen-0.8333333333333334]",
+ "eval.tests.test_overlap.test_overlap_value[test-text-0.75]",
+ "eval.tests.test_overlap.test_overlap_value[testme-textthis-0.6666666666666666]",
+ "eval.tests.test_overlap.test_overlap_value[the quick-the lazy-0.5]",
+ "eval.tests.test_properties.test_all_similarity_metrics_bounded_and_reflexive",
+ "eval.tests.test_properties.test_bag_distance_bounded_and_reflexive",
+ "eval.tests.test_properties.test_empty_empty_consistent_for_all_metrics",
+ "eval.tests.test_properties.test_entropy_ncd_distance_bounded_and_reflexive",
+ "eval.tests.test_properties.test_similarity_metrics_symmetric_for_unrelated_pairs",
+ "eval.tests.test_properties.test_unicode_harmless_for_all_metrics",
+ "eval.tests.test_roberts.test_roberts_extra_args_ignored",
+ "eval.tests.test_roberts.test_roberts_permutation_is_one",
+ "eval.tests.test_roberts.test_roberts_symmetric",
+ "eval.tests.test_roberts.test_roberts_value[--1]",
+ "eval.tests.test_roberts.test_roberts_value[-a-0]",
+ "eval.tests.test_roberts.test_roberts_value[ATCAACGAGT-AACGATTAG-0.9210526315789473]",
+ "eval.tests.test_roberts.test_roberts_value[ATCG-TAGC-1]",
+ "eval.tests.test_roberts.test_roberts_value[Colin-Coiln-1]",
+ "eval.tests.test_roberts.test_roberts_value[Mississippi-Missouri-0.42105263157894735]",
+ "eval.tests.test_roberts.test_roberts_value[Niall-Neil-0.6111111111111112]",
+ "eval.tests.test_roberts.test_roberts_value[Nigel-Niall-0.55]",
+ "eval.tests.test_roberts.test_roberts_value[a--0]",
+ "eval.tests.test_roberts.test_roberts_value[a-ab-0.6666666666666666]",
+ "eval.tests.test_roberts.test_roberts_value[aaaa-aa-0.5]",
+ "eval.tests.test_roberts.test_roberts_value[abc-abc-1]",
+ "eval.tests.test_roberts.test_roberts_value[abc-acbd-0.8571428571428571]",
+ "eval.tests.test_roberts.test_roberts_value[abc-xyz-0]",
+ "eval.tests.test_roberts.test_roberts_value[abcdef-abcd-0.8]",
+ "eval.tests.test_roberts.test_roberts_value[aluminum-Catalan-0.3555555555555555]",
+ "eval.tests.test_roberts.test_roberts_value[attribution-tribute-0.6018518518518519]",
+ "eval.tests.test_roberts.test_roberts_value[cat-hat-0.6666666666666666]",
+ "eval.tests.test_roberts.test_roberts_value[hello-world-0.35]",
+ "eval.tests.test_roberts.test_roberts_value[test-text-0.75]",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_empty_one_side",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_extra_args_ignored",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_identical_with_spaces",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_prefix_boost",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_symmetric",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_value[--1]",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_value[Mississippi-Missouri-0.5263157894736842]",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_value[Niall-Neil-0.6666666666666666]",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_value[a-ab-0.6666666666666666]",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_value[aaaa-aa-0.6666666666666666]",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_value[aaaa-aaaa-1]",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_value[abc-aabbcc-0.6666666666666666]",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_value[abc-abc-1]",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_value[abc-acbd-0.8571428571428571]",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_value[abc-bac-1]",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_value[abc-xyz-0]",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_value[dwayne-duane-0.7272727272727273]",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_value[fRaNce-france-0.6666666666666666]",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_value[french-quebec-0.3333333333333333]",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_value[healed-sealed-0.8333333333333334]",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_value[hello-world-0.4]",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_value[iphone-iphone x-0.8571428571428571]",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_value[nelson-neilsen-0.7692307692307693]",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_value[test-text-0.75]",
+ "eval.tests.test_sorensen_dice.test_sorensen_dice_value[testabctest-test\\xf6\\u0999\\u9999test-0.7272727272727273]",
+ "eval.tests.test_tversky.test_tversky_default_equals_jaccard[Niall-Neil]",
+ "eval.tests.test_tversky.test_tversky_default_equals_jaccard[decide-resize]",
+ "eval.tests.test_tversky.test_tversky_default_equals_jaccard[dwayne-duane]",
+ "eval.tests.test_tversky.test_tversky_default_equals_jaccard[kitten-sitting]",
+ "eval.tests.test_tversky.test_tversky_extra_args_ignored",
+ "eval.tests.test_tversky.test_tversky_single_char",
+ "eval.tests.test_tversky.test_tversky_value[--1]",
+ "eval.tests.test_tversky.test_tversky_value[-neilsen-0]",
+ "eval.tests.test_tversky.test_tversky_value[aaaa-aa-0.5]",
+ "eval.tests.test_tversky.test_tversky_value[abc-abc-1]",
+ "eval.tests.test_tversky.test_tversky_value[abc-acbd-0.75]",
+ "eval.tests.test_tversky.test_tversky_value[abc-xyz-0]",
+ "eval.tests.test_tversky.test_tversky_value[abcdef-abcd-0.6666666666666666]",
+ "eval.tests.test_tversky.test_tversky_value[attribution-tribute-0.5]",
+ "eval.tests.test_tversky.test_tversky_value[hello-world-0.25]",
+ "eval.tests.test_tversky.test_tversky_value[nelson--0]",
+ "eval.tests.test_tversky.test_tversky_value[nelson-neilsen-0.625]",
+ "eval.tests.test_tversky.test_tversky_value[test-text-0.6]",
+ "eval.tests.test_tversky.test_tversky_value[xxxyyy-x-0.16666666666666666]"
+ ]
+ },
+ "generated_upstream": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[bag]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[cosine]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[damerau_levenshtein]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[damerau_levenshtein_restricted]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[entropy_ncd]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[hamming]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[jaccard]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[jaro]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[jaro_winkler]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[lcsseq]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[lcsstr]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[length]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[levenshtein]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[lig3]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[mlipns]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[overlap]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[prefix]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[ratcliff_obershelp]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[roberts]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[sift4_common]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[sift4_simple]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[smith_waterman]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[sorensen_dice]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[suffix]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[tversky]",
+ "eval.tests.test_upstream_harvest.test_all_algorithms_dispatch_finite[yujian_bo]",
+ "eval.tests.test_upstream_harvest.test_documented_exact_value[damerau_levenshtein-abc-acbd]",
+ "eval.tests.test_upstream_harvest.test_documented_exact_value[damerau_levenshtein_restricted-abc-acbd]",
+ "eval.tests.test_upstream_harvest.test_documented_exact_value[hamming-hello-hi]",
+ "eval.tests.test_upstream_harvest.test_documented_exact_value[jaro-MARTHA-MARHTA]",
+ "eval.tests.test_upstream_harvest.test_documented_exact_value[jaro_winkler-MARTHA-MARHTA]",
+ "eval.tests.test_upstream_harvest.test_documented_exact_value[levenshtein-abc-acbd]",
+ "eval.tests.test_upstream_harvest.test_documented_exact_value[levenshtein-kitten-sitting]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_identity_similarity[cosine]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_identity_similarity[jaccard]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_identity_similarity[jaro]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_identity_similarity[jaro_winkler]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_identity_similarity[lig3]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_identity_similarity[mlipns]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_identity_similarity[overlap]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_identity_similarity[ratcliff_obershelp]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_identity_similarity[roberts]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_identity_similarity[sorensen_dice]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_identity_similarity[tversky]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_length_metrics[lcsseq]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_length_metrics[lcsstr]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_length_metrics[prefix]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_length_metrics[smith_waterman]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_length_metrics[suffix]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_zero_distance[bag]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_zero_distance[damerau_levenshtein]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_zero_distance[damerau_levenshtein_restricted]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_zero_distance[entropy_ncd]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_zero_distance[hamming]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_zero_distance[length]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_zero_distance[levenshtein]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_zero_distance[sift4_common]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_zero_distance[sift4_simple]",
+ "eval.tests.test_upstream_harvest.test_equal_strings_zero_distance[yujian_bo]",
+ "eval.tests.test_upstream_harvest.test_missing_arguments_panic",
+ "eval.tests.test_upstream_harvest.test_unknown_algorithm_name_panics"
+ ]
+ }
+ },
+ "commit": "0f92088dfc84a99a7652b3f6d7e268afd98dbaa6",
+ "data_source": "synthetic_programgym",
+ "difficulty": "easy",
+ "difficulty_score": 1.6044420662607233,
+ "eval_clean_hashes": [
+ "bc1933ce8b78fa25e856668d3d40291b3062bbd8801cee5d8e1a1c1932747bf5"
+ ],
+ "input_record": {
+ "codeql_db_mb": 84.04,
+ "codeql_status": true,
+ "codeql_time": 76.84830174595118,
+ "commit": "0f92088dfc84a99a7652b3f6d7e268afd98dbaa6",
+ "commits": 138,
+ "contributors": 4,
+ "difficulty": "easy",
+ "difficulty_code_lines": 4022,
+ "difficulty_has_tests": true,
+ "difficulty_product_code_lines": 4022,
+ "difficulty_runtime_deps": 0,
+ "difficulty_score": 1.6044420662607233,
+ "difficulty_test_code_lines": 90,
+ "full_name": "life4/textdistance.rs",
+ "github_stars": 303,
+ "input_codeql_db": "rust_codeql/life4__textdistance.rs",
+ "language": "rs",
+ "pb_match": [
+ {
+ "pb_fullname": "BurntSushi/xsv",
+ "rank": 327,
+ "similarity": 0.5065972805023193
+ },
+ {
+ "pb_fullname": "pemistahl/grex",
+ "rank": 167,
+ "similarity": 0.5119324922561646
+ },
+ {
+ "pb_fullname": "alexpovel/srgn",
+ "rank": 881,
+ "similarity": 0.4670117497444153
+ },
+ {
+ "pb_fullname": "Stranger6667/jsonschema",
+ "rank": 540,
+ "similarity": 0.3861263394355774
+ },
+ {
+ "pb_fullname": "rvben/rumdl",
+ "rank": 673,
+ "similarity": 0.44758668541908264
+ },
+ {
+ "pb_fullname": "dandavison/delta",
+ "rank": 662,
+ "similarity": 0.4615679383277893
+ },
+ {
+ "pb_fullname": "sharkdp/hyperfine",
+ "rank": 191,
+ "similarity": 0.5068366527557373
+ },
+ {
+ "pb_fullname": "jhspetersson/fselect",
+ "rank": 692,
+ "similarity": 0.4319910407066345
+ },
+ {
+ "pb_fullname": "BLAKE3-team/BLAKE3",
+ "rank": 407,
+ "similarity": 0.42440930008888245
+ },
+ {
+ "pb_fullname": "dalance/amber",
+ "rank": 763,
+ "similarity": 0.4616376757621765
+ },
+ {
+ "pb_fullname": "sstadick/hck",
+ "rank": 516,
+ "similarity": 0.4436245262622833
+ },
+ {
+ "pb_fullname": "ismaelgv/rnr",
+ "rank": 397,
+ "similarity": 0.42543232440948486
+ },
+ {
+ "pb_fullname": "sharkdp/pastel",
+ "rank": 880,
+ "similarity": 0.45595359802246094
+ },
+ {
+ "pb_fullname": "riquito/tuc",
+ "rank": 448,
+ "similarity": 0.43974167108535767
+ },
+ {
+ "pb_fullname": "clog-tool/clog-cli",
+ "rank": 920,
+ "similarity": 0.4151211380958557
+ },
+ {
+ "pb_fullname": "ast-grep/ast-grep",
+ "rank": 345,
+ "similarity": 0.5469977855682373
+ },
+ {
+ "pb_fullname": "chmln/sd",
+ "rank": 364,
+ "similarity": 0.49241384863853455
+ },
+ {
+ "pb_fullname": "sharkdp/fd",
+ "rank": 478,
+ "similarity": 0.44587576389312744
+ },
+ {
+ "pb_fullname": "mookid/diffr",
+ "rank": 269,
+ "similarity": 0.5352924466133118
+ },
+ {
+ "pb_fullname": "anordal/shellharden",
+ "rank": 765,
+ "similarity": 0.46646949648857117
+ },
+ {
+ "pb_fullname": "agourlay/zip-password-finder",
+ "rank": 971,
+ "similarity": 0.45436710119247437
+ },
+ {
+ "pb_fullname": "jrnxf/thokr",
+ "rank": 814,
+ "similarity": 0.48159024119377136
+ },
+ {
+ "pb_fullname": "XAMPPRocky/tokei",
+ "rank": 505,
+ "similarity": 0.4377191662788391
+ },
+ {
+ "pb_fullname": "wfxr/csview",
+ "rank": 363,
+ "similarity": 0.47520095109939575
+ },
+ {
+ "pb_fullname": "yaa110/nomino",
+ "rank": 195,
+ "similarity": 0.4875233769416809
+ }
+ ],
+ "repo_age": 3.31,
+ "repo_path": "rust/life4__textdistance.rs",
+ "rust_channel": "stable",
+ "rust_edition": "2021",
+ "rust_release_date": "2021-10-21",
+ "rust_version": "1.56.0",
+ "rust_version_source": "edition",
+ "source": "commit:0f92088dfc84a99a7652b3f6d7e268afd98dbaa6",
+ "status": "done",
+ "url": "https://github.com/life4/textdistance.rs"
+ },
+ "instance_id": "life4__textdistance.rs.0f92088",
+ "language": "rust",
+ "module_iterations": [
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_01",
+ "iteration_limit": 5,
+ "module_index": 1,
+ "module_kind": "source",
+ "termination_reason": "early_stopping"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_02",
+ "iteration_limit": 5,
+ "module_index": 2,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_03",
+ "iteration_limit": 5,
+ "module_index": 3,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 2,
+ "branch_name": "generated_module_04",
+ "iteration_limit": 5,
+ "module_index": 4,
+ "module_kind": "source",
+ "termination_reason": "module_coverage_threshold_reached"
+ },
+ {
+ "actual_iterations": 1,
+ "branch_name": "generated_upstream",
+ "iteration_limit": 5,
+ "module_index": 5,
+ "module_kind": "tests",
+ "termination_reason": "module_coverage_threshold_reached"
+ }
+ ],
+ "repository": "life4/textdistance.rs"
+}
diff --git a/life4--textdistance.rs.0f92088/tests/test.sh b/life4--textdistance.rs.0f92088/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/life4--textdistance.rs.0f92088/tests/workspace.tar.gz b/life4--textdistance.rs.0f92088/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..33752263b88589b6fa516ab5244204d21f54ead5
--- /dev/null
+++ b/life4--textdistance.rs.0f92088/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:da2d63636e605b0527e4428b3ea44a30a73385778b42d5eb3b313ea25a2f5e43
+size 5902
diff --git a/lighttpd--spawn-fcgi.a82da4f/environment/Dockerfile b/lighttpd--spawn-fcgi.a82da4f/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..1ae9d9748054a53042399bc69eb368ec4306df78
--- /dev/null
+++ b/lighttpd--spawn-fcgi.a82da4f/environment/Dockerfile
@@ -0,0 +1,54 @@
+FROM ubuntu:22.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip python3-dev autoconf automake gettext file binutils libtool libncurses-dev meson ninja-build python3-pytest python3-pytest-xdist python3-coverage && rm -rf /var/lib/apt/lists/*
+ARG CMAKE_VERSION=3.31.10
+ARG CMAKE_PYPI_INDEX_URL=https://pypi.org/simple
+RUN set -eux; python3 -m pip install --no-cache-dir --index-url "${CMAKE_PYPI_INDEX_URL}" --trusted-host "mirror.example.invalid" "cmake==${CMAKE_VERSION}"; cmake --version; ctest --version; cpack --version
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /workspace/download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/lighttpd--spawn-fcgi.a82da4f/environment/download.sh b/lighttpd--spawn-fcgi.a82da4f/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..fd02b1dd4c931b1ecdba1d2291607e792304d846
--- /dev/null
+++ b/lighttpd--spawn-fcgi.a82da4f/environment/download.sh
@@ -0,0 +1,55 @@
+# download.sh - ProgramGym download stage for spawn-fcgi
+#
+# spawn-fcgi is a pure-C project built with meson/ninja. The base image
+# already provides gcc/g++ 13.3.0, meson 0.61.2, and ninja-build 1.10.1, so no
+# external packages or source archives need to be fetched or installed. This
+# script only confirms the required toolchain binaries are present on PATH and
+# exports the variables build.sh relies on. It performs no build, compile,
+# link, configure, or test step.
+
+# Guard: this file is meant to be sourced, not executed directly.
+if [ "${BASH_SOURCE[0]}" = "$0" ]; then
+ echo "download.sh must be sourced, not executed" >&2
+ exit 1
+fi
+
+# Build configuration variables consumed by build.sh.
+export PROJECT_BUILD_SYSTEM="meson"
+export PROJECT_BUILD_DIR="build"
+export PROJECT_TARGET="spawn-fcgi"
+
+# Verify the required build toolchain binaries are present on PATH. These are
+# plain existence checks (command -v prints the resolved path); they do not
+# run or execute any build tool. Fail loudly if meson or ninja are missing so
+# build.sh does not run on a broken image.
+if command -v meson; then
+ echo "download.sh: meson is available"
+else
+ echo "download.sh: ERROR: meson is required to build spawn-fcgi but is not installed" >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ fi
+ exit 1
+fi
+
+if command -v ninja; then
+ echo "download.sh: ninja is available"
+else
+ echo "download.sh: ERROR: ninja is required to build spawn-fcgi but is not installed" >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ fi
+ exit 1
+fi
+
+if command -v cc; then
+ echo "download.sh: a C compiler (cc) is available"
+else
+ echo "download.sh: ERROR: a C compiler (cc) is required but is not installed" >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ fi
+ exit 1
+fi
+
+echo "download.sh: dependency check complete; no external packages to fetch."
diff --git a/lighttpd--spawn-fcgi.a82da4f/environment/executable b/lighttpd--spawn-fcgi.a82da4f/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..1f29c1d00de8317a9d8856f391a63a1f90f67e63
Binary files /dev/null and b/lighttpd--spawn-fcgi.a82da4f/environment/executable differ
diff --git a/lighttpd--spawn-fcgi.a82da4f/environment/harbor_prepare_download_env.sh b/lighttpd--spawn-fcgi.a82da4f/environment/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..2c7dd2f2b8fff5fb8926261279d38518e59e407c
--- /dev/null
+++ b/lighttpd--spawn-fcgi.a82da4f/environment/harbor_prepare_download_env.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+set -euo pipefail
+cd /workspace
+set -a
+source /workspace/download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/lighttpd--spawn-fcgi.a82da4f/environment/workspace.tar.gz b/lighttpd--spawn-fcgi.a82da4f/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..dc8e78a962e0ceb3028ce7311f5fecf28e2881b3
--- /dev/null
+++ b/lighttpd--spawn-fcgi.a82da4f/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0e7ecc5184ee85283834a06d8302ef824b4824ce4ea3fc758c0197fd7445c358
+size 2445
diff --git a/lighttpd--spawn-fcgi.a82da4f/instruction.md b/lighttpd--spawn-fcgi.a82da4f/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/lighttpd--spawn-fcgi.a82da4f/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/lighttpd--spawn-fcgi.a82da4f/solution/solve.sh b/lighttpd--spawn-fcgi.a82da4f/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/lighttpd--spawn-fcgi.a82da4f/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/lighttpd--spawn-fcgi.a82da4f/task.toml b/lighttpd--spawn-fcgi.a82da4f/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..17e31602cc8fe888da815a374c9ada21a3b9484c
--- /dev/null
+++ b/lighttpd--spawn-fcgi.a82da4f/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/lighttpd--spawn-fcgi.a82da4f"
+description = "Synthetic ProgramGym cleanroom reconstruction task for lighttpd/spawn-fcgi"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "c"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "lighttpd__spawn-fcgi.a82da4f"
+repository = "lighttpd/spawn-fcgi"
+commit = "a82da4fbb56b1460e2b9112705e28c59de9f5e10"
+language = "c"
+difficulty = "unknown"
+difficulty_score = 0.0
+test_branches = 1
+test_count = 128
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/lighttpd--spawn-fcgi.a82da4f/tests/Dockerfile b/lighttpd--spawn-fcgi.a82da4f/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..6b8eed24af9261bb9c1cb5a7b359acf9adaa6a3b
--- /dev/null
+++ b/lighttpd--spawn-fcgi.a82da4f/tests/Dockerfile
@@ -0,0 +1,68 @@
+FROM ubuntu:22.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip python3-dev autoconf automake gettext file binutils libtool libncurses-dev meson ninja-build python3-pytest python3-pytest-xdist python3-coverage && rm -rf /var/lib/apt/lists/*
+ARG CMAKE_VERSION=3.31.10
+ARG CMAKE_PYPI_INDEX_URL=https://pypi.org/simple
+RUN set -eux; python3 -m pip install --no-cache-dir --index-url "${CMAKE_PYPI_INDEX_URL}" --trusted-host "mirror.example.invalid" "cmake==${CMAKE_VERSION}"; cmake --version; ctest --version; cpack --version
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /workspace/download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN set -eu; \
+ pip_break_system_packages=""; \
+ if python3 -m pip install --help | grep -q -- '--break-system-packages'; then \
+ pip_break_system_packages="--break-system-packages"; \
+ fi; \
+ python3 -m pip install ${pip_break_system_packages} \
+ --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/lighttpd--spawn-fcgi.a82da4f/tests/blobs/tests/generated_module_01.tar.gz b/lighttpd--spawn-fcgi.a82da4f/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..dc63d9f20147c0a2d4694e5879ef3688ebfdbd84
--- /dev/null
+++ b/lighttpd--spawn-fcgi.a82da4f/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ad23681a83e8c72bdec24d6969935fc1a081edbb7881a5c00579c64a3a03a59a
+size 26849
diff --git a/lighttpd--spawn-fcgi.a82da4f/tests/download.sh b/lighttpd--spawn-fcgi.a82da4f/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..fd02b1dd4c931b1ecdba1d2291607e792304d846
--- /dev/null
+++ b/lighttpd--spawn-fcgi.a82da4f/tests/download.sh
@@ -0,0 +1,55 @@
+# download.sh - ProgramGym download stage for spawn-fcgi
+#
+# spawn-fcgi is a pure-C project built with meson/ninja. The base image
+# already provides gcc/g++ 13.3.0, meson 0.61.2, and ninja-build 1.10.1, so no
+# external packages or source archives need to be fetched or installed. This
+# script only confirms the required toolchain binaries are present on PATH and
+# exports the variables build.sh relies on. It performs no build, compile,
+# link, configure, or test step.
+
+# Guard: this file is meant to be sourced, not executed directly.
+if [ "${BASH_SOURCE[0]}" = "$0" ]; then
+ echo "download.sh must be sourced, not executed" >&2
+ exit 1
+fi
+
+# Build configuration variables consumed by build.sh.
+export PROJECT_BUILD_SYSTEM="meson"
+export PROJECT_BUILD_DIR="build"
+export PROJECT_TARGET="spawn-fcgi"
+
+# Verify the required build toolchain binaries are present on PATH. These are
+# plain existence checks (command -v prints the resolved path); they do not
+# run or execute any build tool. Fail loudly if meson or ninja are missing so
+# build.sh does not run on a broken image.
+if command -v meson; then
+ echo "download.sh: meson is available"
+else
+ echo "download.sh: ERROR: meson is required to build spawn-fcgi but is not installed" >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ fi
+ exit 1
+fi
+
+if command -v ninja; then
+ echo "download.sh: ninja is available"
+else
+ echo "download.sh: ERROR: ninja is required to build spawn-fcgi but is not installed" >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ fi
+ exit 1
+fi
+
+if command -v cc; then
+ echo "download.sh: a C compiler (cc) is available"
+else
+ echo "download.sh: ERROR: a C compiler (cc) is required but is not installed" >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ fi
+ exit 1
+fi
+
+echo "download.sh: dependency check complete; no external packages to fetch."
diff --git a/lighttpd--spawn-fcgi.a82da4f/tests/executable b/lighttpd--spawn-fcgi.a82da4f/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..1f29c1d00de8317a9d8856f391a63a1f90f67e63
Binary files /dev/null and b/lighttpd--spawn-fcgi.a82da4f/tests/executable differ
diff --git a/lighttpd--spawn-fcgi.a82da4f/tests/harbor_prepare_download_env.sh b/lighttpd--spawn-fcgi.a82da4f/tests/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..2c7dd2f2b8fff5fb8926261279d38518e59e407c
--- /dev/null
+++ b/lighttpd--spawn-fcgi.a82da4f/tests/harbor_prepare_download_env.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+set -euo pipefail
+cd /workspace
+set -a
+source /workspace/download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/lighttpd--spawn-fcgi.a82da4f/tests/programgym_evaluator.py b/lighttpd--spawn-fcgi.a82da4f/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/lighttpd--spawn-fcgi.a82da4f/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/lighttpd--spawn-fcgi.a82da4f/tests/programgym_task.json b/lighttpd--spawn-fcgi.a82da4f/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..3eb7dcdaca7b5b355ea191e174c071aa3d7dc89f
--- /dev/null
+++ b/lighttpd--spawn-fcgi.a82da4f/tests/programgym_task.json
@@ -0,0 +1,894 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [
+ {
+ "name": "eval.tests.test_additional_behavior.test_ipv6_unspecified_address_binds",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_additional_behavior.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_additional_behavior.test_numeric_socket_group_flag_dash_G",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_additional_behavior.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_additional_behavior.test_port_zero_alone_is_treated_as_no_socket",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_additional_behavior.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_additional_behavior.test_port_zero_with_unix_socket_binds_only_unix",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_additional_behavior.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_additional_behavior.test_root_bind_failure_before_chroot_returns_error",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_additional_behavior.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_additional_behavior.test_root_socket_created_on_host_then_app_runs_in_chroot",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_additional_behavior.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_additional_behavior.test_unix_socket_in_missing_directory_fails_bind",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_additional_behavior.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_arg_validation.test_missing_fcgi_app_is_rejected",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_arg_validation.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_arg_validation.test_overflowing_port_65536_truncates_to_zero",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_arg_validation.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_arg_validation.test_short_dotted_address_parses_but_bind_fails",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_arg_validation.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_arg_validation.test_zero_length_unix_socket_path_fails_in_bind",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_arg_validation.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_bind_errors.test_socket_path_that_is_a_directory_fails_unlink",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_bind_errors.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_bind_errors.test_socket_path_that_is_readonly_regular_file_is_replaced",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_bind_errors.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_bind_errors.test_stale_regular_file_at_socket_path_is_replaced",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_bind_errors.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_chroot_binding.test_chdir_after_chroot_is_resolved_inside_chroot",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_chroot_binding.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_chroot_binding.test_chroot_to_nonexistent_directory_fails",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_chroot_binding.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_chroot_binding.test_chroot_to_regular_file_fails",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_chroot_binding.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_extra_flags.test_address_flag_ignored_for_unix_socket",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_extra_flags.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_extra_flags.test_chdir_to_regular_file_is_error",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_extra_flags.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_extra_flags.test_deprecated_dash_f_runs_app_via_sh",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_extra_flags.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_extra_flags.test_low_tcp_port_binds_as_root",
+ "reasons": [
+ {
+ "detail": "AssertionError: b'spawn-fcgi: bind failed: Address already in use ' assert 255 == 0 + where 255 = CompletedProcess(args=['/workspace/golden-2/executable', '-a', '127.0.0.1', '-p', '1', '-P', '/tmp/pyt",
+ "id": "gold_fail",
+ "message": "test failed against the reference executable",
+ "repair_hint": "Fix the expected observable behavior so the test passes against the reference executable.",
+ "severity": "error",
+ "stage": "gold_execution"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_extra_flags.test_no_fork_preserves_socket_binding",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_extra_flags.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_help_version.test_unknown_single_dash_option_prints_help_and_diagnostics",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_help_version.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_nonroot_execution.test_nonroot_binds_unix_socket_and_spawns",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_nonroot_execution.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_nonroot_execution.test_nonroot_ignores_chroot_flag_and_binds_in_cwd",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_nonroot_execution.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_nonroot_execution.test_nonroot_ignores_socket_before_chroot_switch",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_nonroot_execution.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_nonroot_execution.test_nonroot_ignores_socket_owner_flag",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_nonroot_execution.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_norfork_mode.test_norfork_exit_zero_runs_in_process_and_writes_marker",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_norfork_mode.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_norfork_mode.test_norfork_ignores_pidfile_even_when_given",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_norfork_mode.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_norfork_mode.test_norfork_missing_app_reports_exec_failed_on_stderr",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_norfork_mode.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_option_repetition.test_repeated_socket_mode_last_wins",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_option_repetition.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_parse_edge_cases.test_negative_port_wraps_to_65535_and_binds",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_parse_edge_cases.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_parse_edge_cases.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_parse_edge_cases.test_norfork_tcp_listener_runs_app_in_process",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_parse_edge_cases.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_parse_edge_cases.test_port_70000_truncates_to_nonzero_and_binds",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_parse_edge_cases.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_parse_edge_cases.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_pidfile.test_fast_exiting_child_writes_empty_pidfile",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_pidfile.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_pidfile.test_pidfile_reused_by_second_spawn_truncates_to_new_pid",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_pidfile.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_pidfile.test_pidfile_that_is_a_dangling_symlink_fails_stat",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_pidfile.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_privilege.test_numeric_unknown_uid_warns_and_drops",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_privilege.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_privilege.test_socket_created_inside_chroot_by_default",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_privilege.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_round5_behavior.test_app_with_no_socket_option_is_rejected",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_round5_behavior.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_round5_behavior.test_long_double_dash_mixed_with_valid_socket_still_prints_help",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_round5_behavior.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_round5_behavior.test_socket_mode_invalid_octal_digit_reverts_to_zero",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_round5_behavior.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_round5_behavior.test_socket_mode_zero_explicit_creates_mode_0_socket",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_round5_behavior.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_spawning_fork.test_fork_count_zero_spawns_nothing_but_binds_and_leaves_pidfile",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_spawning_fork.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_spawning_fork.test_invalid_option_never_reaches_spawn",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_spawning_fork.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_tcp_binding.test_tcp_bind_to_already_used_port_fails",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_tcp_binding.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_unix_socket.test_second_backend_on_same_unix_socket_is_rejected",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_unix_socket.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_unix_socket.test_socket_owner_group_defaults_to_root",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_unix_socket.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ }
+ ],
+ "tests": [
+ "eval.tests.test_additional_behavior.test_dash_d_with_relative_path_chdirs_from_cwd",
+ "eval.tests.test_additional_behavior.test_ipv6_unspecified_address_binds",
+ "eval.tests.test_additional_behavior.test_no_fork_injects_child_count_env",
+ "eval.tests.test_additional_behavior.test_no_fork_overrides_fork_count_runs_once",
+ "eval.tests.test_additional_behavior.test_numeric_socket_group_flag_dash_G",
+ "eval.tests.test_additional_behavior.test_port_zero_alone_is_treated_as_no_socket",
+ "eval.tests.test_additional_behavior.test_port_zero_with_unix_socket_binds_only_unix",
+ "eval.tests.test_additional_behavior.test_positional_app_argv_is_preserved_verbatim",
+ "eval.tests.test_additional_behavior.test_root_bind_failure_before_chroot_returns_error",
+ "eval.tests.test_additional_behavior.test_root_socket_created_on_host_then_app_runs_in_chroot",
+ "eval.tests.test_additional_behavior.test_unix_socket_in_missing_directory_fails_bind",
+ "eval.tests.test_arg_validation.test_both_tcp_and_unix_socket_is_rejected",
+ "eval.tests.test_arg_validation.test_empty_port_string_is_rejected_as_no_socket",
+ "eval.tests.test_arg_validation.test_invalid_bind_address_is_rejected[255.255.255.255]",
+ "eval.tests.test_arg_validation.test_invalid_bind_address_is_rejected[256.1.1.1]",
+ "eval.tests.test_arg_validation.test_invalid_bind_address_is_rejected[300.1.2.3]",
+ "eval.tests.test_arg_validation.test_invalid_bind_address_is_rejected[999.999.999.999]",
+ "eval.tests.test_arg_validation.test_invalid_bind_address_is_rejected[]",
+ "eval.tests.test_arg_validation.test_invalid_bind_address_is_rejected[not.an.ip]",
+ "eval.tests.test_arg_validation.test_invalid_bind_address_is_rejected[zzz]",
+ "eval.tests.test_arg_validation.test_malformed_port_values_are_rejected[-x-0]",
+ "eval.tests.test_arg_validation.test_malformed_port_values_are_rejected[1.5-1]",
+ "eval.tests.test_arg_validation.test_malformed_port_values_are_rejected[12ab-12]",
+ "eval.tests.test_arg_validation.test_malformed_port_values_are_rejected[abc-0]",
+ "eval.tests.test_arg_validation.test_malformed_port_values_are_rejected[notaport-0]",
+ "eval.tests.test_arg_validation.test_missing_fcgi_app_is_rejected",
+ "eval.tests.test_arg_validation.test_missing_socket_but_app_given_is_rejected",
+ "eval.tests.test_arg_validation.test_overflowing_port_65536_truncates_to_zero",
+ "eval.tests.test_arg_validation.test_overlong_unix_socket_path_is_rejected[108]",
+ "eval.tests.test_arg_validation.test_overlong_unix_socket_path_is_rejected[110]",
+ "eval.tests.test_arg_validation.test_overlong_unix_socket_path_is_rejected[200]",
+ "eval.tests.test_arg_validation.test_port_zero_is_rejected_as_no_socket",
+ "eval.tests.test_arg_validation.test_short_dotted_address_parses_but_bind_fails",
+ "eval.tests.test_arg_validation.test_zero_length_unix_socket_path_fails_in_bind",
+ "eval.tests.test_bind_errors.test_socket_path_that_is_a_directory_fails_unlink",
+ "eval.tests.test_bind_errors.test_socket_path_that_is_readonly_regular_file_is_replaced",
+ "eval.tests.test_bind_errors.test_stale_regular_file_at_socket_path_is_replaced",
+ "eval.tests.test_child_exit_status.test_child_exit_code_is_reported_and_returned[1]",
+ "eval.tests.test_child_exit_status.test_child_exit_code_is_reported_and_returned[255]",
+ "eval.tests.test_child_exit_status.test_child_exit_code_is_reported_and_returned[42]",
+ "eval.tests.test_child_exit_status.test_child_exit_code_is_reported_and_returned[7]",
+ "eval.tests.test_child_exit_status.test_child_exit_zero_is_reported_with_success_exit",
+ "eval.tests.test_child_exit_status.test_child_killed_by_signal_is_reported[INT-2]",
+ "eval.tests.test_child_exit_status.test_child_killed_by_signal_is_reported[KILL-9]",
+ "eval.tests.test_child_exit_status.test_child_killed_by_signal_is_reported[SEGV-11]",
+ "eval.tests.test_child_exit_status.test_child_killed_by_signal_is_reported[TERM-15]",
+ "eval.tests.test_chroot_binding.test_chdir_after_chroot_is_resolved_inside_chroot",
+ "eval.tests.test_chroot_binding.test_chroot_to_nonexistent_directory_fails",
+ "eval.tests.test_chroot_binding.test_chroot_to_regular_file_fails",
+ "eval.tests.test_chroot_binding.test_nofork_socket_survives_after_resolved_chroot_chdir",
+ "eval.tests.test_extra_flags.test_address_flag_ignored_for_unix_socket",
+ "eval.tests.test_extra_flags.test_backlog_flag_does_not_prevent_spawn",
+ "eval.tests.test_extra_flags.test_chdir_to_regular_file_is_error",
+ "eval.tests.test_extra_flags.test_default_socket_owner_becomes_target_user_uid",
+ "eval.tests.test_extra_flags.test_deprecated_dash_f_ignored_when_fcgiapp_given",
+ "eval.tests.test_extra_flags.test_deprecated_dash_f_runs_app_via_sh",
+ "eval.tests.test_extra_flags.test_explicit_default_backlog_spawns",
+ "eval.tests.test_extra_flags.test_fcgi_app_with_own_arguments",
+ "eval.tests.test_extra_flags.test_high_backlog_value_ignored_by_listen",
+ "eval.tests.test_extra_flags.test_high_tcp_port_binds_and_spawns",
+ "eval.tests.test_extra_flags.test_low_tcp_port_binds_as_root",
+ "eval.tests.test_extra_flags.test_no_fork_preserves_socket_binding",
+ "eval.tests.test_extra_flags.test_socket_group_only_via_dash_G",
+ "eval.tests.test_extra_flags.test_socket_owner_group_and_mode_combined",
+ "eval.tests.test_help_version.test_help_and_question_mark_identical_output",
+ "eval.tests.test_help_version.test_help_dash_h_prints_exact_golden",
+ "eval.tests.test_help_version.test_help_question_mark_prints_exact_golden",
+ "eval.tests.test_help_version.test_help_wins_over_app_argument",
+ "eval.tests.test_help_version.test_no_arguments_prints_help_and_returns_failure",
+ "eval.tests.test_help_version.test_unknown_single_dash_option_prints_help_and_diagnostics",
+ "eval.tests.test_help_version.test_version_dash_v_prints_exact_version",
+ "eval.tests.test_help_version.test_version_output_includes_package_and_version_tokens",
+ "eval.tests.test_help_version.test_version_wins_over_app_argument",
+ "eval.tests.test_nonroot_execution.test_nonroot_binds_tcp_loopback_and_spawns",
+ "eval.tests.test_nonroot_execution.test_nonroot_binds_unix_socket_and_spawns",
+ "eval.tests.test_nonroot_execution.test_nonroot_child_gid_is_nobody_group",
+ "eval.tests.test_nonroot_execution.test_nonroot_ignores_chroot_flag_and_binds_in_cwd",
+ "eval.tests.test_nonroot_execution.test_nonroot_ignores_socket_before_chroot_switch",
+ "eval.tests.test_nonroot_execution.test_nonroot_ignores_socket_owner_flag",
+ "eval.tests.test_nonroot_execution.test_nonroot_ignores_user_flag_child_stays_nobody",
+ "eval.tests.test_norfork_mode.test_norfork_exit_zero_runs_in_process_and_writes_marker",
+ "eval.tests.test_norfork_mode.test_norfork_ignores_pidfile_even_when_given",
+ "eval.tests.test_norfork_mode.test_norfork_inprocess_exit_code_propagates[255]",
+ "eval.tests.test_norfork_mode.test_norfork_inprocess_exit_code_propagates[3]",
+ "eval.tests.test_norfork_mode.test_norfork_inprocess_exit_code_propagates[42]",
+ "eval.tests.test_norfork_mode.test_norfork_inprocess_exit_code_propagates[7]",
+ "eval.tests.test_norfork_mode.test_norfork_missing_app_reports_exec_failed_on_stderr",
+ "eval.tests.test_option_repetition.test_repeated_backlog_last_wins_binds",
+ "eval.tests.test_option_repetition.test_repeated_fork_count_last_wins",
+ "eval.tests.test_option_repetition.test_repeated_port_last_wins_parses_second",
+ "eval.tests.test_option_repetition.test_repeated_socket_mode_last_wins",
+ "eval.tests.test_parse_edge_cases.test_large_child_count_env_is_not_truncated",
+ "eval.tests.test_parse_edge_cases.test_leading_zero_port_is_parsed_in_base_ten[010 -10]",
+ "eval.tests.test_parse_edge_cases.test_leading_zero_port_is_parsed_in_base_ten[0200 -200]",
+ "eval.tests.test_parse_edge_cases.test_leading_zero_port_is_parsed_in_base_ten[023 -23]",
+ "eval.tests.test_parse_edge_cases.test_negative_backlog_bind_is_accepted",
+ "eval.tests.test_parse_edge_cases.test_negative_port_wraps_to_65535_and_binds",
+ "eval.tests.test_parse_edge_cases.test_non_numeric_backlog_falls_back_to_zero_and_binds",
+ "eval.tests.test_parse_edge_cases.test_norfork_tcp_listener_runs_app_in_process",
+ "eval.tests.test_parse_edge_cases.test_port_70000_truncates_to_nonzero_and_binds",
+ "eval.tests.test_parse_edge_cases.test_port_with_leading_zero_parses_base_ten",
+ "eval.tests.test_parse_edge_cases.test_port_with_trailing_junk_is_invalid",
+ "eval.tests.test_pidfile.test_fast_exiting_child_writes_empty_pidfile",
+ "eval.tests.test_pidfile.test_fresh_pidfile_is_created",
+ "eval.tests.test_pidfile.test_pidfile_ignored_in_no_fork_mode",
+ "eval.tests.test_pidfile.test_pidfile_in_missing_directory_fails_open",
+ "eval.tests.test_pidfile.test_pidfile_reused_by_second_spawn_truncates_to_new_pid",
+ "eval.tests.test_pidfile.test_pidfile_that_is_a_dangling_symlink_fails_stat",
+ "eval.tests.test_pidfile.test_pidfile_that_is_a_directory_is_rejected",
+ "eval.tests.test_pidfile.test_preexisting_regular_pidfile_is_truncated_and_reused",
+ "eval.tests.test_privilege.test_chroot_finds_root_filesystem",
+ "eval.tests.test_privilege.test_chroot_missing_dev_null_emits_redirect_warning",
+ "eval.tests.test_privilege.test_chroot_runs_application_inside_chroot",
+ "eval.tests.test_privilege.test_drop_to_named_user_changes_child_uid",
+ "eval.tests.test_privilege.test_drop_to_numeric_uid_changes_child_uid",
+ "eval.tests.test_privilege.test_drop_uid_and_gid_together",
+ "eval.tests.test_privilege.test_invalid_group_name_is_rejected",
+ "eval.tests.test_privilege.test_invalid_user_name_is_rejected",
+ "eval.tests.test_privilege.test_named_group_sets_child_gid",
+ "eval.tests.test_privilege.test_numeric_unknown_uid_warns_and_drops",
+ "eval.tests.test_privilege.test_refuses_to_set_gid_to_root",
+ "eval.tests.test_privilege.test_refuses_to_set_uid_to_root",
+ "eval.tests.test_privilege.test_socket_created_inside_chroot_by_default",
+ "eval.tests.test_privilege.test_socket_created_outside_chroot_with_dash_S",
+ "eval.tests.test_round5_behavior.test_app_with_no_socket_option_is_rejected",
+ "eval.tests.test_round5_behavior.test_long_double_dash_help_is_misparsed_as_unknown_option",
+ "eval.tests.test_round5_behavior.test_long_double_dash_mixed_with_valid_socket_still_prints_help",
+ "eval.tests.test_round5_behavior.test_long_double_dash_version_is_misparsed_as_help",
+ "eval.tests.test_round5_behavior.test_socket_mode_invalid_octal_digit_reverts_to_zero",
+ "eval.tests.test_round5_behavior.test_socket_mode_zero_explicit_creates_mode_0_socket",
+ "eval.tests.test_spawning_fork.test_child_count_minus_one_leaves_env_unsets_default",
+ "eval.tests.test_spawning_fork.test_child_count_sets_php_fcgi_children_env[0]",
+ "eval.tests.test_spawning_fork.test_child_count_sets_php_fcgi_children_env[12]",
+ "eval.tests.test_spawning_fork.test_child_count_sets_php_fcgi_children_env[4]",
+ "eval.tests.test_spawning_fork.test_dash_d_chdir_to_missing_dir_fails",
+ "eval.tests.test_spawning_fork.test_dash_d_chdirs_before_spawning",
+ "eval.tests.test_spawning_fork.test_exec_failure_of_missing_app_reports_errno",
+ "eval.tests.test_spawning_fork.test_fork_count_negative_spawns_nothing",
+ "eval.tests.test_spawning_fork.test_fork_count_zero_spawns_nothing_but_binds_and_leaves_pidfile",
+ "eval.tests.test_spawning_fork.test_full_sequence_child_created_then_terminated",
+ "eval.tests.test_spawning_fork.test_invalid_option_never_reaches_spawn",
+ "eval.tests.test_spawning_fork.test_multi_fork_pidfile_has_distinct_pids_newline_separated[2-2]",
+ "eval.tests.test_spawning_fork.test_multi_fork_pidfile_has_distinct_pids_newline_separated[3-3]",
+ "eval.tests.test_spawning_fork.test_multi_fork_prints_one_line_per_child[2-2]",
+ "eval.tests.test_spawning_fork.test_multi_fork_prints_one_line_per_child[3-3]",
+ "eval.tests.test_spawning_fork.test_multi_fork_prints_one_line_per_child[5-5]",
+ "eval.tests.test_spawning_fork.test_no_fork_mode_ignores_pidfile",
+ "eval.tests.test_spawning_fork.test_single_child_pidfile_contains_one_decimal_pid",
+ "eval.tests.test_spawning_fork.test_single_child_reports_successful_spawn_pid",
+ "eval.tests.test_tcp_binding.test_tcp_bind_to_already_used_port_fails",
+ "eval.tests.test_tcp_binding.test_tcp_bind_to_nondefault_loopback_interface",
+ "eval.tests.test_tcp_binding.test_tcp_default_wildcard_binds_and_spawns",
+ "eval.tests.test_tcp_binding.test_tcp_explicit_ipv4_loopback_binds_and_spawns",
+ "eval.tests.test_tcp_binding.test_tcp_explicit_zero_dot_zero_dot_zero_dot_zero_binds",
+ "eval.tests.test_tcp_binding.test_tcp_ipv6_loopback_binds_and_spawns",
+ "eval.tests.test_tcp_binding.test_tcp_multi_fork_writes_distinct_pids",
+ "eval.tests.test_unix_socket.test_dash_G_invalid_group_is_rejected",
+ "eval.tests.test_unix_socket.test_dash_U_invalid_user_is_rejected",
+ "eval.tests.test_unix_socket.test_dash_m_non_octal_parses_as_zero",
+ "eval.tests.test_unix_socket.test_default_mode_full_rw_under_umask_zero",
+ "eval.tests.test_unix_socket.test_default_mode_is_rw_for_user_and_group_under_umask_022",
+ "eval.tests.test_unix_socket.test_default_mode_restricted_under_umask_077",
+ "eval.tests.test_unix_socket.test_explicit_mode_with_dash_m[0000-0]",
+ "eval.tests.test_unix_socket.test_explicit_mode_with_dash_m[0600-384]",
+ "eval.tests.test_unix_socket.test_explicit_mode_with_dash_m[0644-420]",
+ "eval.tests.test_unix_socket.test_explicit_mode_with_dash_m[0666-438]",
+ "eval.tests.test_unix_socket.test_explicit_mode_with_dash_m[0733-475]",
+ "eval.tests.test_unix_socket.test_explicit_mode_with_dash_m[0755-493]",
+ "eval.tests.test_unix_socket.test_explicit_mode_with_dash_m[0777-511]",
+ "eval.tests.test_unix_socket.test_second_backend_on_same_unix_socket_is_rejected",
+ "eval.tests.test_unix_socket.test_socket_group_changed_with_dash_G",
+ "eval.tests.test_unix_socket.test_socket_owner_and_group_combined_U_G",
+ "eval.tests.test_unix_socket.test_socket_owner_changed_with_dash_U",
+ "eval.tests.test_unix_socket.test_socket_owner_changed_with_dash_U_numeric_uid",
+ "eval.tests.test_unix_socket.test_socket_owner_group_defaults_to_root",
+ "eval.tests.test_unix_socket.test_unix_bind_creates_socket_file"
+ ]
+ }
+ },
+ "commit": "a82da4fbb56b1460e2b9112705e28c59de9f5e10",
+ "data_source": "synthetic_programgym",
+ "difficulty": "",
+ "difficulty_score": null,
+ "eval_clean_hashes": [
+ "68b48d513192054d10e3c3f96622b09e5879dea897dc3889617a10c6beb942d1"
+ ],
+ "input_record": {
+ "commit": "a82da4fbb56b1460e2b9112705e28c59de9f5e10",
+ "commits": 87,
+ "contributors": 3,
+ "difficulty": "easy",
+ "difficulty_code_lines": 659,
+ "difficulty_has_tests": false,
+ "difficulty_product_code_lines": 659,
+ "difficulty_runtime_deps": 0,
+ "difficulty_score": 0.8188854145940097,
+ "difficulty_test_code_lines": 0,
+ "full_name": "lighttpd/spawn-fcgi",
+ "github_stars": 259,
+ "input_joern_zip": "c_joern/lighttpd__spawn-fcgi.zip",
+ "joern_status": true,
+ "joern_time": 11.875513677950948,
+ "language": "c",
+ "pb_match": [
+ {
+ "pb_fullname": "php/php-src",
+ "rank": 39,
+ "similarity": 0.5343429446220398
+ },
+ {
+ "pb_fullname": "jonas/tig",
+ "rank": 260,
+ "similarity": 0.47926825284957886
+ },
+ {
+ "pb_fullname": "doxygen/doxygen",
+ "rank": 846,
+ "similarity": 0.4158773422241211
+ },
+ {
+ "pb_fullname": "mkj/dropbear",
+ "rank": 590,
+ "similarity": 0.468575119972229
+ },
+ {
+ "pb_fullname": "robertdavidgraham/masscan",
+ "rank": 522,
+ "similarity": 0.45251595973968506
+ },
+ {
+ "pb_fullname": "eradman/entr",
+ "rank": 634,
+ "similarity": 0.3978588581085205
+ }
+ ],
+ "repo_age": 14.73,
+ "repo_path": "c/lighttpd__spawn-fcgi",
+ "source": "commit:a82da4fbb56b1460e2b9112705e28c59de9f5e10",
+ "status": "done",
+ "url": "https://github.com/lighttpd/spawn-fcgi"
+ },
+ "instance_id": "lighttpd__spawn-fcgi.a82da4f",
+ "language": "c",
+ "module_iterations": [],
+ "repository": "lighttpd/spawn-fcgi"
+}
diff --git a/lighttpd--spawn-fcgi.a82da4f/tests/test.sh b/lighttpd--spawn-fcgi.a82da4f/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/lighttpd--spawn-fcgi.a82da4f/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/lighttpd--spawn-fcgi.a82da4f/tests/workspace.tar.gz b/lighttpd--spawn-fcgi.a82da4f/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..dc8e78a962e0ceb3028ce7311f5fecf28e2881b3
--- /dev/null
+++ b/lighttpd--spawn-fcgi.a82da4f/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0e7ecc5184ee85283834a06d8302ef824b4824ce4ea3fc758c0197fd7445c358
+size 2445
diff --git a/lighttpd--weighttp.7eb9b9c/environment/Dockerfile b/lighttpd--weighttp.7eb9b9c/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..1ae9d9748054a53042399bc69eb368ec4306df78
--- /dev/null
+++ b/lighttpd--weighttp.7eb9b9c/environment/Dockerfile
@@ -0,0 +1,54 @@
+FROM ubuntu:22.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip python3-dev autoconf automake gettext file binutils libtool libncurses-dev meson ninja-build python3-pytest python3-pytest-xdist python3-coverage && rm -rf /var/lib/apt/lists/*
+ARG CMAKE_VERSION=3.31.10
+ARG CMAKE_PYPI_INDEX_URL=https://pypi.org/simple
+RUN set -eux; python3 -m pip install --no-cache-dir --index-url "${CMAKE_PYPI_INDEX_URL}" --trusted-host "mirror.example.invalid" "cmake==${CMAKE_VERSION}"; cmake --version; ctest --version; cpack --version
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /workspace/download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/lighttpd--weighttp.7eb9b9c/environment/download.sh b/lighttpd--weighttp.7eb9b9c/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..dfc1d41235db3319ecbff095f3372eba780d0a01
--- /dev/null
+++ b/lighttpd--weighttp.7eb9b9c/environment/download.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+# ProgramGym download stage for weighttp.
+#
+# This script is sourced (not executed) by the validator:
+# source /source_ro/download.sh
+# It runs in the network-enabled download stage, from an isolated directory
+# that contains ONLY this file (no repository source tree is mounted).
+#
+# weighttp is a small standalone C tool. It has NO third-party runtime or build
+# dependencies beyond the C toolchain, glibc (libc/libm/pthreads), and a build
+# system -- all of which are already present in the base image and were so
+# verified during the standardizer setup. Therefore this download stage has no
+# packages to install, no archives to fetch, and no caches to fill.
+#
+# Its only job is to export the one environment variable that build.sh relies
+# on, and to remain idempotent and safe to `source` from any directory. It must
+# not compile, link, test, package, or otherwise build the project, and it never
+# calls `exit` in normal control flow.
+
+# Centralized build-output directory used by the build stage. Building into a
+# dedicated subdirectory keeps the build self-contained and reproducible.
+export PROGRAMGYM_WEIGHTTP_BUILDDIR="${PROGRAMGYM_WEIGHTTP_BUILDDIR:-build}"
+
+echo "download.sh: no external dependencies required for weighttp; build toolchain is pre-installed in the base image."
diff --git a/lighttpd--weighttp.7eb9b9c/environment/executable b/lighttpd--weighttp.7eb9b9c/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..c56a6ba451d8ec66a241c9c1a22d11f6290cc8e7
--- /dev/null
+++ b/lighttpd--weighttp.7eb9b9c/environment/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6ebadac41396161152cb8b8ce009b3e2be495a76226a948d6c938a8c7be601ec
+size 116832
diff --git a/lighttpd--weighttp.7eb9b9c/environment/harbor_prepare_download_env.sh b/lighttpd--weighttp.7eb9b9c/environment/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..2c7dd2f2b8fff5fb8926261279d38518e59e407c
--- /dev/null
+++ b/lighttpd--weighttp.7eb9b9c/environment/harbor_prepare_download_env.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+set -euo pipefail
+cd /workspace
+set -a
+source /workspace/download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/lighttpd--weighttp.7eb9b9c/environment/workspace.tar.gz b/lighttpd--weighttp.7eb9b9c/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..24352ddaa730efa030dd5bbd13cc1c8dc9c499ec
--- /dev/null
+++ b/lighttpd--weighttp.7eb9b9c/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:442c8072211350730e29a85848416e4a848fe723f456186ae055a829dcd46a9c
+size 31423
diff --git a/lighttpd--weighttp.7eb9b9c/instruction.md b/lighttpd--weighttp.7eb9b9c/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/lighttpd--weighttp.7eb9b9c/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/lighttpd--weighttp.7eb9b9c/solution/solve.sh b/lighttpd--weighttp.7eb9b9c/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/lighttpd--weighttp.7eb9b9c/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/lighttpd--weighttp.7eb9b9c/task.toml b/lighttpd--weighttp.7eb9b9c/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..00031f3755928e1d6127359ae5e15248379e022e
--- /dev/null
+++ b/lighttpd--weighttp.7eb9b9c/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/lighttpd--weighttp.7eb9b9c"
+description = "Synthetic ProgramGym cleanroom reconstruction task for lighttpd/weighttp"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "c"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "lighttpd__weighttp.7eb9b9c"
+repository = "lighttpd/weighttp"
+commit = "7eb9b9cd125eaf505bfbc1c8ba1c5dafed1092e0"
+language = "c"
+difficulty = "easy"
+difficulty_score = 1.446226401778163
+test_branches = 1
+test_count = 158
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/lighttpd--weighttp.7eb9b9c/tests/Dockerfile b/lighttpd--weighttp.7eb9b9c/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..6b8eed24af9261bb9c1cb5a7b359acf9adaa6a3b
--- /dev/null
+++ b/lighttpd--weighttp.7eb9b9c/tests/Dockerfile
@@ -0,0 +1,68 @@
+FROM ubuntu:22.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip python3-dev autoconf automake gettext file binutils libtool libncurses-dev meson ninja-build python3-pytest python3-pytest-xdist python3-coverage && rm -rf /var/lib/apt/lists/*
+ARG CMAKE_VERSION=3.31.10
+ARG CMAKE_PYPI_INDEX_URL=https://pypi.org/simple
+RUN set -eux; python3 -m pip install --no-cache-dir --index-url "${CMAKE_PYPI_INDEX_URL}" --trusted-host "mirror.example.invalid" "cmake==${CMAKE_VERSION}"; cmake --version; ctest --version; cpack --version
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /workspace/download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN set -eu; \
+ pip_break_system_packages=""; \
+ if python3 -m pip install --help | grep -q -- '--break-system-packages'; then \
+ pip_break_system_packages="--break-system-packages"; \
+ fi; \
+ python3 -m pip install ${pip_break_system_packages} \
+ --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/lighttpd--weighttp.7eb9b9c/tests/blobs/tests/generated_module_01.tar.gz b/lighttpd--weighttp.7eb9b9c/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..9965b30ca57bb60606d6aee1c426dd969714dee6
--- /dev/null
+++ b/lighttpd--weighttp.7eb9b9c/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7f323375329c742020e9db375ed907b321083df930dedafe0f7b25e1344f5d5f
+size 27302
diff --git a/lighttpd--weighttp.7eb9b9c/tests/download.sh b/lighttpd--weighttp.7eb9b9c/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..dfc1d41235db3319ecbff095f3372eba780d0a01
--- /dev/null
+++ b/lighttpd--weighttp.7eb9b9c/tests/download.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+# ProgramGym download stage for weighttp.
+#
+# This script is sourced (not executed) by the validator:
+# source /source_ro/download.sh
+# It runs in the network-enabled download stage, from an isolated directory
+# that contains ONLY this file (no repository source tree is mounted).
+#
+# weighttp is a small standalone C tool. It has NO third-party runtime or build
+# dependencies beyond the C toolchain, glibc (libc/libm/pthreads), and a build
+# system -- all of which are already present in the base image and were so
+# verified during the standardizer setup. Therefore this download stage has no
+# packages to install, no archives to fetch, and no caches to fill.
+#
+# Its only job is to export the one environment variable that build.sh relies
+# on, and to remain idempotent and safe to `source` from any directory. It must
+# not compile, link, test, package, or otherwise build the project, and it never
+# calls `exit` in normal control flow.
+
+# Centralized build-output directory used by the build stage. Building into a
+# dedicated subdirectory keeps the build self-contained and reproducible.
+export PROGRAMGYM_WEIGHTTP_BUILDDIR="${PROGRAMGYM_WEIGHTTP_BUILDDIR:-build}"
+
+echo "download.sh: no external dependencies required for weighttp; build toolchain is pre-installed in the base image."
diff --git a/lighttpd--weighttp.7eb9b9c/tests/executable b/lighttpd--weighttp.7eb9b9c/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..c56a6ba451d8ec66a241c9c1a22d11f6290cc8e7
--- /dev/null
+++ b/lighttpd--weighttp.7eb9b9c/tests/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6ebadac41396161152cb8b8ce009b3e2be495a76226a948d6c938a8c7be601ec
+size 116832
diff --git a/lighttpd--weighttp.7eb9b9c/tests/harbor_prepare_download_env.sh b/lighttpd--weighttp.7eb9b9c/tests/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..2c7dd2f2b8fff5fb8926261279d38518e59e407c
--- /dev/null
+++ b/lighttpd--weighttp.7eb9b9c/tests/harbor_prepare_download_env.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+set -euo pipefail
+cd /workspace
+set -a
+source /workspace/download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/lighttpd--weighttp.7eb9b9c/tests/programgym_evaluator.py b/lighttpd--weighttp.7eb9b9c/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/lighttpd--weighttp.7eb9b9c/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/lighttpd--weighttp.7eb9b9c/tests/programgym_task.json b/lighttpd--weighttp.7eb9b9c/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..2b0c3525990bdfba6c035ba2adde7a84bc558b59
--- /dev/null
+++ b/lighttpd--weighttp.7eb9b9c/tests/programgym_task.json
@@ -0,0 +1,965 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [
+ {
+ "name": "eval.tests.test_arg_validation.test_body_file_missing_rejected",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_arg_validation.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_arg_validation.test_concurrency_exceeding_request_count_rejected",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_arg_validation.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_arg_validation.test_concurrency_zero_rejected",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_arg_validation.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_arg_validation.test_missing_n_reports_request_count_zero",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_arg_validation.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_arg_validation.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_arg_validation.test_n_uint64_max_reports_invalid_req_count",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_arg_validation.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_arg_validation.test_n_zero_reports_request_count_zero",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_arg_validation.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_arg_validation.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_arg_validation.test_thread_count_exceeding_request_count_rejected",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_arg_validation.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_arg_validation.test_thread_count_zero_rejected",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_arg_validation.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_arg_validation.test_unresolvable_hostname_rejected",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_arg_validation.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_benchmark_stats.test_connection_to_closed_port_reports_failure",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_benchmark_stats.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_benchmark_stats.test_keep_alive_disabled_zero_keepalive",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_benchmark_stats.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_benchmark_stats.test_non_quiet_prints_spawning_thread_messages",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_benchmark_stats.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_benchmark_stats.test_non_quiet_prints_version_banner",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_benchmark_stats.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_benchmark_stats.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_benchmark_stats.test_s_sets_default_request_count_when_n_zero",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_benchmark_stats.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_benchmark_stats.test_stddev_confidence_messages_go_to_stderr_only_on_chatter",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_benchmark_stats.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_cli_flag_options.test_fastopen_flag_parses_and_retires_all_requests",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_cli_flag_options.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_cli_flag_options.test_indivisible_request_count_remainder_is_exactly_distributed",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_cli_flag_options.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_cli_flag_options.test_indivisible_request_count_split_across_threads",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_cli_flag_options.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_cli_flag_options.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_cli_flag_options.test_unresolvable_bind_address_reports_diagnostic",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_cli_flag_options.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_help_version.test_dash_V_matches_golden_exactly",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_help_version.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "golden_no_equality",
+ "message": "pytest test references golden data without equality comparison",
+ "path": "eval/tests/test_help_version.py",
+ "repair_hint": "Compare observed output to golden data with equality after any explicit normalization.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_help_version.test_dash_h_help_includes_all_documented_options",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_help_version.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_help_version.test_dash_h_matches_golden_exactly",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_help_version.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "golden_no_equality",
+ "message": "pytest test references golden data without equality comparison",
+ "path": "eval/tests/test_help_version.py",
+ "repair_hint": "Compare observed output to golden data with equality after any explicit normalization.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_help_version.test_version_with_plus_h_matches_golden_exactly",
+ "reasons": [
+ {
+ "id": "missing_fixture_assets",
+ "message": "pytest test references fixture assets that are not packaged",
+ "path": "eval/tests/test_help_version.py",
+ "repair_hint": "Package referenced fixture, resource, golden, or test data files with the eval branch.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "golden_no_equality",
+ "message": "pytest test references golden data without equality comparison",
+ "path": "eval/tests/test_help_version.py",
+ "repair_hint": "Compare observed output to golden data with equality after any explicit normalization.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_legacy_responses.test_chunked_oversized_chunk_consumed_across_reads",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_legacy_responses.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_methods.test_default_method_is_get",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_methods.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_methods.test_head_method_via_flag_sets_no_http_head_flag_sideeffect_on_capture",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_methods.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_network_config.test_proxy_absolute_uri_form_reaches_backend",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_network_config.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_network_config.test_proxy_proxy_authorization_header_sent",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_network_config.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_network_config.test_proxy_request_preserves_host_header_from_absolute_uri",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_network_config.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_network_config.test_proxy_uses_absolute_uri_request_form",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_network_config.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_network_config.test_unassignable_bind_address_surfaces_error",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_network_config.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_parser_response_edges.test_chunked_body_with_trailer_disables_keepalive",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_parser_response_edges.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_pipelining.test_pipeline_K1_equivalent_to_no_pipelining",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_pipelining.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_pipelining.test_pipelined_request_headers_are_uniform",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_pipelining.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_progress_and_config_error.test_progress_lines_reported_at_milestones",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_progress_and_config_error.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_progress_and_config_error.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_progress_and_config_error.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_raddr_laddrs.test_tcp_proxy_keeps_absolute_uri_form",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_raddr_laddrs.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_raddr_laddrs.test_tcp_proxy_with_explicit_target_port_in_host",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_raddr_laddrs.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_raddr_laddrs.test_unix_socket_proxy_accepts_and_reports_requests",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_raddr_laddrs.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_raddr_laddrs.test_unix_socket_proxy_uses_origin_form_request",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_raddr_laddrs.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_request_construction.test_explicit_uri_port_appears_in_host_header",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_request_construction.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_request_construction.test_keep_alive_omits_connection_close",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_request_construction.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_request_framing_more.test_put_with_content_type_header_pairing",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_request_framing_more.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_threads_clients.test_concurrency_split_across_threads",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_threads_clients.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_threads_clients.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_threads_clients.test_integer_division_leaves_remainder_in_one_thread",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_threads_clients.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_threads_clients.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_threads_clients.test_single_thread_divides_all_clients",
+ "reasons": [
+ {
+ "id": "generic_keyword_oracle",
+ "message": "pytest test uses a generic keyword oracle",
+ "path": "eval/tests/test_threads_clients.py",
+ "repair_hint": "Replace generic keyword checks with exact diagnostics, structured output, or golden comparisons.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_threads_clients.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_uri_proxy_validation.test_proxy_socket_path_too_long_is_rejected",
+ "reasons": [
+ {
+ "id": "test_network_dependency",
+ "message": "test appears to depend on networking",
+ "path": "eval/tests/test_uri_proxy_validation.py",
+ "repair_hint": "Remove external networking from eval tests; use bundled fixtures or local subprocess behavior.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ }
+ ],
+ "tests": [
+ "eval.tests.test_arg_validation.test_T_content_type_without_header_rejected",
+ "eval.tests.test_arg_validation.test_body_file_missing_rejected",
+ "eval.tests.test_arg_validation.test_concurrency_exceeding_request_count_rejected",
+ "eval.tests.test_arg_validation.test_concurrency_zero_rejected",
+ "eval.tests.test_arg_validation.test_connection_header_rejected",
+ "eval.tests.test_arg_validation.test_duplicate_host_header_rejected",
+ "eval.tests.test_arg_validation.test_https_uri_without_ssl_support_rejected",
+ "eval.tests.test_arg_validation.test_missing_n_reports_request_count_zero",
+ "eval.tests.test_arg_validation.test_n_uint64_max_reports_invalid_req_count",
+ "eval.tests.test_arg_validation.test_n_zero_reports_request_count_zero",
+ "eval.tests.test_arg_validation.test_no_arguments_reports_missing_uri",
+ "eval.tests.test_arg_validation.test_option_missing_argument_reported",
+ "eval.tests.test_arg_validation.test_thread_count_exceeding_concurrency_rejected",
+ "eval.tests.test_arg_validation.test_thread_count_exceeding_request_count_rejected",
+ "eval.tests.test_arg_validation.test_thread_count_zero_rejected",
+ "eval.tests.test_arg_validation.test_too_many_cookies_rejected",
+ "eval.tests.test_arg_validation.test_too_many_headers_rejected",
+ "eval.tests.test_arg_validation.test_too_many_positional_arguments",
+ "eval.tests.test_arg_validation.test_totally_empty_invocation_reports_missing_uri",
+ "eval.tests.test_arg_validation.test_unknown_option_reported",
+ "eval.tests.test_arg_validation.test_unparseable_proxy_option_rejected",
+ "eval.tests.test_arg_validation.test_unparseable_uri_port_rejected",
+ "eval.tests.test_arg_validation.test_unresolvable_hostname_rejected",
+ "eval.tests.test_benchmark_stats.test_1xx_informational_response_then_200",
+ "eval.tests.test_benchmark_stats.test_3xx_classified_as_pass",
+ "eval.tests.test_benchmark_stats.test_4xx_classified_as_fail",
+ "eval.tests.test_benchmark_stats.test_5xx_classified_as_fail",
+ "eval.tests.test_benchmark_stats.test_alarm_cuts_benchmark_short",
+ "eval.tests.test_benchmark_stats.test_basic_get_returns_expected_json_counts",
+ "eval.tests.test_benchmark_stats.test_body_bytes_reported_from_content_length",
+ "eval.tests.test_benchmark_stats.test_chunked_transfer_encoding_handled",
+ "eval.tests.test_benchmark_stats.test_connect_refused_counts_as_failures",
+ "eval.tests.test_benchmark_stats.test_connection_to_closed_port_reports_failure",
+ "eval.tests.test_benchmark_stats.test_dash_d_disables_extended_percentiles",
+ "eval.tests.test_benchmark_stats.test_extended_percentiles_present_by_default",
+ "eval.tests.test_benchmark_stats.test_head_request_reports_zero_body_bytes",
+ "eval.tests.test_benchmark_stats.test_json_report_has_expected_sections",
+ "eval.tests.test_benchmark_stats.test_keep_alive_disabled_zero_keepalive",
+ "eval.tests.test_benchmark_stats.test_keep_alive_reports_keepalive_count",
+ "eval.tests.test_benchmark_stats.test_non_quiet_prints_spawning_thread_messages",
+ "eval.tests.test_benchmark_stats.test_non_quiet_prints_version_banner",
+ "eval.tests.test_benchmark_stats.test_quiet_suppresses_version_banner",
+ "eval.tests.test_benchmark_stats.test_s_sets_default_request_count_when_n_zero",
+ "eval.tests.test_benchmark_stats.test_stddev_confidence_messages_go_to_stderr_only_on_chatter",
+ "eval.tests.test_chunk_parsing_edges.test_chunk_size_accepts_uppercase_and_lowercase_hex[7-abcdefg]",
+ "eval.tests.test_chunk_parsing_edges.test_chunk_size_accepts_uppercase_and_lowercase_hex[A-abcdefghij]",
+ "eval.tests.test_chunk_parsing_edges.test_chunk_size_accepts_uppercase_and_lowercase_hex[a-abcdefghij]",
+ "eval.tests.test_chunk_parsing_edges.test_chunk_size_accepts_uppercase_and_lowercase_hex[f-abcdefghijklmno]",
+ "eval.tests.test_chunk_parsing_edges.test_chunk_size_stops_on_leading_tab",
+ "eval.tests.test_chunk_parsing_edges.test_chunk_size_stops_on_semicolon_extension",
+ "eval.tests.test_chunk_parsing_edges.test_chunk_size_stops_on_trailing_space",
+ "eval.tests.test_chunk_parsing_edges.test_invalid_hex_digit_in_chunk_size_is_error[5g]",
+ "eval.tests.test_chunk_parsing_edges.test_invalid_hex_digit_in_chunk_size_is_error[g]",
+ "eval.tests.test_chunk_parsing_edges.test_invalid_hex_digit_in_chunk_size_is_error[z]",
+ "eval.tests.test_cli_flag_options.test_fastopen_flag_parses_and_retires_all_requests",
+ "eval.tests.test_cli_flag_options.test_indivisible_request_count_remainder_is_exactly_distributed",
+ "eval.tests.test_cli_flag_options.test_indivisible_request_count_split_across_threads",
+ "eval.tests.test_cli_flag_options.test_ipv6_flag_parses_and_run_completes",
+ "eval.tests.test_cli_flag_options.test_proxy_host_path_too_long_reports_diagnostic",
+ "eval.tests.test_cli_flag_options.test_stddev_confidence_flag_suppresses_warnings",
+ "eval.tests.test_cli_flag_options.test_unresolvable_bind_address_reports_diagnostic",
+ "eval.tests.test_csv_output.test_csv_file_written_with_full_percentage_rows",
+ "eval.tests.test_csv_output.test_csv_rows_are_monotonic_percentages",
+ "eval.tests.test_csv_output.test_csv_to_stdout_with_dash",
+ "eval.tests.test_csv_output.test_csv_to_unwritable_path_falls_back_without_crash",
+ "eval.tests.test_help_version.test_dash_V_matches_golden_exactly",
+ "eval.tests.test_help_version.test_dash_h_help_includes_all_documented_options",
+ "eval.tests.test_help_version.test_dash_h_matches_golden_exactly",
+ "eval.tests.test_help_version.test_dash_h_wins_over_missing_uri",
+ "eval.tests.test_help_version.test_long_flag_is_treated_as_unknown_getopt_token",
+ "eval.tests.test_help_version.test_version_with_plus_h_matches_golden_exactly",
+ "eval.tests.test_legacy_responses.test_chunked_body_split_across_many_chunks",
+ "eval.tests.test_legacy_responses.test_chunked_http10_keepalive_off",
+ "eval.tests.test_legacy_responses.test_chunked_oversized_chunk_consumed_across_reads",
+ "eval.tests.test_legacy_responses.test_close_delimited_body_read_to_eof_success",
+ "eval.tests.test_legacy_responses.test_http10_body_bytes_reported",
+ "eval.tests.test_legacy_responses.test_http10_response_retires_as_success",
+ "eval.tests.test_legacy_responses.test_http10_without_content_length_reads_to_eof",
+ "eval.tests.test_methods.test_custom_method_on_wire[DELETE]",
+ "eval.tests.test_methods.test_custom_method_on_wire[GET]",
+ "eval.tests.test_methods.test_custom_method_on_wire[HEAD]",
+ "eval.tests.test_methods.test_custom_method_on_wire[OPTIONS]",
+ "eval.tests.test_methods.test_custom_method_on_wire[PATCH]",
+ "eval.tests.test_methods.test_custom_method_on_wire[POST]",
+ "eval.tests.test_methods.test_custom_method_on_wire[PROPFIND]",
+ "eval.tests.test_methods.test_custom_method_on_wire[PUT]",
+ "eval.tests.test_methods.test_custom_method_on_wire[TRACE]",
+ "eval.tests.test_methods.test_default_method_is_get",
+ "eval.tests.test_methods.test_head_method_via_flag_sets_no_http_head_flag_sideeffect_on_capture",
+ "eval.tests.test_methods.test_method_is_used_verbatim_not_normalized[GeT]",
+ "eval.tests.test_methods.test_method_is_used_verbatim_not_normalized[get]",
+ "eval.tests.test_methods.test_method_is_used_verbatim_not_normalized[head]",
+ "eval.tests.test_methods.test_uri_path_preserved_in_request_line[/]",
+ "eval.tests.test_methods.test_uri_path_preserved_in_request_line[/a/b/c]",
+ "eval.tests.test_methods.test_uri_path_preserved_in_request_line[/index.html]",
+ "eval.tests.test_methods.test_uri_path_preserved_in_request_line[/p%20x]",
+ "eval.tests.test_methods.test_uri_path_preserved_in_request_line[/query?a=1&b=2]",
+ "eval.tests.test_methods.test_uri_path_preserved_in_request_line[/trailing/]",
+ "eval.tests.test_methods.test_uri_path_preserved_in_request_line[/with space]",
+ "eval.tests.test_methods.test_uri_path_preserved_in_request_line[/x?y=]",
+ "eval.tests.test_network_config.test_local_bind_address_accepted",
+ "eval.tests.test_network_config.test_proxy_absolute_uri_form_reaches_backend",
+ "eval.tests.test_network_config.test_proxy_proxy_authorization_header_sent",
+ "eval.tests.test_network_config.test_proxy_request_preserves_host_header_from_absolute_uri",
+ "eval.tests.test_network_config.test_proxy_uses_absolute_uri_request_form",
+ "eval.tests.test_network_config.test_socket_buffer_size_option_accepted",
+ "eval.tests.test_network_config.test_unassignable_bind_address_surfaces_error",
+ "eval.tests.test_parser_response_edges.test_blank_line_after_status_line_is_valid_headers_end",
+ "eval.tests.test_parser_response_edges.test_chunked_body_with_trailer_disables_keepalive",
+ "eval.tests.test_parser_response_edges.test_connection_close_case_insensitive_disables_keepalive",
+ "eval.tests.test_parser_response_edges.test_non_standard_status_counted_as_error",
+ "eval.tests.test_parser_response_edges.test_short_header_line_and_content_length_parse",
+ "eval.tests.test_parser_response_edges.test_transfer_encoding_with_content_length_rejected",
+ "eval.tests.test_parser_response_edges.test_user_header_makes_request_too_large",
+ "eval.tests.test_pipelining.test_keepalive_retired_drops_without_reuse",
+ "eval.tests.test_pipelining.test_pipeline_K1_equivalent_to_no_pipelining",
+ "eval.tests.test_pipelining.test_pipeline_max_forces_keepalive_without_k",
+ "eval.tests.test_pipelining.test_pipelined_request_headers_are_uniform",
+ "eval.tests.test_pipelining.test_pipelining_retires_all_requests",
+ "eval.tests.test_port_guard.test_port_guard_ignores_af_unix_endpoint",
+ "eval.tests.test_port_guard.test_very_high_concurrency_reports_not_enough_ports",
+ "eval.tests.test_progress_and_config_error.test_non_quiet_prints_starting_benchmark",
+ "eval.tests.test_progress_and_config_error.test_overlong_hostname_reported",
+ "eval.tests.test_progress_and_config_error.test_progress_lines_reported_at_milestones",
+ "eval.tests.test_progress_and_config_error.test_quiet_run_has_no_progress_lines",
+ "eval.tests.test_progress_and_config_error.test_quiet_suppresses_starting_benchmark",
+ "eval.tests.test_progress_and_config_error.test_uri_path_too_long_reports_request_too_large",
+ "eval.tests.test_raddr_laddrs.test_multiple_bind_addresses_accepted",
+ "eval.tests.test_raddr_laddrs.test_multiple_bind_addresses_with_concurrency",
+ "eval.tests.test_raddr_laddrs.test_tcp_proxy_keeps_absolute_uri_form",
+ "eval.tests.test_raddr_laddrs.test_tcp_proxy_with_explicit_target_port_in_host",
+ "eval.tests.test_raddr_laddrs.test_unix_socket_proxy_accepts_and_reports_requests",
+ "eval.tests.test_raddr_laddrs.test_unix_socket_proxy_uses_origin_form_request",
+ "eval.tests.test_request_construction.test_HEAD_flag_changes_method_to_HEAD",
+ "eval.tests.test_request_construction.test_HEAD_method_via_custom_method_flag",
+ "eval.tests.test_request_construction.test_POST_content_type_with_header_pairing",
+ "eval.tests.test_request_construction.test_basic_authorization_base64",
+ "eval.tests.test_request_construction.test_basic_proxy_authorization_base64",
+ "eval.tests.test_request_construction.test_cookie_headers_included",
+ "eval.tests.test_request_construction.test_custom_header_lines_included",
+ "eval.tests.test_request_construction.test_custom_header_ordered_before_default_user_agent_but_cookie_after",
+ "eval.tests.test_request_construction.test_custom_host_header_overrides_derived_host",
+ "eval.tests.test_request_construction.test_custom_method_line",
+ "eval.tests.test_request_construction.test_custom_user_agent_overrides_default",
+ "eval.tests.test_request_construction.test_default_get_request_line_and_headers",
+ "eval.tests.test_request_construction.test_explicit_uri_port_appears_in_host_header",
+ "eval.tests.test_request_construction.test_keep_alive_disabled_sends_connection_close",
+ "eval.tests.test_request_construction.test_keep_alive_omits_connection_close",
+ "eval.tests.test_request_construction.test_post_body_framing",
+ "eval.tests.test_request_construction.test_put_body_framing",
+ "eval.tests.test_request_construction.test_uri_path_is_preserved_in_request_line",
+ "eval.tests.test_request_framing_more.test_basic_auth_base64_padding[a-YQ==]",
+ "eval.tests.test_request_framing_more.test_basic_auth_base64_padding[ab-YWI=]",
+ "eval.tests.test_request_framing_more.test_basic_auth_base64_padding[abc-YWJj]",
+ "eval.tests.test_request_framing_more.test_basic_auth_base64_padding[user:pass-dXNlcjpwYXNz]",
+ "eval.tests.test_request_framing_more.test_empty_body_file_sends_content_length_zero",
+ "eval.tests.test_request_framing_more.test_proxy_auth_base64_padding[ab-YWI=]",
+ "eval.tests.test_request_framing_more.test_proxy_auth_base64_padding[abc-YWJj]",
+ "eval.tests.test_request_framing_more.test_put_with_content_type_header_pairing",
+ "eval.tests.test_request_framing_more.test_user_content_length_trusted_not_duplicated",
+ "eval.tests.test_request_framing_more.test_user_transfer_encoding_omits_content_length",
+ "eval.tests.test_response_header_casing.test_connection_name_matched_case_insensitively_disables_keepalive",
+ "eval.tests.test_response_header_casing.test_connection_skips_runs_of_spaces_and_tabs",
+ "eval.tests.test_response_header_casing.test_content_length_name_matched_case_insensitively[CONTENT-LENGTH: 3]",
+ "eval.tests.test_response_header_casing.test_content_length_name_matched_case_insensitively[Content-LENGTH: 3]",
+ "eval.tests.test_response_header_casing.test_content_length_name_matched_case_insensitively[content-length: 3]",
+ "eval.tests.test_response_header_casing.test_content_length_skips_leading_spaces_and_tabs",
+ "eval.tests.test_response_header_casing.test_oversized_response_header_line_is_error[34000]",
+ "eval.tests.test_response_header_casing.test_oversized_response_header_line_is_error[60000]",
+ "eval.tests.test_response_header_casing.test_short_status_line_is_treated_as_error",
+ "eval.tests.test_response_header_casing.test_transfer_encoding_name_matched_case_insensitively",
+ "eval.tests.test_status_codes.test_content_length_body_bytes_reported[0]",
+ "eval.tests.test_status_codes.test_content_length_body_bytes_reported[1000]",
+ "eval.tests.test_status_codes.test_content_length_body_bytes_reported[100]",
+ "eval.tests.test_status_codes.test_content_length_body_bytes_reported[1]",
+ "eval.tests.test_status_codes.test_content_length_body_bytes_reported[5]",
+ "eval.tests.test_status_codes.test_content_length_body_bytes_reported[8192]",
+ "eval.tests.test_status_codes.test_request_count_matches_retired_total[100]",
+ "eval.tests.test_status_codes.test_request_count_matches_retired_total[10]",
+ "eval.tests.test_status_codes.test_request_count_matches_retired_total[1]",
+ "eval.tests.test_status_codes.test_request_count_matches_retired_total[2]",
+ "eval.tests.test_status_codes.test_status_code_classification[HTTP/1.1 200 OK-2xx-6-0]",
+ "eval.tests.test_status_codes.test_status_code_classification[HTTP/1.1 201 Created-2xx-6-0]",
+ "eval.tests.test_status_codes.test_status_code_classification[HTTP/1.1 204 No Content-2xx-6-0]",
+ "eval.tests.test_status_codes.test_status_code_classification[HTTP/1.1 301 Moved Permanently-3xx-6-0]",
+ "eval.tests.test_status_codes.test_status_code_classification[HTTP/1.1 302 Found-3xx-6-0]",
+ "eval.tests.test_status_codes.test_status_code_classification[HTTP/1.1 400 Bad Request-4xx-0-6]",
+ "eval.tests.test_status_codes.test_status_code_classification[HTTP/1.1 403 Forbidden-4xx-0-6]",
+ "eval.tests.test_status_codes.test_status_code_classification[HTTP/1.1 500 Internal Server Error-5xx-0-6]",
+ "eval.tests.test_status_codes.test_status_code_classification[HTTP/1.1 502 Bad Gateway-5xx-0-6]",
+ "eval.tests.test_threads_clients.test_ab_compat_ignored_flags_do_not_fail",
+ "eval.tests.test_threads_clients.test_concurrency_split_across_threads",
+ "eval.tests.test_threads_clients.test_integer_division_leaves_remainder_in_one_thread",
+ "eval.tests.test_threads_clients.test_multiple_threads_all_spawn_and_divide_work",
+ "eval.tests.test_threads_clients.test_single_thread_divides_all_clients",
+ "eval.tests.test_uri_proxy_validation.test_authorization_credential_too_large_is_rejected",
+ "eval.tests.test_uri_proxy_validation.test_hostname_only_uri_uses_default_port_and_root_path",
+ "eval.tests.test_uri_proxy_validation.test_proxy_authorization_credential_too_large_is_rejected",
+ "eval.tests.test_uri_proxy_validation.test_proxy_hostname_not_resolved_reported",
+ "eval.tests.test_uri_proxy_validation.test_proxy_socket_path_too_long_is_rejected",
+ "eval.tests.test_uri_proxy_validation.test_proxy_without_port_resolves_hostname_and_reports_failure",
+ "eval.tests.test_uri_proxy_validation.test_too_many_cookies_rejected",
+ "eval.tests.test_uri_proxy_validation.test_uri_host_too_long_is_rejected",
+ "eval.tests.test_uri_proxy_validation.test_uri_path_too_long_makes_request_too_large"
+ ]
+ }
+ },
+ "commit": "7eb9b9cd125eaf505bfbc1c8ba1c5dafed1092e0",
+ "data_source": "synthetic_programgym",
+ "difficulty": "easy",
+ "difficulty_score": 1.446226401778163,
+ "eval_clean_hashes": [
+ "6ebadac41396161152cb8b8ce009b3e2be495a76226a948d6c938a8c7be601ec"
+ ],
+ "input_record": {
+ "commit": "7eb9b9cd125eaf505bfbc1c8ba1c5dafed1092e0",
+ "commits": 74,
+ "contributors": 5,
+ "difficulty": "easy",
+ "difficulty_code_lines": 2794,
+ "difficulty_has_tests": false,
+ "difficulty_product_code_lines": 2794,
+ "difficulty_runtime_deps": 0,
+ "difficulty_score": 1.446226401778163,
+ "difficulty_test_code_lines": 0,
+ "full_name": "lighttpd/weighttp",
+ "github_stars": 364,
+ "input_joern_zip": "c_joern/lighttpd__weighttp.zip",
+ "joern_status": true,
+ "joern_time": 13.217071000952274,
+ "language": "c",
+ "pb_match": [
+ {
+ "pb_fullname": "php/php-src",
+ "rank": 330,
+ "similarity": 0.4526680111885071
+ },
+ {
+ "pb_fullname": "jonas/tig",
+ "rank": 224,
+ "similarity": 0.48715662956237793
+ }
+ ],
+ "repo_age": 14.73,
+ "repo_path": "c/lighttpd__weighttp",
+ "source": "commit:7eb9b9cd125eaf505bfbc1c8ba1c5dafed1092e0",
+ "status": "done",
+ "url": "https://github.com/lighttpd/weighttp"
+ },
+ "instance_id": "lighttpd__weighttp.7eb9b9c",
+ "language": "c",
+ "module_iterations": [
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_01",
+ "iteration_limit": 5,
+ "module_index": 1,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ }
+ ],
+ "repository": "lighttpd/weighttp"
+}
diff --git a/lighttpd--weighttp.7eb9b9c/tests/test.sh b/lighttpd--weighttp.7eb9b9c/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/lighttpd--weighttp.7eb9b9c/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/lighttpd--weighttp.7eb9b9c/tests/workspace.tar.gz b/lighttpd--weighttp.7eb9b9c/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..24352ddaa730efa030dd5bbd13cc1c8dc9c499ec
--- /dev/null
+++ b/lighttpd--weighttp.7eb9b9c/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:442c8072211350730e29a85848416e4a848fe723f456186ae055a829dcd46a9c
+size 31423
diff --git a/likexian--whois.804f380/environment/Dockerfile b/likexian--whois.804f380/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..18c9b14a3dd87ff70c68d67e0e9cd3cb548e1b1a
--- /dev/null
+++ b/likexian--whois.804f380/environment/Dockerfile
@@ -0,0 +1,60 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+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"]
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# programgym-runtime-workspace-cleanup: v1
+RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/likexian--whois.804f380/environment/download.sh b/likexian--whois.804f380/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..fc144b33ce611947cfe4bb4e726ae6f2cf854e32
--- /dev/null
+++ b/likexian--whois.804f380/environment/download.sh
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
+# Generated deterministically from repository module metadata; do not edit.
+set -u
+export GOTOOLCHAIN=auto
+mkdir -p /workspace/.programgym_build_env/go-prefetch
+cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
+module github.com/likexian/whois
+
+go 1.24.0
+
+require (
+ github.com/likexian/gokit v0.25.16
+ github.com/likexian/whois-parser v1.24.21
+ golang.org/x/net v0.48.0
+)
+
+require golang.org/x/text v0.32.0 // indirect
+PROGRAMGYM_GO_MOD_EOF
+cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
+github.com/likexian/gokit v0.25.16 h1:wwBeUIN/OdoPp6t00xTnZE8Di/+s969Bl5N2Kw6bzP8=
+github.com/likexian/gokit v0.25.16/go.mod h1:Wqd4f+iifV0qxA1N3MqePJTUsmRy/lpst9/yXriDx/4=
+github.com/likexian/whois-parser v1.24.21 h1:MxsrGRxDOiZIVp7q7N/yAIbKuN4QAkGjCpOtTDA5OsM=
+github.com/likexian/whois-parser v1.24.21/go.mod h1:o3DUruO65Pb8WXCJCTlSVkTbwuYVrBCeoMTw2q0mxY4=
+golang.org/x/net v0.48.0 h1:zyQRTTrjc33Lhh0fBgT/H3oZq9WuvRR5gPC70xpDiQU=
+golang.org/x/net v0.48.0/go.mod h1:+ndRgGjkh8FGtu1w1FGbEC31if4VrNVMuKTgcAAnQRY=
+golang.org/x/text v0.32.0 h1:ZD01bjUt1FQ9WJ0ClOL5vxgxOI/sVCNgX1YtKwcY0mU=
+golang.org/x/text v0.32.0/go.mod h1:o/rUWzghvpD5TXrTIBuJU77MTaN0ljMWE47kxGJQ7jY=
+PROGRAMGYM_GO_SUM_EOF
+PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY="${GOPROXY:-direct}"
+PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
+case "$PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY" in
+ *"|"*|*","*)
+ PROGRAMGYM_INTERNAL_GO_FIRST_PROXY="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY%%[,|]*}"
+ PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY#*[,|]}"
+ if [[ "$PROGRAMGYM_INTERNAL_GO_FIRST_PROXY" =~ [^[:space:]] ]] && [[ "$PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER" =~ [^[:space:]] ]]; then
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY="${PROGRAMGYM_GO_PUBLIC_FALLBACK_PROXY:-${PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER}}"
+ fi
+ ;;
+esac
+if ! [[ "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" =~ [^[:space:]] ]]; then
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
+fi
+cat > /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py <<'PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF'
+import os
+import signal
+import subprocess
+import sys
+import time
+
+sentinel_path, timeout_text, grace_text, proxy, *command = sys.argv[1:]
+if not command:
+ raise SystemExit(125)
+environment = os.environ.copy()
+environment["GOPROXY"] = proxy
+process = subprocess.Popen(command, env=environment, start_new_session=True)
+try:
+ returncode = process.wait(timeout=float(timeout_text))
+except subprocess.TimeoutExpired:
+ with open(sentinel_path, "w", encoding="utf-8") as sentinel:
+ sentinel.write("expired\n")
+ try:
+ os.killpg(process.pid, signal.SIGTERM)
+ except ProcessLookupError:
+ pass
+ deadline = time.monotonic() + float(grace_text)
+ group_alive = True
+ while time.monotonic() < deadline:
+ process.poll()
+ try:
+ os.killpg(process.pid, 0)
+ except ProcessLookupError:
+ group_alive = False
+ break
+ time.sleep(0.05)
+ if group_alive:
+ try:
+ os.killpg(process.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ process.wait()
+ raise SystemExit(124)
+if returncode < 0:
+ returncode = 128 - returncode
+raise SystemExit(returncode)
+PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF
+PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS="${PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS:-90}"
+if ! [[ "$PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS" =~ ^[1-9][0-9]*$ ]]; then
+ printf '%s\n' "download.sh: invalid PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS=${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}" >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if ! command -v python3 >/dev/null 2>&1; then
+ printf '%s\n' 'download.sh: python3 is required for bounded Nexus Go downloads' >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+_programgym_go_with_nexus_timeout() {
+ local programgym_go_rc
+ local programgym_go_timeout_sentinel
+ if ! programgym_go_timeout_sentinel="$(mktemp "${TMPDIR:-/tmp}/programgym-go-timeout.XXXXXX")"; then
+ return 1
+ fi
+ 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
+ programgym_go_rc=0
+ else
+ programgym_go_rc=$?
+ fi
+ if [ ! -s "$programgym_go_timeout_sentinel" ]; then
+ rm -f "$programgym_go_timeout_sentinel"
+ return "$programgym_go_rc"
+ fi
+ rm -f "$programgym_go_timeout_sentinel"
+ if [ -z "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" ]; then
+ printf '%s\n' "download.sh: primary Go request exceeded ${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}s; GOPROXY has no explicit non-empty fallback remainder" >&2
+ return "$programgym_go_rc"
+ fi
+ printf '%s\n' "download.sh: Nexus-first Go request exceeded ${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}s; retrying with GOPROXY=${PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY}" >&2
+ env GOPROXY="$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" "$@"
+}
+PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
+if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && _programgym_go_with_nexus_timeout env GOTOOLCHAIN=auto go env GOROOT)"; then
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+else
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
+fi
+export PATH="$GOROOT/bin:$PATH"
+export GOTOOLCHAIN=local
+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
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+unset -f _programgym_go_with_nexus_timeout
+unset PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY
+unset PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY
+unset PROGRAMGYM_INTERNAL_GO_FIRST_PROXY
+unset PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER
+unset PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS
diff --git a/likexian--whois.804f380/environment/executable b/likexian--whois.804f380/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..3e2556fc4d32cff8e2f6bb403342d13f6f61608f
--- /dev/null
+++ b/likexian--whois.804f380/environment/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:402038680578f7e769d663c8ce1ae18e03ebcd689fc590953c972540e702fe7d
+size 9912688
diff --git a/likexian--whois.804f380/environment/programgym-go.tar.gz b/likexian--whois.804f380/environment/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/likexian--whois.804f380/environment/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/likexian--whois.804f380/environment/workspace.tar.gz b/likexian--whois.804f380/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..30eaf97fad63bab84dfd99f8a9d651ac69ec400d
--- /dev/null
+++ b/likexian--whois.804f380/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:123175cde0a7ce5edf7000f291bbcf272dcda38cd024487b76cea24c84a7bb07
+size 1511
diff --git a/likexian--whois.804f380/instruction.md b/likexian--whois.804f380/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/likexian--whois.804f380/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/likexian--whois.804f380/solution/solve.sh b/likexian--whois.804f380/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/likexian--whois.804f380/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/likexian--whois.804f380/task.toml b/likexian--whois.804f380/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..05e41a224442d9d857558bf7274733025c14418e
--- /dev/null
+++ b/likexian--whois.804f380/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/likexian--whois.804f380"
+description = "Synthetic ProgramGym cleanroom reconstruction task for likexian/whois"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "go"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "likexian__whois.804f380"
+repository = "likexian/whois"
+commit = "804f3804d750d5c2430b353ab7f85bddb7797bba"
+language = "go"
+difficulty = "easy"
+difficulty_score = 1.3873898263387292
+test_branches = 4
+test_count = 220
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/likexian--whois.804f380/tests/Dockerfile b/likexian--whois.804f380/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..a626a06f42b7d18ca8dda5f990bed0106ab28bf5
--- /dev/null
+++ b/likexian--whois.804f380/tests/Dockerfile
@@ -0,0 +1,68 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+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"]
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# programgym-runtime-workspace-cleanup: v1
+RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN python3 -m pip install --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/likexian--whois.804f380/tests/blobs/tests/generated_module_01.tar.gz b/likexian--whois.804f380/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..3263331326e8e742a9a9c3458610d4d3ad1eb177
--- /dev/null
+++ b/likexian--whois.804f380/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6a1d17fbc2b6ede7a6ab5d8a43d8608441dc5979b44273cbe750e5b72479cabd
+size 10486
diff --git a/likexian--whois.804f380/tests/blobs/tests/generated_module_02.tar.gz b/likexian--whois.804f380/tests/blobs/tests/generated_module_02.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..31ce3825aa97d4972c8fd9eb6bf5c011d00d5c0a
--- /dev/null
+++ b/likexian--whois.804f380/tests/blobs/tests/generated_module_02.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dd893d1472f1df8a25d7230631a28d19aa3d37cb21e4fb5cdb5e9233d23998e8
+size 9782
diff --git a/likexian--whois.804f380/tests/blobs/tests/generated_module_03.tar.gz b/likexian--whois.804f380/tests/blobs/tests/generated_module_03.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..4badd45d50fe7596574eb4d31f9deadd1e3b119a
--- /dev/null
+++ b/likexian--whois.804f380/tests/blobs/tests/generated_module_03.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9c4b77aefcec3e684032005f5b48dcd40ce2063721adfbc33c5a0961565bf78a
+size 4712
diff --git a/likexian--whois.804f380/tests/blobs/tests/generated_module_04.tar.gz b/likexian--whois.804f380/tests/blobs/tests/generated_module_04.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..3b57330c160b54d4ea85428e7c84184cbf1b515e
--- /dev/null
+++ b/likexian--whois.804f380/tests/blobs/tests/generated_module_04.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:79265243bdaf71d38980816d94e6ecfe7443e2fec0746234f15dd0b5ce20d8b6
+size 4098
diff --git a/likexian--whois.804f380/tests/download.sh b/likexian--whois.804f380/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..fc144b33ce611947cfe4bb4e726ae6f2cf854e32
--- /dev/null
+++ b/likexian--whois.804f380/tests/download.sh
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
+# Generated deterministically from repository module metadata; do not edit.
+set -u
+export GOTOOLCHAIN=auto
+mkdir -p /workspace/.programgym_build_env/go-prefetch
+cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
+module github.com/likexian/whois
+
+go 1.24.0
+
+require (
+ github.com/likexian/gokit v0.25.16
+ github.com/likexian/whois-parser v1.24.21
+ golang.org/x/net v0.48.0
+)
+
+require golang.org/x/text v0.32.0 // indirect
+PROGRAMGYM_GO_MOD_EOF
+cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
+github.com/likexian/gokit v0.25.16 h1:wwBeUIN/OdoPp6t00xTnZE8Di/+s969Bl5N2Kw6bzP8=
+github.com/likexian/gokit v0.25.16/go.mod h1:Wqd4f+iifV0qxA1N3MqePJTUsmRy/lpst9/yXriDx/4=
+github.com/likexian/whois-parser v1.24.21 h1:MxsrGRxDOiZIVp7q7N/yAIbKuN4QAkGjCpOtTDA5OsM=
+github.com/likexian/whois-parser v1.24.21/go.mod h1:o3DUruO65Pb8WXCJCTlSVkTbwuYVrBCeoMTw2q0mxY4=
+golang.org/x/net v0.48.0 h1:zyQRTTrjc33Lhh0fBgT/H3oZq9WuvRR5gPC70xpDiQU=
+golang.org/x/net v0.48.0/go.mod h1:+ndRgGjkh8FGtu1w1FGbEC31if4VrNVMuKTgcAAnQRY=
+golang.org/x/text v0.32.0 h1:ZD01bjUt1FQ9WJ0ClOL5vxgxOI/sVCNgX1YtKwcY0mU=
+golang.org/x/text v0.32.0/go.mod h1:o/rUWzghvpD5TXrTIBuJU77MTaN0ljMWE47kxGJQ7jY=
+PROGRAMGYM_GO_SUM_EOF
+PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY="${GOPROXY:-direct}"
+PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
+case "$PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY" in
+ *"|"*|*","*)
+ PROGRAMGYM_INTERNAL_GO_FIRST_PROXY="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY%%[,|]*}"
+ PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY#*[,|]}"
+ if [[ "$PROGRAMGYM_INTERNAL_GO_FIRST_PROXY" =~ [^[:space:]] ]] && [[ "$PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER" =~ [^[:space:]] ]]; then
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY="${PROGRAMGYM_GO_PUBLIC_FALLBACK_PROXY:-${PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER}}"
+ fi
+ ;;
+esac
+if ! [[ "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" =~ [^[:space:]] ]]; then
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
+fi
+cat > /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py <<'PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF'
+import os
+import signal
+import subprocess
+import sys
+import time
+
+sentinel_path, timeout_text, grace_text, proxy, *command = sys.argv[1:]
+if not command:
+ raise SystemExit(125)
+environment = os.environ.copy()
+environment["GOPROXY"] = proxy
+process = subprocess.Popen(command, env=environment, start_new_session=True)
+try:
+ returncode = process.wait(timeout=float(timeout_text))
+except subprocess.TimeoutExpired:
+ with open(sentinel_path, "w", encoding="utf-8") as sentinel:
+ sentinel.write("expired\n")
+ try:
+ os.killpg(process.pid, signal.SIGTERM)
+ except ProcessLookupError:
+ pass
+ deadline = time.monotonic() + float(grace_text)
+ group_alive = True
+ while time.monotonic() < deadline:
+ process.poll()
+ try:
+ os.killpg(process.pid, 0)
+ except ProcessLookupError:
+ group_alive = False
+ break
+ time.sleep(0.05)
+ if group_alive:
+ try:
+ os.killpg(process.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ process.wait()
+ raise SystemExit(124)
+if returncode < 0:
+ returncode = 128 - returncode
+raise SystemExit(returncode)
+PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF
+PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS="${PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS:-90}"
+if ! [[ "$PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS" =~ ^[1-9][0-9]*$ ]]; then
+ printf '%s\n' "download.sh: invalid PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS=${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}" >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if ! command -v python3 >/dev/null 2>&1; then
+ printf '%s\n' 'download.sh: python3 is required for bounded Nexus Go downloads' >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+_programgym_go_with_nexus_timeout() {
+ local programgym_go_rc
+ local programgym_go_timeout_sentinel
+ if ! programgym_go_timeout_sentinel="$(mktemp "${TMPDIR:-/tmp}/programgym-go-timeout.XXXXXX")"; then
+ return 1
+ fi
+ 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
+ programgym_go_rc=0
+ else
+ programgym_go_rc=$?
+ fi
+ if [ ! -s "$programgym_go_timeout_sentinel" ]; then
+ rm -f "$programgym_go_timeout_sentinel"
+ return "$programgym_go_rc"
+ fi
+ rm -f "$programgym_go_timeout_sentinel"
+ if [ -z "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" ]; then
+ printf '%s\n' "download.sh: primary Go request exceeded ${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}s; GOPROXY has no explicit non-empty fallback remainder" >&2
+ return "$programgym_go_rc"
+ fi
+ printf '%s\n' "download.sh: Nexus-first Go request exceeded ${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}s; retrying with GOPROXY=${PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY}" >&2
+ env GOPROXY="$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" "$@"
+}
+PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
+if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && _programgym_go_with_nexus_timeout env GOTOOLCHAIN=auto go env GOROOT)"; then
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+else
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
+fi
+export PATH="$GOROOT/bin:$PATH"
+export GOTOOLCHAIN=local
+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
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
+unset -f _programgym_go_with_nexus_timeout
+unset PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY
+unset PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY
+unset PROGRAMGYM_INTERNAL_GO_FIRST_PROXY
+unset PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER
+unset PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS
diff --git a/likexian--whois.804f380/tests/executable b/likexian--whois.804f380/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..3e2556fc4d32cff8e2f6bb403342d13f6f61608f
--- /dev/null
+++ b/likexian--whois.804f380/tests/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:402038680578f7e769d663c8ce1ae18e03ebcd689fc590953c972540e702fe7d
+size 9912688
diff --git a/likexian--whois.804f380/tests/programgym-go.tar.gz b/likexian--whois.804f380/tests/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/likexian--whois.804f380/tests/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/likexian--whois.804f380/tests/programgym_evaluator.py b/likexian--whois.804f380/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/likexian--whois.804f380/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/likexian--whois.804f380/tests/programgym_task.json b/likexian--whois.804f380/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..339d8cc96b0795ce3b24cf1501cdf2bdd96ef040
--- /dev/null
+++ b/likexian--whois.804f380/tests/programgym_task.json
@@ -0,0 +1,326 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_cmd_whois_main.test_help_output[double-dash_help]",
+ "eval.tests.test_cmd_whois_main.test_help_output[single-dash_help]",
+ "eval.tests.test_cmd_whois_main.test_malformed_flag_value[--v_xyz]",
+ "eval.tests.test_cmd_whois_main.test_malformed_flag_value[-h]",
+ "eval.tests.test_cmd_whois_main.test_malformed_flag_value[-j_]",
+ "eval.tests.test_cmd_whois_main.test_malformed_flag_value[-j_notabool]",
+ "eval.tests.test_cmd_whois_main.test_malformed_flag_value[-v_notabool]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[alt_ipv4_arg]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[asn_form_arg]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[bare_numeric_arg]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[dasher_terminator_arg]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[ddash_h_equals]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[doc_net_ipv6_arg]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[domain_arg]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[dot_token_as_extra_positional]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[h_equals_form]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[idn_domain_arg]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[ipv4_arg]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[ipv6_loopback_arg]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[json_and_version_false]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[json_explicit_false]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[json_explicit_true]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[json_flag_with_asn]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[json_flag_with_domain]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[json_flag_with_ipv4]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[json_flag_with_ipv6]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[json_looking_as_second_positional]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[json_two_domains]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[json_with_default_server_port]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[port_leading_zero_dial_refused]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[public_ipv6_arg]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[server_default_port_43]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[server_explicit_port_43]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[server_flag_repeat_last_wins]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[server_high_port]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[server_low_port_1]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[server_port_65535]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[server_port_zero]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[terminator_two_args]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[test_net_ipv4_arg]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[three_positional_args]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[two_positional_args]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[uppercase_domain_arg]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[version_explicit_false]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[version_false_before_arg]",
+ "eval.tests.test_cmd_whois_main.test_query_connect_error[vfalse_looking_as_second_positional]",
+ "eval.tests.test_cmd_whois_main.test_query_dial_error[ipv6_bracket_high_port]",
+ "eval.tests.test_cmd_whois_main.test_query_dial_error[ipv6_bracket_port_43]",
+ "eval.tests.test_cmd_whois_main.test_query_dial_error[ipv6_bracket_port_9600]",
+ "eval.tests.test_cmd_whois_main.test_query_dial_error[port_65536_overflow]",
+ "eval.tests.test_cmd_whois_main.test_query_dial_error[port_65537_overflow]",
+ "eval.tests.test_cmd_whois_main.test_query_dial_error[port_70000_overflow]",
+ "eval.tests.test_cmd_whois_main.test_query_dial_error[port_99999_overflow]",
+ "eval.tests.test_cmd_whois_main.test_query_dial_error[port_huge_overflow]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[carriage_return_only]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[crlf_only]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[dot_with_h]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[dots_with_h_and_dot_arg]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[empty_after_h]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[empty_first_of_three]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[empty_first_of_two]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[empty_string]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[empty_with_json_and_vfalse]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[empty_with_port_zero_server]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[form_feed_only]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[four_dots_with_h]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[ideographic_space_only]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[json_explicit_true_with_empty]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[json_flag_with_empty]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[mixed_vtab_ff_space]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[nbsp_only]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[newline_only]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[single_dot]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[space_tab_space]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[spaces_only]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[tab_dot_tab]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[tab_only]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[tab_with_h]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[terminator_empty_no_h]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[terminator_then_empty]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[three_dots]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[two_dots]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[two_empty_positionals]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[version_false_with_empty]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[vertical_tab_only]",
+ "eval.tests.test_cmd_whois_main.test_query_empty_domain[vtab_dot]",
+ "eval.tests.test_cmd_whois_main.test_unknown_flag[double-dash_collapsed_to_single]",
+ "eval.tests.test_cmd_whois_main.test_unknown_flag[double-dash_word_collapsed]",
+ "eval.tests.test_cmd_whois_main.test_unknown_flag[single-dash_compound_word]",
+ "eval.tests.test_cmd_whois_main.test_unknown_flag[single-dash_short]",
+ "eval.tests.test_cmd_whois_main.test_unknown_flag[single-dash_x]",
+ "eval.tests.test_cmd_whois_main.test_unknown_flag[uppercase_distinct_from_h]",
+ "eval.tests.test_cmd_whois_main.test_usage_block[JSON_flag,_no_positional]",
+ "eval.tests.test_cmd_whois_main.test_usage_block[JSON_flag_explicitly_false]",
+ "eval.tests.test_cmd_whois_main.test_usage_block[JSON_flag_explicitly_true]",
+ "eval.tests.test_cmd_whois_main.test_usage_block[JSON_flag_then_terminator]",
+ "eval.tests.test_cmd_whois_main.test_usage_block[both_JSON_and_version_false]",
+ "eval.tests.test_cmd_whois_main.test_usage_block[flag_terminator_with_empty_tail]",
+ "eval.tests.test_cmd_whois_main.test_usage_block[no_arguments_at_all]",
+ "eval.tests.test_cmd_whois_main.test_usage_block[server_flag_=_form,_no_positional]",
+ "eval.tests.test_cmd_whois_main.test_usage_block[server_flag_set,_no_positional]",
+ "eval.tests.test_cmd_whois_main.test_usage_block[server_plus_version_false]",
+ "eval.tests.test_cmd_whois_main.test_usage_block[version_explicitly_false]",
+ "eval.tests.test_cmd_whois_main.test_usage_block[version_false_plus_JSON_flag]",
+ "eval.tests.test_cmd_whois_main.test_version_output[__v=true_double_dash]",
+ "eval.tests.test_cmd_whois_main.test_version_output[__v_double_dash]",
+ "eval.tests.test_cmd_whois_main.test_version_output[_v=1_numeric_true]",
+ "eval.tests.test_cmd_whois_main.test_version_output[_v=true_explicit]",
+ "eval.tests.test_cmd_whois_main.test_version_output[_v_only]",
+ "eval.tests.test_cmd_whois_main.test_version_output[_v_short_circuits_before_a_query_arg]",
+ "eval.tests.test_cmd_whois_main.test_version_output[_v_wins_over_JSON_flag]",
+ "eval.tests.test_cmd_whois_main.test_version_output[_v_wins_over_server_flag]",
+ "eval.tests.test_cmd_whois_main.test_version_output[_v_wins_over_server_flag_(=_form)]",
+ "eval.tests.test_cmd_whois_main.test_version_output[all_flags_set,_version_wins]"
+ ]
+ },
+ "generated_module_02": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_whois_cli.test_empty_domain_after_trim_errors[dots]",
+ "eval.tests.test_whois_cli.test_empty_domain_after_trim_errors[empty]",
+ "eval.tests.test_whois_cli.test_empty_domain_after_trim_errors[single_dot]",
+ "eval.tests.test_whois_cli.test_empty_domain_after_trim_errors[spaces]",
+ "eval.tests.test_whois_cli.test_empty_domain_with_server_flag_still_errors_before_dial[dot]",
+ "eval.tests.test_whois_cli.test_empty_domain_with_server_flag_still_errors_before_dial[empty]",
+ "eval.tests.test_whois_cli.test_empty_domain_with_server_flag_still_errors_before_dial[spaces]",
+ "eval.tests.test_whois_cli.test_json_flag_without_domain_prints_usage",
+ "eval.tests.test_whois_cli.test_no_args_prints_usage",
+ "eval.tests.test_whois_cli.test_server_flag_missing_value_rejected",
+ "eval.tests.test_whois_cli.test_unknown_flag_rejected",
+ "eval.tests.test_whois_cli.test_version_flag_lists_metadata",
+ "eval.tests.test_whois_cli.test_version_flag_wins_over_json_flag",
+ "eval.tests.test_whois_query.test_bare_integer_asn_is_prefixed[12]",
+ "eval.tests.test_whois_query.test_bare_integer_asn_is_prefixed[1]",
+ "eval.tests.test_whois_query.test_bare_integer_asn_is_prefixed[264957]",
+ "eval.tests.test_whois_query.test_connect_refused_reports_error[1.1.1.1]",
+ "eval.tests.test_whois_query.test_connect_refused_reports_error[2001:db8::1]",
+ "eval.tests.test_whois_query.test_connect_refused_reports_error[as12]",
+ "eval.tests.test_whois_query.test_connect_refused_reports_error[example.com]",
+ "eval.tests.test_whois_query.test_domain_sent_unchanged[co.uk]",
+ "eval.tests.test_whois_query.test_domain_sent_unchanged[example.com]",
+ "eval.tests.test_whois_query.test_domain_sent_unchanged[my-site.example]",
+ "eval.tests.test_whois_query.test_empty_referral_value_is_not_followed",
+ "eval.tests.test_whois_query.test_ipv4_sent_unchanged[1.1.1.1]",
+ "eval.tests.test_whois_query.test_ipv4_sent_unchanged[255.255.255.255]",
+ "eval.tests.test_whois_query.test_ipv4_sent_unchanged[8.8.8.8]",
+ "eval.tests.test_whois_query.test_ipv6_sent_unchanged[2001:4860:4860::8888]",
+ "eval.tests.test_whois_query.test_ipv6_sent_unchanged[2001:db8::1]",
+ "eval.tests.test_whois_query.test_ipv6_sent_unchanged[::1]",
+ "eval.tests.test_whois_query.test_json_domain_roundtrip[a.example]",
+ "eval.tests.test_whois_query.test_json_domain_roundtrip[deep.sub.example]",
+ "eval.tests.test_whois_query.test_json_domain_roundtrip[example.com]",
+ "eval.tests.test_whois_query.test_json_domain_roundtrip[shop.co.uk]",
+ "eval.tests.test_whois_query.test_json_roundtrip_non_domain[asn_json]",
+ "eval.tests.test_whois_query.test_json_roundtrip_non_domain[ipv4_json]",
+ "eval.tests.test_whois_query.test_json_unparseable_response_errors",
+ "eval.tests.test_whois_query.test_leading_trailing_dots_are_trimmed[.example.com.]",
+ "eval.tests.test_whois_query.test_leading_trailing_dots_are_trimmed[example.com.]",
+ "eval.tests.test_whois_query.test_no_referral_serves_single_query",
+ "eval.tests.test_whois_query.test_prefixed_asn_is_preserved[AS12]",
+ "eval.tests.test_whois_query.test_prefixed_asn_is_preserved[as12]",
+ "eval.tests.test_whois_query.test_read_error_mid_response_reports_connection_reset",
+ "eval.tests.test_whois_query.test_referral_port_trailing_non_numeric_normalized_and_chained",
+ "eval.tests.test_whois_query.test_referral_port_trailing_non_numeric_stripped_to_refused",
+ "eval.tests.test_whois_query.test_referral_read_error_propagates",
+ "eval.tests.test_whois_query.test_referral_refer_token_is_found_when_registrar_token_absent",
+ "eval.tests.test_whois_query.test_referral_rwhois_referral_scheme_and_path_is_normalized",
+ "eval.tests.test_whois_query.test_referral_server_value_scheme_prefix_is_stripped[http://]",
+ "eval.tests.test_whois_query.test_referral_server_value_scheme_prefix_is_stripped[https://]",
+ "eval.tests.test_whois_query.test_referral_server_value_scheme_prefix_is_stripped[whois:]",
+ "eval.tests.test_whois_query.test_referral_to_empty_server_appends_nothing",
+ "eval.tests.test_whois_query.test_referral_to_other_host_is_followed_and_chained",
+ "eval.tests.test_whois_query.test_referral_to_same_host_is_not_followed",
+ "eval.tests.test_whois_query.test_referral_to_unparseable_server_keeps_first_record",
+ "eval.tests.test_whois_query.test_referral_whois_token_is_followed"
+ ]
+ },
+ "generated_module_03": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_error_module.test_bare_server_flag_needs_argument",
+ "eval.tests.test_error_module.test_err_domain_empty[extra_args0-]",
+ "eval.tests.test_error_module.test_err_domain_empty[extra_args1- ]",
+ "eval.tests.test_error_module.test_err_domain_empty[extra_args2-..]",
+ "eval.tests.test_error_module.test_err_domain_empty[extra_args3-]",
+ "eval.tests.test_error_module.test_err_domain_empty[extra_args4-.]",
+ "eval.tests.test_error_module.test_err_domain_empty[extra_args5-]",
+ "eval.tests.test_error_module.test_err_domain_empty_json_flag_only_no_server",
+ "eval.tests.test_error_module.test_err_domain_empty_message_is_exact",
+ "eval.tests.test_error_module.test_json_and_version_combined",
+ "eval.tests.test_error_module.test_known_flag_without_domain_shows_usage",
+ "eval.tests.test_error_module.test_no_arguments_prints_usage",
+ "eval.tests.test_error_module.test_unknown_flag_rejected[args0]",
+ "eval.tests.test_error_module.test_unknown_flag_rejected[args1]",
+ "eval.tests.test_error_module.test_unknown_flag_rejected[args2]",
+ "eval.tests.test_error_module.test_unreachable_server_fails_fast[1.1.1.1]",
+ "eval.tests.test_error_module.test_unreachable_server_fails_fast[example.com]",
+ "eval.tests.test_error_module.test_usage_lists_version_and_json_options",
+ "eval.tests.test_error_module.test_version_conflicts_with_domain",
+ "eval.tests.test_error_module.test_version_flag_init[args0]",
+ "eval.tests.test_error_module.test_version_flag_init[args1]",
+ "eval.tests.test_error_module.test_version_flag_init[args2]"
+ ]
+ },
+ "generated_module_04": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_whois_cli.TestDomainValidationErrors.test_empty_domain_is_not_an_unknown_flag_error",
+ "eval.tests.test_whois_cli.TestDomainValidationErrors.test_empty_domain_reports_domain_empty[.]",
+ "eval.tests.test_whois_cli.TestDomainValidationErrors.test_empty_domain_reports_domain_empty[]",
+ "eval.tests.test_whois_cli.TestExplicitServerQueryDial.test_explicit_server_query_connect_refused[127.0.0.1-as27648-127.0.0.1:43]",
+ "eval.tests.test_whois_cli.TestExplicitServerQueryDial.test_explicit_server_query_connect_refused[127.0.0.1-test.com-127.0.0.1:43]",
+ "eval.tests.test_whois_cli.TestExplicitServerQueryDial.test_explicit_server_query_connect_refused[127.0.0.1:16043-1.1.1.1-127.0.0.1:16043]",
+ "eval.tests.test_whois_cli.TestExplicitServerQueryDial.test_explicit_server_query_connect_refused[127.0.0.1:16043-123-127.0.0.1:16043]",
+ "eval.tests.test_whois_cli.TestExplicitServerQueryDial.test_explicit_server_query_connect_refused[127.0.0.1:16043-2001:db8::1-127.0.0.1:16043]",
+ "eval.tests.test_whois_cli.TestExplicitServerQueryDial.test_explicit_server_query_connect_refused[127.0.0.1:16043-8.8.4.4-127.0.0.1:16043]",
+ "eval.tests.test_whois_cli.TestExplicitServerQueryDial.test_explicit_server_query_connect_refused[127.0.0.1:16043-AS0001-127.0.0.1:16043]",
+ "eval.tests.test_whois_cli.TestExplicitServerQueryDial.test_explicit_server_query_connect_refused[127.0.0.1:16043-AS123-127.0.0.1:16043]",
+ "eval.tests.test_whois_cli.TestExplicitServerQueryDial.test_explicit_server_query_connect_refused[127.0.0.1:16043-as0-127.0.0.1:16043]",
+ "eval.tests.test_whois_cli.TestExplicitServerQueryDial.test_explicit_server_query_connect_refused[127.0.0.1:16043-as123-127.0.0.1:16043]",
+ "eval.tests.test_whois_cli.TestExplicitServerQueryDial.test_explicit_server_query_connect_refused[127.0.0.1:16043-name.com.cn-127.0.0.1:16043]",
+ "eval.tests.test_whois_cli.TestExplicitServerQueryDial.test_explicit_server_query_connect_refused[127.0.0.1:16043-name.net-127.0.0.1:16043]",
+ "eval.tests.test_whois_cli.TestExplicitServerQueryDial.test_explicit_server_query_connect_refused[127.0.0.1:16043-test.com-127.0.0.1:16043]",
+ "eval.tests.test_whois_cli.TestExplicitServerQueryDial.test_explicit_server_query_connect_refused[127.0.0.1:16043-test.com.-127.0.0.1:16043]",
+ "eval.tests.test_whois_cli.TestExplicitServerQueryDial.test_json_flag_keeps_connect_error_plain",
+ "eval.tests.test_whois_cli.TestExplicitServerQueryDial.test_only_first_positional_domain_is_queried",
+ "eval.tests.test_whois_cli.TestUsageWithoutDomain.test_no_domain_prints_usage_to_stdout[args0]",
+ "eval.tests.test_whois_cli.TestUsageWithoutDomain.test_no_domain_prints_usage_to_stdout[args1]",
+ "eval.tests.test_whois_cli.TestUsageWithoutDomain.test_no_domain_prints_usage_to_stdout[args2]",
+ "eval.tests.test_whois_cli.TestUsageWithoutDomain.test_usage_error_routed_to_stderr_not_stdout",
+ "eval.tests.test_whois_cli.TestVersionFlag.test_version_flag_prints_version_and_author[extra0]",
+ "eval.tests.test_whois_cli.TestVersionFlag.test_version_flag_prints_version_and_author[extra1]",
+ "eval.tests.test_whois_cli.TestVersionFlag.test_version_flag_prints_version_and_author[extra2]",
+ "eval.tests.test_whois_cli.TestVersionFlag.test_version_flag_prints_version_and_author[extra3]",
+ "eval.tests.test_whois_cli.TestVersionFlag.test_version_flag_queries_nothing"
+ ]
+ }
+ },
+ "commit": "804f3804d750d5c2430b353ab7f85bddb7797bba",
+ "data_source": "synthetic_programgym",
+ "difficulty": "easy",
+ "difficulty_score": 1.3873898263387292,
+ "eval_clean_hashes": [
+ "402038680578f7e769d663c8ce1ae18e03ebcd689fc590953c972540e702fe7d"
+ ],
+ "input_record": {
+ "commit": "804f3804d750d5c2430b353ab7f85bddb7797bba",
+ "commits": 140,
+ "contributors": 15,
+ "difficulty": "easy",
+ "difficulty_code_lines": 488,
+ "difficulty_has_tests": false,
+ "difficulty_product_code_lines": 488,
+ "difficulty_runtime_deps": 4,
+ "difficulty_score": 1.3873898263387292,
+ "difficulty_test_code_lines": 222,
+ "full_name": "likexian/whois",
+ "github_stars": 493,
+ "input_joern_zip": "go_joern/likexian__whois.zip",
+ "joern_status": true,
+ "joern_time": 14.09600954502821,
+ "language": "go",
+ "pb_match": [
+ {
+ "pb_fullname": "guumaster/hostctl",
+ "rank": 679,
+ "similarity": 0.45644068717956543
+ }
+ ],
+ "repo_age": 11.98,
+ "repo_path": "go/likexian__whois",
+ "source": "commit:804f3804d750d5c2430b353ab7f85bddb7797bba",
+ "status": "done",
+ "url": "https://github.com/likexian/whois"
+ },
+ "instance_id": "likexian__whois.804f380",
+ "language": "go",
+ "module_iterations": [
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_01",
+ "iteration_limit": 5,
+ "module_index": 1,
+ "module_kind": "source",
+ "termination_reason": "early_stopping"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_02",
+ "iteration_limit": 5,
+ "module_index": 2,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 1,
+ "branch_name": "generated_module_03",
+ "iteration_limit": 5,
+ "module_index": 3,
+ "module_kind": "source",
+ "termination_reason": "coverage_path_attribution_failure"
+ },
+ {
+ "actual_iterations": 1,
+ "branch_name": "generated_module_04",
+ "iteration_limit": 5,
+ "module_index": 4,
+ "module_kind": "source",
+ "termination_reason": "coverage_path_attribution_failure"
+ }
+ ],
+ "repository": "likexian/whois"
+}
diff --git a/likexian--whois.804f380/tests/test.sh b/likexian--whois.804f380/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/likexian--whois.804f380/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/likexian--whois.804f380/tests/workspace.tar.gz b/likexian--whois.804f380/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..30eaf97fad63bab84dfd99f8a9d651ac69ec400d
--- /dev/null
+++ b/likexian--whois.804f380/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:123175cde0a7ce5edf7000f291bbcf272dcda38cd024487b76cea24c84a7bb07
+size 1511
diff --git a/lilin-hitcrt--ssc.b65d5ea/environment/Dockerfile b/lilin-hitcrt--ssc.b65d5ea/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..ea5dabd15b163b4b12b41d1994ffda06041df226
--- /dev/null
+++ b/lilin-hitcrt--ssc.b65d5ea/environment/Dockerfile
@@ -0,0 +1,66 @@
+FROM ubuntu:22.04
+ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
+ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
+ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
+ARG PROGRAMGYM_NPM_STRICT_SSL="true"
+ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
+ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
+ARG PROGRAMGYM_UV_INSECURE_HOST=""
+ENV GOPROXY=${PROGRAMGYM_GOPROXY}
+ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
+ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
+ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
+ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
+ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
+ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
+COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
+RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
+ && /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
+ && rm -f /tmp/harbor_configure_apt_mirror.sh
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_cache=/workspace/.cache/npm
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip autoconf automake gettext file binutils g++ libtool libncurses-dev meson ninja-build unzip wget curl xz-utils bzip2 zip zstd patch python3-pytest python3-pytest-xdist python3-coverage tar && rm -rf /var/lib/apt/lists/*
+ARG CMAKE_VERSION=3.31.12
+RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) CMAKE_ARCH="x86_64" ;; arm64) CMAKE_ARCH="aarch64" ;; *) echo "unsupported architecture for CMake: ${ARCH}" >&2; exit 1 ;; esac; curl -fsSL -o /tmp/cmake.tar.gz "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-${CMAKE_ARCH}.tar.gz"; rm -rf /opt/cmake; mkdir -p /opt/cmake; tar -xzf /tmp/cmake.tar.gz --strip-components=1 -C /opt/cmake; ln -sf /opt/cmake/bin/cmake /usr/local/bin/cmake; ln -sf /opt/cmake/bin/ctest /usr/local/bin/ctest; ln -sf /opt/cmake/bin/cpack /usr/local/bin/cpack; rm -f /tmp/cmake.tar.gz; cmake --version
+ARG GCC_VERSION=13.3.0
+RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) GCC_ARCH="x64" ;; arm64) GCC_ARCH="arm64" ;; *) echo "unsupported architecture for GCC 13: ${ARCH}" >&2; exit 1 ;; esac; wget -O /tmp/gcc.tar.gz "https://github.com/xpack-dev-tools/gcc-xpack/releases/download/v13.3.0-2/xpack-gcc-13.3.0-2-linux-${GCC_ARCH}.tar.gz"; rm -rf /opt/gcc-13; mkdir -p /opt/gcc-13; tar -xzf /tmp/gcc.tar.gz --strip-components=1 -C /opt/gcc-13; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/c++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc-13; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++-13; for PROGRAMGYM_GCOV_TOOL in gcov gcov-dump gcov-tool; do if [ -x "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" ]; then ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}-13"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/bin/${PROGRAMGYM_GCOV_TOOL}"; fi; done; ln -sf /opt/gcc-13/bin/gcc /usr/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/c++; rm -f /tmp/gcc.tar.gz; gcc --version; g++ --version; gcov --version; command -v gcov-dump >/dev/null && gcov-dump --version | head -n 1 || true
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /workspace/download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/lilin-hitcrt--ssc.b65d5ea/environment/docker-compose.yaml b/lilin-hitcrt--ssc.b65d5ea/environment/docker-compose.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..f3bd71ea40d31cf72c3c886f85cbca1450add2cc
--- /dev/null
+++ b/lilin-hitcrt--ssc.b65d5ea/environment/docker-compose.yaml
@@ -0,0 +1,11 @@
+services:
+ main:
+ build:
+ args:
+ PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
+ PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
+ PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
+ PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
+ PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
+ PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
+ PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
diff --git a/lilin-hitcrt--ssc.b65d5ea/environment/download.sh b/lilin-hitcrt--ssc.b65d5ea/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..1581339c86cfb7897552241bc7ae736946b9b4a4
--- /dev/null
+++ b/lilin-hitcrt--ssc.b65d5ea/environment/download.sh
@@ -0,0 +1,53 @@
+#!/usr/bin/env bash
+#
+# download.sh (ProgramGym networked download/prefetch stage for SSC)
+#
+# This script is executed via `source /source_ro/download.sh`, so it must be
+# valid in shell source mode: it keeps exported variables in the current shell,
+# must not rely on positional arguments, and must not call `exit` in normal
+# control flow. It is idempotent.
+#
+# It ONLY installs/prefetches the build dependencies and exports environment
+# variables that build.sh relies on. It does NOT compile, configure, link,
+# test, or build the project. No repository source files are read.
+
+# Record whether we are being sourced or executed (prepares a failure branch
+# that is valid for both, without using `exit` in normal control flow).
+if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ SSC__SOURCED=1
+else
+ SSC__SOURCED=0
+fi
+
+_fail() {
+ if [ "${SSC__SOURCED:-0}" = "1" ]; then
+ return 1
+ else
+ exit 1
+ fi
+}
+
+# ---------------------------------------------------------------------------
+# System build/runtime dependencies for the C++ project.
+#
+# The base image is Ubuntu 22.04 and already contains gcc/g++ 13, cmake 3.31,
+# make, and pkg-config, so only the C++ library dependencies are installed
+# here. Every package name below is declared explicitly inside this script;
+# no repository manifest is read.
+# ---------------------------------------------------------------------------
+DEBIAN_FRONTEND=noninteractive
+export DEBIAN_FRONTEND
+
+apt-get update || _fail "apt-get update failed"
+
+apt-get install -y \
+ libopencv-dev \
+ libpcl-dev \
+ libyaml-cpp-dev \
+ libeigen3-dev \
+ libtbb-dev || _fail "apt-get install of build dependencies failed"
+
+# Number of parallel make jobs for build.sh (exported for the offline stage).
+export SSC_JOBS="${SSC_JOBS:-4}"
+
+echo "[download.sh] dependency preparation complete"
diff --git a/lilin-hitcrt--ssc.b65d5ea/environment/executable b/lilin-hitcrt--ssc.b65d5ea/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..3ba5e50daae32f9dcf497fb1b865e2e7845043da
Binary files /dev/null and b/lilin-hitcrt--ssc.b65d5ea/environment/executable differ
diff --git a/lilin-hitcrt--ssc.b65d5ea/environment/harbor_configure_apt_mirror.sh b/lilin-hitcrt--ssc.b65d5ea/environment/harbor_configure_apt_mirror.sh
new file mode 100644
index 0000000000000000000000000000000000000000..c70a651096880dece7733b26837f2ca8e24d2c7f
--- /dev/null
+++ b/lilin-hitcrt--ssc.b65d5ea/environment/harbor_configure_apt_mirror.sh
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+repository_base="${1%/}"
+if [[ -z "$repository_base" ]]; then
+ exit 0
+fi
+
+. /etc/os-release
+codename="${VERSION_CODENAME:-}"
+if [[ -z "$codename" ]]; then
+ echo "VERSION_CODENAME is not set" >&2
+ exit 1
+fi
+
+if [[ "$ID" == "ubuntu" ]]; then
+ repository_name="apt-proxy"
+ components="main universe restricted multiverse"
+else
+ repository_name="debian-proxy"
+ components="main contrib non-free non-free-firmware"
+fi
+
+install -d /etc/apt/sources.list.d
+rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
+printf 'deb [trusted=yes] %s/%s %s %s\n' \
+ "$repository_base" "$repository_name" "$codename" "$components" \
+ >/etc/apt/sources.list
+printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
+ "$repository_base" "$repository_name" "$codename" "$components" \
+ >>/etc/apt/sources.list
+
+if [[ "$ID" != "ubuntu" ]]; then
+ printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
+ "$repository_base" "debian-proxy-security" "$codename" "$components" \
+ >>/etc/apt/sources.list
+fi
diff --git a/lilin-hitcrt--ssc.b65d5ea/environment/harbor_prepare_download_env.sh b/lilin-hitcrt--ssc.b65d5ea/environment/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..2c7dd2f2b8fff5fb8926261279d38518e59e407c
--- /dev/null
+++ b/lilin-hitcrt--ssc.b65d5ea/environment/harbor_prepare_download_env.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+set -euo pipefail
+cd /workspace
+set -a
+source /workspace/download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/lilin-hitcrt--ssc.b65d5ea/environment/workspace.tar.gz b/lilin-hitcrt--ssc.b65d5ea/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..59d1029cef535e9622055aba7309508be839de58
--- /dev/null
+++ b/lilin-hitcrt--ssc.b65d5ea/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:af44bc9fd8f29e091cda97419d17383b6c345add37f6b633c2c30729f64c7ed6
+size 3175625
diff --git a/lilin-hitcrt--ssc.b65d5ea/instruction.md b/lilin-hitcrt--ssc.b65d5ea/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/lilin-hitcrt--ssc.b65d5ea/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/lilin-hitcrt--ssc.b65d5ea/solution/solve.sh b/lilin-hitcrt--ssc.b65d5ea/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/lilin-hitcrt--ssc.b65d5ea/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/lilin-hitcrt--ssc.b65d5ea/task.toml b/lilin-hitcrt--ssc.b65d5ea/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..ab5826b28229d7c9abfbad306b4fa95bcde8e967
--- /dev/null
+++ b/lilin-hitcrt--ssc.b65d5ea/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/lilin-hitcrt--ssc.b65d5ea"
+description = "Synthetic ProgramGym cleanroom reconstruction task for lilin-hitcrt/SSC"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "cpp"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "lilin-hitcrt__SSC.b65d5ea"
+repository = "lilin-hitcrt/SSC"
+commit = "b65d5eae8a2b0069e5cac6aea7c8480f2b1831d0"
+language = "cpp"
+difficulty = "easy"
+difficulty_score = 0.9881128402683519
+test_branches = 2
+test_count = 112
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/lilin-hitcrt--ssc.b65d5ea/tests/Dockerfile b/lilin-hitcrt--ssc.b65d5ea/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..31c24423705b4d9f115d86d6c410e4b65f06031b
--- /dev/null
+++ b/lilin-hitcrt--ssc.b65d5ea/tests/Dockerfile
@@ -0,0 +1,74 @@
+FROM ubuntu:22.04
+ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
+ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
+ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
+ARG PROGRAMGYM_NPM_STRICT_SSL="true"
+ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
+ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
+ARG PROGRAMGYM_UV_INSECURE_HOST=""
+ENV GOPROXY=${PROGRAMGYM_GOPROXY}
+ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
+ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
+ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
+ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
+ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
+ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
+COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
+RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
+ && /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
+ && rm -f /tmp/harbor_configure_apt_mirror.sh
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_cache=/workspace/.cache/npm
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip autoconf automake gettext file binutils g++ libtool libncurses-dev meson ninja-build unzip wget curl xz-utils bzip2 zip zstd patch python3-pytest python3-pytest-xdist python3-coverage tar && rm -rf /var/lib/apt/lists/*
+ARG CMAKE_VERSION=3.31.12
+RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) CMAKE_ARCH="x86_64" ;; arm64) CMAKE_ARCH="aarch64" ;; *) echo "unsupported architecture for CMake: ${ARCH}" >&2; exit 1 ;; esac; curl -fsSL -o /tmp/cmake.tar.gz "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-${CMAKE_ARCH}.tar.gz"; rm -rf /opt/cmake; mkdir -p /opt/cmake; tar -xzf /tmp/cmake.tar.gz --strip-components=1 -C /opt/cmake; ln -sf /opt/cmake/bin/cmake /usr/local/bin/cmake; ln -sf /opt/cmake/bin/ctest /usr/local/bin/ctest; ln -sf /opt/cmake/bin/cpack /usr/local/bin/cpack; rm -f /tmp/cmake.tar.gz; cmake --version
+ARG GCC_VERSION=13.3.0
+RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) GCC_ARCH="x64" ;; arm64) GCC_ARCH="arm64" ;; *) echo "unsupported architecture for GCC 13: ${ARCH}" >&2; exit 1 ;; esac; wget -O /tmp/gcc.tar.gz "https://github.com/xpack-dev-tools/gcc-xpack/releases/download/v13.3.0-2/xpack-gcc-13.3.0-2-linux-${GCC_ARCH}.tar.gz"; rm -rf /opt/gcc-13; mkdir -p /opt/gcc-13; tar -xzf /tmp/gcc.tar.gz --strip-components=1 -C /opt/gcc-13; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/c++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc-13; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++-13; for PROGRAMGYM_GCOV_TOOL in gcov gcov-dump gcov-tool; do if [ -x "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" ]; then ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}-13"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/bin/${PROGRAMGYM_GCOV_TOOL}"; fi; done; ln -sf /opt/gcc-13/bin/gcc /usr/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/c++; rm -f /tmp/gcc.tar.gz; gcc --version; g++ --version; gcov --version; command -v gcov-dump >/dev/null && gcov-dump --version | head -n 1 || true
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /workspace/download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN python3 -m pip install --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/lilin-hitcrt--ssc.b65d5ea/tests/blobs/tests/generated_module_01.tar.gz b/lilin-hitcrt--ssc.b65d5ea/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..6121bd49e6032b95176ab5acf3ac35e83fd70492
--- /dev/null
+++ b/lilin-hitcrt--ssc.b65d5ea/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6574623055a4adc4621f10e04744bfec4d71d2a0d6eca568c22f3292d885cdfe
+size 3079610
diff --git a/lilin-hitcrt--ssc.b65d5ea/tests/blobs/tests/generated_module_02.tar.gz b/lilin-hitcrt--ssc.b65d5ea/tests/blobs/tests/generated_module_02.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..466e0811775b3246170a755dc2d460d1dd5d995b
--- /dev/null
+++ b/lilin-hitcrt--ssc.b65d5ea/tests/blobs/tests/generated_module_02.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8141cf3b560b8c8b66f99f30a4ed2384b9f15d544d7f3ab676c7b486bd7e609b
+size 15290
diff --git a/lilin-hitcrt--ssc.b65d5ea/tests/docker-compose.yaml b/lilin-hitcrt--ssc.b65d5ea/tests/docker-compose.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..f3bd71ea40d31cf72c3c886f85cbca1450add2cc
--- /dev/null
+++ b/lilin-hitcrt--ssc.b65d5ea/tests/docker-compose.yaml
@@ -0,0 +1,11 @@
+services:
+ main:
+ build:
+ args:
+ PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
+ PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
+ PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
+ PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
+ PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
+ PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
+ PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
diff --git a/lilin-hitcrt--ssc.b65d5ea/tests/download.sh b/lilin-hitcrt--ssc.b65d5ea/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..1581339c86cfb7897552241bc7ae736946b9b4a4
--- /dev/null
+++ b/lilin-hitcrt--ssc.b65d5ea/tests/download.sh
@@ -0,0 +1,53 @@
+#!/usr/bin/env bash
+#
+# download.sh (ProgramGym networked download/prefetch stage for SSC)
+#
+# This script is executed via `source /source_ro/download.sh`, so it must be
+# valid in shell source mode: it keeps exported variables in the current shell,
+# must not rely on positional arguments, and must not call `exit` in normal
+# control flow. It is idempotent.
+#
+# It ONLY installs/prefetches the build dependencies and exports environment
+# variables that build.sh relies on. It does NOT compile, configure, link,
+# test, or build the project. No repository source files are read.
+
+# Record whether we are being sourced or executed (prepares a failure branch
+# that is valid for both, without using `exit` in normal control flow).
+if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ SSC__SOURCED=1
+else
+ SSC__SOURCED=0
+fi
+
+_fail() {
+ if [ "${SSC__SOURCED:-0}" = "1" ]; then
+ return 1
+ else
+ exit 1
+ fi
+}
+
+# ---------------------------------------------------------------------------
+# System build/runtime dependencies for the C++ project.
+#
+# The base image is Ubuntu 22.04 and already contains gcc/g++ 13, cmake 3.31,
+# make, and pkg-config, so only the C++ library dependencies are installed
+# here. Every package name below is declared explicitly inside this script;
+# no repository manifest is read.
+# ---------------------------------------------------------------------------
+DEBIAN_FRONTEND=noninteractive
+export DEBIAN_FRONTEND
+
+apt-get update || _fail "apt-get update failed"
+
+apt-get install -y \
+ libopencv-dev \
+ libpcl-dev \
+ libyaml-cpp-dev \
+ libeigen3-dev \
+ libtbb-dev || _fail "apt-get install of build dependencies failed"
+
+# Number of parallel make jobs for build.sh (exported for the offline stage).
+export SSC_JOBS="${SSC_JOBS:-4}"
+
+echo "[download.sh] dependency preparation complete"
diff --git a/lilin-hitcrt--ssc.b65d5ea/tests/executable b/lilin-hitcrt--ssc.b65d5ea/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..3ba5e50daae32f9dcf497fb1b865e2e7845043da
Binary files /dev/null and b/lilin-hitcrt--ssc.b65d5ea/tests/executable differ
diff --git a/lilin-hitcrt--ssc.b65d5ea/tests/harbor_configure_apt_mirror.sh b/lilin-hitcrt--ssc.b65d5ea/tests/harbor_configure_apt_mirror.sh
new file mode 100644
index 0000000000000000000000000000000000000000..c70a651096880dece7733b26837f2ca8e24d2c7f
--- /dev/null
+++ b/lilin-hitcrt--ssc.b65d5ea/tests/harbor_configure_apt_mirror.sh
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+repository_base="${1%/}"
+if [[ -z "$repository_base" ]]; then
+ exit 0
+fi
+
+. /etc/os-release
+codename="${VERSION_CODENAME:-}"
+if [[ -z "$codename" ]]; then
+ echo "VERSION_CODENAME is not set" >&2
+ exit 1
+fi
+
+if [[ "$ID" == "ubuntu" ]]; then
+ repository_name="apt-proxy"
+ components="main universe restricted multiverse"
+else
+ repository_name="debian-proxy"
+ components="main contrib non-free non-free-firmware"
+fi
+
+install -d /etc/apt/sources.list.d
+rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
+printf 'deb [trusted=yes] %s/%s %s %s\n' \
+ "$repository_base" "$repository_name" "$codename" "$components" \
+ >/etc/apt/sources.list
+printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
+ "$repository_base" "$repository_name" "$codename" "$components" \
+ >>/etc/apt/sources.list
+
+if [[ "$ID" != "ubuntu" ]]; then
+ printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
+ "$repository_base" "debian-proxy-security" "$codename" "$components" \
+ >>/etc/apt/sources.list
+fi
diff --git a/lilin-hitcrt--ssc.b65d5ea/tests/harbor_prepare_download_env.sh b/lilin-hitcrt--ssc.b65d5ea/tests/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..2c7dd2f2b8fff5fb8926261279d38518e59e407c
--- /dev/null
+++ b/lilin-hitcrt--ssc.b65d5ea/tests/harbor_prepare_download_env.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+set -euo pipefail
+cd /workspace
+set -a
+source /workspace/download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/lilin-hitcrt--ssc.b65d5ea/tests/programgym_evaluator.py b/lilin-hitcrt--ssc.b65d5ea/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/lilin-hitcrt--ssc.b65d5ea/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/lilin-hitcrt--ssc.b65d5ea/tests/programgym_task.json b/lilin-hitcrt--ssc.b65d5ea/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..bf156b3be75d677e6d541162faec5fbe85ad26d9
--- /dev/null
+++ b/lilin-hitcrt--ssc.b65d5ea/tests/programgym_task.json
@@ -0,0 +1,184 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_config_file_handling.test_empty_config_file_aborts_with_bad_conversion",
+ "eval.tests.test_config_file_handling.test_malformed_yaml_aborts_with_parser_exception[illegal-map-value]",
+ "eval.tests.test_config_file_handling.test_malformed_yaml_aborts_with_parser_exception[unclosed-map-flow]",
+ "eval.tests.test_config_file_handling.test_malformed_yaml_aborts_with_parser_exception[unclosed-seq]",
+ "eval.tests.test_config_file_handling.test_missing_config_file_aborts_with_bad_file",
+ "eval.tests.test_config_file_handling.test_structurally_useless_config_aborts_with_bad_conversion",
+ "eval.tests.test_evalpair_section_parsing.test_eval_pair_each_non_scalar_key_aborts_with_distinct_exact_diagnostic",
+ "eval.tests.test_evalpair_section_parsing.test_eval_pair_key_as_sequence_aborts_with_exact_diagnostic[cloud_file1]",
+ "eval.tests.test_evalpair_section_parsing.test_eval_pair_key_as_sequence_aborts_with_exact_diagnostic[cloud_file2]",
+ "eval.tests.test_evalpair_section_parsing.test_eval_pair_key_as_sequence_aborts_with_exact_diagnostic[label_file1]",
+ "eval.tests.test_evalpair_section_parsing.test_eval_pair_key_as_sequence_aborts_with_exact_diagnostic[label_file2]",
+ "eval.tests.test_evalpair_section_parsing.test_eval_pair_missing_each_key_aborts_with_bad_conversion[cloud_file1]",
+ "eval.tests.test_evalpair_section_parsing.test_eval_pair_missing_each_key_aborts_with_bad_conversion[cloud_file2]",
+ "eval.tests.test_evalpair_section_parsing.test_eval_pair_missing_each_key_aborts_with_bad_conversion[label_file1]",
+ "eval.tests.test_evalpair_section_parsing.test_eval_pair_missing_each_key_aborts_with_bad_conversion[label_file2]",
+ "eval.tests.test_evalpair_section_parsing.test_eval_pair_numeric_scalar_is_stringified_then_fails_file_load[label_file1=51]",
+ "eval.tests.test_evalpair_section_parsing.test_eval_pair_numeric_scalar_is_stringified_then_fails_file_load[label_file1=52]",
+ "eval.tests.test_evalpair_section_parsing.test_eval_pair_numeric_scalar_is_stringified_then_fails_file_load[label_file2=53]",
+ "eval.tests.test_evalpair_section_parsing.test_eval_pair_numeric_scalar_is_stringified_then_fails_file_load[label_file2=54]",
+ "eval.tests.test_evalpair_section_parsing.test_eval_pair_section_absent_aborts_with_bad_conversion",
+ "eval.tests.test_getlcloud_file_loading.test_empty_input_asset_aborts_as_empty_dataset[empty-cloud]",
+ "eval.tests.test_getlcloud_file_loading.test_empty_input_asset_aborts_as_empty_dataset[empty-label]",
+ "eval.tests.test_getlcloud_file_loading.test_missing_cloud_file_aborts_as_empty_dataset[source-side]",
+ "eval.tests.test_getlcloud_file_loading.test_missing_cloud_file_aborts_as_empty_dataset[target-side]",
+ "eval.tests.test_getlcloud_file_loading.test_missing_label_file_prints_no_file_and_exit_255[label_file1]",
+ "eval.tests.test_getlcloud_file_loading.test_missing_label_file_prints_no_file_and_exit_255[label_file2]",
+ "eval.tests.test_getlcloud_file_loading.test_valid_config_remap_false_reaches_empty_icp_on_both_sides",
+ "eval.tests.test_getlcloud_file_loading.test_valid_data_pipeline_never_emits_score_output",
+ "eval.tests.test_ssc_constructor_errors.test_ssc_bool_scalar_errors_abort[occlusion-bad-bool]",
+ "eval.tests.test_ssc_constructor_errors.test_ssc_bool_scalar_errors_abort[remap-bad-bool]",
+ "eval.tests.test_ssc_constructor_errors.test_ssc_bool_scalar_errors_abort[rotate-seq]",
+ "eval.tests.test_ssc_constructor_errors.test_ssc_bool_scalar_errors_abort[show-bad-bool]",
+ "eval.tests.test_ssc_constructor_errors.test_ssc_bool_scalar_errors_abort[show-seq]",
+ "eval.tests.test_ssc_constructor_errors.test_ssc_color_map_truncated_triplet_aborts",
+ "eval.tests.test_ssc_constructor_errors.test_ssc_learning_map_non_integer_key_aborts"
+ ]
+ },
+ "generated_module_02": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_config_abort_matrix.test_color_map_negative_channel_aborts_uint",
+ "eval.tests.test_config_abort_matrix.test_color_map_non_int_key_aborts_int",
+ "eval.tests.test_config_abort_matrix.test_learning_map_inv_non_int_key_aborts_int",
+ "eval.tests.test_config_abort_matrix.test_learning_map_inv_non_int_value_aborts_uint",
+ "eval.tests.test_config_abort_matrix.test_learning_map_non_int_key_aborts_int",
+ "eval.tests.test_config_parse_aborts.test_config_color_two_channels_aborts_uint",
+ "eval.tests.test_config_parse_aborts.test_config_empty_file_aborts_missing_string",
+ "eval.tests.test_config_parse_aborts.test_config_empty_map_aborts_missing_string",
+ "eval.tests.test_config_parse_aborts.test_config_eval_pair_missing_aborts_bad_string",
+ "eval.tests.test_config_parse_aborts.test_config_garbage_yaml_aborts_parser",
+ "eval.tests.test_config_parse_aborts.test_config_learning_map_non_int_aborts",
+ "eval.tests.test_config_parse_aborts.test_config_missing_eval_pair_key_aborts_string[ cloud_file1]",
+ "eval.tests.test_config_parse_aborts.test_config_missing_eval_pair_key_aborts_string[ cloud_file2]",
+ "eval.tests.test_config_parse_aborts.test_config_missing_eval_pair_key_aborts_string[ label_file1]",
+ "eval.tests.test_config_parse_aborts.test_config_missing_eval_pair_key_aborts_string[ label_file2]",
+ "eval.tests.test_config_parse_aborts.test_config_missing_file_aborts_badfile",
+ "eval.tests.test_config_parse_aborts.test_config_missing_occlusion_aborts_bool",
+ "eval.tests.test_config_parse_aborts.test_config_missing_rotate_aborts_bool",
+ "eval.tests.test_config_parse_aborts.test_config_missing_show_aborts_bool",
+ "eval.tests.test_config_parse_aborts.test_config_remap_non_bool_aborts",
+ "eval.tests.test_config_parse_aborts.test_config_scalar_doc_aborts_bad_subscript",
+ "eval.tests.test_config_parse_aborts.test_config_show_non_bool_aborts",
+ "eval.tests.test_config_parse_extra_matrix.test_color_map_negative_channel0_bad_uint",
+ "eval.tests.test_config_parse_extra_matrix.test_color_map_scalar_value_bad_subscript",
+ "eval.tests.test_config_parse_extra_matrix.test_color_map_value_as_map_bad_uint",
+ "eval.tests.test_config_parse_extra_matrix.test_learning_map_float_value_bad_int",
+ "eval.tests.test_config_parse_extra_matrix.test_learning_map_inv_float_value_bad_uint",
+ "eval.tests.test_config_parse_extra_matrix.test_learning_map_overflow_key_segv",
+ "eval.tests.test_constructor_tolerance.test_extra_color_channel_ignored_clean_exit",
+ "eval.tests.test_constructor_tolerance.test_learning_map_inv_missing_color_key_defaults_clean_exit",
+ "eval.tests.test_constructor_tolerance.test_learning_map_inv_referencing_zero_color_clean_exit",
+ "eval.tests.test_constructor_tolerance.test_negative_learning_map_value_clean_exit",
+ "eval.tests.test_constructor_tolerance.test_out_of_range_color_channel_truncates_clean_exit",
+ "eval.tests.test_full_pipeline_limitation.test_pipeline_ordering_loader_clean_exit_before_icp",
+ "eval.tests.test_full_pipeline_limitation.test_valid_pipeline_dies_on_transform_pointcloud",
+ "eval.tests.test_full_pipeline_limitation.test_valid_pipeline_empty_scans_sigfpe_diag",
+ "eval.tests.test_full_pipeline_limitation.test_valid_pipeline_wedge_scans_sigfpe",
+ "eval.tests.test_icp_signature_matrix.test_scan1_empty_icp_target_invalid",
+ "eval.tests.test_icp_signature_matrix.test_scan2_empty_icp_source_invalid",
+ "eval.tests.test_icp_signature_matrix.test_single_point_each_icp_not_enough_correspondences",
+ "eval.tests.test_loader_branch_coverage.test_both_labels_same_missing_path_clean_exit",
+ "eval.tests.test_loader_branch_coverage.test_cloud_file1_configurable_name_clean_exit",
+ "eval.tests.test_loader_branch_coverage.test_dense_payload_clean_exit",
+ "eval.tests.test_loader_branch_coverage.test_high_bit_label_masked_to_zero_clean_exit",
+ "eval.tests.test_loader_branch_coverage.test_high_bit_label_masking_clean_exit",
+ "eval.tests.test_loader_branch_coverage.test_label2_nested_missing_path_clean_exit",
+ "eval.tests.test_loader_branch_coverage.test_label_count_exceeds_cloud_read_clean_exit",
+ "eval.tests.test_loader_branch_coverage.test_mixed_mapped_classes_clean_exit",
+ "eval.tests.test_loader_branch_coverage.test_negative_coordinate_points_clean_exit",
+ "eval.tests.test_loader_branch_coverage.test_nonzero_z_points_clean_exit",
+ "eval.tests.test_loader_branch_coverage.test_occlusion_true_dense_ring_clean_exit",
+ "eval.tests.test_loader_branch_coverage.test_rotate_true_wedge_payload_clean_exit",
+ "eval.tests.test_loader_branch_coverage.test_sparse_single_point_clean_exit",
+ "eval.tests.test_loader_branch_coverage.test_unmapped_label_becomes_zero_coords_clean_exit",
+ "eval.tests.test_loader_branch_coverage.test_wedge_across_azimuths_clean_exit",
+ "eval.tests.test_loader_clean_exit.test_all_zero_labels_clean_exit",
+ "eval.tests.test_loader_clean_exit.test_color_map_missing_constructor_tolerates_clean_exit",
+ "eval.tests.test_loader_clean_exit.test_empty_cloud1_label_clean_exit",
+ "eval.tests.test_loader_clean_exit.test_label_path_inserted_verbatim_from_config",
+ "eval.tests.test_loader_clean_exit.test_learning_map_inv_missing_constructor_tolerates_clean_exit",
+ "eval.tests.test_loader_clean_exit.test_learning_map_missing_constructor_tolerates_clean_exit",
+ "eval.tests.test_loader_clean_exit.test_missing_cloud1_bin_but_label_present_clean_exit",
+ "eval.tests.test_loader_clean_exit.test_missing_cloud1_label_clean_exit",
+ "eval.tests.test_loader_clean_exit.test_missing_cloud2_label_after_loading_cloud1",
+ "eval.tests.test_loader_clean_exit.test_occlusion_branch_then_clean_exit",
+ "eval.tests.test_loader_clean_exit.test_remap_false_raw_labels_clean_exit",
+ "eval.tests.test_loader_clean_exit.test_rotate_and_occlusion_both_on_clean_exit",
+ "eval.tests.test_loader_clean_exit.test_rotate_branch_then_clean_exit",
+ "eval.tests.test_loader_clean_exit.test_wedge_mixed_labels_clean_exit",
+ "eval.tests.test_loader_edgecases.test_bin_longer_than_labels_clean_exit",
+ "eval.tests.test_loader_edgecases.test_bin_shorter_than_labels_clean_exit",
+ "eval.tests.test_loader_edgecases.test_empty_bin_nonzero_labels_clean_exit",
+ "eval.tests.test_loader_edgecases.test_multi_class_dense_ring_clean_exit",
+ "eval.tests.test_loader_edgecases.test_remap_false_high_bit_raw_label_clean_exit",
+ "eval.tests.test_loader_edgecases.test_valid_pipeline_occlusion_true_sigfpe",
+ "eval.tests.test_loader_edgecases.test_valid_pipeline_remap_false_empty_descriptor_sigfpe",
+ "eval.tests.test_loader_edgecases.test_valid_pipeline_rotate_true_sigfpe"
+ ]
+ }
+ },
+ "commit": "b65d5eae8a2b0069e5cac6aea7c8480f2b1831d0",
+ "data_source": "synthetic_programgym",
+ "difficulty": "easy",
+ "difficulty_score": 0.9881128402683519,
+ "eval_clean_hashes": [
+ "1089e9538f8b08d2f7b5676d3cb171f832bd2b419b76bde36544a47989dfeadf"
+ ],
+ "input_record": {
+ "commit": "b65d5eae8a2b0069e5cac6aea7c8480f2b1831d0",
+ "difficulty": "easy",
+ "difficulty_code_lines": 973,
+ "difficulty_has_tests": false,
+ "difficulty_product_code_lines": 973,
+ "difficulty_runtime_deps": 0,
+ "difficulty_score": 0.9881128402683519,
+ "difficulty_test_code_lines": 0,
+ "full_name": "lilin-hitcrt/SSC",
+ "input_joern_zip": "cpp_joern/lilin-hitcrt__SSC.zip",
+ "joern_status": true,
+ "joern_time": 8.752062625950202,
+ "language": "cpp",
+ "pb_match": [
+ {
+ "pb_fullname": "facebookresearch/fastText",
+ "rank": 190,
+ "similarity": 0.531261146068573
+ }
+ ],
+ "repo_path": "cpp/lilin-hitcrt__SSC",
+ "source": "commit:b65d5eae8a2b0069e5cac6aea7c8480f2b1831d0",
+ "status": "done",
+ "url": "https://github.com/lilin-hitcrt/SSC"
+ },
+ "instance_id": "lilin-hitcrt__SSC.b65d5ea",
+ "language": "cpp",
+ "module_iterations": [
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_01",
+ "iteration_limit": 5,
+ "module_index": 1,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_02",
+ "iteration_limit": 5,
+ "module_index": 2,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ }
+ ],
+ "repository": "lilin-hitcrt/SSC"
+}
diff --git a/lilin-hitcrt--ssc.b65d5ea/tests/test.sh b/lilin-hitcrt--ssc.b65d5ea/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/lilin-hitcrt--ssc.b65d5ea/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/lilin-hitcrt--ssc.b65d5ea/tests/workspace.tar.gz b/lilin-hitcrt--ssc.b65d5ea/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..59d1029cef535e9622055aba7309508be839de58
--- /dev/null
+++ b/lilin-hitcrt--ssc.b65d5ea/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:af44bc9fd8f29e091cda97419d17383b6c345add37f6b633c2c30729f64c7ed6
+size 3175625
diff --git a/lima-vm--sshocker.4c8c2e6/environment/Dockerfile b/lima-vm--sshocker.4c8c2e6/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..18c9b14a3dd87ff70c68d67e0e9cd3cb548e1b1a
--- /dev/null
+++ b/lima-vm--sshocker.4c8c2e6/environment/Dockerfile
@@ -0,0 +1,60 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+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"]
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# programgym-runtime-workspace-cleanup: v1
+RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/lima-vm--sshocker.4c8c2e6/environment/download.sh b/lima-vm--sshocker.4c8c2e6/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..8a59452f40e0d50bb185f826c82122850521ed33
--- /dev/null
+++ b/lima-vm--sshocker.4c8c2e6/environment/download.sh
@@ -0,0 +1,83 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
+# Generated deterministically from repository module metadata; do not edit.
+set -u
+export GOTOOLCHAIN=auto
+mkdir -p /workspace/.programgym_build_env/go-prefetch
+cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
+module github.com/lima-vm/sshocker
+
+go 1.24.0
+
+require (
+ github.com/pkg/sftp v1.13.10
+ github.com/sirupsen/logrus v1.9.4
+ github.com/urfave/cli/v2 v2.27.7
+)
+
+require (
+ github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
+ github.com/kr/fs v0.1.0 // indirect
+ github.com/russross/blackfriday/v2 v2.1.0 // indirect
+ github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
+ golang.org/x/crypto v0.45.0 // indirect
+ golang.org/x/sys v0.38.0 // indirect
+)
+PROGRAMGYM_GO_MOD_EOF
+cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
+github.com/cpuguy83/go-md2man/v2 v2.0.7 h1:zbFlGlXEAKlwXpmvle3d8Oe3YnkKIK4xSRTd3sHPnBo=
+github.com/cpuguy83/go-md2man/v2 v2.0.7/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
+github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/kr/fs v0.1.0 h1:Jskdu9ieNAYnjxsi0LbQp1ulIKZV1LAFgK1tWhpZgl8=
+github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg=
+github.com/pkg/sftp v1.13.10 h1:+5FbKNTe5Z9aspU88DPIKJ9z2KZoaGCu6Sr6kKR/5mU=
+github.com/pkg/sftp v1.13.10/go.mod h1:bJ1a7uDhrX/4OII+agvy28lzRvQrmIQuaHrcI1HbeGA=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
+github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
+github.com/sirupsen/logrus v1.9.4 h1:TsZE7l11zFCLZnZ+teH4Umoq5BhEIfIzfRDZ1Uzql2w=
+github.com/sirupsen/logrus v1.9.4/go.mod h1:ftWc9WdOfJ0a92nsE2jF5u5ZwH8Bv2zdeOC42RjbV2g=
+github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
+github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
+github.com/urfave/cli/v2 v2.27.7 h1:bH59vdhbjLv3LAvIu6gd0usJHgoTTPhCFib8qqOwXYU=
+github.com/urfave/cli/v2 v2.27.7/go.mod h1:CyNAG/xg+iAOg0N4MPGZqVmv2rCoP267496AOXUZjA4=
+github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 h1:gEOO8jv9F4OT7lGCjxCBTO/36wtF6j2nSip77qHd4x4=
+github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM=
+golang.org/x/crypto v0.45.0 h1:jMBrvKuj23MTlT0bQEOBcAE0mjg8mK9RXFhRH6nyF3Q=
+golang.org/x/crypto v0.45.0/go.mod h1:XTGrrkGJve7CYK7J8PEww4aY7gM3qMCElcJQ8n8JdX4=
+golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc=
+golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
+golang.org/x/term v0.37.0 h1:8EGAD0qCmHYZg6J17DvsMy9/wJ7/D/4pV/wfnld5lTU=
+golang.org/x/term v0.37.0/go.mod h1:5pB4lxRNYYVZuTLmy8oR2BH8dflOR+IbTYFD8fi3254=
+gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
+gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+PROGRAMGYM_GO_SUM_EOF
+PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
+if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && GOTOOLCHAIN=auto go env GOROOT)"; then
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+else
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
+fi
+export PATH="$GOROOT/bin:$PATH"
+export GOTOOLCHAIN=local
+if ! (cd /workspace/.programgym_build_env/go-prefetch && go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
diff --git a/lima-vm--sshocker.4c8c2e6/environment/executable b/lima-vm--sshocker.4c8c2e6/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..698fd99fb7da33135f8bcbccaa79ebd4e7f33cf9
--- /dev/null
+++ b/lima-vm--sshocker.4c8c2e6/environment/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:938e7b67b8df99662b367912369f4e364df3dca0e650a1e29f6fed315b964fee
+size 9086998
diff --git a/lima-vm--sshocker.4c8c2e6/environment/programgym-go.tar.gz b/lima-vm--sshocker.4c8c2e6/environment/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/lima-vm--sshocker.4c8c2e6/environment/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/lima-vm--sshocker.4c8c2e6/environment/workspace.tar.gz b/lima-vm--sshocker.4c8c2e6/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..d7e48fe719199d7276ed741230fde404cd11cbd8
--- /dev/null
+++ b/lima-vm--sshocker.4c8c2e6/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7eb0ab7e695f1c8ecf8f0cc99baf6a868396eba579993b9a3faa9a63c71db5f5
+size 5830
diff --git a/lima-vm--sshocker.4c8c2e6/instruction.md b/lima-vm--sshocker.4c8c2e6/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/lima-vm--sshocker.4c8c2e6/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/lima-vm--sshocker.4c8c2e6/solution/solve.sh b/lima-vm--sshocker.4c8c2e6/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/lima-vm--sshocker.4c8c2e6/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/lima-vm--sshocker.4c8c2e6/task.toml b/lima-vm--sshocker.4c8c2e6/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..9e330807643cff4bd97025fc5362e5ba9d383b13
--- /dev/null
+++ b/lima-vm--sshocker.4c8c2e6/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/lima-vm--sshocker.4c8c2e6"
+description = "Synthetic ProgramGym cleanroom reconstruction task for lima-vm/sshocker"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "go"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "lima-vm__sshocker.4c8c2e6"
+repository = "lima-vm/sshocker"
+commit = "4c8c2e6fa7da822465e69f8a141ada18977efd9d"
+language = "go"
+difficulty = "easy"
+difficulty_score = 1.9523080096621253
+test_branches = 4
+test_count = 226
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/lima-vm--sshocker.4c8c2e6/tests/Dockerfile b/lima-vm--sshocker.4c8c2e6/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..a626a06f42b7d18ca8dda5f990bed0106ab28bf5
--- /dev/null
+++ b/lima-vm--sshocker.4c8c2e6/tests/Dockerfile
@@ -0,0 +1,68 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+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"]
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# programgym-runtime-workspace-cleanup: v1
+RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN python3 -m pip install --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/lima-vm--sshocker.4c8c2e6/tests/blobs/tests/generated_module_01.tar.gz b/lima-vm--sshocker.4c8c2e6/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..e6e8d484c14657ea1e3f98ada17dfee55de46f1b
--- /dev/null
+++ b/lima-vm--sshocker.4c8c2e6/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:64ce7938ede818fafaac7de0a91ea59f5502ff9fc21ba6d93e17dd00c6a12a28
+size 9500
diff --git a/lima-vm--sshocker.4c8c2e6/tests/blobs/tests/generated_module_02.tar.gz b/lima-vm--sshocker.4c8c2e6/tests/blobs/tests/generated_module_02.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..737b3ae93fca6f50162ed678b6d7f349eef52401
--- /dev/null
+++ b/lima-vm--sshocker.4c8c2e6/tests/blobs/tests/generated_module_02.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e63989bdb23612afcbd6e1705587cfbfdaaf4a1e79c7b3527dff072367148caf
+size 10099
diff --git a/lima-vm--sshocker.4c8c2e6/tests/blobs/tests/generated_module_03.tar.gz b/lima-vm--sshocker.4c8c2e6/tests/blobs/tests/generated_module_03.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..f4d059d41e8494c44e9f7b7cc268a5941b143849
--- /dev/null
+++ b/lima-vm--sshocker.4c8c2e6/tests/blobs/tests/generated_module_03.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cb97d296dca46c2e75796ef57467b5f5b2f44aec69e258027beaadea5352d306
+size 11849
diff --git a/lima-vm--sshocker.4c8c2e6/tests/blobs/tests/generated_module_04.tar.gz b/lima-vm--sshocker.4c8c2e6/tests/blobs/tests/generated_module_04.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..7ee52176cf08e7aebfcff67fc4381ea0f0eedfa2
--- /dev/null
+++ b/lima-vm--sshocker.4c8c2e6/tests/blobs/tests/generated_module_04.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d60db3566bbd24ac1c32b7d86a52a7c9d355d9a42f0b2752741fef467ab10685
+size 6508
diff --git a/lima-vm--sshocker.4c8c2e6/tests/download.sh b/lima-vm--sshocker.4c8c2e6/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..8a59452f40e0d50bb185f826c82122850521ed33
--- /dev/null
+++ b/lima-vm--sshocker.4c8c2e6/tests/download.sh
@@ -0,0 +1,83 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
+# Generated deterministically from repository module metadata; do not edit.
+set -u
+export GOTOOLCHAIN=auto
+mkdir -p /workspace/.programgym_build_env/go-prefetch
+cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
+module github.com/lima-vm/sshocker
+
+go 1.24.0
+
+require (
+ github.com/pkg/sftp v1.13.10
+ github.com/sirupsen/logrus v1.9.4
+ github.com/urfave/cli/v2 v2.27.7
+)
+
+require (
+ github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
+ github.com/kr/fs v0.1.0 // indirect
+ github.com/russross/blackfriday/v2 v2.1.0 // indirect
+ github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
+ golang.org/x/crypto v0.45.0 // indirect
+ golang.org/x/sys v0.38.0 // indirect
+)
+PROGRAMGYM_GO_MOD_EOF
+cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
+github.com/cpuguy83/go-md2man/v2 v2.0.7 h1:zbFlGlXEAKlwXpmvle3d8Oe3YnkKIK4xSRTd3sHPnBo=
+github.com/cpuguy83/go-md2man/v2 v2.0.7/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
+github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/kr/fs v0.1.0 h1:Jskdu9ieNAYnjxsi0LbQp1ulIKZV1LAFgK1tWhpZgl8=
+github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg=
+github.com/pkg/sftp v1.13.10 h1:+5FbKNTe5Z9aspU88DPIKJ9z2KZoaGCu6Sr6kKR/5mU=
+github.com/pkg/sftp v1.13.10/go.mod h1:bJ1a7uDhrX/4OII+agvy28lzRvQrmIQuaHrcI1HbeGA=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
+github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
+github.com/sirupsen/logrus v1.9.4 h1:TsZE7l11zFCLZnZ+teH4Umoq5BhEIfIzfRDZ1Uzql2w=
+github.com/sirupsen/logrus v1.9.4/go.mod h1:ftWc9WdOfJ0a92nsE2jF5u5ZwH8Bv2zdeOC42RjbV2g=
+github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
+github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
+github.com/urfave/cli/v2 v2.27.7 h1:bH59vdhbjLv3LAvIu6gd0usJHgoTTPhCFib8qqOwXYU=
+github.com/urfave/cli/v2 v2.27.7/go.mod h1:CyNAG/xg+iAOg0N4MPGZqVmv2rCoP267496AOXUZjA4=
+github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 h1:gEOO8jv9F4OT7lGCjxCBTO/36wtF6j2nSip77qHd4x4=
+github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM=
+golang.org/x/crypto v0.45.0 h1:jMBrvKuj23MTlT0bQEOBcAE0mjg8mK9RXFhRH6nyF3Q=
+golang.org/x/crypto v0.45.0/go.mod h1:XTGrrkGJve7CYK7J8PEww4aY7gM3qMCElcJQ8n8JdX4=
+golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc=
+golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
+golang.org/x/term v0.37.0 h1:8EGAD0qCmHYZg6J17DvsMy9/wJ7/D/4pV/wfnld5lTU=
+golang.org/x/term v0.37.0/go.mod h1:5pB4lxRNYYVZuTLmy8oR2BH8dflOR+IbTYFD8fi3254=
+gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
+gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+PROGRAMGYM_GO_SUM_EOF
+PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
+if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && GOTOOLCHAIN=auto go env GOROOT)"; then
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+else
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
+fi
+export PATH="$GOROOT/bin:$PATH"
+export GOTOOLCHAIN=local
+if ! (cd /workspace/.programgym_build_env/go-prefetch && go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
diff --git a/lima-vm--sshocker.4c8c2e6/tests/executable b/lima-vm--sshocker.4c8c2e6/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..698fd99fb7da33135f8bcbccaa79ebd4e7f33cf9
--- /dev/null
+++ b/lima-vm--sshocker.4c8c2e6/tests/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:938e7b67b8df99662b367912369f4e364df3dca0e650a1e29f6fed315b964fee
+size 9086998
diff --git a/lima-vm--sshocker.4c8c2e6/tests/programgym-go.tar.gz b/lima-vm--sshocker.4c8c2e6/tests/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/lima-vm--sshocker.4c8c2e6/tests/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/lima-vm--sshocker.4c8c2e6/tests/programgym_evaluator.py b/lima-vm--sshocker.4c8c2e6/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/lima-vm--sshocker.4c8c2e6/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/lima-vm--sshocker.4c8c2e6/tests/programgym_task.json b/lima-vm--sshocker.4c8c2e6/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..c8384c597cdfae1ddc165423bfe6955463f6b4dc
--- /dev/null
+++ b/lima-vm--sshocker.4c8c2e6/tests/programgym_task.json
@@ -0,0 +1,505 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_flag_p.test_flag_p_invalid_among_multiple_fails",
+ "eval.tests.test_flag_p.test_flag_p_invalid_port[empty]",
+ "eval.tests.test_flag_p.test_flag_p_invalid_port[integer-overflow]",
+ "eval.tests.test_flag_p.test_flag_p_invalid_port[non-numeric-local]",
+ "eval.tests.test_flag_p.test_flag_p_invalid_port[non-numeric-remote-3part]",
+ "eval.tests.test_flag_p.test_flag_p_invalid_port[non-numeric-remote]",
+ "eval.tests.test_flag_p.test_flag_p_invalid_port[non-numeric-single]",
+ "eval.tests.test_flag_p.test_flag_p_multiple_p_values_accepted",
+ "eval.tests.test_flag_p.test_flag_p_too_many_colons_rejected[four-parts-ips]",
+ "eval.tests.test_flag_p.test_flag_p_too_many_colons_rejected[four-parts]",
+ "eval.tests.test_flag_p.test_flag_p_valid_parses_and_reaches_run[ip-port-port]",
+ "eval.tests.test_flag_p.test_flag_p_valid_parses_and_reaches_run[large-port-atoi-ok]",
+ "eval.tests.test_flag_p.test_flag_p_valid_parses_and_reaches_run[leading-empty-ip-3part]",
+ "eval.tests.test_flag_p.test_flag_p_valid_parses_and_reaches_run[local-remote-port]",
+ "eval.tests.test_flag_p.test_flag_p_valid_parses_and_reaches_run[negative-port-atoi-ok]",
+ "eval.tests.test_flag_p.test_flag_p_valid_parses_and_reaches_run[single-port]",
+ "eval.tests.test_flag_p.test_flag_p_valid_parses_and_reaches_run[zero-ports]",
+ "eval.tests.test_flag_v.test_flag_v_empty_destination_rejected",
+ "eval.tests.test_flag_v.test_flag_v_empty_source_rejected",
+ "eval.tests.test_flag_v.test_flag_v_multiple_mounts_accumulate",
+ "eval.tests.test_flag_v.test_flag_v_tilde_expansion_uses_home",
+ "eval.tests.test_flag_v.test_flag_v_unknown_readonly_option_rejected",
+ "eval.tests.test_flag_v.test_flag_v_valid_parses_and_proceeds[source-destination-readonly]",
+ "eval.tests.test_flag_v.test_flag_v_valid_parses_and_proceeds[source-destination]",
+ "eval.tests.test_flag_v.test_flag_v_wrong_part_count_rejected[four-parts-with-readonly]",
+ "eval.tests.test_flag_v.test_flag_v_wrong_part_count_rejected[four-parts]",
+ "eval.tests.test_flag_v.test_flag_v_wrong_part_count_rejected[single-part]",
+ "eval.tests.test_help.test_global_help_lists_debug_flag",
+ "eval.tests.test_help.test_global_help_lists_version_flag",
+ "eval.tests.test_help.test_global_help_shows_app_metadata[--help]",
+ "eval.tests.test_help.test_global_help_shows_app_metadata[-h]",
+ "eval.tests.test_help.test_global_help_shows_app_metadata[help-subcommand]",
+ "eval.tests.test_help.test_help_for_unknown_topic_is_an_error",
+ "eval.tests.test_help.test_run_help_shows_driver_default_auto",
+ "eval.tests.test_help.test_run_subcommand_help_lists_run_flags[help-run]",
+ "eval.tests.test_help.test_run_subcommand_help_lists_run_flags[run-subcommand-help]",
+ "eval.tests.test_help.test_unknown_flag_yields_usage_error",
+ "eval.tests.test_help.test_version_is_not_a_run_subcommand_flag",
+ "eval.tests.test_run_errors.test_command_after_host_starting_with_double_dash_is_stripped",
+ "eval.tests.test_run_errors.test_global_flags_alone_do_not_satisfy_host_guard",
+ "eval.tests.test_run_errors.test_host_with_valid_port_is_split_by_parsehost",
+ "eval.tests.test_run_errors.test_no_host_specified[default-action-no-args]",
+ "eval.tests.test_run_errors.test_no_host_specified[run-subcommand-no-args]",
+ "eval.tests.test_run_errors.test_parsehost_rejects_malformed_host[empty-port]",
+ "eval.tests.test_run_errors.test_parsehost_rejects_malformed_host[non-numeric-port]",
+ "eval.tests.test_run_errors.test_parsehost_rejects_malformed_host[partially-numeric-port]",
+ "eval.tests.test_run_errors.test_parsehost_rejects_malformed_host[unclosed-ipv6-bracket]",
+ "eval.tests.test_run_errors.test_plain_host_without_colon_is_accepted_as_host",
+ "eval.tests.test_ssh_flags.test_debug_flag_is_accepted",
+ "eval.tests.test_ssh_flags.test_debug_flag_with_run_reaches_ssh",
+ "eval.tests.test_ssh_flags.test_driver_flag_default_and_override",
+ "eval.tests.test_ssh_flags.test_openssh_sftp_server_flag_accepted",
+ "eval.tests.test_ssh_flags.test_ssh_config_flag_is_accepted[--ssh-config-long]",
+ "eval.tests.test_ssh_flags.test_ssh_config_flag_is_accepted[-F-short]",
+ "eval.tests.test_ssh_flags.test_ssh_persist_flag_forms",
+ "eval.tests.test_ssh_flags.test_sshfs_nonempty_flag_accepted",
+ "eval.tests.test_ssh_flags.test_sshfs_option_flag_accepted[comma-combined]",
+ "eval.tests.test_ssh_flags.test_sshfs_option_flag_accepted[single-option-2]",
+ "eval.tests.test_ssh_flags.test_sshfs_option_flag_accepted[single-option]",
+ "eval.tests.test_version.test_version_does_not_attempt_ssh",
+ "eval.tests.test_version.test_version_flag_prints_version_and_exits_zero[equality-form]",
+ "eval.tests.test_version.test_version_flag_prints_version_and_exits_zero[short]",
+ "eval.tests.test_version.test_version_line_goes_to_stdout_not_stderr",
+ "eval.tests.test_version.test_version_takes_precedence_over_invalid_run_args"
+ ]
+ },
+ "generated_module_02": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_ssh_argv.test_args_command_after_dashdash[post_cmd0-expected_cmd_tail0]",
+ "eval.tests.test_ssh_argv.test_args_command_after_dashdash[post_cmd1-expected_cmd_tail1]",
+ "eval.tests.test_ssh_argv.test_args_command_after_dashdash[post_cmd2-expected_cmd_tail2]",
+ "eval.tests.test_ssh_argv.test_args_command_after_dashdash[post_cmd3-expected_cmd_tail3]",
+ "eval.tests.test_ssh_argv.test_args_command_tokens_verbatim_after_dashdash[cmd0]",
+ "eval.tests.test_ssh_argv.test_args_command_tokens_verbatim_after_dashdash[cmd1]",
+ "eval.tests.test_ssh_argv.test_args_config_file_prepended[flag_args0]",
+ "eval.tests.test_ssh_argv.test_args_config_file_prepended[flag_args1]",
+ "eval.tests.test_ssh_argv.test_args_config_file_prepended[flag_args2]",
+ "eval.tests.test_ssh_argv.test_args_config_then_port",
+ "eval.tests.test_ssh_argv.test_args_control_multiplexing_order",
+ "eval.tests.test_ssh_argv.test_args_control_path_pid_equals_process_pid",
+ "eval.tests.test_ssh_argv.test_args_host_ends_with_dashdash[host_argvs0-True]",
+ "eval.tests.test_ssh_argv.test_args_host_ends_with_dashdash[host_argvs1-False]",
+ "eval.tests.test_ssh_argv.test_args_host_ends_with_dashdash[host_argvs2-True]",
+ "eval.tests.test_ssh_argv.test_args_ipv6_brackets_stripped[[2001:db8::1]:443-443-2001:db8::1]",
+ "eval.tests.test_ssh_argv.test_args_ipv6_brackets_stripped[[::1]:8022-8022-::1]",
+ "eval.tests.test_ssh_argv.test_args_port_after_controls[alice@box:8022-8022-alice@box]",
+ "eval.tests.test_ssh_argv.test_args_port_after_controls[user@linux.example:2222-2222-user@linux.example]",
+ "eval.tests.test_ssh_argv.test_args_port_plus_command",
+ "eval.tests.test_ssh_executescript.test_executescript_argv_interpreter",
+ "eval.tests.test_ssh_executescript.test_executescript_config_and_port",
+ "eval.tests.test_ssh_executescript.test_executescript_config_file_prepended",
+ "eval.tests.test_ssh_executescript.test_executescript_feeds_script_on_stdin",
+ "eval.tests.test_ssh_executescript.test_executescript_interpreter_is_nonempty_slashpath",
+ "eval.tests.test_ssh_executescript.test_executescript_persist_adds_control_opts",
+ "eval.tests.test_ssh_executescript.test_executescript_port_flag_before_host[alice@box:8022-8022-alice@box]",
+ "eval.tests.test_ssh_executescript.test_executescript_port_flag_before_host[user@host:2222-2222-user@host]",
+ "eval.tests.test_ssh_executescript.test_executescript_reports_failure",
+ "eval.tests.test_ssh_executescript.test_executescript_stdin_absent_for_other_roles",
+ "eval.tests.test_ssh_executescript.test_executescript_success_emits_no_error",
+ "eval.tests.test_ssh_exitmaster.test_exitmaster_argv_no_port",
+ "eval.tests.test_ssh_exitmaster.test_exitmaster_argv_with_port",
+ "eval.tests.test_ssh_exitmaster.test_exitmaster_config_and_port",
+ "eval.tests.test_ssh_exitmaster.test_exitmaster_config_file_prepended",
+ "eval.tests.test_ssh_exitmaster.test_exitmaster_control_opts_are_args_prefix",
+ "eval.tests.test_ssh_exitmaster.test_exitmaster_extracts_control_path_pid",
+ "eval.tests.test_ssh_exitmaster.test_exitmaster_host_stripped_of_port[[2001:db8::1]:443-2001:db8::1]",
+ "eval.tests.test_ssh_exitmaster.test_exitmaster_host_stripped_of_port[alice@linux.example:8022-alice@linux.example]",
+ "eval.tests.test_ssh_exitmaster.test_exitmaster_host_stripped_of_port[box-box]",
+ "eval.tests.test_ssh_exitmaster.test_exitmaster_reports_failure[argv0-failed to execute `ssh -O exit -p 0 user@host`]",
+ "eval.tests.test_ssh_exitmaster.test_exitmaster_reports_failure[argv1-failed to execute `ssh -O exit -p 2222 user@host`]",
+ "eval.tests.test_ssh_exitmaster.test_no_exitmaster_with_persist_disabled"
+ ]
+ },
+ "generated_module_03": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [
+ {
+ "name": "eval.tests.test_cli_errors.test_bad_mount_source_still_runs_prepare_mkdir",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_cli_errors.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_cli_errors.test_host_bad_port",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_cli_errors.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_cli_errors.test_parse_p_noise_after_valid",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_cli_errors.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_cli_errors.test_parse_v_empty_whole",
+ "reasons": [
+ {
+ "id": "assertion_disjunction",
+ "message": "pytest assertion accepts alternatives with or",
+ "path": "eval/tests/test_cli_errors.py",
+ "repair_hint": "Assert one exact expected outcome instead of accepting alternative outcomes with or.",
+ "severity": "error",
+ "stage": "static_lint"
+ },
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_cli_errors.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_mount_lifecycle.test_main_ssh_failure_propagates_exit_code",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_mount_lifecycle.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_mount_lifecycle.test_main_ssh_failure_still_attempts_exit_master",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_mount_lifecycle.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_mount_lifecycle.test_mount_run_ends_with_exit_master",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_mount_lifecycle.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_mount_lifecycle.test_mount_sshfs_carries_push_port",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_mount_lifecycle.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_run_orchestration.test_exit_master_carries_push_port",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_run_orchestration.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_run_orchestration.test_host_port_push",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_run_orchestration.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ },
+ {
+ "name": "eval.tests.test_run_orchestration.test_persist_triggers_exit_master",
+ "reasons": [
+ {
+ "id": "short_substring",
+ "message": "pytest test uses a too-short substring oracle",
+ "path": "eval/tests/test_run_orchestration.py",
+ "repair_hint": "Use a longer, specific substring or an exact normalized output comparison.",
+ "severity": "error",
+ "stage": "static_lint"
+ }
+ ]
+ }
+ ],
+ "tests": [
+ "eval.tests.test_cli_errors.test_bad_mount_source_still_runs_prepare_mkdir",
+ "eval.tests.test_cli_errors.test_bad_p_reported_before_bad_v",
+ "eval.tests.test_cli_errors.test_debug_is_global_not_run_flag",
+ "eval.tests.test_cli_errors.test_driver_error_names_expanded_source",
+ "eval.tests.test_cli_errors.test_driver_openssh_missing_binary_mount_error",
+ "eval.tests.test_cli_errors.test_global_help_shows_app[double-dash]",
+ "eval.tests.test_cli_errors.test_global_help_shows_app[h]",
+ "eval.tests.test_cli_errors.test_global_help_shows_app[help-subcmd]",
+ "eval.tests.test_cli_errors.test_help_exit_is_zero_and_stderr_empty",
+ "eval.tests.test_cli_errors.test_host_bad_port",
+ "eval.tests.test_cli_errors.test_no_host_specified_fatal[bare]",
+ "eval.tests.test_cli_errors.test_no_host_specified_fatal[run-with-flag]",
+ "eval.tests.test_cli_errors.test_no_host_specified_fatal[run]",
+ "eval.tests.test_cli_errors.test_no_host_specified_stderr_not_stdout",
+ "eval.tests.test_cli_errors.test_parse_p_invalid_port[alpha]",
+ "eval.tests.test_cli_errors.test_parse_p_invalid_port[bad-remote]",
+ "eval.tests.test_cli_errors.test_parse_p_invalid_port[hex]",
+ "eval.tests.test_cli_errors.test_parse_p_noise_after_valid",
+ "eval.tests.test_cli_errors.test_parse_p_too_many_fields",
+ "eval.tests.test_cli_errors.test_parse_p_zero_fields",
+ "eval.tests.test_cli_errors.test_parse_v_empty_source",
+ "eval.tests.test_cli_errors.test_parse_v_empty_whole",
+ "eval.tests.test_cli_errors.test_parse_v_malformed[one-field]",
+ "eval.tests.test_cli_errors.test_parse_v_malformed[too-many]",
+ "eval.tests.test_cli_errors.test_parse_v_malformed[unknown-ro]",
+ "eval.tests.test_cli_errors.test_run_help_variants[help-run]",
+ "eval.tests.test_cli_errors.test_run_help_variants[run-h]",
+ "eval.tests.test_cli_errors.test_run_help_variants[run-help]",
+ "eval.tests.test_cli_errors.test_run_subcommand_help_lists_run_flags",
+ "eval.tests.test_cli_errors.test_version_flag_prints_version[bare-dasher]",
+ "eval.tests.test_cli_errors.test_version_flag_prints_version[none]",
+ "eval.tests.test_cli_errors.test_version_flag_prints_version[run]",
+ "eval.tests.test_cli_errors.test_version_flag_takes_precedence_over_bad_port",
+ "eval.tests.test_cli_errors.test_version_writes_stdout_only",
+ "eval.tests.test_mount_lifecycle.test_exit_master_failure_is_logged_not_fatal",
+ "eval.tests.test_mount_lifecycle.test_exit_master_failure_still_returns_main_success",
+ "eval.tests.test_mount_lifecycle.test_exit_master_failure_with_mount_still_exits_cleanly",
+ "eval.tests.test_mount_lifecycle.test_main_ssh_failure_propagates_exit_code",
+ "eval.tests.test_mount_lifecycle.test_main_ssh_failure_still_attempts_exit_master",
+ "eval.tests.test_mount_lifecycle.test_main_ssh_failure_with_mount_still_runs_mount_steps",
+ "eval.tests.test_mount_lifecycle.test_mount_argv_without_control_master_when_no_persist",
+ "eval.tests.test_mount_lifecycle.test_mount_prepare_carries_push_port",
+ "eval.tests.test_mount_lifecycle.test_mount_prepare_relative_remote_fails",
+ "eval.tests.test_mount_lifecycle.test_mount_prepare_relative_remote_no_ssh_run",
+ "eval.tests.test_mount_lifecycle.test_mount_run_ends_with_exit_master",
+ "eval.tests.test_mount_lifecycle.test_mount_sshfs_carries_push_port",
+ "eval.tests.test_mount_lifecycle.test_mount_sshfs_uses_absolute_expanded_local_source",
+ "eval.tests.test_mount_lifecycle.test_multiple_mounts_run_in_declared_order",
+ "eval.tests.test_mount_lifecycle.test_multiple_sshfs_options_preserve_order",
+ "eval.tests.test_mount_lifecycle.test_persist_disabled_skips_exit_master_with_mount",
+ "eval.tests.test_mount_lifecycle.test_readonly_mount_mkdir_unchanged",
+ "eval.tests.test_mount_lifecycle.test_readonly_mount_sshfs_appends_ro",
+ "eval.tests.test_mount_lifecycle.test_sshfs_nonempty_forwards_nonempty",
+ "eval.tests.test_mount_lifecycle.test_sshfs_option_forwarded_to_mount[alive]",
+ "eval.tests.test_mount_lifecycle.test_sshfs_option_forwarded_to_mount[reconnect]",
+ "eval.tests.test_mount_lifecycle.test_successful_mount_creates_exact_mkdir_argv",
+ "eval.tests.test_mount_lifecycle.test_successful_mount_creates_exact_sshfs_argv",
+ "eval.tests.test_mount_lifecycle.test_successful_mount_orders_mkdir_sshfs_main",
+ "eval.tests.test_run_orchestration.test_command_appended_after_double_dash",
+ "eval.tests.test_run_orchestration.test_command_without_double_dash",
+ "eval.tests.test_run_orchestration.test_exit_master_carries_push_port",
+ "eval.tests.test_run_orchestration.test_full_assembly",
+ "eval.tests.test_run_orchestration.test_host_port_push",
+ "eval.tests.test_run_orchestration.test_host_port_zero_omits_push",
+ "eval.tests.test_run_orchestration.test_host_without_port_no_push",
+ "eval.tests.test_run_orchestration.test_multi_word_command",
+ "eval.tests.test_run_orchestration.test_multiple_forwards_preserve_order",
+ "eval.tests.test_run_orchestration.test_no_command_ends_with_double_dash",
+ "eval.tests.test_run_orchestration.test_no_forward_when_p_absent",
+ "eval.tests.test_run_orchestration.test_no_persist_omits_control_master",
+ "eval.tests.test_run_orchestration.test_no_persist_skips_exit_master",
+ "eval.tests.test_run_orchestration.test_persist_adds_control_master_args",
+ "eval.tests.test_run_orchestration.test_persist_triggers_exit_master",
+ "eval.tests.test_run_orchestration.test_port_forward_argv[single]",
+ "eval.tests.test_run_orchestration.test_port_forward_argv[three-part]",
+ "eval.tests.test_run_orchestration.test_port_forward_argv[two-part]",
+ "eval.tests.test_run_orchestration.test_ssh_config_alias_F",
+ "eval.tests.test_run_orchestration.test_ssh_config_flag_is_prepended"
+ ]
+ },
+ "generated_module_04": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_driver_flags.test_configured_sshfs_flags_reach_mount_stage[openssh_sftp_server_binary]",
+ "eval.tests.test_driver_flags.test_configured_sshfs_flags_reach_mount_stage[ssh_config]",
+ "eval.tests.test_driver_flags.test_configured_sshfs_flags_reach_mount_stage[ssh_no_persist]",
+ "eval.tests.test_driver_flags.test_configured_sshfs_flags_reach_mount_stage[sshfs_nonempty]",
+ "eval.tests.test_driver_flags.test_configured_sshfs_flags_reach_mount_stage[sshfs_option]",
+ "eval.tests.test_driver_flags.test_configured_sshfs_flags_reach_mount_stage[sshfs_option_nonempty]",
+ "eval.tests.test_driver_flags.test_documented_driver_values_reach_mount_stage[auto]",
+ "eval.tests.test_driver_flags.test_documented_driver_values_reach_mount_stage[builtin]",
+ "eval.tests.test_driver_flags.test_documented_driver_values_reach_mount_stage[openssh_sftp_server]",
+ "eval.tests.test_driver_flags.test_unknown_driver_value_not_rejected_at_parse[OpenSSH-SFTP-Server]",
+ "eval.tests.test_driver_flags.test_unknown_driver_value_not_rejected_at_parse[bogus]",
+ "eval.tests.test_driver_flags.test_unknown_driver_value_not_rejected_at_parse[mixed]",
+ "eval.tests.test_help_args.test_help_exits_zero_and_describes_mount[long_help]",
+ "eval.tests.test_help_args.test_help_exits_zero_and_describes_mount[short_help]",
+ "eval.tests.test_help_args.test_run_help_lists_mount_and_driver_flags",
+ "eval.tests.test_help_args.test_unknown_global_flag_is_rejected",
+ "eval.tests.test_help_args.test_unknown_subcommand_is_treated_as_host",
+ "eval.tests.test_help_args.test_version_prints_version",
+ "eval.tests.test_host_args.test_host_with_empty_port_rejected",
+ "eval.tests.test_host_args.test_host_with_invalid_port_rejected[12x34]",
+ "eval.tests.test_host_args.test_host_with_invalid_port_rejected[abc]",
+ "eval.tests.test_host_args.test_host_with_negative_port_accepted",
+ "eval.tests.test_host_args.test_host_with_valid_port_parsed",
+ "eval.tests.test_host_args.test_host_without_port_accepted[plain_host]",
+ "eval.tests.test_host_args.test_host_without_port_accepted[user_host]",
+ "eval.tests.test_host_args.test_host_without_port_accepted[user_ip]",
+ "eval.tests.test_host_args.test_no_host_is_rejected[no_args]",
+ "eval.tests.test_host_args.test_no_host_is_rejected[run_subcommand]",
+ "eval.tests.test_reversesshfs_mount.test_first_mount_failure_aborts_before_second",
+ "eval.tests.test_reversesshfs_mount.test_mount_flag_empty_source_rejected",
+ "eval.tests.test_reversesshfs_mount.test_mount_flag_parse_accepts_well_formed_shape[three_part_ro]",
+ "eval.tests.test_reversesshfs_mount.test_mount_flag_parse_accepts_well_formed_shape[two_part]",
+ "eval.tests.test_reversesshfs_mount.test_mount_flag_parse_rejects_malformed_shape[four_part]",
+ "eval.tests.test_reversesshfs_mount.test_mount_flag_parse_rejects_malformed_shape[single_part]",
+ "eval.tests.test_reversesshfs_mount.test_mount_flag_parse_rejects_malformed_shape[unknown_option]",
+ "eval.tests.test_reversesshfs_mount.test_mount_flag_readonly_ro_is_parsed",
+ "eval.tests.test_reversesshfs_mount.test_mount_flag_rejects_unknown_option[nosuid]",
+ "eval.tests.test_reversesshfs_mount.test_mount_flag_rejects_unknown_option[rw]",
+ "eval.tests.test_reversesshfs_mount.test_mount_flag_rejects_unknown_option[uppercase_ro]",
+ "eval.tests.test_reversesshfs_mount.test_mount_relative_local_resolved_to_absolute[bare_local]",
+ "eval.tests.test_reversesshfs_mount.test_mount_relative_local_resolved_to_absolute[dot_slash_local]",
+ "eval.tests.test_reversesshfs_mount.test_mount_tilde_local_expands_home",
+ "eval.tests.test_reversesshfs_mount.test_mount_windows_drive_letter_split",
+ "eval.tests.test_reversesshfs_mount.test_multiple_mounts_all_prepared",
+ "eval.tests.test_reversesshfs_mount.test_prepare_absolute_remote_proceeds_to_ssh_mkdir[deep_remote]",
+ "eval.tests.test_reversesshfs_mount.test_prepare_absolute_remote_proceeds_to_ssh_mkdir[plain]",
+ "eval.tests.test_reversesshfs_mount.test_prepare_absolute_remote_proceeds_to_ssh_mkdir[trailing_slash]",
+ "eval.tests.test_reversesshfs_mount.test_prepare_rejects_empty_remote_path",
+ "eval.tests.test_reversesshfs_mount.test_prepare_rejects_relative_remote_path[bare_word]",
+ "eval.tests.test_reversesshfs_mount.test_prepare_rejects_relative_remote_path[dot_slash]",
+ "eval.tests.test_reversesshfs_mount.test_prepare_rejects_relative_remote_path[encoded_escape]",
+ "eval.tests.test_reversesshfs_mount.test_prepare_rejects_relative_remote_path[nested_relative]"
+ ]
+ }
+ },
+ "commit": "4c8c2e6fa7da822465e69f8a141ada18977efd9d",
+ "data_source": "synthetic_programgym",
+ "difficulty": "easy",
+ "difficulty_score": 1.9523080096621253,
+ "eval_clean_hashes": [
+ "938e7b67b8df99662b367912369f4e364df3dca0e650a1e29f6fed315b964fee"
+ ],
+ "input_record": {
+ "commit": "4c8c2e6fa7da822465e69f8a141ada18977efd9d",
+ "commits": 194,
+ "contributors": 8,
+ "difficulty": "easy",
+ "difficulty_code_lines": 896,
+ "difficulty_has_tests": false,
+ "difficulty_product_code_lines": 896,
+ "difficulty_runtime_deps": 9,
+ "difficulty_score": 1.9523080096621253,
+ "difficulty_test_code_lines": 101,
+ "full_name": "lima-vm/sshocker",
+ "github_stars": 651,
+ "input_joern_zip": "go_joern/lima-vm__sshocker.zip",
+ "joern_status": true,
+ "joern_time": 8.454992790939286,
+ "language": "go",
+ "pb_match": [
+ {
+ "pb_fullname": "antonmedv/walk",
+ "rank": 464,
+ "similarity": 0.4923982620239258
+ },
+ {
+ "pb_fullname": "rs/curlie",
+ "rank": 907,
+ "similarity": 0.47822484374046326
+ },
+ {
+ "pb_fullname": "guumaster/hostctl",
+ "rank": 702,
+ "similarity": 0.45506030321121216
+ }
+ ],
+ "repo_age": 5.87,
+ "repo_path": "go/lima-vm__sshocker",
+ "source": "commit:4c8c2e6fa7da822465e69f8a141ada18977efd9d",
+ "status": "done",
+ "url": "https://github.com/lima-vm/sshocker"
+ },
+ "instance_id": "lima-vm__sshocker.4c8c2e6",
+ "language": "go",
+ "module_iterations": [
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_01",
+ "iteration_limit": 5,
+ "module_index": 1,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_02",
+ "iteration_limit": 5,
+ "module_index": 2,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_03",
+ "iteration_limit": 5,
+ "module_index": 3,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ },
+ {
+ "actual_iterations": 5,
+ "branch_name": "generated_module_04",
+ "iteration_limit": 5,
+ "module_index": 4,
+ "module_kind": "source",
+ "termination_reason": "max_iterations"
+ }
+ ],
+ "repository": "lima-vm/sshocker"
+}
diff --git a/lima-vm--sshocker.4c8c2e6/tests/test.sh b/lima-vm--sshocker.4c8c2e6/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/lima-vm--sshocker.4c8c2e6/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/lima-vm--sshocker.4c8c2e6/tests/workspace.tar.gz b/lima-vm--sshocker.4c8c2e6/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..d7e48fe719199d7276ed741230fde404cd11cbd8
--- /dev/null
+++ b/lima-vm--sshocker.4c8c2e6/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7eb0ab7e695f1c8ecf8f0cc99baf6a868396eba579993b9a3faa9a63c71db5f5
+size 5830
diff --git a/lintingzhen--commitizen-go.6d605/environment/Dockerfile b/lintingzhen--commitizen-go.6d605/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..18c9b14a3dd87ff70c68d67e0e9cd3cb548e1b1a
--- /dev/null
+++ b/lintingzhen--commitizen-go.6d605/environment/Dockerfile
@@ -0,0 +1,60 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+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"]
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# programgym-runtime-workspace-cleanup: v1
+RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/lintingzhen--commitizen-go.6d605/environment/download.sh b/lintingzhen--commitizen-go.6d605/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..e5430f2e5d18952f17d1763c84da160c89505dbe
--- /dev/null
+++ b/lintingzhen--commitizen-go.6d605/environment/download.sh
@@ -0,0 +1,413 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
+# Generated deterministically from repository module metadata; do not edit.
+set -u
+export GOTOOLCHAIN=auto
+mkdir -p /workspace/.programgym_build_env/go-prefetch
+cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
+module github.com/lintingzhen/commitizen-go
+
+go 1.16
+
+require (
+ github.com/AlecAivazis/survey/v2 v2.3.2
+ github.com/fsnotify/fsnotify v1.4.9 // indirect
+ github.com/kr/pretty v0.2.1 // indirect
+ github.com/mitchellh/go-homedir v1.1.0
+ github.com/mitchellh/mapstructure v1.3.3
+ github.com/pelletier/go-toml v1.8.0 // indirect
+ github.com/spf13/afero v1.3.2 // indirect
+ github.com/spf13/cast v1.3.1 // indirect
+ github.com/spf13/cobra v1.1.3
+ github.com/spf13/jwalterweatherman v1.1.0 // indirect
+ github.com/spf13/viper v1.7.0
+ github.com/stretchr/testify v1.7.0 // indirect
+ golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 // indirect
+ golang.org/x/text v0.3.7 // indirect
+ gopkg.in/ini.v1 v1.57.0 // indirect
+)
+PROGRAMGYM_GO_MOD_EOF
+cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
+cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
+cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
+cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU=
+cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU=
+cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY=
+cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc=
+cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0=
+cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o=
+cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE=
+cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk=
+cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I=
+cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw=
+dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
+github.com/AlecAivazis/survey/v2 v2.3.2 h1:TqTB+aDDCLYhf9/bD2TwSO8u8jDSmMUd2SUVO4gCnU8=
+github.com/AlecAivazis/survey/v2 v2.3.2/go.mod h1:TH2kPCDU3Kqq7pLbnCWwZXDBjnhZtmsCle5EiYDJ2fg=
+github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
+github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
+github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
+github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8 h1:xzYJEypr/85nBpB11F9br+3HUrpgb+fcm5iADzXXYEw=
+github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8/go.mod h1:oX5x61PbNXchhh0oikYAH+4Pcfw5LKv21+Jnpr6r6Pc=
+github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
+github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
+github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
+github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
+github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY=
+github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
+github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
+github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
+github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
+github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84=
+github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
+github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
+github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk=
+github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
+github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
+github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
+github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
+github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
+github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
+github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no=
+github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
+github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
+github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4=
+github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
+github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
+github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
+github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
+github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE=
+github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk=
+github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
+github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
+github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4=
+github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
+github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
+github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
+github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
+github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y=
+github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
+github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
+github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
+github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
+github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
+github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
+github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
+github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
+github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
+github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
+github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8=
+github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
+github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
+github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs=
+github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk=
+github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
+github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q=
+github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8=
+github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
+github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
+github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
+github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM=
+github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk=
+github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU=
+github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU=
+github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4=
+github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
+github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
+github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90=
+github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
+github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
+github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
+github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
+github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64=
+github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ=
+github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I=
+github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc=
+github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174 h1:WlZsjVhE8Af9IcZDGgJGQpNflI3+MJSBhsgT5PCtzBQ=
+github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174/go.mod h1:DqJ97dSdRW1W22yXSB90986pcOyQ7r45iio1KN2ez1A=
+github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=
+github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
+github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo=
+github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
+github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
+github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo=
+github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
+github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
+github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs=
+github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8=
+github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q=
+github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
+github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
+github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg=
+github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
+github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
+github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI=
+github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
+github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
+github.com/kr/pty v1.1.4 h1:5Myjjh3JY/NaAi4IsUbHADytDyl1VE1Y9PXDlL+P/VQ=
+github.com/kr/pty v1.1.4/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
+github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
+github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
+github.com/magiconair/properties v1.8.1 h1:ZC2Vc7/ZFkGmsVC9KvOjumD+G5lXy2RtTKyzRKO2BQ4=
+github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
+github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
+github.com/mattn/go-colorable v0.1.2 h1:/bC9yWikZXAL9uJdulbSfyVNIR3n3trXl+v8+1sx8mU=
+github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
+github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
+github.com/mattn/go-isatty v0.0.8 h1:HLtExJ+uU2HOZ+wI0Tt5DtUDrx8yhUqDcp7fYERX4CE=
+github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
+github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
+github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4=
+github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE=
+github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
+github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc=
+github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
+github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
+github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
+github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=
+github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg=
+github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY=
+github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
+github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
+github.com/mitchellh/mapstructure v1.3.3 h1:SzB1nHZ2Xi+17FP0zVQBHIZqvwRN9408fJO8h+eeNA8=
+github.com/mitchellh/mapstructure v1.3.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
+github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
+github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
+github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
+github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
+github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
+github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
+github.com/pelletier/go-toml v1.8.0 h1:Keo9qb7iRJs2voHvunFtuuYFsbWeOBh8/P9v/kVMFtw=
+github.com/pelletier/go-toml v1.8.0/go.mod h1:D6yutnOGMveHEPV7VQOuvI/gXY61bv+9bAOTRnLElKs=
+github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
+github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
+github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI=
+github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
+github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso=
+github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
+github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
+github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro=
+github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
+github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
+github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA=
+github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU=
+github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
+github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
+github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
+github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
+github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
+github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
+github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
+github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM=
+github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
+github.com/smartystreets/goconvey v1.6.4 h1:fv0U8FUIMPNf1L9lnHLvLhgicrIVChEkdzIKYqbNC9s=
+github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
+github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM=
+github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
+github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ=
+github.com/spf13/afero v1.3.2 h1:GDarE4TJQI52kYSbSAmLiId1Elfj+xgSDqrUZxFhxlU=
+github.com/spf13/afero v1.3.2/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4=
+github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
+github.com/spf13/cast v1.3.1 h1:nFm6S0SMdyzrzcmThSipiEubIDy8WEXKNZ0UOgiRpng=
+github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
+github.com/spf13/cobra v1.1.3 h1:xghbfqPkxzxP3C/f3n5DdpAbdKLj4ZE4BWQI362l53M=
+github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo=
+github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo=
+github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk=
+github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo=
+github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
+github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
+github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
+github.com/spf13/viper v1.7.0 h1:xVKxvI7ouOI5I+U9s2eeiUfMaWBVoXA3AWskkrqK0VM=
+github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg=
+github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
+github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
+github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
+github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
+github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
+github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s=
+github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
+github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
+github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU=
+go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
+go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
+go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
+go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
+go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0=
+go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
+golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
+golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
+golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
+golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
+golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
+golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
+golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek=
+golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY=
+golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
+golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
+golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
+golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
+golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
+golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE=
+golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o=
+golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc=
+golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY=
+golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
+golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
+golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
+golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
+golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 h1:id054HUawV2/6IGm2IV8KZQjqtwAOo2CYlOToYqa0d0=
+golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/term v0.0.0-20210503060354-a79de5458b56 h1:b8jxX3zqjpqb2LklXPzKSGJhzyxCOZSz8ncv8Nv+y7w=
+golang.org/x/term v0.0.0-20210503060354-a79de5458b56/go.mod h1:tfny5GFUkzUvx4ps4ajbZsCe5lw1metzhBm9T3x7oIY=
+golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
+golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
+golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
+golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
+golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
+golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
+golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
+golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
+golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
+golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE=
+google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M=
+google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
+google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
+google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
+google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
+google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
+google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
+google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0=
+google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
+google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
+google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
+google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8=
+google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
+google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
+google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
+google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
+gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
+gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
+gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
+gopkg.in/ini.v1 v1.57.0 h1:9unxIsFcTt4I55uWluz+UmL95q4kdJ0buvQ1ZIqVQww=
+gopkg.in/ini.v1 v1.57.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
+gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo=
+gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74=
+gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
+gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
+gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
+gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
+rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
+PROGRAMGYM_GO_SUM_EOF
+PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
+if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && GOTOOLCHAIN=auto go env GOROOT)"; then
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+else
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
+fi
+export PATH="$GOROOT/bin:$PATH"
+export GOTOOLCHAIN=local
+if ! (cd /workspace/.programgym_build_env/go-prefetch && go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
diff --git a/lintingzhen--commitizen-go.6d605/environment/executable b/lintingzhen--commitizen-go.6d605/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..ab330f3bd741f1db3c0d36ca5de9bc08231c76e2
--- /dev/null
+++ b/lintingzhen--commitizen-go.6d605/environment/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:690edf3ca2c62639ae1621bc714affc69666d9c799393058fb67613b616cda8c
+size 10653429
diff --git a/lintingzhen--commitizen-go.6d605/environment/programgym-go.tar.gz b/lintingzhen--commitizen-go.6d605/environment/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/lintingzhen--commitizen-go.6d605/environment/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/lintingzhen--commitizen-go.6d605/environment/workspace.tar.gz b/lintingzhen--commitizen-go.6d605/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..ad385642147f2cceff094112241dbc60dc787bfb
--- /dev/null
+++ b/lintingzhen--commitizen-go.6d605/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e901a4efdbf1aa1a3f205311e23bfd46ec4c36da43924aaa5710aac7bd0bcaa6
+size 1636
diff --git a/lintingzhen--commitizen-go.6d605/instruction.md b/lintingzhen--commitizen-go.6d605/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/lintingzhen--commitizen-go.6d605/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source `, `npm install `, etc.
+- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
+- 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/`)
+- Searching the web for the project's source code or implementation details
+
+### 2. Wrapping or reusing the original binary
+
+Your submission must be a genuine reimplementation. The provided `./executable` is for
+observation only — your final solution must not depend on it or any other pre-built version
+of the same tool at runtime.
+
+This includes but is not limited to:
+- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
+- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
+- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
+- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
+- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
+
+### 3. Binary analysis of the provided executable
+
+All information about the provided `./executable` must be obtained by interacting with it
+through its normal user interface (CLI flags, stdin/stdout, etc.).
+- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
+- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
+
+Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
+analysis tools on binaries that you produce yourself during development.
+
+## What IS allowed
+
+- Running the executable with any inputs, flags, and arguments to observe its behavior
+- Reading any documentation files bundled in the workspace
+
+
+## Task context
+
+We want to write the source code for a given executable.
+The executable is located at `./executable` in the workspace root.
+
+You also have access to the existing documentation.
+
+## Your task
+
+Implement the source code to generate an executable of exactly identical behavior as the original.
+
+No project-specific dependencies are pre-installed.
+You do NOT have access to the internet.
+**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
+Finally, commit your changes.
+
+Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
+`compile.sh` should be executable and should install any dependencies needed to compile the executable.
+If your compile.sh fails to compile on a fresh checkout, your task has failed.
+
+## Important: This is a reverse-engineering benchmark
+
+Your goal is to write original code from scratch that reproduces the executable's behavior.
+The only way to learn what the executable does is to run it and read its bundled documentation.
+
+Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
+provided binary will be detected by an automated judge, disqualified, and scored as zero.
+See the full rules in the system prompt above. Key points:
+
+- Do NOT search the internet, clone repos, or download the project from any package registry
+- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
+- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
+- You SHOULD extensively test the executable to understand its behavior before writing code.
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
+
+## Recommended Workflow
+
+1. Explore all documentation files
+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)
+3. Write the source code to implement the behavior
diff --git a/lintingzhen--commitizen-go.6d605/solution/solve.sh b/lintingzhen--commitizen-go.6d605/solution/solve.sh
new file mode 100644
index 0000000000000000000000000000000000000000..a9bbc241bd1280a884f27762b502ff8f4c95635b
--- /dev/null
+++ b/lintingzhen--commitizen-go.6d605/solution/solve.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# Oracle-only ceiling check. The reference is execute-only for normal agents;
+# because the oracle runs as the owning `agent` user it can temporarily add read
+# permission and encode the binary for Harbor's normal artifact handoff.
+set -euo pipefail
+test -f ./executable
+chmod u+r ./executable
+python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path(".programgym_oracle_reference").write_bytes(
+ base64.b64encode(Path("executable").read_bytes())
+)
+PY
+chmod u-r ./executable
+cat > compile.sh <<'EOF'
+#!/usr/bin/env bash
+set -euo pipefail
+if [ -f ./.programgym_oracle_reference ]; then
+ python3 - <<'PY'
+import base64
+from pathlib import Path
+
+Path("executable").write_bytes(
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
+)
+PY
+fi
+test -f ./executable
+chmod +x ./executable
+EOF
+chmod +x compile.sh
diff --git a/lintingzhen--commitizen-go.6d605/task.toml b/lintingzhen--commitizen-go.6d605/task.toml
new file mode 100644
index 0000000000000000000000000000000000000000..fdb5f8d60ecbf57e5c465751514840007a800a27
--- /dev/null
+++ b/lintingzhen--commitizen-go.6d605/task.toml
@@ -0,0 +1,69 @@
+schema_version = "1.3"
+source = "ProgramGym"
+artifacts = [
+ "/logs/verifier/programgym_eval.json",
+ "/logs/verifier/harbor_diagnostics.json",
+ "/logs/verifier/programgym_eval.log",
+ "/logs/verifier/reward.json",
+ "/logs/verifier/reward.txt",
+ # Keep agent/runtime state out of the submission handoff. In particular,
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
+ # makes Python's safe tar extraction reject the entire workspace archive.
+ { source = "/workspace", exclude = [
+ "executable",
+ ".git",
+ ".bashrc",
+ ".cache",
+ ".cc-switch",
+ ".claude",
+ ".local",
+ ] },
+]
+
+[task]
+name = "programgym/lintingzhen--commitizen-go.6d605"
+description = "Synthetic ProgramGym cleanroom reconstruction task for lintingzhen/commitizen-go"
+authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
+keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "go"]
+
+[metadata]
+source = "ProgramGym"
+instance_id = "lintingzhen__commitizen-go.6d6050d"
+repository = "lintingzhen/commitizen-go"
+commit = "6d6050daa8cb97b6ac78a4175fa3a73bf927e5c8"
+language = "go"
+difficulty = "easy"
+difficulty_score = 1.8808135922807914
+test_branches = 4
+test_count = 162
+
+[agent]
+timeout_sec = 14400
+user = "agent"
+network_mode = "allowlist"
+allowed_hosts = ["api.anthropic.com", "api.openai.com"]
+
+[verifier]
+timeout_sec = 7200
+user = "root"
+environment_mode = "separate"
+
+[verifier.env]
+PROGRAMGYM_XDIST_WORKERS = "8"
+
+[verifier.environment]
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
+
+[environment]
+network_mode = "public"
+build_timeout_sec = 1800
+cpus = 8
+memory_mb = 16384
+storage_mb = 30720
+gpus = 0
+workdir = "/workspace"
diff --git a/lintingzhen--commitizen-go.6d605/tests/Dockerfile b/lintingzhen--commitizen-go.6d605/tests/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..a626a06f42b7d18ca8dda5f990bed0106ab28bf5
--- /dev/null
+++ b/lintingzhen--commitizen-go.6d605/tests/Dockerfile
@@ -0,0 +1,68 @@
+FROM ubuntu:24.04
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOPROXY="https://proxy.golang.org,direct"
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_INSECURE_HOST=""
+ENV UV_INDEX_URL="https://pypi.org/simple"
+ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_registry="https://registry.npmjs.org/"
+ENV npm_config_strict_ssl=false
+ENV npm_config_cache=/workspace/.cache/npm
+ENV PIP_INDEX_URL="https://pypi.org/simple"
+ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
+ENV PIP_TRUSTED_HOST=""
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV GOROOT=/usr/local/go
+ENV GOPATH=/workspace/.go
+ENV GOCACHE=/workspace/.cache/go-build
+ENV PIP_BREAK_SYSTEM_PACKAGES=1
+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
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+ENV VIRTUAL_ENV=/opt/programgym-venv
+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/*
+COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
+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
+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
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+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"]
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# programgym-runtime-workspace-cleanup: v1
+RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
+# Harbor uses tests/ as the separate verifier build context. Start with the
+# same toolchain as the agent, then remove every cleanroom workspace artifact.
+RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
+ && mkdir -p /workspace /tests
+
+# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
+# Installing a newer pytest alone leaves that apt package importable and creates
+# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
+# Install and constrain the verifier test runner as one coherent pip toolchain.
+RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
+ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
+RUN python3 -m pip install --no-cache-dir --disable-pip-version-check \
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
+
+COPY test.sh /tests/test.sh
+COPY programgym_evaluator.py /tests/programgym_evaluator.py
+COPY programgym_task.json /tests/programgym_task.json
+COPY blobs/ /tests/blobs/
+RUN chmod +x /tests/test.sh
diff --git a/lintingzhen--commitizen-go.6d605/tests/blobs/tests/generated_module_01.tar.gz b/lintingzhen--commitizen-go.6d605/tests/blobs/tests/generated_module_01.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..5557c738b6563b2b583ce3388c307373522a31a1
--- /dev/null
+++ b/lintingzhen--commitizen-go.6d605/tests/blobs/tests/generated_module_01.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:15b1e9a3e9b063c5a2c2cf735b17757bc71021fdb7ce4d06772f9b1dd3a840f4
+size 11430
diff --git a/lintingzhen--commitizen-go.6d605/tests/blobs/tests/generated_module_02.tar.gz b/lintingzhen--commitizen-go.6d605/tests/blobs/tests/generated_module_02.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..9ba6cbb523e5284a4dd2d98b2e97e9e60023facd
--- /dev/null
+++ b/lintingzhen--commitizen-go.6d605/tests/blobs/tests/generated_module_02.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:452d47d3e50b3d3bcb986f8bada2cfd78933a56e44db1475219580dace40d133
+size 9685
diff --git a/lintingzhen--commitizen-go.6d605/tests/blobs/tests/generated_module_03.tar.gz b/lintingzhen--commitizen-go.6d605/tests/blobs/tests/generated_module_03.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..13fa846b3de4f1063dbc6a525f5ed8f8a25ac885
--- /dev/null
+++ b/lintingzhen--commitizen-go.6d605/tests/blobs/tests/generated_module_03.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f5e99c068f95a669c15a69f3c2b0c94e3d69832ab27c7908b0d092246ea9ba36
+size 7271
diff --git a/lintingzhen--commitizen-go.6d605/tests/blobs/tests/generated_module_04.tar.gz b/lintingzhen--commitizen-go.6d605/tests/blobs/tests/generated_module_04.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..1e330cc4e6167c8c7fb98eb97bc33fb4336b0316
--- /dev/null
+++ b/lintingzhen--commitizen-go.6d605/tests/blobs/tests/generated_module_04.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3ac8d61e039902e13efd2c8075b8249adf9386175f1b93220d48f5b2adf453c4
+size 9100
diff --git a/lintingzhen--commitizen-go.6d605/tests/download.sh b/lintingzhen--commitizen-go.6d605/tests/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..e5430f2e5d18952f17d1763c84da160c89505dbe
--- /dev/null
+++ b/lintingzhen--commitizen-go.6d605/tests/download.sh
@@ -0,0 +1,413 @@
+#!/usr/bin/env bash
+# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
+# Generated deterministically from repository module metadata; do not edit.
+set -u
+export GOTOOLCHAIN=auto
+mkdir -p /workspace/.programgym_build_env/go-prefetch
+cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
+module github.com/lintingzhen/commitizen-go
+
+go 1.16
+
+require (
+ github.com/AlecAivazis/survey/v2 v2.3.2
+ github.com/fsnotify/fsnotify v1.4.9 // indirect
+ github.com/kr/pretty v0.2.1 // indirect
+ github.com/mitchellh/go-homedir v1.1.0
+ github.com/mitchellh/mapstructure v1.3.3
+ github.com/pelletier/go-toml v1.8.0 // indirect
+ github.com/spf13/afero v1.3.2 // indirect
+ github.com/spf13/cast v1.3.1 // indirect
+ github.com/spf13/cobra v1.1.3
+ github.com/spf13/jwalterweatherman v1.1.0 // indirect
+ github.com/spf13/viper v1.7.0
+ github.com/stretchr/testify v1.7.0 // indirect
+ golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 // indirect
+ golang.org/x/text v0.3.7 // indirect
+ gopkg.in/ini.v1 v1.57.0 // indirect
+)
+PROGRAMGYM_GO_MOD_EOF
+cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
+cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
+cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
+cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU=
+cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU=
+cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY=
+cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc=
+cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0=
+cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o=
+cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE=
+cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk=
+cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I=
+cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw=
+dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
+github.com/AlecAivazis/survey/v2 v2.3.2 h1:TqTB+aDDCLYhf9/bD2TwSO8u8jDSmMUd2SUVO4gCnU8=
+github.com/AlecAivazis/survey/v2 v2.3.2/go.mod h1:TH2kPCDU3Kqq7pLbnCWwZXDBjnhZtmsCle5EiYDJ2fg=
+github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
+github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
+github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
+github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8 h1:xzYJEypr/85nBpB11F9br+3HUrpgb+fcm5iADzXXYEw=
+github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8/go.mod h1:oX5x61PbNXchhh0oikYAH+4Pcfw5LKv21+Jnpr6r6Pc=
+github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
+github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
+github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
+github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
+github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY=
+github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
+github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
+github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
+github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
+github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84=
+github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
+github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
+github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk=
+github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
+github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
+github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
+github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
+github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
+github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
+github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no=
+github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
+github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
+github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4=
+github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
+github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
+github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
+github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
+github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE=
+github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk=
+github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
+github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
+github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4=
+github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
+github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
+github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
+github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
+github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y=
+github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
+github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
+github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
+github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
+github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
+github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
+github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
+github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
+github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
+github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
+github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8=
+github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
+github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
+github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs=
+github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk=
+github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
+github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q=
+github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8=
+github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
+github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
+github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
+github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM=
+github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk=
+github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU=
+github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU=
+github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4=
+github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
+github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
+github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90=
+github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
+github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
+github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
+github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
+github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64=
+github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ=
+github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I=
+github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc=
+github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174 h1:WlZsjVhE8Af9IcZDGgJGQpNflI3+MJSBhsgT5PCtzBQ=
+github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174/go.mod h1:DqJ97dSdRW1W22yXSB90986pcOyQ7r45iio1KN2ez1A=
+github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=
+github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
+github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo=
+github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
+github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
+github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo=
+github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
+github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
+github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs=
+github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8=
+github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q=
+github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
+github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
+github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg=
+github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
+github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
+github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI=
+github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
+github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
+github.com/kr/pty v1.1.4 h1:5Myjjh3JY/NaAi4IsUbHADytDyl1VE1Y9PXDlL+P/VQ=
+github.com/kr/pty v1.1.4/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
+github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
+github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
+github.com/magiconair/properties v1.8.1 h1:ZC2Vc7/ZFkGmsVC9KvOjumD+G5lXy2RtTKyzRKO2BQ4=
+github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
+github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
+github.com/mattn/go-colorable v0.1.2 h1:/bC9yWikZXAL9uJdulbSfyVNIR3n3trXl+v8+1sx8mU=
+github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
+github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
+github.com/mattn/go-isatty v0.0.8 h1:HLtExJ+uU2HOZ+wI0Tt5DtUDrx8yhUqDcp7fYERX4CE=
+github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
+github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
+github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4=
+github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE=
+github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
+github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc=
+github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
+github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
+github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
+github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=
+github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg=
+github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY=
+github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
+github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
+github.com/mitchellh/mapstructure v1.3.3 h1:SzB1nHZ2Xi+17FP0zVQBHIZqvwRN9408fJO8h+eeNA8=
+github.com/mitchellh/mapstructure v1.3.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
+github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
+github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
+github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
+github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
+github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
+github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
+github.com/pelletier/go-toml v1.8.0 h1:Keo9qb7iRJs2voHvunFtuuYFsbWeOBh8/P9v/kVMFtw=
+github.com/pelletier/go-toml v1.8.0/go.mod h1:D6yutnOGMveHEPV7VQOuvI/gXY61bv+9bAOTRnLElKs=
+github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
+github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
+github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI=
+github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
+github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso=
+github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
+github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
+github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro=
+github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
+github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
+github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA=
+github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU=
+github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
+github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
+github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
+github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
+github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
+github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
+github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
+github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM=
+github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
+github.com/smartystreets/goconvey v1.6.4 h1:fv0U8FUIMPNf1L9lnHLvLhgicrIVChEkdzIKYqbNC9s=
+github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
+github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM=
+github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
+github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ=
+github.com/spf13/afero v1.3.2 h1:GDarE4TJQI52kYSbSAmLiId1Elfj+xgSDqrUZxFhxlU=
+github.com/spf13/afero v1.3.2/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4=
+github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
+github.com/spf13/cast v1.3.1 h1:nFm6S0SMdyzrzcmThSipiEubIDy8WEXKNZ0UOgiRpng=
+github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
+github.com/spf13/cobra v1.1.3 h1:xghbfqPkxzxP3C/f3n5DdpAbdKLj4ZE4BWQI362l53M=
+github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo=
+github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo=
+github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk=
+github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo=
+github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
+github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
+github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
+github.com/spf13/viper v1.7.0 h1:xVKxvI7ouOI5I+U9s2eeiUfMaWBVoXA3AWskkrqK0VM=
+github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg=
+github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
+github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
+github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
+github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
+github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
+github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s=
+github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
+github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
+github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU=
+go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
+go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
+go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
+go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
+go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0=
+go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
+golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
+golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
+golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
+golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
+golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
+golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
+golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek=
+golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY=
+golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
+golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
+golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
+golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
+golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
+golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
+golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE=
+golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o=
+golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc=
+golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY=
+golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
+golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
+golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
+golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
+golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 h1:id054HUawV2/6IGm2IV8KZQjqtwAOo2CYlOToYqa0d0=
+golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/term v0.0.0-20210503060354-a79de5458b56 h1:b8jxX3zqjpqb2LklXPzKSGJhzyxCOZSz8ncv8Nv+y7w=
+golang.org/x/term v0.0.0-20210503060354-a79de5458b56/go.mod h1:tfny5GFUkzUvx4ps4ajbZsCe5lw1metzhBm9T3x7oIY=
+golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
+golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
+golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
+golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
+golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
+golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
+golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
+golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
+golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
+golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE=
+google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M=
+google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
+google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
+google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
+google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
+google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
+google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
+google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0=
+google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
+google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
+google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
+google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
+google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8=
+google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
+google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
+google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
+google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
+gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
+gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
+gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
+gopkg.in/ini.v1 v1.57.0 h1:9unxIsFcTt4I55uWluz+UmL95q4kdJ0buvQ1ZIqVQww=
+gopkg.in/ini.v1 v1.57.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
+gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo=
+gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74=
+gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
+gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
+gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
+gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
+rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
+PROGRAMGYM_GO_SUM_EOF
+PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
+if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && GOTOOLCHAIN=auto go env GOROOT)"; then
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
+if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
+else
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
+fi
+export PATH="$GOROOT/bin:$PATH"
+export GOTOOLCHAIN=local
+if ! (cd /workspace/.programgym_build_env/go-prefetch && go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+fi
diff --git a/lintingzhen--commitizen-go.6d605/tests/executable b/lintingzhen--commitizen-go.6d605/tests/executable
new file mode 100644
index 0000000000000000000000000000000000000000..ab330f3bd741f1db3c0d36ca5de9bc08231c76e2
--- /dev/null
+++ b/lintingzhen--commitizen-go.6d605/tests/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:690edf3ca2c62639ae1621bc714affc69666d9c799393058fb67613b616cda8c
+size 10653429
diff --git a/lintingzhen--commitizen-go.6d605/tests/programgym-go.tar.gz b/lintingzhen--commitizen-go.6d605/tests/programgym-go.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0532cfb0397c6d86ac290d2a8c6843ef8e985e31
--- /dev/null
+++ b/lintingzhen--commitizen-go.6d605/tests/programgym-go.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
+size 59908810
diff --git a/lintingzhen--commitizen-go.6d605/tests/programgym_evaluator.py b/lintingzhen--commitizen-go.6d605/tests/programgym_evaluator.py
new file mode 100644
index 0000000000000000000000000000000000000000..541bda3a105013fbffd2e0d69261ed76b40a7992
--- /dev/null
+++ b/lintingzhen--commitizen-go.6d605/tests/programgym_evaluator.py
@@ -0,0 +1,1201 @@
+#!/usr/bin/env python3
+"""In-place ProgramGym evaluator.
+
+Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
+no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
+cleanroom container after Harbor flips the verifier-phase network policy.
+
+Differences from ``programgym.eval.eval.Evaluator`` that are structural to
+running in one container:
+
+* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
+ copy a post-compile workspace snapshot to a temp directory and restore it
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
+ processes between attempts to approximate the fresh-container boundary.
+* No ``docker commit``. The post-compile workspace snapshot serves the same
+ role as the committed image upstream.
+* Hidden test blobs are fetched on demand from HuggingFace via
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
+ rather than being pre-staged into ``/tests/blobs/``. Override with
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
+
+Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
+``compile.sh`` then stash + hash the executable, best-effort
+``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
+``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
+best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
+preserved.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import json
+import os
+import re
+import shlex
+import shutil
+import signal
+import subprocess
+import tempfile
+import time
+import traceback
+import xml.etree.ElementTree as ET
+from pathlib import Path
+from typing import Any
+
+WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
+STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
+METADATA_PATH = Path(
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
+)
+LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
+WORKER_CRASH_PHRASE = "worker '"
+XDIST_COLLAPSE_MARKERS = (
+ "maximum crashed workers reached",
+ "xdist: maximum crashed",
+)
+
+DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
+DEFAULT_HF_REVISION = "main"
+
+# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
+# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
+_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
+
+_TOOLCHAIN_BIN_DIR_CANDIDATES = (
+ "/usr/local/go/bin",
+ "/go/bin",
+ "/usr/local/cargo/bin",
+ "/root/.cargo/bin",
+ "/root/.ghcup/bin",
+)
+
+
+def toolchain_bin_dirs() -> list[str]:
+ """Return toolchain bin directories that exist on this image."""
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
+ candidates.extend(
+ str(path)
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
+ if _is_accessible_dir(path)
+ )
+ seen: set[str] = set()
+ present: list[str] = []
+ for path in candidates:
+ if path in seen:
+ continue
+ seen.add(path)
+ if _is_accessible_dir(path):
+ present.append(path)
+ return present
+
+
+def _is_accessible_dir(path: str | Path) -> bool:
+ """Return whether path is a directory without failing on protected homes."""
+ try:
+ return Path(path).is_dir()
+ except OSError:
+ return False
+
+
+def bootstrap_toolchain_path() -> str:
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
+ prepend = toolchain_bin_dirs()
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
+ merged: list[str] = []
+ for path in prepend + current_parts:
+ if path not in merged:
+ merged.append(path)
+ new_path = ":".join(merged)
+ os.environ["PATH"] = new_path
+ return new_path
+
+
+def _bash_login_command(command: str) -> str:
+ """Run ``command`` under bash -lc with an explicit PATH export."""
+ path = bootstrap_toolchain_path()
+ return f"export PATH={shlex.quote(path)}; {command}"
+
+
+def sha256(path: Path) -> str:
+ h = hashlib.sha256()
+ with path.open("rb") as f:
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
+ h.update(chunk)
+ return h.hexdigest()
+
+
+def write_json(path: Path, data: dict[str, Any]) -> None:
+ tmp = path.with_suffix(path.suffix + ".tmp")
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
+ tmp.replace(path)
+
+
+def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
+ if path is None or not path.exists():
+ return ""
+ data = path.read_bytes()
+ if len(data) <= max_bytes:
+ return data.decode(errors="replace")
+ return data[-max_bytes:].decode(errors="replace")
+
+
+def _close_pipes(proc: subprocess.Popen[Any]) -> None:
+ for stream in (proc.stdout, proc.stderr):
+ if stream is not None:
+ try:
+ stream.close()
+ except OSError:
+ pass
+
+
+def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+ try:
+ proc.kill()
+ except ProcessLookupError:
+ pass
+
+
+_PKILL_PATTERNS = (
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ "tail -f",
+ "development.log",
+ " less ",
+ " less$",
+ "/less ",
+)
+
+
+def _pkill_aggressive() -> str:
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
+ notes: list[str] = []
+ workspace = str(WORKSPACE)
+ patterns = list(_PKILL_PATTERNS) + [
+ f"pytest.*{workspace}",
+ f"xdist.*{workspace}",
+ ]
+ for pattern in patterns:
+ result = subprocess.run(
+ ["pkill", "-9", "-f", pattern],
+ capture_output=True,
+ text=True,
+ )
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
+ return "\n".join(notes)
+
+
+def run_step(
+ command: str,
+ cwd: Path,
+ *,
+ timeout: int,
+ env: dict[str, str] | None = None,
+ step: str,
+ accept_failure: bool = False,
+ log_output: bool | None = None,
+ max_output_bytes: int = 65536,
+) -> dict[str, Any]:
+ if log_output is None:
+ log_output = step == "run_tests" or timeout >= 60
+
+ started = time.monotonic()
+ stdout_path: Path | None = None
+ stderr_path: Path | None = None
+ stdout_f = None
+ stderr_f = None
+
+ if log_output:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_id = f"{step}-{int(started * 1000)}"
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
+ stdout_f = stdout_path.open("w", encoding="utf-8")
+ stderr_f = stderr_path.open("w", encoding="utf-8")
+ popen_stdout: Any = stdout_f
+ popen_stderr: Any = stderr_f
+ else:
+ popen_stdout = subprocess.PIPE
+ popen_stderr = subprocess.PIPE
+
+ proc = subprocess.Popen(
+ ["bash", "-lc", _bash_login_command(command)],
+ cwd=cwd,
+ env={**os.environ, **(env or {})},
+ stdout=popen_stdout,
+ stderr=popen_stderr,
+ start_new_session=True,
+ text=True,
+ )
+ timed_out = False
+ stdout = ""
+ stderr = ""
+ try:
+ if log_output:
+ proc.wait(timeout=timeout)
+ else:
+ stdout, stderr = proc.communicate(timeout=timeout)
+ except subprocess.TimeoutExpired:
+ timed_out = True
+ _terminate_process_tree(proc)
+ cleanup_lingering_processes(aggressive=True)
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ if not log_output:
+ _close_pipes(proc)
+ finally:
+ if stdout_f is not None:
+ stdout_f.close()
+ if stderr_f is not None:
+ stderr_f.close()
+
+ if timed_out:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = ""
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": 124,
+ "exception_info": f"timed out after {timeout}s",
+ }
+ else:
+ if log_output:
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
+ stderr_path, max_output_bytes
+ )
+ else:
+ output = stdout + stderr
+ entry = {
+ "step": step,
+ "command": command,
+ "wall_time": time.monotonic() - started,
+ "output": output,
+ "returncode": proc.returncode,
+ "exception_info": "",
+ }
+ if entry["returncode"] and not accept_failure:
+ raise RuntimeError(
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
+ )
+ return entry
+
+
+def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
+ started = time.monotonic()
+ patterns = [
+ str(WORKSPACE / "executable"),
+ f"{WORKSPACE}/eval/",
+ f"{WORKSPACE}/tests/",
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
+ "tail -f",
+ "development.log",
+ ]
+ killed: list[int] = []
+ proc_root = Path("/proc")
+ proc_available = proc_root.exists()
+ if proc_available:
+ for proc_dir in proc_root.iterdir():
+ if not proc_dir.name.isdigit():
+ continue
+ pid = int(proc_dir.name)
+ if pid in {os.getpid(), os.getppid()}:
+ continue
+ try:
+ raw = (proc_dir / "cmdline").read_bytes()
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
+ continue
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
+ if not any(pattern in cmdline for pattern in patterns):
+ continue
+ try:
+ os.kill(pid, signal.SIGKILL)
+ except (PermissionError, ProcessLookupError):
+ continue
+ killed.append(pid)
+ pkill_output = ""
+ if aggressive or not proc_available:
+ pkill_output = _pkill_aggressive()
+ output_parts = []
+ if killed:
+ output_parts.append("\n".join(str(pid) for pid in killed))
+ if pkill_output:
+ output_parts.append(pkill_output)
+ return {
+ "step": "cleanup_lingering_processes",
+ "command": "kill leftover branch processes referencing the workspace",
+ "wall_time": time.monotonic() - started,
+ "output": "\n".join(output_parts),
+ "returncode": 0,
+ "exception_info": "",
+ }
+
+
+def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
+ import tarfile
+
+ with tarfile.open(tar_path, "r:gz") as tf:
+ try:
+ tf.extractall(dest, filter="fully_trusted")
+ except TypeError:
+ tf.extractall(dest)
+
+
+def find_results_xml() -> Path | None:
+ """Return the junit xml path if pytest wrote one."""
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
+ if candidate.exists():
+ return candidate
+ return None
+
+
+def remove_oracle_handoff_artifacts() -> list[str]:
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
+ removed: list[str] = []
+ for name in _ORACLE_HANDOFF_NAMES:
+ path = WORKSPACE / name
+ if path.exists():
+ if path.is_dir():
+ shutil.rmtree(path)
+ else:
+ path.unlink()
+ removed.append(name)
+ return removed
+
+
+def _remove_tree(path: Path) -> None:
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
+ if path.is_symlink() or path.is_file():
+ path.unlink(missing_ok=True)
+ return
+ if not path.is_dir():
+ path.unlink(missing_ok=True)
+ return
+ for attempt in range(3):
+ try:
+ shutil.rmtree(path)
+ if not path.exists():
+ return
+ except OSError:
+ if attempt == 2:
+ run_step(
+ f"rm -rf {shlex.quote(str(path))}",
+ path.parent,
+ timeout=120,
+ step="clear_workspace_fallback",
+ accept_failure=True,
+ )
+ if not path.exists():
+ return
+ raise
+
+
+def ensure_workspace_dir() -> None:
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
+ WORKSPACE.unlink()
+ else:
+ shutil.rmtree(WORKSPACE)
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
+
+
+def clear_workspace() -> None:
+ ensure_workspace_dir()
+ for path in list(WORKSPACE.iterdir()):
+ _remove_tree(path)
+
+
+def restore_reference_executable() -> None:
+ """Write the stashed reference binary into /workspace after a branch overlay.
+
+ Branch blobs may ship ``executable`` as a dangling symlink into
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
+ reference as a regular file.
+ """
+ ensure_workspace_dir()
+ if not STASHED_EXECUTABLE.is_file():
+ raise FileNotFoundError(
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
+ )
+ dest = WORKSPACE / "executable"
+ if dest.exists() or dest.is_symlink():
+ if dest.is_dir():
+ shutil.rmtree(dest)
+ else:
+ dest.unlink(missing_ok=True)
+ shutil.copy2(STASHED_EXECUTABLE, dest)
+ dest.chmod(0o755)
+
+
+def snapshot_workspace(dest: Path) -> None:
+ if dest.exists():
+ shutil.rmtree(dest)
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
+
+
+def restore_workspace(source: Path) -> None:
+ clear_workspace()
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
+ ensure_workspace_dir()
+
+
+def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
+ removed: list[str] = []
+ for path in root.rglob("*"):
+ if path.is_file() and not path.is_symlink():
+ try:
+ if sha256(path) in hashes:
+ path.unlink()
+ removed.append(str(path.relative_to(root)))
+ except OSError:
+ continue
+ return removed
+
+
+def branch_tests(branch_info: dict[str, Any]) -> list[str]:
+ ignored = {
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
+ }
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
+
+
+def ignored_tests(metadata: dict[str, Any]) -> set[str]:
+ result: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ result.update(
+ f"{branch}/{item['name']}"
+ for item in info.get("ignored_tests", [])
+ if "name" in item
+ )
+ return result
+
+
+def active_tests(metadata: dict[str, Any]) -> set[str]:
+ active: set[str] = set()
+ for branch, info in metadata.get("branches", {}).items():
+ if info.get("ignored"):
+ continue
+ ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ active.update(
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
+ )
+ return active
+
+
+def inject_not_run(
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
+) -> None:
+ result["test_results"].extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": error_code},
+ }
+ for name in tests
+ )
+
+
+def testcase_name(case: ET.Element) -> str:
+ classname = case.attrib.get("classname", "")
+ name = case.attrib.get("name", "")
+ return f"{classname}.{name}" if classname else name
+
+
+# Only these tags under represent a result. /
+# are stdout/stderr captures and must not be treated as results
+# (a leading followed by would otherwise be classified
+# as a stdout-only "passed").
+JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
+
+
+def parse_junit(
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
+) -> tuple[list[dict[str, Any]], list[str]]:
+ root = ET.fromstring(raw_xml)
+ got: set[str] = set()
+ results: list[dict[str, Any]] = []
+ for case in root.iter("testcase"):
+ name = testcase_name(case)
+ got.add(name)
+ extra: dict[str, Any] = {}
+ if "time" in case.attrib:
+ try:
+ extra["time"] = float(case.attrib["time"])
+ except ValueError:
+ extra["time"] = case.attrib["time"]
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
+ # Collapse duplicate same-tag result children. Pytest's
+ # "pytest.internal" pseudo-test sometimes emits two identical
+ # entries; treating that as a system_error would over-flag a real
+ # single failure. Mirrors upstream eval.py:816-820.
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
+ result_children = [result_children[0]]
+ if not result_children:
+ status = "passed"
+ elif len(result_children) != 1:
+ status = "system_error"
+ extra["error_details"] = (
+ f"Expected 1 result for {name}, got {len(result_children)}: "
+ f"{[c.tag for c in result_children]}"
+ )
+ else:
+ first = result_children[0]
+ status = first.tag # "skipped" | "failure" | "error"
+ extra["message"] = first.attrib.get("message") or ""
+ if first.text:
+ extra["text"] = first.text
+ results.append(
+ {"name": name, "branch": branch, "status": status, "extra": extra}
+ )
+
+ active_expected = [name for name in expected if name not in ignored]
+ missing = [name for name in active_expected if name not in got]
+ results.extend(
+ {
+ "name": name,
+ "branch": branch,
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_junit_xml"},
+ }
+ for name in missing
+ )
+ unexpected = got - set(expected) - ignored
+ warnings = (
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
+ if unexpected
+ else []
+ )
+ return results, warnings
+
+
+def count_worker_crashes(raw_xml: str) -> int:
+ if WORKER_CRASH_PHRASE not in raw_xml:
+ return 0
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ crashes = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ text = (child.get("message") or "") + " " + (child.text or "")
+ if (
+ child.tag in {"error", "failure"}
+ and WORKER_CRASH_PHRASE in text
+ and "crashed" in text
+ ):
+ crashes += 1
+ break
+ return crashes
+
+
+def run_output_indicates_xdist_collapse(output: str) -> bool:
+ lower = output.lower()
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
+
+
+def count_junit_failures(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ failures = 0
+ for case in root.iter("testcase"):
+ for child in case:
+ if child.tag in {"failure", "error"}:
+ failures += 1
+ break
+ return failures
+
+
+def count_junit_passed(raw_xml: str) -> int:
+ try:
+ root = ET.fromstring(raw_xml)
+ except ET.ParseError:
+ return 0
+ passed = 0
+ for case in root.iter("testcase"):
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
+ passed += 1
+ return passed
+
+
+def branch_attempt_metrics(
+ raw_xml: str, *, run_output: str, expected_tests: int
+) -> tuple[int, int, int, int]:
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
+ crashes = count_worker_crashes(raw_xml)
+ if run_output_indicates_xdist_collapse(run_output):
+ crashes = max(crashes, 1)
+ n_tests = count_testcases(raw_xml)
+ failures = count_junit_failures(raw_xml)
+ missing = max(0, expected_tests - n_tests)
+ return crashes, n_tests, failures, missing
+
+
+def needs_serial_retry(
+ *,
+ serial: bool,
+ crashes: int,
+ missing: int,
+ failures: int,
+ n_tests: int,
+ expected_tests: int,
+ run_output: str,
+) -> bool:
+ if serial:
+ return False
+ high_failure_rate = (
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
+ )
+ return (
+ crashes > 0
+ or missing > 0
+ or high_failure_rate
+ or run_output_indicates_xdist_collapse(run_output)
+ )
+
+
+def count_testcases(raw_xml: str) -> int:
+ try:
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
+ except ET.ParseError:
+ return 0
+
+
+def scored_results(
+ result: dict[str, Any], metadata: dict[str, Any]
+) -> list[dict[str, Any]]:
+ active = active_tests(metadata)
+ by_key = {
+ f"{test['branch']}/{test['name']}": test
+ for test in result["test_results"]
+ if f"{test['branch']}/{test['name']}" in active
+ }
+ return [
+ by_key.get(
+ key,
+ {
+ "branch": key.split("/", 1)[0],
+ "name": key.split("/", 1)[1],
+ "status": "not_run",
+ "extra": {"error_code": "missing_from_results"},
+ },
+ )
+ for key in sorted(active)
+ ]
+
+
+def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
+ # the proportion of tasks scoring a perfect pass-rate and mean of
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
+ # per-task pass-rate whose mean is the overall mean reward.
+ return {
+ "reward": pass_rate,
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
+ }
+
+
+def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
+ scored = scored_results(result, metadata)
+ n_passed = sum(t["status"] == "passed" for t in scored)
+ n_tests = len(scored)
+ pass_rate = n_passed / n_tests if n_tests else 0.0
+ return {
+ "pass_rate": pass_rate,
+ "resolved": int(
+ bool(
+ n_tests
+ and n_passed == n_tests
+ and not result["test_branch_errors"]
+ and not result["error_code"]
+ )
+ ),
+ "n_passed": n_passed,
+ "n_tests": n_tests,
+ "n_branch_errors": len(result["test_branch_errors"]),
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
+ }
+
+
+def use_script_pty() -> bool:
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
+
+
+def script_pty_available() -> bool:
+ return shutil.which("script") is not None
+
+
+def branch_env(
+ *,
+ serial: bool,
+ has_rerunfailures: bool,
+ extras: dict[str, str] | None = None,
+) -> dict[str, str]:
+ addopts = ["--max-worker-restart=4"]
+ # A serial fallback is already a complete second execution. Re-running each
+ # failing test two more times makes large, failure-heavy suites prohibitively
+ # slow and adds little signal.
+ if has_rerunfailures and not serial:
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
+ env = {
+ "PYTEST_ADDOPTS": " ".join(addopts),
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
+ "NO_COLOR": "1",
+ "TERM": "dumb",
+ "CLICOLOR": "0",
+ "CLICOLOR_FORCE": "0",
+ "COLORTERM": "",
+ }
+ if extras:
+ env.update(extras)
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
+ if serial:
+ xdist_workers = "1"
+ if xdist_workers:
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
+ return env
+
+
+_SERIAL_RUN_SH = ".programgym_run_serial.sh"
+# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
+# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
+_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
+
+
+def prepare_serial_run_sh(run_sh: Path) -> Path:
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
+ serial_sh.write_text(patched)
+ serial_sh.chmod(0o755)
+ return serial_sh
+
+
+def run_tests_command(*, serial: bool) -> str:
+ if serial:
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
+ else:
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
+ if use_script_pty() and script_pty_available():
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
+ return inner
+
+
+BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
+
+
+def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
+ """Locate the per-instance blob directory.
+
+ Resolution order:
+
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
+ agent never sees these.
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
+ tree on disk (``//tests/.tar.gz``). Useful
+ for offline reruns sharing a cache across many tasks.
+ 3. ``huggingface_hub.snapshot_download`` from
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
+
+ The returned directory contains ``tests/.tar.gz`` per active
+ branch — same shape as ``programgym/ProgramGym-Tests//``
+ on HF.
+ """
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
+ return BAKED_BLOB_DIR
+
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
+ if local:
+ candidate = Path(local) / instance_id
+ if candidate.exists():
+ return candidate
+ raise FileNotFoundError(
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
+ )
+
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
+ "hf_repo_id", DEFAULT_HF_REPO_ID
+ )
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
+ "hf_revision", DEFAULT_HF_REVISION
+ )
+
+ from huggingface_hub import snapshot_download
+
+ cache_root = Path(
+ snapshot_download(
+ repo_id,
+ repo_type="dataset",
+ revision=revision,
+ allow_patterns=f"{instance_id}/**",
+ )
+ )
+ blob_dir = cache_root / instance_id
+ if not blob_dir.exists():
+ raise FileNotFoundError(
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
+ )
+ return blob_dir
+
+
+def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
+ bootstrap_toolchain_path()
+ branches = metadata.get("branches", {})
+ active_branch_items = [
+ (name, info) for name, info in branches.items() if not info.get("ignored")
+ ]
+ result: dict[str, Any] = {
+ "test_results": [],
+ "error_code": None,
+ "error_details": None,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [name for name, _ in active_branch_items],
+ "test_branch_errors": {},
+ "executable_hash": None,
+ "warnings": [],
+ }
+
+ instance_id = metadata["instance_id"]
+
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
+
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
+ result["error_code"] = error_code
+ result["error_details"] = details
+ for branch, info in active_branch_items:
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ return result
+
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
+ compiled_snapshot = Path(tmp) / "compiled"
+
+ started = time.monotonic()
+ removed = remove_hashed_files(
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
+ )
+ result["log"].append(
+ {
+ "step": "remove_hashed_files",
+ "command": "remove files matching eval_clean_hashes",
+ "wall_time": time.monotonic() - started,
+ "output": "".join(f"removed '{path}'\n" for path in removed),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+
+ compile_sh = WORKSPACE / "compile.sh"
+ if not compile_sh.exists():
+ return fail_all(
+ "missing_compile_sh", "submission did not contain compile.sh"
+ )
+
+ seed = (
+ "if [ ! -d .git ]; then "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c init.defaultBranch=gold init -q && "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
+ "fi"
+ )
+ try:
+ result["log"].append(
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
+ )
+ compile_log = run_step(
+ "chmod +x ./compile.sh && ./compile.sh",
+ WORKSPACE,
+ timeout=compile_timeout,
+ step="compile",
+ accept_failure=True,
+ )
+ result["log"].append(compile_log)
+ if compile_log["returncode"]:
+ return fail_all("compile_failed", compile_log["output"])
+ executable = WORKSPACE / "executable"
+ if not executable.exists():
+ return fail_all(
+ "missing_executable",
+ "compile.sh completed but did not create ./executable",
+ )
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
+ # the agent's executable during the stash→restore window. Mirrors
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
+ shutil.move(str(executable), STASHED_EXECUTABLE)
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
+ result["log"].append(
+ run_step(
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
+ WORKSPACE,
+ timeout=120,
+ step="install_rerunfailures",
+ accept_failure=True,
+ )
+ )
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
+ handoff_removed = remove_oracle_handoff_artifacts()
+ if handoff_removed:
+ result["log"].append(
+ {
+ "step": "remove_oracle_handoff",
+ "command": "remove oracle handoff artifacts from workspace",
+ "wall_time": 0.0,
+ "output": "".join(
+ f"removed '{name}'\n" for name in handoff_removed
+ ),
+ "returncode": 0,
+ "exception_info": "",
+ }
+ )
+ snapshot_workspace(compiled_snapshot)
+ except Exception as exc:
+ return fail_all(type(exc).__name__, str(exc))
+
+ try:
+ blob_dir = resolve_blob_dir(instance_id, metadata)
+ except Exception as exc:
+ details = f"{type(exc).__name__}: {exc}"
+ for branch, info in active_branch_items:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "blob_resolution_failed",
+ "error_details": details,
+ }
+ ]
+ inject_not_run(
+ result, branch, branch_tests(info), "blob_resolution_failed"
+ )
+ return result
+
+ for branch, info in active_branch_items:
+ tests = branch_tests(info)
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
+ if not blob.exists():
+ result["test_branch_errors"][branch] = [
+ {"error_code": "missing_test_blob", "error_details": blob.name}
+ ]
+ inject_not_run(result, branch, tests, "missing_test_blob")
+ continue
+
+ best_xml = ""
+ # Prefer a complete, clean XML result, then the result covering the
+ # most expected tests, and only then the one with the most passes.
+ # Pass-count-only ranking can retain a partial xdist result over a
+ # complete serial result.
+ best_quality = (-1, -1, -1)
+ serial = bool(metadata.get("force_serial_branches"))
+ branch_log: list[dict[str, Any]] = []
+ branch_ignored = {
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
+ }
+ n_expected = len([name for name in tests if name not in branch_ignored])
+
+ def merge_best_xml(raw_xml: str) -> None:
+ try:
+ parsed, warnings = parse_junit(
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
+ )
+ except Exception as exc:
+ result["test_branch_errors"][branch] = [
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
+ ]
+ inject_not_run(result, branch, tests, "xml_parse_error")
+ else:
+ result["test_results"].extend(parsed)
+ result["warnings"].extend(warnings)
+
+ while True:
+ branch_log.append(cleanup_lingering_processes())
+ restore_workspace(compiled_snapshot)
+ extract_trusted_blob(blob, WORKSPACE)
+ restore_reference_executable()
+ actual_hash = sha256(WORKSPACE / "executable")
+ if actual_hash != result["executable_hash"]:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "executable_hash_mismatch",
+ "error_details": (
+ f"expected {result['executable_hash']}, got {actual_hash}"
+ ),
+ }
+ ]
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
+ break
+ run_sh = WORKSPACE / "eval" / "run.sh"
+ if not run_sh.exists():
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_run_sh",
+ "error_details": "eval/run.sh missing",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_run_sh")
+ break
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
+ # instead of os._exit(1) on timeout. That works in fresh
+ # containers per branch; here we reuse one container and
+ # signal timeouts leave TUI/log-watcher subprocesses alive
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
+ # branch_timeout. Keep the blob's thread method and rely on
+ # cleanup_lingering_processes + serial fallback after crashes.
+ env = branch_env(
+ serial=serial,
+ has_rerunfailures=has_rerunfailures,
+ extras=metadata.get("branch_env"),
+ )
+ branch_log.append(
+ run_step(
+ "rm -f eval/results.xml results.xml",
+ WORKSPACE,
+ timeout=120,
+ step="clean_stale_results",
+ accept_failure=True,
+ )
+ )
+ if serial:
+ prepare_serial_run_sh(run_sh)
+ run_entry = run_step(
+ run_tests_command(serial=serial),
+ WORKSPACE,
+ timeout=branch_timeout,
+ env=env,
+ step="run_tests",
+ accept_failure=True,
+ )
+ branch_log.append(run_entry)
+ branch_log.append(cleanup_lingering_processes())
+ xml_path = find_results_xml()
+ if xml_path is None:
+ if best_xml:
+ merge_best_xml(best_xml)
+ break
+ if serial:
+ result["test_branch_errors"][branch] = [
+ {
+ "error_code": "missing_results_xml",
+ "error_details": "eval/results.xml was not produced",
+ }
+ ]
+ inject_not_run(result, branch, tests, "missing_results_xml")
+ break
+ serial = True
+ continue
+ raw_xml = xml_path.read_text(errors="replace")
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
+ raw_xml,
+ run_output=run_entry.get("output", ""),
+ expected_tests=n_expected,
+ )
+ useful = count_junit_passed(raw_xml)
+ quality = (
+ int(crashes == 0 and missing == 0),
+ n_tests,
+ useful,
+ )
+ if quality > best_quality:
+ best_xml = raw_xml
+ best_quality = quality
+ retry = needs_serial_retry(
+ serial=serial,
+ crashes=crashes,
+ missing=missing,
+ failures=failures,
+ n_tests=n_tests,
+ expected_tests=n_expected,
+ run_output=run_entry.get("output", ""),
+ )
+ if not retry:
+ merge_best_xml(best_xml)
+ break
+ serial = True
+ for entry in branch_log:
+ entry["branch"] = branch
+ result["log"].extend(branch_log)
+
+ return result
+
+
+def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ write_json(LOG_DIR / "programgym_eval.json", result)
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
+ rewards = summarize(result, metadata)
+ write_json(LOG_DIR / "reward.json", rewards)
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
+
+
+def main() -> None:
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
+ log_path = LOG_DIR / "programgym_eval.log"
+ metadata = json.loads(METADATA_PATH.read_text())
+ branches = metadata.get("branches", {})
+ try:
+ result = evaluate(metadata)
+ except Exception as exc:
+ error_code = type(exc).__name__
+ result = {
+ "test_results": [],
+ "error_code": error_code,
+ "error_details": str(exc),
+ "log": [
+ {
+ "step": "evaluator_exception",
+ "exception_info": traceback.format_exc(),
+ "returncode": 1,
+ }
+ ],
+ "solution_branch": "submission",
+ "test_branches": [
+ name for name, info in branches.items() if not info.get("ignored")
+ ],
+ "test_branch_errors": {
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+ }
+ for branch, info in branches.items():
+ if info.get("ignored"):
+ continue
+ inject_not_run(result, branch, branch_tests(info), error_code)
+ log_path.write_text(traceback.format_exc())
+ else:
+ log_path.write_text("")
+ write_outputs(result, metadata)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/lintingzhen--commitizen-go.6d605/tests/programgym_task.json b/lintingzhen--commitizen-go.6d605/tests/programgym_task.json
new file mode 100644
index 0000000000000000000000000000000000000000..ffda8dd68ce9329610a3289c891ac2b77bce8596
--- /dev/null
+++ b/lintingzhen--commitizen-go.6d605/tests/programgym_task.json
@@ -0,0 +1,388 @@
+{
+ "branches": {
+ "generated_module_01": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_help.test_all_longform_valid_on_root",
+ "eval.tests.test_help.test_help_command_help",
+ "eval.tests.test_help.test_help_command_install",
+ "eval.tests.test_help.test_help_command_requires_git_tree",
+ "eval.tests.test_help.test_help_command_root_banner",
+ "eval.tests.test_help.test_help_command_unknown_subject_errors",
+ "eval.tests.test_help.test_help_command_version",
+ "eval.tests.test_help.test_help_flag_output_goes_to_stdout",
+ "eval.tests.test_help.test_help_flag_with_debug_creates_debug_log",
+ "eval.tests.test_help.test_install_help_banner",
+ "eval.tests.test_help.test_install_help_exact_golden",
+ "eval.tests.test_help.test_install_help_has_no_all_flag",
+ "eval.tests.test_help.test_root_help_lists_available_commands",
+ "eval.tests.test_help.test_root_help_lists_flags",
+ "eval.tests.test_help.test_root_help_prints_usage",
+ "eval.tests.test_help.test_root_help_short_exact_golden",
+ "eval.tests.test_help.test_root_help_shows_both_usage_lines",
+ "eval.tests.test_help.test_version_help_banner",
+ "eval.tests.test_help.test_version_help_has_no_all_flag",
+ "eval.tests.test_help.test_version_help_lists_persistent_debug_flag",
+ "eval.tests.test_help.test_version_help_short_flag",
+ "eval.tests.test_init_config.test_broken_config_logs_read_failed_but_command_runs",
+ "eval.tests.test_init_config.test_config_in_repo_logged_and_command_runs",
+ "eval.tests.test_init_config.test_debug_appends_across_runs",
+ "eval.tests.test_init_config.test_debug_creates_debug_log_in_git_tree",
+ "eval.tests.test_init_config.test_debug_fatal_blocks_banner_and_keeps_cwd",
+ "eval.tests.test_init_config.test_debug_fatal_when_debug_log_is_a_directory",
+ "eval.tests.test_init_config.test_debug_flag_global_on_version",
+ "eval.tests.test_init_config.test_debug_flag_with_install",
+ "eval.tests.test_init_config.test_debug_log_is_a_file_not_directory",
+ "eval.tests.test_init_config.test_flag_error_before_config_no_debug_log",
+ "eval.tests.test_init_config.test_install_accepts_extra_args",
+ "eval.tests.test_init_config.test_install_overwrites_existing_target",
+ "eval.tests.test_init_config.test_install_succeeds_in_git_tree",
+ "eval.tests.test_init_config.test_invalid_json_config_still_succeeds",
+ "eval.tests.test_init_config.test_json_extension_config_discovered_and_log_success",
+ "eval.tests.test_init_config.test_missing_config_still_succeeds",
+ "eval.tests.test_init_config.test_no_args_outside_git_tree_exits_one",
+ "eval.tests.test_init_config.test_no_debug_no_debug_log_in_git_tree",
+ "eval.tests.test_init_config.test_subcommand_exits_nonzero_outside_git_tree",
+ "eval.tests.test_init_config.test_subcommand_no_output_outside_git_tree",
+ "eval.tests.test_init_config.test_valid_json_config_succeeds",
+ "eval.tests.test_init_config.test_version_outside_git_tree_stderr_empty",
+ "eval.tests.test_init_config.test_version_succeeds_in_git_tree",
+ "eval.tests.test_rootcmd.test_rootcmd_default_git_print_is_exact_single_line",
+ "eval.tests.test_rootcmd.test_rootcmd_error_goes_to_stdout_not_stderr",
+ "eval.tests.test_rootcmd.test_rootcmd_nonzero_remote_honored_even_with_all_flag",
+ "eval.tests.test_rootcmd.test_rootcmd_prints_git_error_when_repo_check_fails",
+ "eval.tests.test_rootcmd.test_rootcmd_reaches_survey_in_real_git_tree",
+ "eval.tests.test_subcommand_dispatch.test_cobra_error_goes_to_stderr_not_stdout",
+ "eval.tests.test_subcommand_dispatch.test_debug_log_side_effect_is_scoped_to_cwd",
+ "eval.tests.test_subcommand_dispatch.test_dispatch_debug_long_form_prefix",
+ "eval.tests.test_subcommand_dispatch.test_dispatch_version_with_global_flag_prefix",
+ "eval.tests.test_subcommand_dispatch.test_first_positional_token_is_treated_as_command",
+ "eval.tests.test_subcommand_dispatch.test_flag_error_prevents_initConfig_no_debug_log",
+ "eval.tests.test_subcommand_dispatch.test_flag_error_prevents_initConfig_no_git_gate",
+ "eval.tests.test_subcommand_dispatch.test_subcommand_flag_error_prevents_initConfig_no_debug_log",
+ "eval.tests.test_subcommand_dispatch.test_subcommand_name_is_exact",
+ "eval.tests.test_subcommand_dispatch.test_unknown_command_skip_debug_log",
+ "eval.tests.test_subcommand_dispatch.test_unknown_flag_prints_usage_to_stderr",
+ "eval.tests.test_version.test_all_flag_not_valid_on_version",
+ "eval.tests.test_version.test_all_flag_valid_on_root",
+ "eval.tests.test_version.test_all_shorthand_not_valid_on_version",
+ "eval.tests.test_version.test_flag_after_subcommand_unknown",
+ "eval.tests.test_version.test_unknown_command_process_exit_code_is_zero",
+ "eval.tests.test_version.test_unknown_command_usage_hint",
+ "eval.tests.test_version.test_unknown_flag_process_exit_code_is_zero",
+ "eval.tests.test_version.test_unknown_long_flag_errors",
+ "eval.tests.test_version.test_unknown_long_flag_on_subcommand_errors",
+ "eval.tests.test_version.test_unknown_positional_command_errors",
+ "eval.tests.test_version.test_unknown_subcommand_flag_process_exit_code_is_zero",
+ "eval.tests.test_version.test_version_banner_is_single_line",
+ "eval.tests.test_version.test_version_ignores_extra_positional_args",
+ "eval.tests.test_version.test_version_prints_banner",
+ "eval.tests.test_version.test_version_starts_with_expected_prefix",
+ "eval.tests.test_version.test_version_stdout_is_stable",
+ "eval.tests.test_version.test_version_with_debug_still_prints_banner"
+ ]
+ },
+ "generated_module_02": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_form_assembly.test_basic_form_commits_type_and_subject",
+ "eval.tests.test_form_assembly.test_body_and_footer_both_present",
+ "eval.tests.test_form_assembly.test_empty_body_and_footer_omit_blank_lines",
+ "eval.tests.test_form_assembly.test_empty_scope_is_omitted",
+ "eval.tests.test_form_assembly.test_exit_code_zero_on_successful_commit",
+ "eval.tests.test_form_assembly.test_multiline_body_renders_after_blank_line",
+ "eval.tests.test_form_assembly.test_multiline_footer_renders_after_blank_line",
+ "eval.tests.test_form_assembly.test_scope_is_wrapped_in_parens",
+ "eval.tests.test_form_assembly.test_scope_whitespace_trimming[ db \\r-feat(db): hello subject]",
+ "eval.tests.test_form_assembly.test_scope_whitespace_trimming[-feat: hello subject]",
+ "eval.tests.test_form_assembly.test_select_maps_each_option_to_its_name[WIP]",
+ "eval.tests.test_form_assembly.test_select_maps_each_option_to_its_name[chore]",
+ "eval.tests.test_form_assembly.test_select_maps_each_option_to_its_name[docs]",
+ "eval.tests.test_form_assembly.test_select_maps_each_option_to_its_name[feat]",
+ "eval.tests.test_form_assembly.test_select_maps_each_option_to_its_name[fix]",
+ "eval.tests.test_form_assembly.test_select_maps_each_option_to_its_name[perf]",
+ "eval.tests.test_form_assembly.test_select_maps_each_option_to_its_name[refactor]",
+ "eval.tests.test_form_assembly.test_select_maps_each_option_to_its_name[revert]",
+ "eval.tests.test_form_assembly.test_select_maps_each_option_to_its_name[style]",
+ "eval.tests.test_form_assembly.test_select_maps_each_option_to_its_name[test]",
+ "eval.tests.test_form_assembly.test_single_line_body_full_form",
+ "eval.tests.test_form_assembly.test_subject_whitespace_is_trimmed",
+ "eval.tests.test_form_validation_config.test_all_flag_commits_modified_tracked_file",
+ "eval.tests.test_form_validation_config.test_custom_select_options_render_option_names",
+ "eval.tests.test_form_validation_config.test_custom_template_controls_layout",
+ "eval.tests.test_form_validation_config.test_custom_template_whitespace_only_scope",
+ "eval.tests.test_form_validation_config.test_debug_flag_writes_debug_log",
+ "eval.tests.test_form_validation_config.test_help_lists_commands_and_usage",
+ "eval.tests.test_form_validation_config.test_invalid_config_falls_back_to_default_form",
+ "eval.tests.test_form_validation_config.test_invalid_template_yields_empty_commit",
+ "eval.tests.test_form_validation_config.test_non_git_directory_exits_with_error",
+ "eval.tests.test_form_validation_config.test_required_custom_input_field_is_validated",
+ "eval.tests.test_form_validation_config.test_required_subject_reprompts_until_filled",
+ "eval.tests.test_form_validation_config.test_template_execute_error_yields_empty_commit",
+ "eval.tests.test_form_validation_config.test_unmodified_repo_reports_nothing_to_commit",
+ "eval.tests.test_form_validation_config.test_version_subcommand_prints_version"
+ ]
+ },
+ "generated_module_03": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_commit_form_default_config.test_commit_body_and_footer_append_blank_line_sections",
+ "eval.tests.test_commit_form_default_config.test_commit_fix_type_selected_from_menu",
+ "eval.tests.test_commit_form_default_config.test_commit_revert_reached_beyond_paged_window",
+ "eval.tests.test_commit_form_default_config.test_commit_scope_wraps_in_parentheses",
+ "eval.tests.test_commit_form_default_config.test_commit_subject_is_trimmed",
+ "eval.tests.test_commit_form_default_config.test_commit_wip_type_composes",
+ "eval.tests.test_commit_form_default_config.test_commit_with_docs_type_and_scope",
+ "eval.tests.test_commit_form_default_config.test_config_items_override_whole_form",
+ "eval.tests.test_commit_form_default_config.test_config_template_keeps_optional_with_sections",
+ "eval.tests.test_commit_form_default_config.test_config_template_override_replaces_default",
+ "eval.tests.test_commit_form_default_config.test_default_field_prompts_render",
+ "eval.tests.test_commit_form_default_config.test_default_form_completes_to_git_commit",
+ "eval.tests.test_commit_form_default_config.test_default_select_marks_feat_as_current",
+ "eval.tests.test_commit_form_default_config.test_default_select_multiline_descriptions_render",
+ "eval.tests.test_commit_form_default_config.test_default_type_select_lists_baked_options",
+ "eval.tests.test_commit_form_default_config.test_help_lists_subcommands",
+ "eval.tests.test_commit_form_default_config.test_malformed_config_falls_back_to_default",
+ "eval.tests.test_commit_form_default_config.test_runs_outside_git_working_tree_exit_nonzero",
+ "eval.tests.test_commit_form_default_config.test_subject_required_reprompts_until_nonempty",
+ "eval.tests.test_commit_form_default_config.test_unrecognized_flag_errors",
+ "eval.tests.test_commit_form_default_config.test_version_prints_banner_in_git_repo"
+ ]
+ },
+ "generated_module_04": {
+ "ignore_reason": "",
+ "ignored": false,
+ "ignored_tests": [],
+ "tests": [
+ "eval.tests.test_git_commit.test_commit_all_flag_stages_modified_tracked_file",
+ "eval.tests.test_git_commit.test_commit_creates_author_identity",
+ "eval.tests.test_git_commit.test_commit_creates_commit_with_full_message",
+ "eval.tests.test_git_commit.test_commit_error_path_when_nothing_to_commit",
+ "eval.tests.test_git_commit.test_commit_subject_with_special_text_trims_whitespace",
+ "eval.tests.test_git_commit.test_commit_type_selection_via_arrow_keys",
+ "eval.tests.test_git_commit.test_commit_with_empty_scope_body_footer",
+ "eval.tests.test_git_error_branches.test_commit_aborted_when_tempdir_unavailable",
+ "eval.tests.test_git_error_branches.test_commit_succeeds_with_valid_custom_tempdir",
+ "eval.tests.test_git_error_branches.test_install_fails_when_git_exec_path_errors_leave_no_partial_copy",
+ "eval.tests.test_git_error_branches.test_install_fails_when_git_exec_path_subprocess_errors",
+ "eval.tests.test_git_error_branches.test_install_succeeds_from_subdirectory",
+ "eval.tests.test_git_error_branches.test_installed_git_cz_subcommand_runs",
+ "eval.tests.test_git_error_branches.test_root_command_bails_when_git_remote_errors",
+ "eval.tests.test_git_install.test_install_creates_git_cz_copy",
+ "eval.tests.test_git_install.test_install_destination_is_named_git_cz",
+ "eval.tests.test_git_install.test_install_failure_on_missing_exec_dir",
+ "eval.tests.test_git_install.test_install_is_idempotent",
+ "eval.tests.test_git_install.test_install_overwrites_existing_file",
+ "eval.tests.test_git_install.test_install_sets_executable_mode",
+ "eval.tests.test_git_working_tree.test_deep_subdirectory_still_detected",
+ "eval.tests.test_git_working_tree.test_empty_subdir_of_repo_detected",
+ "eval.tests.test_git_working_tree.test_git_repo_with_file_operations_detected",
+ "eval.tests.test_git_working_tree.test_install_gated_outside_git_repo",
+ "eval.tests.test_git_working_tree.test_root_command_gated_outside_git_repo",
+ "eval.tests.test_git_working_tree.test_version_fails_outside_git_repo",
+ "eval.tests.test_git_working_tree.test_version_succeeds_from_subdirectory",
+ "eval.tests.test_git_working_tree.test_version_succeeds_inside_git_repo"
+ ]
+ }
+ },
+ "commit": "6d6050daa8cb97b6ac78a4175fa3a73bf927e5c8",
+ "data_source": "synthetic_programgym",
+ "difficulty": "easy",
+ "difficulty_score": 1.8808135922807914,
+ "eval_clean_hashes": [
+ "690edf3ca2c62639ae1621bc714affc69666d9c799393058fb67613b616cda8c"
+ ],
+ "input_record": {
+ "commit": "6d6050daa8cb97b6ac78a4175fa3a73bf927e5c8",
+ "commits": 35,
+ "contributors": 5,
+ "difficulty": "easy",
+ "difficulty_code_lines": 475,
+ "difficulty_has_tests": false,
+ "difficulty_product_code_lines": 475,
+ "difficulty_runtime_deps": 15,
+ "difficulty_score": 1.8808135922807914,
+ "difficulty_test_code_lines": 0,
+ "full_name": "lintingzhen/commitizen-go",
+ "github_stars": 249,
+ "input_joern_zip": "go_joern/lintingzhen__commitizen-go.zip",
+ "joern_status": true,
+ "joern_time": 14.789679388981313,
+ "language": "go",
+ "pb_match": [
+ {
+ "pb_fullname": "sclevine/yj",
+ "rank": 724,
+ "similarity": 0.482557088136673
+ },
+ {
+ "pb_fullname": "antonmedv/walk",
+ "rank": 602,
+ "similarity": 0.4781838059425354
+ },
+ {
+ "pb_fullname": "peco/peco",
+ "rank": 404,
+ "similarity": 0.49415385723114014
+ },
+ {
+ "pb_fullname": "mikefarah/yq",
+ "rank": 685,
+ "similarity": 0.5187262892723083
+ },
+ {
+ "pb_fullname": "rs/curlie",
+ "rank": 463,
+ "similarity": 0.5041411519050598
+ },
+ {
+ "pb_fullname": "johnkerl/miller",
+ "rank": 425,
+ "similarity": 0.4860745072364807
+ },
+ {
+ "pb_fullname": "direnv/direnv",
+ "rank": 458,
+ "similarity": 0.43054163455963135
+ },
+ {
+ "pb_fullname": "JohannesKaufmann/html-to-markdown",
+ "rank": 200,
+ "similarity": 0.5204883813858032
+ },
+ {
+ "pb_fullname": "mgechev/revive",
+ "rank": 720,
+ "similarity": 0.5191175937652588
+ },
+ {
+ "pb_fullname": "alecthomas/chroma",
+ "rank": 371,
+ "similarity": 0.49903154373168945
+ },
+ {
+ "pb_fullname": "gabotechs/dep-tree",
+ "rank": 284,
+ "similarity": 0.5393472909927368
+ },
+ {
+ "pb_fullname": "jesseduffield/lazygit",
+ "rank": 209,
+ "similarity": 0.5701143741607666
+ },
+ {
+ "pb_fullname": "boyter/scc",
+ "rank": 102,
+ "similarity": 0.5731019973754883
+ },
+ {
+ "pb_fullname": "skeema/skeema",
+ "rank": 908,
+ "similarity": 0.4812501072883606
+ },
+ {
+ "pb_fullname": "naggie/dstask",
+ "rank": 423,
+ "similarity": 0.5010687112808228
+ },
+ {
+ "pb_fullname": "noborus/ov",
+ "rank": 779,
+ "similarity": 0.4931747615337372
+ },
+ {
+ "pb_fullname": "sibprogrammer/xq",
+ "rank": 338,
+ "similarity": 0.5086519718170166
+ },
+ {
+ "pb_fullname": "raviqqe/muffet",
+ "rank": 897,
+ "similarity": 0.45900243520736694
+ },
+ {
+ "pb_fullname": "eliukblau/pixterm",
+ "rank": 410,
+ "similarity": 0.5236330628395081
+ },
+ {
+ "pb_fullname": "TheZoraiz/ascii-image-converter",
+ "rank": 405,
+ "similarity": 0.49784648418426514
+ },
+ {
+ "pb_fullname": "cheat/cheat",
+ "rank": 519,
+ "similarity": 0.5095257759094238
+ },
+ {
+ "pb_fullname": "ariga/atlas",
+ "rank": 200,
+ "similarity": 0.5517624616622925
+ },
+ {
+ "pb_fullname": "tomnomnom/gron",
+ "rank": 486,
+ "similarity": 0.49418264627456665
+ },
+ {
+ "pb_fullname": "junegunn/fzf",
+ "rank": 521,
+ "similarity": 0.47683849930763245
+ },
+ {
+ "pb_fullname": "zk-org/zk",
+ "rank": 139,
+ "similarity": 0.5961763858795166
+ }
+ ],
+ "repo_age": 7.36,
+ "repo_path": "go/lintingzhen__commitizen-go",
+ "source": "commit:6d6050daa8cb97b6ac78a4175fa3a73bf927e5c8",
+ "status": "done",
+ "url": "https://github.com/lintingzhen/commitizen-go"
+ },
+ "instance_id": "lintingzhen__commitizen-go.6d6050d",
+ "language": "go",
+ "module_iterations": [
+ {
+ "actual_iterations": 2,
+ "branch_name": "generated_module_01",
+ "iteration_limit": 5,
+ "module_index": 1,
+ "module_kind": "source",
+ "termination_reason": "module_coverage_threshold_reached"
+ },
+ {
+ "actual_iterations": 2,
+ "branch_name": "generated_module_02",
+ "iteration_limit": 5,
+ "module_index": 2,
+ "module_kind": "source",
+ "termination_reason": "module_coverage_threshold_reached"
+ },
+ {
+ "actual_iterations": 2,
+ "branch_name": "generated_module_03",
+ "iteration_limit": 5,
+ "module_index": 3,
+ "module_kind": "source",
+ "termination_reason": "coverage_path_attribution_failure"
+ },
+ {
+ "actual_iterations": 2,
+ "branch_name": "generated_module_04",
+ "iteration_limit": 5,
+ "module_index": 4,
+ "module_kind": "source",
+ "termination_reason": "module_coverage_threshold_reached"
+ }
+ ],
+ "repository": "lintingzhen/commitizen-go"
+}
diff --git a/lintingzhen--commitizen-go.6d605/tests/test.sh b/lintingzhen--commitizen-go.6d605/tests/test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..93c97cf1219034b84854bf1102d30b4347149dbe
--- /dev/null
+++ b/lintingzhen--commitizen-go.6d605/tests/test.sh
@@ -0,0 +1,82 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
+export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
+
+mkdir -p /logs/verifier /logs/artifacts
+
+write_failure() {
+ local code="$1"
+ local details="$2"
+ python3 - "$code" "$details" <<'PY'
+import json
+import sys
+from pathlib import Path
+
+code, details = sys.argv[1:3]
+try:
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
+ n_tests = sum(
+ len([
+ name for name in info.get("tests", [])
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
+ ])
+ for branch, info in metadata.get("branches", {}).items()
+ if not info.get("ignored")
+ )
+except Exception:
+ n_tests = 0
+result = {
+ "test_results": [],
+ "error_code": code,
+ "error_details": details,
+ "log": [],
+ "solution_branch": "submission",
+ "test_branches": [],
+ "test_branch_errors": {
+ "__infra__": [{"error_code": code, "error_details": details}]
+ },
+ "executable_hash": None,
+ "warnings": [],
+}
+diagnostics = {
+ "pass_rate": 0.0,
+ "resolved": 0,
+ "n_passed": 0,
+ "n_tests": n_tests,
+ "n_branch_errors": 1,
+ "infra_error": 1,
+ "executable_hash_present": 0,
+}
+Path("/logs/verifier/programgym_eval.json").write_text(
+ json.dumps(result, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/harbor_diagnostics.json").write_text(
+ json.dumps(diagnostics, indent=2, sort_keys=True)
+)
+Path("/logs/verifier/reward.json").write_text(
+ json.dumps(
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
+ indent=2,
+ sort_keys=True,
+ )
+)
+Path("/logs/verifier/reward.txt").write_text("0.0")
+Path("/logs/verifier/programgym_eval.log").write_text(details)
+PY
+}
+
+if ! command -v python3 >/dev/null 2>&1; then
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
+ exit 0
+fi
+
+if ! python3 /tests/programgym_evaluator.py; then
+ if [ ! -s /logs/verifier/reward.txt ]; then
+ write_failure "evaluator_crashed" \
+ "programgym_evaluator.py exited non-zero with no reward written"
+ fi
+fi
+
+exit 0
diff --git a/lintingzhen--commitizen-go.6d605/tests/workspace.tar.gz b/lintingzhen--commitizen-go.6d605/tests/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..ad385642147f2cceff094112241dbc60dc787bfb
--- /dev/null
+++ b/lintingzhen--commitizen-go.6d605/tests/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e901a4efdbf1aa1a3f205311e23bfd46ec4c36da43924aaa5710aac7bd0bcaa6
+size 1636
diff --git a/linuxdeploy--linuxdeploy.a9f929f/environment/Dockerfile b/linuxdeploy--linuxdeploy.a9f929f/environment/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..ea5dabd15b163b4b12b41d1994ffda06041df226
--- /dev/null
+++ b/linuxdeploy--linuxdeploy.a9f929f/environment/Dockerfile
@@ -0,0 +1,66 @@
+FROM ubuntu:22.04
+ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
+ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
+ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
+ARG PROGRAMGYM_NPM_STRICT_SSL="true"
+ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
+ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
+ARG PROGRAMGYM_UV_INSECURE_HOST=""
+ENV GOPROXY=${PROGRAMGYM_GOPROXY}
+ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
+ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
+ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
+ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
+ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
+ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
+COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
+RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
+ && /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
+ && rm -f /tmp/harbor_configure_apt_mirror.sh
+ENV DEBIAN_FRONTEND=noninteractive
+ENV RUSTUP_DIST_SERVER="https://static.rust-lang.org"
+ENV RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
+ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
+ENV CARGO_REGISTRIES_CRATES_IO_INDEX="sparse+https://index.crates.io/"
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+ENV GOSUMDB=sum.golang.google.cn
+ENV GOTOOLCHAIN=auto
+ENV UV_CACHE_DIR=/workspace/.cache/uv
+ENV npm_config_cache=/workspace/.cache/npm
+ENV HOME=/workspace
+ENV XDG_CACHE_HOME=/workspace/.cache
+ENV PIP_CACHE_DIR=/workspace/.cache/pip
+ENV PYTHONUSERBASE=/workspace/.local
+ENV PAGER=cat
+ENV MANPAGER=cat
+ENV LESS=-R
+ENV TQDM_DISABLE=1
+RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip autoconf automake gettext file binutils g++ libtool libncurses-dev meson ninja-build unzip wget curl xz-utils bzip2 zip zstd patch python3-pytest python3-pytest-xdist python3-coverage tar && rm -rf /var/lib/apt/lists/*
+ARG CMAKE_VERSION=3.31.12
+RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) CMAKE_ARCH="x86_64" ;; arm64) CMAKE_ARCH="aarch64" ;; *) echo "unsupported architecture for CMake: ${ARCH}" >&2; exit 1 ;; esac; curl -fsSL -o /tmp/cmake.tar.gz "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-${CMAKE_ARCH}.tar.gz"; rm -rf /opt/cmake; mkdir -p /opt/cmake; tar -xzf /tmp/cmake.tar.gz --strip-components=1 -C /opt/cmake; ln -sf /opt/cmake/bin/cmake /usr/local/bin/cmake; ln -sf /opt/cmake/bin/ctest /usr/local/bin/ctest; ln -sf /opt/cmake/bin/cpack /usr/local/bin/cpack; rm -f /tmp/cmake.tar.gz; cmake --version
+ARG GCC_VERSION=13.3.0
+RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) GCC_ARCH="x64" ;; arm64) GCC_ARCH="arm64" ;; *) echo "unsupported architecture for GCC 13: ${ARCH}" >&2; exit 1 ;; esac; wget -O /tmp/gcc.tar.gz "https://github.com/xpack-dev-tools/gcc-xpack/releases/download/v13.3.0-2/xpack-gcc-13.3.0-2-linux-${GCC_ARCH}.tar.gz"; rm -rf /opt/gcc-13; mkdir -p /opt/gcc-13; tar -xzf /tmp/gcc.tar.gz --strip-components=1 -C /opt/gcc-13; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/c++; ln -sf /opt/gcc-13/bin/gcc /usr/local/bin/gcc-13; ln -sf /opt/gcc-13/bin/g++ /usr/local/bin/g++-13; for PROGRAMGYM_GCOV_TOOL in gcov gcov-dump gcov-tool; do if [ -x "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" ]; then ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/local/bin/${PROGRAMGYM_GCOV_TOOL}-13"; ln -sf "/opt/gcc-13/bin/${PROGRAMGYM_GCOV_TOOL}" "/usr/bin/${PROGRAMGYM_GCOV_TOOL}"; fi; done; ln -sf /opt/gcc-13/bin/gcc /usr/bin/gcc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/g++; ln -sf /opt/gcc-13/bin/gcc /usr/bin/cc; ln -sf /opt/gcc-13/bin/g++ /usr/bin/c++; rm -f /tmp/gcc.tar.gz; gcc --version; g++ --version; gcov --version; command -v gcov-dump >/dev/null && gcov-dump --version | head -n 1 || true
+WORKDIR /workspace
+ADD workspace.tar.gz /workspace/
+COPY executable /workspace/executable
+COPY download.sh /workspace/download.sh
+RUN chmod 755 /workspace/download.sh
+COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
+RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
+ && rm -f /workspace/download.sh \
+ && rm -f /tmp/harbor_prepare_download_env.sh
+ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
+RUN chmod 111 /workspace/executable
+WORKDIR /workspace
+# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
+# Keep tool/runtime state under /home/agent and reserve /workspace for the
+# submission handed to the separate verifier. Keep the reference executable
+# execute-only; the oracle temporarily restores owner read permission.
+RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
+RUN mkdir -p /home/agent \
+ && chown -R agent:agent /home/agent /workspace \
+ && chown agent:agent /workspace/executable \
+ && chmod 111 /workspace/executable
+ENV HOME=/home/agent
+WORKDIR /workspace
diff --git a/linuxdeploy--linuxdeploy.a9f929f/environment/docker-compose.yaml b/linuxdeploy--linuxdeploy.a9f929f/environment/docker-compose.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..f3bd71ea40d31cf72c3c886f85cbca1450add2cc
--- /dev/null
+++ b/linuxdeploy--linuxdeploy.a9f929f/environment/docker-compose.yaml
@@ -0,0 +1,11 @@
+services:
+ main:
+ build:
+ args:
+ PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
+ PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
+ PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
+ PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
+ PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
+ PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
+ PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
diff --git a/linuxdeploy--linuxdeploy.a9f929f/environment/download.sh b/linuxdeploy--linuxdeploy.a9f929f/environment/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..9504801fbe9fc53b72db15b6bfd150650fca8cd3
--- /dev/null
+++ b/linuxdeploy--linuxdeploy.a9f929f/environment/download.sh
@@ -0,0 +1,112 @@
+#!/usr/bin/env bash
+#
+# download.sh — ProgramGym download/prefetch stage for linuxdeploy.
+#
+# This script is SOURCED (e.g. `source /source_ro/download.sh`), never executed
+# as a subprocess. It must NOT `exit` in normal control flow, must not use
+# positional arguments, and must not read any repository file. It only installs
+# / prefetches dependencies and exports environment variables that build.sh
+# relies on. It performs no compile, link, or test step.
+#
+# Everything produced here is cached under $HOME/.cache/pb-linuxdeploy so that
+# the subsequent offline build stage can reuse it via the exported variables.
+
+# Resolve a stable shared cache directory (HOME is the same in both stages).
+export PROGRAMGYM_DEP_CACHE="${PROGRAMGYM_DEP_CACHE:-$HOME/.cache/pb-linuxdeploy}"
+mkdir -p "${PROGRAMGYM_DEP_CACHE}"
+
+# Pipeline stages must see a failure, but we cannot `exit` inside a sourced
+# script, so a failing step returns nonzero and aborts the source.
+_fail() {
+ echo "download.sh: ERROR: $*" >&2
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
+ return 1
+ else
+ exit 1
+ fi
+}
+
+# ---- 1. System packages needed to build and run linuxdeploy -----------------
+# patchelf is REQUIRED by the top-level build definition (find_program).
+# libpng-dev / libjpeg-dev are required by the FindCImg module for image
+# support (it runs pkg_check_modules for libpng and libjpeg).
+export DEBIAN_FRONTEND=noninteractive
+echo "[download] updating apt index"
+if ! apt-get update; then
+ _fail "apt-get update failed"
+ return 1
+fi
+
+echo "[download] installing build packages (patchelf libpng-dev libjpeg-dev)"
+if ! apt-get install -y patchelf libpng-dev libjpeg-dev; then
+ _fail "apt-get install of build packages failed"
+ return 1
+fi
+
+# ---- 2. CImg header-only library -------------------------------------------
+# If CImg is not present system-wide, the core build would try to fetch it over
+# the network during the offline build. We instead prefetch the exact pinned
+# header (tag v.2.9.9) so the CImg lookup resolves offline.
+CIMG_DIR="${PROGRAMGYM_DEP_CACHE}/cimg/include"
+mkdir -p "${CIMG_DIR}"
+if [ ! -f "${CIMG_DIR}/CImg.h" ]; then
+ echo "[download] fetching CImg.h (v.2.9.9)"
+ if ! curl -fsSL -o "${CIMG_DIR}/CImg.h" "https://raw.githubusercontent.com/dtschump/CImg/v.2.9.9/CImg.h"; then
+ _fail "failed to download CImg.h"
+ return 1
+ fi
+ if [ ! -s "${CIMG_DIR}/CImg.h" ]; then
+ _fail "downloaded CImg.h is empty"
+ return 1
+ fi
+fi
+export CIMG_DIR
+
+# ---- 3. Submodule source tarballs ------------------------------------------
+# lib/args and lib/linuxdeploy-desktopfile are git submodules that are not
+# checked out in the repository snapshot, so they must be prefetched here and
+# restored into the source tree by build.sh.
+SUB_ARCHIVE_DIR="${PROGRAMGYM_DEP_CACHE}/submodules"
+mkdir -p "${SUB_ARCHIVE_DIR}"
+
+if [ ! -s "${SUB_ARCHIVE_DIR}/args.tar.gz" ]; then
+ echo "[download] fetching args tarball"
+ if ! curl -fsSL -o "${SUB_ARCHIVE_DIR}/args.tar.gz" \
+ "https://github.com/Taywee/args/archive/3de44ec671db452cc0c4ef86399b108939768abb.tar.gz"; then
+ _fail "failed to download args tarball"
+ return 1
+ fi
+fi
+
+if [ ! -s "${SUB_ARCHIVE_DIR}/desktopfile.tar.gz" ]; then
+ echo "[download] fetching linuxdeploy-desktopfile tarball"
+ if ! curl -fsSL -o "${SUB_ARCHIVE_DIR}/desktopfile.tar.gz" \
+ "https://github.com/linuxdeploy/linuxdeploy-desktopfile/archive/bea49b10f7ce1992b096209447e5d4afd7ee51c5.tar.gz"; then
+ _fail "failed to download linuxdeploy-desktopfile tarball"
+ return 1
+ fi
+fi
+
+# ---- 4. Excludelist data ----------------------------------------------------
+# src/core/generate-excludelist.sh normally downloads this file from GitHub at
+# configure time. build.sh swaps in an offline generator that reads this cached
+# raw list, so we prefetch the raw list here.
+EXCLUDELIST_RAW="${PROGRAMGYM_DEP_CACHE}/excludelist.raw"
+if [ ! -s "${EXCLUDELIST_RAW}" ]; then
+ echo "[download] fetching excludelist"
+ if ! curl -fsSL -o "${EXCLUDELIST_RAW}" \
+ "https://raw.githubusercontent.com/probonopd/AppImages/master/excludelist"; then
+ _fail "failed to download excludelist"
+ return 1
+ fi
+fi
+if [ ! -s "${EXCLUDELIST_RAW}" ]; then
+ _fail "downloaded excludelist is empty"
+ return 1
+fi
+
+# ---- 5. Export variables for the offline build stage ------------------------
+export SUB_ARCHIVE_DIR
+export EXCLUDELIST_RAW
+
+echo "[download] dependency cache ready at ${PROGRAMGYM_DEP_CACHE}"
diff --git a/linuxdeploy--linuxdeploy.a9f929f/environment/executable b/linuxdeploy--linuxdeploy.a9f929f/environment/executable
new file mode 100644
index 0000000000000000000000000000000000000000..791bb1e28fa71e7d28f677ab4bc9f25949584505
--- /dev/null
+++ b/linuxdeploy--linuxdeploy.a9f929f/environment/executable
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a4fd13e7c0fab66ad8761cbf11812f07ed7a40a7d19444dfdc06fa8757cc059a
+size 4022264
diff --git a/linuxdeploy--linuxdeploy.a9f929f/environment/harbor_configure_apt_mirror.sh b/linuxdeploy--linuxdeploy.a9f929f/environment/harbor_configure_apt_mirror.sh
new file mode 100644
index 0000000000000000000000000000000000000000..c70a651096880dece7733b26837f2ca8e24d2c7f
--- /dev/null
+++ b/linuxdeploy--linuxdeploy.a9f929f/environment/harbor_configure_apt_mirror.sh
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+repository_base="${1%/}"
+if [[ -z "$repository_base" ]]; then
+ exit 0
+fi
+
+. /etc/os-release
+codename="${VERSION_CODENAME:-}"
+if [[ -z "$codename" ]]; then
+ echo "VERSION_CODENAME is not set" >&2
+ exit 1
+fi
+
+if [[ "$ID" == "ubuntu" ]]; then
+ repository_name="apt-proxy"
+ components="main universe restricted multiverse"
+else
+ repository_name="debian-proxy"
+ components="main contrib non-free non-free-firmware"
+fi
+
+install -d /etc/apt/sources.list.d
+rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
+printf 'deb [trusted=yes] %s/%s %s %s\n' \
+ "$repository_base" "$repository_name" "$codename" "$components" \
+ >/etc/apt/sources.list
+printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
+ "$repository_base" "$repository_name" "$codename" "$components" \
+ >>/etc/apt/sources.list
+
+if [[ "$ID" != "ubuntu" ]]; then
+ printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
+ "$repository_base" "debian-proxy-security" "$codename" "$components" \
+ >>/etc/apt/sources.list
+fi
diff --git a/linuxdeploy--linuxdeploy.a9f929f/environment/harbor_prepare_download_env.sh b/linuxdeploy--linuxdeploy.a9f929f/environment/harbor_prepare_download_env.sh
new file mode 100644
index 0000000000000000000000000000000000000000..2c7dd2f2b8fff5fb8926261279d38518e59e407c
--- /dev/null
+++ b/linuxdeploy--linuxdeploy.a9f929f/environment/harbor_prepare_download_env.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+set -euo pipefail
+cd /workspace
+set -a
+source /workspace/download.sh
+set +a
+python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
+import os
+import shlex
+
+ignored = {
+ "ALL_PROXY",
+ "HTTP_PROXY",
+ "HTTPS_PROXY",
+ "NO_PROXY",
+ "OLDPWD",
+ "PIP_PROXY",
+ "PWD",
+ "SHLVL",
+ "_",
+ "all_proxy",
+ "http_proxy",
+ "https_proxy",
+ "no_proxy",
+ "pip_proxy",
+}
+for key in sorted(os.environ):
+ if key in ignored or key.startswith("BASH_FUNC_"):
+ continue
+ value = os.environ[key]
+ if "\n" in value:
+ continue
+ print(f"export {key}={shlex.quote(value)}")
+PY
diff --git a/linuxdeploy--linuxdeploy.a9f929f/environment/workspace.tar.gz b/linuxdeploy--linuxdeploy.a9f929f/environment/workspace.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0501fa61c5b5870bad0e380666856258b40ddf77
--- /dev/null
+++ b/linuxdeploy--linuxdeploy.a9f929f/environment/workspace.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f7fdab3462d6b33cc9f3de9528cc6a1af1d4b2026cea52ee61df54052806d712
+size 4822
diff --git a/linuxdeploy--linuxdeploy.a9f929f/instruction.md b/linuxdeploy--linuxdeploy.a9f929f/instruction.md
new file mode 100644
index 0000000000000000000000000000000000000000..28d5b15c340df3494d7000811f8fe84ed15e19f2
--- /dev/null
+++ b/linuxdeploy--linuxdeploy.a9f929f/instruction.md
@@ -0,0 +1,98 @@
+You are a helpful assistant that can interact with a computer.
+
+This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
+Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
+You must figure out the behavior solely by running and interacting with the provided binary.
+Writing original code based on observed behavior is the entire point of this benchmark.
+
+Any approach that shortcuts this — finding existing source code, wrapping the binary,
+or installing the original tool — does not count as a solution. It will be detected by an
+automated judge, marked as a disqualification, and scored as a failure.
+The trace will be posted to an online wall of shame.
+
+
+## What is not allowed
+
+### 1. Obtaining source code
+
+The only source of truth about what the executable does is the executable itself and its
+bundled documentation. You must not search the internet, package registries, or any external
+source for information about this project's source code. Even if you recognize what the
+executable is, you must reimplement it from behavioral observation alone.
+
+This includes but is not limited to:
+- Cloning or browsing the original GitHub repository, its forks, or mirrors
+- Downloading the project from package registries: `cargo install `, `go get github.com//`, `pip install `, `apt-get source