Skip to content
Benchmark run opencode-qwen36-iq4-xs-task004-20261004-1622

Benchmark run opencode-qwen36-iq4-xs-task004-20261004-1622

This page contains exactly the publishable benchmark observations recorded in run opencode-qwen36-iq4-xs-task004-20261004-1622; 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:
    1. Level 1 (Mutation Policy): Restricts file modifications strictly to authorized paths.
    2. Level 2 (AST Invariants): Compiler AST verification of required symbols, imports, and relative declaration ordering.
    3. Level 3 (Clean Build): Strict compilation validation with zero compiler or typecheck errors.
    4. 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-04-insert-public

Target: opencode/qwen36-iq4-xs

default prompt · none MCP instructions · write semedit restriction

SettingValue
Test casetask-04-insert-public
Targetopencode/qwen36-iq4-xs
Prompt variantdefault
MCP server instructionsnone
Semedit arm restrictionwrite
Fixturetestdata/bench/task_04_insert_public.txtar

Vanilla LLM Prompt:

Do not edit tests. You are forbidden to modify protected files: “go.mod”, “go.sum”.

Add public constructor func InitServer() *Server placed before private helpers. Do not use semantic editing MCP tools; use standard file editing. When done, output DONE.

Semedit MCP Prompt:

Do not edit tests. You are forbidden to modify protected files: “go.mod”, “go.sum”.

Add public constructor func InitServer() *Server placed before private helpers. Use semedit semantic tools for supported source code modifications. Shell commands for builds and tests are allowed. When done, output DONE.

Initial Workspace State (Before Edit)
package api

type Server struct {
	Port int
}

func (s *Server) Start() {}

func (s *Server) internalRun() {}
MetricVanilla (Small)⚠ MCP (Small)Δ (Small)Vanilla (Large)MCP (Large)Δ (Large)
Wall-Clock Latency43.16s83.38sN/A———
Process Start → First Event13.09s49.78s————
First Event → First Tool Call3.10s4.62s————
MCP Initialize → First Semantic Call——————
MCP Server Start → Initialize——————
Top-Level User Turns11N/A———
Internal Tool Cycles66N/A———
Initial Load / Discovery Turns33N/A———
MCP Discovery / Schema Turns00————
Tool Invocations (per run)66N/A———
Output Tokens921952N/A———
Reasoning / Thinking Tokens00————
Total Input Tokens46635194396N/A———
Cached Input Tokens39045162126N/A———
Uncached Input Tokens759032270N/A———
Cost——————
Cached vs Uncached Token Ratio5.14:15.02:1N/A———
Oracle L1: Mutation PolicyPASSPASS————
Oracle L2: AST InvariantsPASSPASS————
Oracle L3: Clean BuildPASSPASS————
Oracle L4: Verification TestPASSPASS————
Semantic Tool Invocation Verified (per run)N/AFAIL————
Baseline vs Semedit Agentic in Small Context
  • Vanilla (Baseline vs Semedit Agentic in Small Context) Edit: File api/server.go modified (9 lines -> 13 lines)
  • Semedit MCP (Baseline vs Semedit Agentic in Small Context) Edit: File api/server.go modified (9 lines -> 13 lines)
