# Methodology ## What is compared One coding agent (Codex in the ChatGPT desktop app, one model, one reasoning effort) does the same task twice at the same time. The two runs differ only in the browser tool the prompt tells the agent to use to check its work: | Side | Tool | How Codex sees it | |---|---|---| | ChatGPT Computer Use | The in-app browser of Codex (the bundled Browser plugin, `cua_repl`) | Top-level tool, as the plugin ships it | | Mirasim Computer Use | [Mirasim Computer Use](https://www.npmjs.com/package/@mirasim/computer-use) as an MCP server named `cu` (`computer_repl`) | Inside Codex's code-mode `exec`, with its description given up front | Before each conversation is opened, `harness/tool-exposure.ts` writes the matching tool setup into the Codex configuration, so each new conversation picks up its own side's setup; after the run the actual setup is read back from the session record and a mismatch voids the pair. ## A pair `harness/run-pair.ts` (Team Tasks, the simulated project) and `harness/run-real-pair.ts` (real projects, the open-source repositories) run one pair: 1. Each side gets its own working copy: Team Tasks with the task's seed patch applied, or a real project at the base commit with its git history removed. Each copy starts as a fresh git repository so the change can be inspected later. 2. Each side gets its own mock API (with the task's backend scenario: latency, failures, sign-in, roles…) and its own dev server with hot reload. 3. A script opens a new Codex conversation for each side in the ChatGPT desktop app (a `codex://` link with the prompt, then Mirasim Computer Use's macOS driver presses Trust and Send) and sends the prompt. Odd-numbered runs send the ChatGPT Computer Use prompt first, even-numbered runs the Mirasim one. 4. Multi-round tasks: when a side finishes a round, its next round is typed into the same conversation. Rounds of the two sides interleave; one script sends everything, one message at a time. 5. When both sides have finished, each side is judged on its own working copy (`docs/judging.md`), and the result is written to `runs///r.json`. Sending is shared machinery and is not measured. If sending fails (the prompt never arrives, a stray dialog covers the window, the in-app browser does not start, the tool setup does not match), the pair is discarded and both sides run again (`scripts/batch.sh`; the discarded results are kept as `r.error-