Benchmark run task-07-generate-template-main
This page contains exactly the publishable benchmark observations recorded in run task-07-generate-template-main; it does not select or aggregate them. Return to the run index or view aggregate metrics.
Interactive browser
Rows are pre-aggregated by task, target, prompt variant, MCP-instruction mode, context, arm, and restriction. Numeric values show median (p50), IQR, p90, maximum, and sample count. Boolean checks show pass counts and success rates. Filters apply to these summary groups; per-run observations remain available on their run pages.
Loading benchmark results…
Baseline vs semedit
Comparison evaluates baseline and semedit values within each restriction policy, target, and context group. Negative changes mark improvements for these lower-is-better metrics; positive changes mark degradations.
Detailed observations
Empirical telemetry measuring wall-clock latency, token usage, tool turns, and compiler correctness when AI coding agents perform code modifications.
Every benchmark pairs Vanilla LLM (standard file editing tools) against Semedit MCP (deterministic AST compiler operations).
Benchmark Methodology & Transparency
- Reproducibility & Provenance: Self-contained txtar archives define test scenarios. Links below resolve to commit-anchored GitHub source files for published commits, or cryptographic SHA-256 fingerprints for uncommitted local fixtures.
- Model Cost: Tables report model-specific credit consumption where a target model has a declared schedule: (uncached input × input credits + cached input × cached credits + (reasoning + visible output) × output credits) / 1,000,000. Thinking tokens use the output rate. ADR-0043 defines the per-million-token credit rates.
- Multi-Level Correctness Oracle: Four validation levels evaluate each trial:
- Level 1 (Mutation Policy): Restricts file modifications strictly to authorized paths.
- Level 2 (AST Invariants): Compiler AST verification of required symbols, imports, and relative declaration ordering.
- Level 3 (Clean Build): Strict compilation validation with zero compiler or typecheck errors.
- Level 4 (Test Suite): Unit and integration test suite execution.
- Isolated Sandboxing: Each trial executes in an ephemeral directory with pristine git and module state.
Test case: task-07-generate-template-main
Target: codex/gpt-5.6-luna/medium
crypto_rand prompt · descriptive MCP instructions · unspecified semedit restriction
| Setting | Value |
|---|---|
| Test case | task-07-generate-template-main |
| Target | codex/gpt-5.6-luna/medium |
| Prompt variant | crypto_rand |
| MCP server instructions | descriptive |
| Semedit arm restriction | unspecified |
| Fixture | testdata/scripts/generate_template_main.txtar |
Vanilla LLM Prompt:
You are forbidden to modify protected files: “go.mod”, “go.sum”.
In main.go, implement main() to execute a text/template that prints ‘Hello World’ along with a random integer from crypto/rand, ensuring all necessary standard library packages are imported cleanly. Do not use semantic editing MCP tools; use standard file editing. When done, output DONE.
Semedit MCP Prompt:
You are forbidden to modify protected files: “go.mod”, “go.sum”.
In main.go, implement main() to execute a text/template that prints ‘Hello World’ along with a random integer from crypto/rand, ensuring all necessary standard library packages are imported cleanly. Prefer using semantic editor operations if applicable. When done, output DONE.
Initial Workspace State (Before Edit)
package main
func main() {
}| Metric | Vanilla (Small) | ⚠ MCP (Small) | Δ (Small) | Vanilla (Large) | MCP (Large) | Δ (Large) |
|---|---|---|---|---|---|---|
| Wall-Clock Latency | 43.86s | 79.15s | N/A | 48.56s | 116.85s | +140.6% |
| Process Start → First Event | 0.65s | 0.71s | — | 0.88s | 0.88s | — |
| First Event → First Tool Call | 8.86s | 12.00s | — | 7.49s | 9.03s | — |
| MCP Initialize → First Semantic Call | — | — | — | — | — | — |
| MCP Server Start → Initialize | — | — | — | — | — | — |
| Top-Level User Turns | 1 | 1 | N/A | 1 | 1 | 0% |
| Internal Tool Cycles | 3 | 3 | N/A | 5 | 11 | +120.0% |
| Initial Load / Discovery Turns | 3 | 3 | N/A | 5 | 1 | -80.0% |
| MCP Discovery / Schema Turns | 0 | 0 | — | 0 | 0 | — |
| Tool Invocations (per run) | 3 | 3 | N/A | 5 | 11 | +120.0% |
| Output Tokens | 1361 | 1574 | N/A | 1489 | 3854 | +158.8% |
| Reasoning / Thinking Tokens | 448 | 647 | N/A | 633 | 1505 | +137.8% |
| Total Input Tokens | 122384 | 121989 | N/A | 143858 | 371352 | +158.1% |
| Cached Input Tokens | 102912 | 102912 | N/A | 134400 | 349440 | +160.0% |
| Uncached Input Tokens | 19472 | 19077 | N/A | 9458 | 21912 | +131.7% |
| Cost | 0.2031 | 0.2135 | N/A | 0.1782 | 0.4451 | +149.8% |
| Cached vs Uncached Token Ratio | 5.29:1 | 5.39:1 | N/A | 14.21:1 | 15.95:1 | +12.2% |
| Oracle L1: Mutation Policy | PASS | PASS | — | PASS | PASS | — |
| Oracle L2: AST Invariants | PASS | PASS | — | PASS | PASS | — |
| Oracle L3: Clean Build | PASS | PASS | — | PASS | PASS | — |
| Oracle L4: Verification Test | PASS | PASS | — | PASS | PASS | — |
| Semantic Tool Invocation Verified (per run) | N/A | FAIL | — | N/A | PASS | — |
Baseline vs Semedit Agentic in Small Context
- Vanilla (Baseline vs Semedit Agentic in Small Context) Edit: File main.go modified (4 lines -> 20 lines)
- Semedit MCP (Baseline vs Semedit Agentic in Small Context) Edit: File main.go modified (4 lines -> 21 lines)
| # | Vanilla | Semedit MCP |
|---|---|---|
| 1 | ✓ ✓ | ✓ ✓ |
| 2 | ✓ ✓ | ✓ ✓ |
| 3 | ✓ ✓ | ✓ ✓ |
Baseline vs Semedit Agentic in Large Context
- Vanilla (Baseline vs Semedit Agentic in Large Context) Edit: File main.go modified (4 lines -> 20 lines)
- Semedit MCP (Baseline vs Semedit Agentic in Large Context) Edit: File main.go modified (4 lines -> 20 lines)
| # | Vanilla | Semedit MCP |
|---|---|---|
| 1 | ✓ ✓ | ✓ ✓ |
| 2 | ✓ ✓ | semedit/semantic_replace_body (✓ ✓) |
| 3 | ✓ ✓ | ✓ ✓ |
| 4 | ✓ ✓ | ✓ ✓ |
| 5 | ✓ ✓ | semedit/semantic_organize_imports (✓ ✓) |
| 6 | — | ? ✗ |
| 7 | — | ✓ ✓ |
| 8 | — | ✓ ✓ |
| 9 | — | ✓ ✓ |
| 10 | — | ✓ ✓ |
| 11 | — | ✓ ✓ |
crypto_rand prompt · none MCP instructions · unspecified semedit restriction
| Setting | Value |
|---|---|
| Test case | task-07-generate-template-main |
| Target | codex/gpt-5.6-luna/medium |
| Prompt variant | crypto_rand |
| MCP server instructions | none |
| Semedit arm restriction | unspecified |
| Fixture | testdata/scripts/generate_template_main.txtar |
Vanilla LLM Prompt:
You are forbidden to modify protected files: “go.mod”, “go.sum”.
In main.go, implement main() to execute a text/template that prints ‘Hello World’ along with a random integer from crypto/rand, ensuring all necessary standard library packages are imported cleanly. Do not use semantic editing MCP tools; use standard file editing. When done, output DONE.
Semedit MCP Prompt:
You are forbidden to modify protected files: “go.mod”, “go.sum”.
In main.go, implement main() to execute a text/template that prints ‘Hello World’ along with a random integer from crypto/rand, ensuring all necessary standard library packages are imported cleanly. Prefer using semantic editor operations if applicable. When done, output DONE.
Initial Workspace State (Before Edit)
package main
func main() {
}| Metric | Vanilla (Small) | ⚠ MCP (Small) | Δ (Small) | Vanilla (Large) | ⚠ MCP (Large) | Δ (Large) |
|---|---|---|---|---|---|---|
| Wall-Clock Latency | 45.32s | 106.62s | N/A | 69.48s | 38.79s | N/A |
| Process Start → First Event | 1.24s | 0.89s | — | 0.87s | 1.04s | — |
| First Event → First Tool Call | 7.97s | 18.28s | — | 15.54s | 9.67s | — |
| MCP Initialize → First Semantic Call | — | — | — | — | — | — |
| MCP Server Start → Initialize | — | — | — | — | — | — |
| Top-Level User Turns | 1 | 1 | N/A | 1 | 1 | N/A |
| Internal Tool Cycles | 6 | 6 | N/A | 3 | 2 | N/A |
| Initial Load / Discovery Turns | 6 | 6 | N/A | 3 | 2 | N/A |
| MCP Discovery / Schema Turns | 0 | 0 | — | 0 | 0 | — |
| Tool Invocations (per run) | 6 | 6 | N/A | 3 | 2 | N/A |
| Output Tokens | 1458 | 2015 | N/A | 1152 | 1191 | N/A |
| Reasoning / Thinking Tokens | 573 | 893 | N/A | 484 | 582 | N/A |
| Total Input Tokens | 163039 | 145420 | N/A | 101837 | 80317 | N/A |
| Cached Input Tokens | 148480 | 116992 | N/A | 83712 | 71680 | N/A |
| Uncached Input Tokens | 14559 | 28428 | N/A | 18125 | 8637 | N/A |
| Cost | 0.2080 | 0.2879 | N/A | 0.1816 | 0.1322 | N/A |
| Cached vs Uncached Token Ratio | 10.20:1 | 4.12:1 | N/A | 4.62:1 | 8.30:1 | N/A |
| Oracle L1: Mutation Policy | PASS | PASS | — | PASS | PASS | — |
| Oracle L2: AST Invariants | PASS | PASS | — | PASS | PASS | — |
| Oracle L3: Clean Build | PASS | PASS | — | PASS | PASS | — |
| Oracle L4: Verification Test | PASS | PASS | — | PASS | PASS | — |
| Semantic Tool Invocation Verified (per run) | N/A | FAIL | — | N/A | FAIL | — |
Baseline vs Semedit Agentic in Small Context
- Vanilla (Baseline vs Semedit Agentic in Small Context) Edit: File main.go modified (4 lines -> 20 lines)
- Semedit MCP (Baseline vs Semedit Agentic in Small Context) Edit: File main.go modified (4 lines -> 20 lines)
| # | Vanilla | Semedit MCP |
|---|---|---|
| 1 | ✓ ✓ | ✓ ✓ |
| 2 | ✓ ✓ | ✓ ✓ |
| 3 | ✓ ✓ | ? ✗ |
| 4 | ✓ ✓ | ✓ ✓ |
| 5 | ✓ ✓ | ✓ ✓ |
| 6 | ✓ ✓ | ✓ ✓ |
Baseline vs Semedit Agentic in Large Context
- Vanilla (Baseline vs Semedit Agentic in Large Context) Edit: File main.go modified (4 lines -> 21 lines)
- Semedit MCP (Baseline vs Semedit Agentic in Large Context) Edit: File main.go modified (4 lines -> 21 lines)
| # | Vanilla | Semedit MCP |
|---|---|---|
| 1 | ✓ ✓ | ✓ ✓ |
| 2 | ✓ ✓ | ✓ ✓ |
| 3 | ✓ ✓ | — |
crypto_rand prompt · prescriptive MCP instructions · unspecified semedit restriction
| Setting | Value |
|---|---|
| Test case | task-07-generate-template-main |
| Target | codex/gpt-5.6-luna/medium |
| Prompt variant | crypto_rand |
| MCP server instructions | prescriptive |
| Semedit arm restriction | unspecified |
| Fixture | testdata/scripts/generate_template_main.txtar |
Vanilla LLM Prompt:
You are forbidden to modify protected files: “go.mod”, “go.sum”.
In main.go, implement main() to execute a text/template that prints ‘Hello World’ along with a random integer from crypto/rand, ensuring all necessary standard library packages are imported cleanly. Do not use semantic editing MCP tools; use standard file editing. When done, output DONE.
Semedit MCP Prompt:
You are forbidden to modify protected files: “go.mod”, “go.sum”.
In main.go, implement main() to execute a text/template that prints ‘Hello World’ along with a random integer from crypto/rand, ensuring all necessary standard library packages are imported cleanly. Prefer using semantic editor operations if applicable. When done, output DONE.
Initial Workspace State (Before Edit)
package main
func main() {
}| Metric | Vanilla (Small) | MCP (Small) | Δ (Small) | Vanilla (Large) | MCP (Large) | Δ (Large) |
|---|---|---|---|---|---|---|
| Wall-Clock Latency | 37.99s | 103.29s | +171.9% | 50.01s | 83.89s | +67.7% |
| Process Start → First Event | 0.54s | 0.76s | — | 0.51s | 0.91s | — |
| First Event → First Tool Call | 9.00s | 19.22s | — | 9.13s | 7.97s | — |
| MCP Initialize → First Semantic Call | — | — | — | — | — | — |
| MCP Server Start → Initialize | — | — | — | — | — | — |
| Top-Level User Turns | 1 | 1 | 0% | 1 | 1 | 0% |
| Internal Tool Cycles | 3 | 6 | +100.0% | 5 | 9 | +80.0% |
| Initial Load / Discovery Turns | 3 | 1 | -66.7% | 5 | 2 | -60.0% |
| MCP Discovery / Schema Turns | 0 | 0 | — | 0 | 0 | — |
| Tool Invocations (per run) | 3 | 6 | +100.0% | 5 | 9 | +80.0% |
| Output Tokens | 1325 | 1608 | +21.4% | 1640 | 2387 | +45.5% |
| Reasoning / Thinking Tokens | 558 | 700 | +25.4% | 577 | 1065 | +84.6% |
| Total Input Tokens | 101149 | 202070 | +99.8% | 144433 | 344931 | +138.8% |
| Cached Input Tokens | 92928 | 174080 | +87.3% | 134400 | 314368 | +133.9% |
| Uncached Input Tokens | 8221 | 27990 | +240.5% | 10033 | 30563 | +204.6% |
| Cost | 0.1441 | 0.2962 | +105.6% | 0.1839 | 0.4136 | +124.9% |
| Cached vs Uncached Token Ratio | 11.30:1 | 6.22:1 | -45.0% | 13.40:1 | 10.29:1 | -23.2% |
| Oracle L1: Mutation Policy | PASS | PASS | — | PASS | PASS | — |
| Oracle L2: AST Invariants | PASS | PASS | — | PASS | PASS | — |
| Oracle L3: Clean Build | PASS | PASS | — | PASS | PASS | — |
| Oracle L4: Verification Test | PASS | PASS | — | PASS | PASS | — |
| Semantic Tool Invocation Verified (per run) | N/A | PASS | — | N/A | PASS | — |
Baseline vs Semedit Agentic in Small Context
- Vanilla (Baseline vs Semedit Agentic in Small Context) Edit: File main.go modified (4 lines -> 20 lines)
- Semedit MCP (Baseline vs Semedit Agentic in Small Context) Edit: File main.go modified (4 lines -> 21 lines)
| # | Vanilla | Semedit MCP |
|---|---|---|
| 1 | ✓ ✓ | ✓ ✓ |
| 2 | ? ✗ | semedit/semantic_replace_body (✓ ✓) |
| 3 | ✓ ✓ | ✓ ✓ |
| 4 | — | semedit/semantic_verify (✓ ✓) |
| 5 | — | ✓ ✓ |
| 6 | — | ✓ ✓ |
Baseline vs Semedit Agentic in Large Context
- Vanilla (Baseline vs Semedit Agentic in Large Context) Edit: File main.go modified (4 lines -> 20 lines)
- Semedit MCP (Baseline vs Semedit Agentic in Large Context) Edit: File main.go modified (4 lines -> 27 lines)
| # | Vanilla | Semedit MCP |
|---|---|---|
| 1 | ✓ ✓ | ✓ ✓ |
| 2 | ? ✗ | ✓ ✓ |
| 3 | ? ✗ | semedit/semantic_replace_body (✓ ✓) |
| 4 | ✓ ✓ | ✓ ✓ |
| 5 | ✓ ✓ | semedit/semantic_organize_imports (✓ ✓) |
| 6 | — | ✓ ✓ |
| 7 | — | semedit/semantic_organize_imports (✓ ✓) |
| 8 | — | ✓ ✓ |
| 9 | — | ✓ ✓ |
default prompt · descriptive MCP instructions · unspecified semedit restriction
| Setting | Value |
|---|---|
| Test case | task-07-generate-template-main |
| Target | codex/gpt-5.6-luna/medium |
| Prompt variant | default |
| MCP server instructions | descriptive |
| Semedit arm restriction | unspecified |
| Fixture | testdata/scripts/generate_template_main.txtar |
Vanilla LLM Prompt:
You are forbidden to modify protected files: “go.mod”, “go.sum”.
In main.go, implement main() to execute a text/template that prints ‘Hello World’ along with a random integer, ensuring all necessary standard library packages are imported cleanly. Do not use semantic editing MCP tools; use standard file editing. When done, output DONE.
Semedit MCP Prompt:
You are forbidden to modify protected files: “go.mod”, “go.sum”.
In main.go, implement main() to execute a text/template that prints ‘Hello World’ along with a random integer, ensuring all necessary standard library packages are imported cleanly. Prefer using semantic editor operations if applicable. When done, output DONE.
Initial Workspace State (Before Edit)
package main
func main() {
}| Metric | Vanilla (Small) | MCP (Small) | Δ (Small) | Vanilla (Large) | ⚠ MCP (Large) | Δ (Large) |
|---|---|---|---|---|---|---|
| Wall-Clock Latency | 43.87s | 71.71s | +63.5% | 31.13s | 53.23s | N/A |
| Process Start → First Event | 0.83s | 0.43s | — | 0.70s | 0.54s | — |
| First Event → First Tool Call | 7.81s | 7.69s | — | 7.39s | 8.66s | — |
| MCP Initialize → First Semantic Call | — | — | — | — | — | — |
| MCP Server Start → Initialize | — | — | — | — | — | — |
| Top-Level User Turns | 1 | 1 | 0% | 1 | 1 | N/A |
| Internal Tool Cycles | 5 | 9 | +80.0% | 2 | 6 | N/A |
| Initial Load / Discovery Turns | 5 | 2 | -60.0% | 2 | 2 | N/A |
| MCP Discovery / Schema Turns | 0 | 0 | — | 0 | 0 | — |
| Tool Invocations (per run) | 5 | 9 | +80.0% | 2 | 6 | N/A |
| Output Tokens | 1376 | 1798 | +30.7% | 938 | 1750 | N/A |
| Reasoning / Thinking Tokens | 592 | 765 | +29.2% | 488 | 681 | N/A |
| Total Input Tokens | 148300 | 274552 | +85.1% | 79563 | 190716 | N/A |
| Cached Input Tokens | 134400 | 251136 | +86.9% | 67584 | 167680 | N/A |
| Uncached Input Tokens | 13900 | 23416 | +68.5% | 11979 | 23036 | N/A |
| Cost | 0.1957 | 0.3195 | +63.2% | 0.1365 | 0.2720 | N/A |
| Cached vs Uncached Token Ratio | 9.67:1 | 10.72:1 | +10.9% | 5.64:1 | 7.28:1 | N/A |
| Oracle L1: Mutation Policy | PASS | PASS | — | PASS | PASS | — |
| Oracle L2: AST Invariants | PASS | PASS | — | PASS | PASS | — |
| Oracle L3: Clean Build | PASS | PASS | — | PASS | PASS | — |
| Oracle L4: Verification Test | PASS | PASS | — | PASS | PASS | — |
| Semantic Tool Invocation Verified (per run) | N/A | PASS | — | N/A | FAIL | — |
Baseline vs Semedit Agentic in Small Context
- Vanilla (Baseline vs Semedit Agentic in Small Context) Edit: File main.go modified (4 lines -> 15 lines)
- Semedit MCP (Baseline vs Semedit Agentic in Small Context) Edit: File main.go modified (4 lines -> 14 lines)
| # | Vanilla | Semedit MCP |
|---|---|---|
| 1 | ✓ ✓ | ✓ ✓ |
| 2 | ✓ ✓ | ✓ ✓ |
| 3 | ✓ ✓ | semedit/semantic_replace_body (✓ ✓) |
| 4 | ✓ ✓ | ✓ ✓ |
| 5 | ✓ ✓ | ✓ ✓ |
| 6 | — | semedit/semantic_organize_imports (✓ ✓) |
| 7 | — | ✓ ✓ |
| 8 | — | semedit/semantic_verify (✓ ✓) |
| 9 | — | ✓ ✓ |
Baseline vs Semedit Agentic in Large Context
- Vanilla (Baseline vs Semedit Agentic in Large Context) Edit: File main.go modified (4 lines -> 14 lines)
- Semedit MCP (Baseline vs Semedit Agentic in Large Context) Edit: File main.go modified (4 lines -> 14 lines)
| # | Vanilla | Semedit MCP |
|---|---|---|
| 1 | ✓ ✓ | ✓ ✓ |
| 2 | ✓ ✓ | ✓ ✓ |
| 3 | — | ✓ ✓ |
| 4 | — | ✓ ✓ |
| 5 | — | ✓ ✓ |
| 6 | — | ✓ ✓ |
default prompt · none MCP instructions · unspecified semedit restriction
| Setting | Value |
|---|---|
| Test case | task-07-generate-template-main |
| Target | codex/gpt-5.6-luna/medium |
| Prompt variant | default |
| MCP server instructions | none |
| Semedit arm restriction | unspecified |
| Fixture | testdata/scripts/generate_template_main.txtar |
Vanilla LLM Prompt:
You are forbidden to modify protected files: “go.mod”, “go.sum”.
In main.go, implement main() to execute a text/template that prints ‘Hello World’ along with a random integer, ensuring all necessary standard library packages are imported cleanly. Do not use semantic editing MCP tools; use standard file editing. When done, output DONE.
Semedit MCP Prompt:
You are forbidden to modify protected files: “go.mod”, “go.sum”.
In main.go, implement main() to execute a text/template that prints ‘Hello World’ along with a random integer, ensuring all necessary standard library packages are imported cleanly. Prefer using semantic editor operations if applicable. When done, output DONE.
Initial Workspace State (Before Edit)
package main
func main() {
}| Metric | Vanilla (Small) | ⚠ MCP (Small) | Δ (Small) | Vanilla (Large) | MCP (Large) | Δ (Large) |
|---|---|---|---|---|---|---|
| Wall-Clock Latency | 34.87s | 48.94s | N/A | 50.65s | 74.54s | +47.2% |
| Process Start → First Event | 1.37s | 1.14s | — | 0.87s | 1.09s | — |
| First Event → First Tool Call | 8.14s | 8.98s | — | 8.54s | 11.56s | — |
| MCP Initialize → First Semantic Call | — | — | — | — | — | — |
| MCP Server Start → Initialize | — | — | — | — | — | — |
| Top-Level User Turns | 1 | 1 | N/A | 1 | 1 | 0% |
| Internal Tool Cycles | 3 | 5 | N/A | 4 | 7 | +75.0% |
| Initial Load / Discovery Turns | 3 | 1 | N/A | 4 | 1 | -75.0% |
| MCP Discovery / Schema Turns | 0 | 0 | — | 0 | 0 | — |
| Tool Invocations (per run) | 3 | 5 | N/A | 4 | 7 | +75.0% |
| Output Tokens | 987 | 1806 | N/A | 1693 | 2084 | +23.1% |
| Reasoning / Thinking Tokens | 348 | 710 | N/A | 871 | 1021 | +17.2% |
| Total Input Tokens | 99406 | 146024 | N/A | 123448 | 220074 | +78.3% |
| Cached Input Tokens | 81664 | 135424 | N/A | 100864 | 180992 | +79.4% |
| Uncached Input Tokens | 17742 | 10600 | N/A | 22584 | 39082 | +73.1% |
| Cost | 0.1696 | 0.1962 | N/A | 0.2403 | 0.3791 | +57.8% |
| Cached vs Uncached Token Ratio | 4.60:1 | 12.78:1 | N/A | 4.47:1 | 4.63:1 | +3.7% |
| Oracle L1: Mutation Policy | PASS | PASS | — | PASS | PASS | — |
| Oracle L2: AST Invariants | PASS | PASS | — | PASS | PASS | — |
| Oracle L3: Clean Build | PASS | PASS | — | PASS | PASS | — |
| Oracle L4: Verification Test | PASS | PASS | — | PASS | PASS | — |
| Semantic Tool Invocation Verified (per run) | N/A | FAIL | — | N/A | PASS | — |
Baseline vs Semedit Agentic in Small Context
- Vanilla (Baseline vs Semedit Agentic in Small Context) Edit: File main.go modified (4 lines -> 14 lines)
- Semedit MCP (Baseline vs Semedit Agentic in Small Context) Edit: File main.go modified (4 lines -> 15 lines)
| # | Vanilla | Semedit MCP |
|---|---|---|
| 1 | ✓ ✓ | ✓ ✓ |
| 2 | ? ✗ | ✓ ✓ |
| 3 | ✓ ✓ | ? ✗ |
| 4 | — | ✓ ✓ |
| 5 | — | ✓ ✓ |
Baseline vs Semedit Agentic in Large Context
- Vanilla (Baseline vs Semedit Agentic in Large Context) Edit: File main.go modified (4 lines -> 14 lines)
- Semedit MCP (Baseline vs Semedit Agentic in Large Context) Edit: File main.go modified (4 lines -> 16 lines)
| # | Vanilla | Semedit MCP |
|---|---|---|
| 1 | ✓ ✓ | ✓ ✓ |
| 2 | ✓ ✓ | ✓ ✓ |
| 3 | ✓ ✓ | semedit/semantic_replace_body (✓ ✓) |
| 4 | ✓ ✓ | ✓ ✓ |
| 5 | — | semedit/semantic_organize_imports (✓ ✓) |
| 6 | — | ✓ ✓ |
| 7 | — | ✓ ✓ |
default prompt · prescriptive MCP instructions · unspecified semedit restriction
| Setting | Value |
|---|---|
| Test case | task-07-generate-template-main |
| Target | codex/gpt-5.6-luna/medium |
| Prompt variant | default |
| MCP server instructions | prescriptive |
| Semedit arm restriction | unspecified |
| Fixture | testdata/scripts/generate_template_main.txtar |
Vanilla LLM Prompt:
You are forbidden to modify protected files: “go.mod”, “go.sum”.
In main.go, implement main() to execute a text/template that prints ‘Hello World’ along with a random integer, ensuring all necessary standard library packages are imported cleanly. Do not use semantic editing MCP tools; use standard file editing. When done, output DONE.
Semedit MCP Prompt:
You are forbidden to modify protected files: “go.mod”, “go.sum”.
In main.go, implement main() to execute a text/template that prints ‘Hello World’ along with a random integer, ensuring all necessary standard library packages are imported cleanly. Prefer using semantic editor operations if applicable. When done, output DONE.
Initial Workspace State (Before Edit)
package main
func main() {
}| Metric | Vanilla (Small) | ⚠ MCP (Small) | Δ (Small) | Vanilla (Large) | MCP (Large) | Δ (Large) |
|---|---|---|---|---|---|---|
| Wall-Clock Latency | 53.64s | 41.44s | N/A | 37.77s | 103.09s | +172.9% |
| Process Start → First Event | 0.90s | 0.83s | — | 0.90s | 0.51s | — |
| First Event → First Tool Call | 11.11s | 8.87s | — | 8.19s | 10.45s | — |
| MCP Initialize → First Semantic Call | — | — | — | — | — | — |
| MCP Server Start → Initialize | — | — | — | — | — | — |
| Top-Level User Turns | 1 | 1 | N/A | 1 | 1 | 0% |
| Internal Tool Cycles | 5 | 2 | N/A | 3 | 10 | +233.3% |
| Initial Load / Discovery Turns | 5 | 2 | N/A | 3 | 2 | -33.3% |
| MCP Discovery / Schema Turns | 0 | 0 | — | 0 | 1 | — |
| Tool Invocations (per run) | 5 | 2 | N/A | 3 | 10 | +233.3% |
| Output Tokens | 1407 | 1312 | N/A | 1090 | 2846 | +161.1% |
| Reasoning / Thinking Tokens | 554 | 525 | N/A | 463 | 1303 | +181.4% |
| Total Input Tokens | 142874 | 103206 | N/A | 100442 | 417526 | +315.7% |
| Cached Input Tokens | 132352 | 93952 | N/A | 90880 | 384512 | +323.1% |
| Uncached Input Tokens | 10522 | 9254 | N/A | 9562 | 33014 | +245.3% |
| Cost | 0.1776 | 0.1484 | N/A | 0.1398 | 0.4818 | +244.5% |
| Cached vs Uncached Token Ratio | 12.58:1 | 10.15:1 | N/A | 9.50:1 | 11.65:1 | +22.5% |
| Oracle L1: Mutation Policy | PASS | PASS | — | PASS | PASS | — |
| Oracle L2: AST Invariants | PASS | PASS | — | PASS | PASS | — |
| Oracle L3: Clean Build | PASS | PASS | — | PASS | PASS | — |
| Oracle L4: Verification Test | PASS | PASS | — | PASS | PASS | — |
| Semantic Tool Invocation Verified (per run) | N/A | FAIL | — | N/A | PASS | — |
Baseline vs Semedit Agentic in Small Context
- Vanilla (Baseline vs Semedit Agentic in Small Context) Edit: File main.go modified (4 lines -> 14 lines)
- Semedit MCP (Baseline vs Semedit Agentic in Small Context) Edit: File main.go modified (4 lines -> 14 lines)
| # | Vanilla | Semedit MCP |
|---|---|---|
| 1 | ✓ ✓ | ✓ ✓ |
| 2 | ✓ ✓ | ✓ ✓ |
| 3 | ? ✗ | — |
| 4 | ✓ ✓ | — |
| 5 | ✓ ✓ | — |
Baseline vs Semedit Agentic in Large Context
- Vanilla (Baseline vs Semedit Agentic in Large Context) Edit: File main.go modified (4 lines -> 14 lines)
- Semedit MCP (Baseline vs Semedit Agentic in Large Context) Edit: File main.go modified (4 lines -> 18 lines)
| # | Vanilla | Semedit MCP |
|---|---|---|
| 1 | ✓ ✓ | ✓ ✓ |
| 2 | ? ✗ | cua_repl/js (✓ ✓) |
| 3 | ✓ ✓ | semedit/semantic_replace_body (✓ ✓) |
| 4 | — | ✓ ✓ |
| 5 | — | semedit/semantic_organize_imports (✓ ✓) |
| 6 | — | ✓ ✓ |
| 7 | — | semedit/semantic_replace_body (✓ ✓) |
| 8 | — | ? ✗ |
| 9 | — | ✓ ✓ |
| 10 | — | ✓ ✓ |