EvoTrace and EvoReplay methodology for diagnosing what evolutionary coding agents actually evolve. LLM-as-judge edit annotation, replay-based search state reconstruction, and controlled intervention analysis for agentic evolutionary search beyond final benchmark scores. Activation: evolutionary coding agent, LLM code evolution, EvoTrace, agentic search analysis, code generation mechanism.
Scanned 9/11/2026
Install to Claude Code
npx -y skills add hiyenwong/ai_collection --skill evotrace-evolutionary-coding-analysis --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Evotrace Evolutionary Coding Analysis?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/hiyenwong-evotrace-evolutionary-coding-analysis-e2ed3bbc)More formats (shields.io, HTML) on the badges page.
---
name: evotrace-evolutionary-coding-analysis
description: "EvoTrace and EvoReplay methodology for diagnosing what evolutionary coding agents actually evolve. LLM-as-judge edit annotation, replay-based search state reconstruction, and controlled intervention analysis for agentic evolutionary search beyond final benchmark scores. Activation: evolutionary coding agent, LLM code evolution, EvoTrace, agentic search analysis, code generation mechanism."
---
# EvoTrace: Evolutionary Coding Agent Trace Analysis
> A diagnostic framework for analyzing evolutionary coding agents that pairs LLMs with evolutionary search, revealing what mechanisms actually drive benchmark improvements beyond final scores.
## Metadata
- **Source**: arXiv:2605.20086
- **Authors**: Nico Pelleriti, Sree Harsha Nelaturu, Zhanke Zhou, Zongze Li, Max Zimmer, Bo Han, Sebastian Pokutta
- **Published**: 2026-05-19
- **Subjects**: Neural and Evolutionary Computing (cs.NE); Artificial Intelligence (cs.AI); Machine Learning (cs.LG)
## Core Methodology
### Key Innovation
Evolutionary coding agents (LLMs + evolutionary search) produce strong benchmark results, but **progress is typically summarized only by final scores**, masking the underlying mechanisms. This work introduces:
1. **EvoTrace** — a dataset of evolutionary coding traces spanning 4 frameworks, reasoning and non-reasoning models, and 16 tasks
2. **EvoReplay** — a replay-based methodology that reconstructs local search states behind high-scoring solutions
3. **LLM-as-judge edit annotation** — 9 recurring edit types, validated against blind human re-annotation
4. **Controlled intervention analysis** — adjusting constants, removing components, substituting models/contexts
### Key Findings
1. **Score gains concentrate** — most improvements come from a small subset of edit types
2. **Deterministic cycling pattern** — ~30% of code lines added during search are byte-identical re-introductions of previously-deleted lines, present in nearly every run
3. **Mechanism diversity** — benchmark gains arise from qualitatively different mechanisms (new algorithmic structure, retuning, recombination, overfitting), only some corresponding to genuine algorithmic innovation
### Technical Framework
#### EvoTrace Dataset
- **Coverage**: 4 evolutionary frameworks × (reasoning + non-reasoning models) × 16 tasks (math + algorithm design)
- **Granularity**: Every code edit tracked and annotated
- **Edit taxonomy**: 9 recurring edit types identified via LLM-as-judge pipeline
- **Validation**: Blind human re-annotation confirms LLM annotation accuracy
#### EvoReplay Methodology
1. **Reconstruct search states** — trace back from high-scoring solutions to understand the search trajectory
2. **Controlled interventions** — systematically perturb the search process:
- **Constant adjustment** — modify numerical parameters
- **Component removal** — delete program parts to test necessity
- **Model substitution** — swap the LLM backbone
- **Context substitution** — change prompting conditions
3. **Mechanism attribution** — classify whether improvements are algorithmic innovation, retuning, recombination, or overfitting
#### Edit Type Taxonomy (9 types)
The LLM-as-judge pipeline categorizes every edit into one of 9 types, including:
- Structural modifications (adding/removing functions, control flow changes)
- Parameter tuning (constant adjustments)
- Recombination (merging previously explored ideas)
- Cycling (re-introducing previously deleted code)
- And others...
## Implementation Guide
### Prerequisites
- Access to LLM APIs for edit annotation
- Evolutionary coding agent implementations to trace
- Version control or state logging for replay
### Step-by-Step
1. **Instrument evolutionary search** — log every code edit, model query, and score evaluation
2. **Apply LLM-as-judge annotation** — classify each edit into the 9-type taxonomy
3. **Validate annotations** — cross-check with human annotators on a subset
4. **Run EvoReplay** — reconstruct search trajectories from final solutions
5. **Apply controlled interventions** — perturb the search process to attribute mechanisms
6. **Analyze cycling patterns** — detect byte-identical re-introductions of deleted code
7. **Report beyond scores** — present mechanism distributions alongside benchmark results
### Code Example (Conceptual)
```python
# EvoReplay: Reconstruct search states
def evo_replay(trace, target_solution):
"""Reconstruct the search trajectory leading to a high-scoring solution."""
states = []
for step in trace:
state = {
'code': step['code'],
'edits': step['edits'],
'score': step['score'],
'model_query': step['prompt'],
'edit_type': classify_edit(step['edits']), # LLM-as-judge
}
states.append(state)
# Analyze cycling: find re-introduced lines
deleted_lines = set()
cycled_lines = 0
for state in states:
for edit in state['edits']:
if edit['type'] == 'deletion':
deleted_lines.update(edit['lines'])
elif edit['type'] == 'addition' and edit['lines'] in deleted_lines:
cycled_lines += len(edit['lines'])
cycling_rate = cycled_lines / sum(len(s['edits']) for s in states)
return states, cycling_rate
```
## Applications
- **Evolutionary coding agent evaluation** — beyond final scores to mechanism-level understanding
- **LLM-based code generation research** — understanding how LLMs explore code space
- **Agentic AI safety** — detecting whether improvements are genuine or overfitting
- **Algorithm design automation** — optimizing the evolutionary process itself
## Pitfalls
- **LLM-as-judge reliability** — annotation quality depends on LLM capability; validate with human annotators
- **Trace completeness** — missing intermediate states breaks replay analysis
- **Cycling detection** — byte-identical comparison may miss semantically equivalent but syntactically different re-introductions
- **Task coverage** — 16 tasks may not generalize to all domains of algorithm design
## Related Skills
- autopoiesis-self-evolving-systems
- darwin-family-evolutionary-merging
- espl-evolutionary-system-prompt
- agent-first-bootstrap
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!