DEV Community

Harper Zhu
Harper Zhu

Posted on

The 90-Minute Spike That Decides Whether an AI Tool Ships

When a backend team at a mid-sized product company received a new AI coding assistant, the natural instinct was to run a two-week pilot and compare colorful dashboards. The pilot produced plenty of telemetry but no verdict, because each reviewer picked a different task and nobody agreed on what success meant. The team needed a decision before lunch, so they reached for an agile ritual that predates the current AI wave: the time-boxed spike.

A spike is a small experiment with a hard time limit, a single hypothesis, and a ship-or-kill rule that leaves no room for debate. If the evidence supports the hypothesis inside the box, the approach ships; if it does not, the approach dies quietly with the findings archived. The ritual translates cleanly to evaluating AI coding tools, because it replaces opinionated hallway discussions with a verdict that fits on one page.

The team wrote one measurable hypothesis before touching anything: an agent can reproduce a filed bug in their repository and produce a patch that passes the existing test suite within ninety minutes. They deliberately avoided broad questions about whether the tool felt intelligent, because broad questions produce broad arguments that no dashboard can settle. A single sharp hypothesis produces evidence that any reviewer can check in five minutes.

The Cheap Setup

To keep the experiment cheap and reproducible, they ran the agent through MonkeyCode's free model access and its free server option, which removed the usual friction of renting a GPU or spending a token budget on a multi-day evaluation. Disclosure: This article was prepared as part of MonkeyCode's product outreach. The project is open source, and the current offering includes a free token allowance of ten million tokens plus a free server, so the whole spike cost nothing beyond the developer's afternoon hour.

The setup followed a pattern that any team can copy into a disposable branch. They created an isolated git worktree so the experiment could never poison the main development line, then committed a short note that pinned the hypothesis and the kill conditions to the repository itself.

git worktree add ../spike-bug-101 -b spike/bug-101
cat > SPIKE.md <<'EOF'
Hypothesis: the agent reproduces bug #101 and produces
a patch that passes the project test suite.
Time box: 90 minutes.
Kill: unrelated file changes, skipped tests, or manual
edits after the agent reports completion.
EOF
Enter fullscreen mode Exit fullscreen mode

The developer then handed the agent the bug report, the reproduction steps, and the project's test command, and started a single timer. The agent read the codebase, located the failing path, and produced a patch while the developer's only duty was recording evidence instead of steering. The artifact that mattered was a small evidence file containing the elapsed time, the diff, the test output, and the complete list of files the agent touched.

time git diff > spike.patch
git diff --stat
pytest -q 2>&1 | tee spike-test.log
Enter fullscreen mode Exit fullscreen mode

The Binary Verdict

The verdict rule stayed binary to the end. If the patch made the failing test pass, changed no unrelated files, and the developer could explain every line during review, the approach shipped. If the agent exceeded the box, skipped an assertion, or returned a diff that nobody understood, the approach was killed regardless of how impressive the output looked.

Once the timer stopped, the team turned the evidence file into a two-paragraph decision memo that management could read in a minute. The memo stated the hypothesis, the observed outcome, and the verdict, and it named the conditions under which the team would revisit the tool later. The habit matters because it converts an expensive emotional debate into a cheap, repeatable record that the whole organization can trust.

Why a Spike Beats a Benchmark

This narrow experiment sidesteps the trap that recent reviewer-focused discussions keep exposing in the AI tooling world. A model benchmark reports a number, but that number cannot tell a team whether a tool fits their actual review process. A harness can score one hundred percent while the model it wraps scores thirty, which means the measurement captured the scaffolding more than the assistant. A ninety-minute spike measures the only thing that matters: the outcome in the repository, with the project's tests, under the team's time budget.

Honest Limits

The approach has honest limits that a fair evaluation should publish alongside its results. A single spike covers one workflow slice, so a green verdict does not prove a tool generalizes to legacy code, architectural design, or long-lived maintenance work. The evidence is also environment-specific, because a tool that ships in a tidy monorepo may die in a tangled microservice setup, and ninety minutes is far too short for exploratory tasks that demand deep investigation.

Certain teams should not lean on this method at all. Developers who are deciding between several assistants need a proper comparative harness, because stacking one spike per tool inherits every weakness of a single sample. Teams that already operate a mature evaluation pipeline should keep using it, and anyone assessing non-coding capabilities such as review commentary or design feedback needs a different experiment entirely. The spike earns its place as a cheap filter before heavier machinery, not as a substitute for it.

The next time a vendor demo looks irresistible, the honest move is to write a hypothesis, set a timer, and let the final patch deliver the verdict. A reader can reproduce this exact experiment with MonkeyCode's free model access and free server, and the worst possible outcome of a kill is ninety minutes of well-documented evidence.

Top comments (0)