NEWS · CODING · #1263
CodeScene agents refactor 300K-line Street Fighter III codebase in three weeks
CodeScene published a case study in which coding agents refactored a 300,000-line C codebase (a decompiled Street Fighter III: 3rd Strike) over three weeks for roughly $4,000 in token costs, producing 2,903 commits across 726 files, modifying 252,055 lines and raising a Code Health score from 5.6 to 10.0. The project used a deterministic CodeHealth MCP Server score and a replay-trace harness to check behavioral correctness, favored Claude Opus (Claude Code) over Codex (Sol), produced a 22-recipe refactoring playbook, and prompted practitioner debate about scope, generalizability and real-world safety/performance implications.
KEY POINTS
- CodeScene published a case study in which coding agents refactored a 300,000-line C codebase (a decompiled Street Fighter III: 3rd Strike) over three weeks for roughly $4,000 in token costs, producing 2,903 commits across 726 files, modifying 252,055 lines and raising a Code Health score from 5.6 to 10.0.
- The project used a deterministic CodeHealth MCP Server score and a replay-trace harness to check behavioral correctness, favored Claude Opus (Claude Code) over Codex (Sol), produced a 22-recipe refactoring playbook, and prompted practitioner debate about scope, generalizability and real-world safety/performance implications.
- It demonstrates that current agent-driven toolchains can execute large, measurable refactors with deterministic behavioral checks, but leaves open whether the approach generalizes to non-deterministic, production systems and long-term maintenance risks.
WHY IT MATTERS
It demonstrates that current agent-driven toolchains can execute large, measurable refactors with deterministic behavioral checks, but leaves open whether the approach generalizes to non-deterministic, production systems and long-term maintenance risks.