Learning objectives
- Explain why finishing work in parallel is different from getting it merged and verified
- Explain when exclusive ownership can reduce repairs at the cost of throughput
- Compare task batching and session setup, and recognize what the model can and cannot tell you
Requirements
- A browser with JavaScript enabled for the simulator; no installs, accounts, or API keys
How much does parallelism help?
Get all ten changes implemented, verified, and merged. Compare three delivery strategies with the same task costs, then follow the work through the integration queue.
Synthetic teaching model. Ticks are invented units. These results are generated from the rules below, not measured agent performance or a prediction of Experiment 001.
Default comparison shown. Change a setting and run again to explore.
| Strategy / inspect timeline | Elapsed ticks | Stale branches | Repair ticks | Sessions |
|---|---|---|---|---|
| 63 | 9 | 18 | 20 | |
| 90 | 0 | 0 | 20 | |
| 44 | 0 | 0 | 1 |
Parallel branches: execution timeline
Every row uses the same time scale across strategies in this comparison. Blank space before a task starts is time waiting for dispatch. In the batched strategy, the final row merges all ten tasks together; it reuses the session, so there is no second setup cost.
Inspect the execution trace and exact tick ranges
Make a prediction. Run it. Explain it.
Each investigation loads a starting configuration. Run the comparison, inspect the evidence, and choose the explanation that fits this model.
1. Find the bottleneck
of ready branches1 integration lane
→ main
→ main
setup for each task10 merges
setup for each merge
one setup1 final merge
verify the whole batch
Run this investigation’s preset to collect evidence.
Need a hint?
Challenge progress is saved only in this browser when storage is available. Reset lab clears this lab’s saved challenges and restores the defaults. No account or model access is needed.
How the model works
How long does it take to get all ten changes merged into main and verified? In this lab, you can explore that question with a scheduler and follow each task step by step.
The ten task labels come from Experiment 001, but their durations and resource dependencies are made up for this model. The same settings always produce the same result.
- Ten equally sized tasks. Every task takes the number of implementation ticks you choose. Verification always succeeds once any repairs are done. The model does not generate code or judge its quality.
- A shared pool of slots. Implementation and integration each use a slot while active. Tasks waiting to integrate do not use a slot, and there are no extra slots for coordination.
- One integration lane. Only one queued task can integrate at a time. Integration takes priority over starting new tasks. Tasks enter integration in the order they finish implementation, with task number breaking any ties.
- A simplified way to model overlapping changes. Shared tasks all change the same versioned resource. Independent tasks each change a different resource. A branch becomes stale if its resource changes after implementation starts. Each stale branch needs one repair, at the cost you choose, even if the resource has changed several times. Real Git conflicts and dependencies between changes are more complicated.
- Setup takes time. In both branch strategies, each task starts a fresh session for implementation and another for integration: twenty sessions in total. The batch uses one session and pays setup once. Setup time is included in the implementation and integration bars. The model assumes no extra speed benefit from reusing context.
- The clock runs from dispatch through verification. Cloning and installing dependencies are outside the model. It also leaves out randomness, competition for services, and token usage. Ticks do not predict real elapsed minutes.
Three delivery strategies
Parallel branches start each task from the latest integrated version of its resource, as long as a slot is available. Implementation can run alongside integration. A stale branch gets repaired before its merge completes.
Exclusive ownership gives each task sole access to its resource from the start of implementation until its merge is verified. Other tasks that need the same resource wait to start. With one shared resource, tasks run one at a time and avoid stale-branch repairs. Tasks using independent resources can still run in parallel.
One batched workload uses one slot and one branch to implement all ten tasks in sequence, then integrates and verifies them together. There are no competing task branches to repair. Adding slots does not give this strategy more workers. In this model, the final integration and verification take the same time as they would for a single task. Verifying a whole batch in practice can take longer and can fail.
A worked example
Choose one slot, four implementation ticks, three integration ticks, one setup tick, and shared resources. Both branch strategies take 90 ticks: ten tasks × (four implementation + one setup + three integration + one setup). With only one slot, no other task can change the resource before the active task finishes integrating, so no repairs are needed.
The batch takes 44 ticks: ten × four implementation ticks, one setup tick, and three final integration ticks. It does the same amount of implementation work. It finishes sooner because the model gives it fewer setups and integration steps. That result alone tells us nothing about whether an agent reasons better in a persistent session.
Try a few comparisons: set setup to zero, increase integration cost, or switch to independent resources. Before each run, predict which strategy will benefit. You can download a JSON snapshot to keep your settings and the full schedule.
How this relates to Experiment 001
In the measured experiment, median time savings tapered off beyond five concurrent fresh agents. A separate strategy that kept one session for the full workload finished faster and reported fewer input tokens. That comparison changed several things at once: batching, branches, handoffs, and when validation happened.
This lab lets you explore some of those effects: a single integration lane, stale branches, repeated setup, and a final batched merge. It does not reproduce the experiment’s timings, tell us what caused its results, or estimate token usage. Keep its assumptions in mind: every task takes the same implementation time across all strategies, repairs always succeed, and any intervening merge makes a branch working on the same resource stale.
Take it back to your own workflow
Before adding agents, look for work that can proceed independently. Track how much time goes into implementation, waiting, repairs, and verification. Consider whether assigning ownership or batching tasks could cut down on repeated work, then try it with real changes and clear quality checks.
The investigations help you understand how these rules affect the outcome. To choose a workflow for your own repository, you still need measurements, review, and a definition of done that includes getting the changes merged and verified.