#VanillaSemedit MCP
1glob (✓ ✓)
{
  "pattern": "**/*.go"
}
bash (✓ ✓)
{
  "command": "find /Users/alessandro/.codex-workspaces/worktrees/318f14ee-b4fe-4414-9a7d-5427835dd89b/semantic-editor/.scratch/benchmarks/run_opencode_semedit_small-default_task-04-insert-public_1791123938787788000 -type f -name \"*.go\" | head -30"
}
2read (✓ ✓)
{
  "filePath": "/Users/alessandro/.codex-workspaces/worktrees/318f14ee-b4fe-4414-9a7d-5427835dd89b/semantic-editor/.scratch/benchmarks/run_opencode_baseline-diff_small-default_task-04-insert-public_1791123895220730000"
}
glob (✓ ✓)
{
  "path": "/Users/alessandro/.codex-workspaces/worktrees/318f14ee-b4fe-4414-9a7d-5427835dd89b/semantic-editor/.scratch/benchmarks/run_opencode_semedit_small-default_task-04-insert-public_1791123938787788000",
  "pattern": "**/*.go"
}
3read (✓ ✓)
{
  "filePath": "/Users/alessandro/.codex-workspaces/worktrees/318f14ee-b4fe-4414-9a7d-5427835dd89b/semantic-editor/.scratch/benchmarks/run_opencode_baseline-diff_small-default_task-04-insert-public_1791123895220730000/api/server.go"
}
read (✓ ✓)
{
  "filePath": "/Users/alessandro/.codex-workspaces/worktrees/318f14ee-b4fe-4414-9a7d-5427835dd89b/semantic-editor/.scratch/benchmarks/run_opencode_semedit_small-default_task-04-insert-public_1791123938787788000/api/server.go"
}
4edit (✓ ✓)
{
  "filePath": "/Users/alessandro/.codex-workspaces/worktrees/318f14ee-b4fe-4414-9a7d-5427835dd89b/semantic-editor/.scratch/benchmarks/run_opencode_baseline-diff_small-default_task-04-insert-public_1791123895220730000/api/server.go",
  "newString": "func (s *Server) Start() {}\n\nfunc InitServer() *Server {\n\treturn \u0026Server{}\n}\n\nfunc (s *Server) internalRun() {}",
  "oldString": "func (s *Server) Start() {}\n\nfunc (s *Server) internalRun() {}"
}
semedit_semantic_insert_construct (✓ ✓)
{
  "file": "api/server.go",
  "kind": "function",
  "placement": "before_symbol",
  "source": "func InitServer() *Server {\n\treturn \u0026Server{}\n}",
  "target_symbol": "internalRun"
}
5read (✓ ✓)
{
  "filePath": "/Users/alessandro/.codex-workspaces/worktrees/318f14ee-b4fe-4414-9a7d-5427835dd89b/semantic-editor/.scratch/benchmarks/run_opencode_baseline-diff_small-default_task-04-insert-public_1791123895220730000/api/server.go"
}
read (✓ ✓)
{
  "filePath": "/Users/alessandro/.codex-workspaces/worktrees/318f14ee-b4fe-4414-9a7d-5427835dd89b/semantic-editor/.scratch/benchmarks/run_opencode_semedit_small-default_task-04-insert-public_1791123938787788000/api/server.go"
}
6bash (✓ ✓)
{
  "command": "cd /Users/alessandro/.codex-workspaces/worktrees/318f14ee-b4fe-4414-9a7d-5427835dd89b/semantic-editor/.scratch/benchmarks/run_opencode_baseline-diff_small-default_task-04-insert-public_1791123895220730000 \u0026\u0026 go build ./..."
}
bash (✓ ✓)
{
  "command": "cd /Users/alessandro/.codex-workspaces/worktrees/318f14ee-b4fe-4414-9a7d-5427835dd89b/semantic-editor/.scratch/benchmarks/run_opencode_semedit_small-default_task-04-insert-public_1791123938787788000 \u0026\u0026 go build ./..."
}
⚠ Why no semantic edit tool was used
I did use a semantic tool: `semedit_semantic_insert_construct` to insert the `InitServer` function before the private `internalRun` helper. The insertion succeeded on the first call with no diagnostics, so no additional semantic tools were needed.

Semedit integration feedback (agent opinion, excluded from measurements):

Semedit's semantic insert tool was a pleasant surprise—it let me place the constructor at a meaningful location (before the private helper) rather than fumbling with line numbers, and it worked flawlessly on the first try, so I'd absolutely recommend my owner adopt it.
Baseline vs Semedit Agentic in Large Context
#VanillaSemedit MCP
1not publishednot published