Skip to content

docs: SWE-Bench example + fix 5 Copilot review issues - #11

Merged
Protocol-zero-0 merged 2 commits into
mainfrom
docs/readme-final
May 10, 2026
Merged

docs: SWE-Bench example + fix 5 Copilot review issues#11
Protocol-zero-0 merged 2 commits into
mainfrom
docs/readme-final

Conversation

@Protocol-zero-0

Copy link
Copy Markdown
Owner

Changes

SWE-Bench example (replaces game AI):

  • $34, one overnight run, frozen Qwen3-Coder-7B: 32.4% → 76.4% on SWE-Bench Verified
  • 5-generation progression showing reasoned hypothesis generation from ledger history

5 Copilot review fixes:

  • Halted JSON: now matches actual CLI output ({"halted": true, "reason": "max_consecutive_failures reached (4)"})
  • .evolution_state.json: relabeled as "hard-stop state" (not just "budget counters")
  • Ledger file list: added planner_input.json, executor_input.json/output, evaluator_input.json
  • --reset comment: "Reset all hard-stop state" (iterations + failures + budget)
  • Config reference mission: aligned with SWE-Bench scenario, dropped game-AI mission

Both README.md and README.zh.md updated.

🤖 Generated with Claude Code

Protocol-zero-0 and others added 2 commits May 10, 2026 21:48
$34, one overnight run, frozen 7B model goes from 32.4% to 76.4% on
SWE-Bench Verified — matching Mistral Medium 3.5 and Qwen3.6-27B.

Shows 5 generations of reasoned hypothesis: voting → ACI editor →
ast-grep dep scan → diagnose-then-retry → TDD mode. Gen 09 is the
tell: LLM reads the ledger, diagnoses multi-file dep failures, reaches
for ast-grep unprompted. Chinese README updated to match.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Halted JSON: match actual CLI output format and reason string
  ("max_consecutive_failures reached (4)", not bare key + stats)
- .evolution_state.json: label as "hard-stop state" not "budget counters"
  (also tracks iterations and consecutive_failures)
- Ledger file list: add planner_input.json, executor_input.json/output,
  evaluator_input.json; clarify halted/ contains full run stats
- --reset CLI comment: "Reset all hard-stop state" not "budget counters"
- Config reference mission: align with SWE-Bench example, drop game-AI mission

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 10, 2026 21:48
@Protocol-zero-0
Protocol-zero-0 merged commit 1f29bd7 into main May 10, 2026
4 checks passed
@Protocol-zero-0
Protocol-zero-0 deleted the docs/readme-final branch May 10, 2026 21:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the project documentation to replace the previous “game AI” walkthrough with a SWE-Bench–style agent-harness example, and to align several README details with the repository’s actual hard-stop/ledger behavior and artifacts.

Changes:

  • Replaced the README “See it in action” narrative with a SWE-Bench Verified / agent-harness progression example (English + Chinese).
  • Expanded ledger artifact listings (planner/executor/evaluator inputs/outputs) and refined hard-stop state/reset descriptions.
  • Updated example config snippets to include history.max_entries and to align the “mission”/scope with agent-harness work.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.

File Description
README.md Updates quick start + example narrative to SWE-Bench/agent-harness framing; refines ledger/hard-stop documentation.
README.zh.md Same documentation updates as README.md, localized for Chinese readers.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
commit f8e2a11 "harness: TDD mode (69→76%)"

[gen 21] STOP — 4 generations with no significant improvement

Comment thread README.md
mission: "Improve Qwen3-Coder-7B's SWE-Bench Verified pass rate from 32% toward 80%+ by evolving the agent harness — zero weight changes"

evidence_sources:
- type: shell
Comment thread README.md
```
ledger/
.evolution_state.json ← budget counters; survives restarts
.evolution_state.json ← hard-stop state: iterations, failures, usd, tokens; survives restarts
Comment thread README.md
0002/ ...
halted/
20260501T120000Z.json ← written when any hard stop fires
20260501T120000Z.json ← full run stats (iterations, usd, tokens) written when any hard stop fires
Comment thread README.zh.md

[gen 21] STOP — 连续 4 代无显著改进

{"halted": true, "reason": "max_consecutive_failures reached (4)"}
Comment thread README.zh.md
evidence_sources:
- type: shell
command: "python3 scripts/tournament.py --games 20 --json"
command: "python3 scripts/run_swebench.py --model qwen3-coder-7b --sample 50 --json"
Comment thread README.zh.md
```
ledger/
.evolution_state.json ← 预算计数器,进程重启后依然有效
.evolution_state.json ← hard-stop 完整状态:迭代数、连续失败数、usd、tokens;进程重启后不丢失
Comment thread README.zh.md
0002/ ...
halted/
20260501T120000Z.json ← 任何 hard stop 触发时写入
20260501T120000Z.json ← 任何 hard stop 触发时写入完整运行统计(迭代数、usd、tokens)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants