Methodology
How Localgauge decides that a task passed, how large each sample is, and which claims are measured rather than inferred. Every result page links back here instead of repeating these limits.
Status
Measured now: direct/full-agent/lightweight-agent cold and warm inference; request timing and cache fields; ten seeded Polyglot tasks; a pinned real-task corpus; sandbox and path/privacy checks.
Not yet validated: broad model or hardware generalization, robust task rankings, production worker delegation, or one score for coding ability. These comparisons are fixed samples, not universal claims.
Localgauge is narrower than Aider Polyglot, SWE-bench, mini-SWE-agent and Harbor: companions, not replacements or targets.
How a pass is verified
Each attempt copies the task fixture into a fresh directory and runs Pi there under Bubblewrap. When Pi stops, a separate sandbox reruns the fixture's tests. The fixture's acceptance.json declares protected tests and the paths the model may change; editing a protected file or any path outside that scope fails the attempt. The model's own final message is never used as evidence of a pass. Real-repository tasks add hidden tests, mutant checks, structured review checks and recovery-event checks on top of this.
Sample sizes and intervals
Every rate is shown with its passes and attempts (for example 24/30), and charts draw a 95% Wilson interval around it. Attempts on the same task are correlated, so these intervals are optimistic: the effective sample is closer to the number of tasks than the number of attempts. One-attempt-per-task results are marked 1×, derived results are marked derived, and no result here is a ranking.
Review-task acceptance finding
The start state failed with review_submission_missing; the reference submission passed. The original evaluator accepted only the missing fallback at loader.go:25. Every completed hosted review instead identified the equivalent actionable --port gate at loader.go:252. The task now accepts line 252 as an alternative and still requires the exact four fields (id, path, line, why).
Caveling did not fail this location rule: its recorded attempt timed out before review.json. Frontier attempts failed because exact matching treated line 252 as extra and line 25 as missing. This explains historical 0/1 GPT without weakening scope or accepting false positives.
Measured vs inferred
Measured: pass/fail, wall time, provider token buckets, Pi tool counts, protected-file and scope checks, acceptance, local server identity/context and negative sandbox tests. Historical retry and extension-error counts remain unmeasured; the corrected runner measures them.
Inferred: hosted pass superiority, delegation suitability and relative efficiency. Hosted rows have one attempt per task; Caveling has three. MAI had a corrected tool-path issue, and all hosted attempts preceded the cache mount and sandboxed-diff fix. Reasoning tokens are measured only when Pi/provider usage exposes them; premium-request use was not visible.
Credential and network design
The design comparison considered:
- Run Pi inside bwrap. Strong boundary, but Pi cannot read the existing Copilot credential.
- Keep Pi on the host and replace its four model tools with bwrap operations. Selected. Host Pi keeps authentication; the model gets only sandboxed
read,edit,writeandbash. Extensions, skills, MCP, prompt templates and sessions are disabled. - Run Pi in bwrap with a host auth forwarder. Rejected: Copilot's token flow was not shown to be safe, and the broker would carry credentials.
- Plain Docker. Rejected: it needs credential injection or proxying plus unapproved setup and downloads.
profiles/pi-frontier/pi-frontier starts host Pi. sandbox-tools.ts replaces each enabled tool, and sandbox.py invokes the clear-environment, network-isolated bwrap command. Only the task workspace is writable. Provider traffic stays in host Pi; tool processes have no network route.
Observed negative tests:
- reading a real host
$HOMEsentinel failed inside the tool sandbox; - reading
~/.pi/agent/auth.jsonand the credential placeholder failed; - a host loopback listener and a public address were unreachable;
- a host environment secret was absent;
- task and state paths remained writable while toolchain mounts were read-only.
Profile loading and all five profile tests passed. No credential contents were read and no hosted request was sent before approval.
Harness issues and corrections
MAI-Code-2's eight runs used profile 1d0c72f. A path bug sent read to host-absolute paths. Models recovered with sandboxed bash; those failures are counted above. The local server reproduced the bug. 495c7c2 maps host task paths to /workspace, and a local Pi probe then read successfully. GPT-6.1 Sol and Opus 5.5 used that profile.
A final review found two differences after 24 hosted attempts. The tool sandbox lacked the pre-fetched Go module cache, so model-driven tests could not resolve dependencies with GOPROXY=off. Acceptance still had the cache; models lacked its feedback. Polyglot diff evidence also used host Git, not the runner's sandboxed commands. A benign test showed model-controlled Git metadata could redirect evidence outside the attempt. No redirect appears in the records, but these runs do not evidence the final boundary. Both are fixed: tools receive a read-only cache bind, and test/diff/stat collection is sandboxed.
These setup differences matter: MAI has 36 read errors, and every model lacked the module cache during testing. GPT and Opus had working read but still lacked the cache. MAI passed 7/8, yet timing, token and tool-error values are not clean like-for-like evidence. Hosted reruns were not used: the task and subscription budget fixed one attempt per model.
Limits and request accounting
A/B used 16 hosted requests. Two earlier B attempts reached GPT but produced no durable rows after harness continuation failures; they are reruns, not measured tasks. The ledger contains 18 measurement/rerun requests plus six workflow calls: four plan reviews, one cold read and one fallback review. No Copilot connection error occurred. Total: 24 requests.
Timing and token figures are measured where reported, not statistically significant. Caveling has more attempts than frontier-only. Historical frontier runs preceded the sandbox cache and diff fixes in the frontier comparison. A/B used corrected boundaries and tool-free hosted phases.