# Group Evolution Code and run records for the paper on group evolution (under review). ## Contents | Path | What it is | |---|---| | `open_problem/harness/` | The group-evolution harness as run on the open problem in the paper (adversarial bandits with polylogarithmic memory, posed in arXiv:2601.03533): configuration, orchestrator, gate, agent tools, prompts and the materials the agents read. `harness/README.md` is its manual. | | `open_problem/base_image/` | Dockerfile of the Lean image the harness uses (Lean v4.36.0-rc2, LML at `0dc41a5`, Mathlib). | | `open_problem/run_r1/` | Records of the run reported in the paper: events, state, every pull request with its revisions, gate reports and evidence files, the published review threads, and the library. | | `open_problem/posthoc_eval/` | The post-hoc audit of the result: inputs, reports and Lean checks. | | `tcsexam_lite//` | The harness configured for each of the 20 TCSExam-Lite tasks, ready to launch, with the task's submission (`submission/`) and its score (`result.json`). | | `txn_scheduling/result/` | The final program of the transaction-scheduling run (ADRS task, CORAL version) and its final judging. | | `txn_scheduling/evaluation/` | The evaluator, the machine it ran on, a script that re-judges the final program, and same-condition reruns of public programs. | | `txn_scheduling/harness/` | The harness as run on the transaction-scheduling task. `harness/README.md` lists what is specific to the task. | | `txn_scheduling/run_r1/` | Records of the run: events, state, logs, every pull request and review thread, the library's history, and every agent's session transcripts and workspace. | | `tools/benchmark_freeze.py` | Checks that the TCSExam checkout is unmodified (`tools/benchmarks.lock.json`). | | `setup/env.sh.template` | The environment the scripts expect in `.envs/env.sh`. | | `configure.py` | Writes the absolute path of this repository into the setup files, where they say `__GE_ROOT__`. | Not included: - the agents' session transcripts and workspaces of the open-problem run (several GB; those of the transaction-scheduling run are included); - the source paper of the open problem (see `open_problem/README.md` for how to add it); - TCSExam-Lite task data and run records: the task data are prepared locally with the benchmark's own tooling; the full run records (every agent pull request and review) are available from the authors on request; - the public programs we reran on transaction scheduling (their repository has no license); `txn_scheduling/evaluation/baselines/fetch.sh` downloads them at the commit we used; - credentials: each configuration has one placeholder account. ## Setup Requirements: Linux x86-64; Docker, with your user in the `docker` group; Python 3.12; Claude Code 2.1.304; a Claude account that can create a `claude setup-token` token. ```bash cd group-evolution python3 configure.py # fills in __GE_ROOT__ in the setup files mkdir -p .envs/secrets .envs/claude .envs/bin cp setup/env.sh.template .envs/env.sh # all tool state stays under .envs/ # Python 3.12 at .envs/bin/python3.12, e.g.: source .envs/env.sh && uv python install 3.12 # Claude Code 2.1.304 at .envs/claude/2.1.304 (the binary itself, or a symlink to it) # The account token, saved without echoing it (paste the output of `claude setup-token`): bash open_problem/harness/scripts/py.sh save_token.py default ``` Then follow `open_problem/README.md` or `tcsexam_lite/README.md`. ## License The code and documents of this repository are under the Apache License 2.0 (`LICENSE`). Third-party code and text keep their own licenses; see `THIRD_PARTY_NOTICES.md`.