TransHarness
hustvl
38 stars
View hustvl/TransHarness on GitHubResearch code and evolved intervention policies for transferring coding-agent harness improvements across benchmarks.
What is hustvl/TransHarness?
TransHarness is the official MIT-licensed codebase and policy release for the paper studying how to evolve coding-agent harnesses without overfitting to source benchmarks. It learns when and how an agent harness should intervene by contrasting successful and failed execution trajectories on identical source tasks.
Candidate policies pair an event-and-history trigger with task-grounded guidance, then pass through cross-task replay and an independent semantic review to filter out source-specific solutions before freezing the policy bundle for downstream evaluation. The repository releases nine evolved policy configurations covering Mini-SWE, Terminus 2, DeepSeek Harness, Qwen Code, and ZCode across DeepSeek, Qwen, and GLM models, reporting scores of 76.4 percent on DeepSWE v1.1 and 95.5 percent on Terminal-Bench 2.1.
The quickstart targets Linux with Python 3.12 or later, Git, Docker, a DeepSeek API key, and the evolution dataset fetched from Hugging Face.
Before you startThe README says
- Runs on
- Linux
- Needs
- Python 3.12+, Git, Docker, and evolution dataset from Hugging Face
- Accounts or paid services
- DeepSeek API key (or compatible model API key), charged by provider
- How you get it
- Clone GitHub repository and install editable Python package with pip
Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.