If you need a small, testable bug fixed, give the assistant a bounded bug, compare the focused diff, and keep the change only when the actual tests pass. Do not use this method for a large refactor, security-critical code, or a legacy system with no tests. The example is constructed, not a real ticket.
Run the fixed example: Run four checks — see the same tests catch the old function and pass the minimal fix. Your own code is never executed here; record it as text in the repair notes below.
Choose by condition
Answer up to four short questions and see which tools are confirmed for your conditions, which still need checking, and why the rest do not fit. The same conditions can be shared with a link.
Your shortlist
Answer the first three questions to see your shortlist.
The conditions behind every route
Each route is judged on the same tool, plan and platform for every condition you set. “Needs confirmation” means the vendor pages read for this section do not confirm it; it is never counted as a yes. “Does not meet” always cites the source that states the limit. None of this is a product test.
Github Copilot — Free plan
Main limit: Free covers completion and limited agent use, but Git commit/undo is not confirmed and the agent balance is not quantified.
work:complete
Supported — Free gives 2,000 code completions a month inside the editor, with limited chat and agent usage (not quantified).
work:repo
Supported — Free gives 2,000 completions a month that assist editing existing code. Chat and agent are judged separately by the agent condition and are never implied by completion. Git commit and undo are judged separately.
When NeoVim: Supported — In NeoVim, Copilot Free completion assists manual editing of existing code; chat and Agent mode are not supported there, so repository work here means completion-assisted editing, not agent-driven changes.
env:editor
Supported — Completions are inline suggestions inside the editor.
env:neovim
Supported — In NeoVim, code completion is supported. Chat and Agent mode are not supported there, so they are judged separately and never implied by completion.
free
Supported — Free is a continuing free tier ($0) with 2,000 completions a month.
need:git
Needs confirmation — No reviewed fact binds Git commit and undo for Copilot Free. What is missing: an official source for committing and reverting changes from Copilot.
need:agent
Supported — Free includes limited chat and agent usage, but the remaining amount is not quantified; check the account before relying on it.
When NeoVim: Does not meet — In NeoVim, Agent mode is not supported, even though code completion is.
need:notrain
Supported — From April 24, 2026, Free interactions may be used for training unless you opt out in personal settings. This is a setting you must enable before use; it is not already on, and it is not offline use.
Github Copilot — Pro plan
Main limit: Pro's price is confirmed, but its completion, repository and agent behaviour are not separately confirmed in the reviewed facts.
work:complete
Needs confirmation — No reviewed fact binds completions specifically for the Pro plan; the 2,000-a-month fact belongs to Free. What is missing: a Pro-specific completion fact.
work:repo
Needs confirmation — No reviewed fact binds Pro repository work separately from the Free allowance. What is missing: a Pro-specific repository-work fact.
env:editor
Needs confirmation — No reviewed fact binds the Pro plan's editor behaviour separately. What is missing: a Pro-specific editor fact.
env:neovim
Needs confirmation — The NeoVim feature matrix is not tied to a specific plan in the reviewed facts. What is missing: a Pro-specific NeoVim fact.
free
Does not meet — Pro is a paid plan, so it has no free entry. Pro+ and Max are separate plans and are never merged into this Pro route.
need:git
Needs confirmation — No reviewed fact binds Git commit and undo for Copilot Pro. What is missing: an official source for committing and reverting changes from Copilot Pro.
need:agent
Needs confirmation — Pro has a $15 monthly total credit figure, but no reviewed fact binds Pro agent autonomy separately from the credit total. What is missing: a Pro-specific agent fact.
need:notrain
Supported — Pro is an individual paid plan, so its interactions may be used for training unless you opt out in personal settings. This is a setting you must enable before use; it is not already on, and it is not offline use.
Cursor — Agent (editor) plan
Main limit: Agent capability and the limited free entry are confirmed for repo work, but in-editor code completion is not separately confirmed; Git commit/undo, the standalone IDE price and terminal-client use are not either.
work:complete
Needs confirmation — Cursor Agent is confirmed for autonomous task work, but no reviewed source binds in-editor code completion itself to this route. What is missing: a direct source for inline completion inside the editor and its free coverage.
work:repo
Supported — Cursor Agent works inside the editor and can complete coding tasks, run terminal commands, and edit code.
env:editor
Supported — Agent runs inside the Cursor editor.
env:terminal
Needs confirmation — Agent can run terminal commands from inside the editor, but that is not the same as you working directly in a terminal client. What is missing: a direct source for terminal-client use.
free
Supported — The public Free plan ($0 a month) includes limited agent requests and limited chat requests. Limited means limited: this does not imply a free cloud agent, unlimited usage, all third-party models, or every editor feature.
need:git
Needs confirmation — No reviewed fact binds Git commit and undo for Cursor Agent. What is missing: an official source for committing and reverting changes from Cursor.
need:agent
Supported — Agent can complete coding tasks independently, run terminal commands, and edit code.
need:notrain
Supported — Privacy Mode is available to anyone (free or Pro); when enabled, code is not used for training. This is a setting you must enable before use; prompts and code context are still sent to model providers, so it is not offline use.
Aider — Software (terminal workflow) plan
Main limit: The terminal workflow and Git handling are confirmed, but the software being free does not make the whole workflow free.
work:repo
Supported — Aider edits the files you name and git-commits all of its changes, so they are easy to track and undo; /undo reverts AI changes. Run it from the terminal with the files to edit.
env:terminal
Supported — Run aider with the source files you want to edit, then ask for code changes at the aider prompt. Software installation and repository/model setup are still prerequisites.
free
Needs confirmation — The software itself is free under Apache 2.0, but model use is billed by the provider chosen or runs on local hardware, with no universal monthly total. What is missing: a confirmed model cost for the chosen route, so no whole-workflow zero-cost result is given.
need:git
Supported — Aider git-commits all of its changes, so they are easy to track and undo; /undo reverts AI changes.
need:agent
Needs confirmation — No reviewed fact binds autonomous command-running for Aider; it edits files you name when asked. What is missing: an official source for agent-autonomous runs.
need:notrain
Needs confirmation — No reviewed fact binds training opt-out for Aider. What is missing: an official source for whether prompts or code are used for training.
Replit — Browser prototype route plan
Main limit: The browser route and GitHub round-trip are confirmed, but the free entry and any dollar budget are not.
work:prototype
Supported — Replit can be started on the web in the browser, and guides the user from a first chat to a live site. Free entry, publishing, deployment and production use are judged separately and are not implied by opening in the browser.
work:repo
Supported — Version control supports importing, modifying, and pushing code between Replit and GitHub, with agent checkpoints creating commits at milestones.
env:browser
Supported — Start on the web in the browser; no editor install is needed for this route.
free
Needs confirmation — Free Mode usage (up to 30 hours of chat, up to 60 projects on the Core card) is confirmed, but Free Mode is not evidence of a long-term free tier, and the page amounts carry no labelled currency. What is missing: a confirmed long-term free entry.
need:git
Supported — Version control supports importing, modifying, and pushing code between Replit and GitHub.
need:agent
Needs confirmation — No reviewed fact binds agent-autonomous command-running for Replit; agent checkpoints creating commits is not the same as an agent running commands on its own. What is missing: an official source for agent-autonomous runs.
need:notrain
Needs confirmation — No reviewed fact binds training opt-out for Replit. What is missing: an official source for whether prompts or code are used for training.
Every source behind this section
Aider LICENSE (Apache 2.0) ↗ — checked 25 Oct 2026. Frozen V+01 source. Software itself carries no subscription charge; model use is billed by the provider chosen or runs on local hardware.
Aider docs: LLMs ↗ — checked 25 Oct 2026. Frozen V+01 source. Aider can connect to most LLMs, including local models such as Ollama.
Aider docs: Usage ↗ — checked 8 Nov 2026. Read 2026-11-08 08:01 UTC. Run aider with source files; ask for changes at the aider prompt.
GitHub docs: Copilot feature matrix ↗ — checked 25 Oct 2026. Frozen V+01 source. NeoVim: code completion supported; chat and Agent mode not supported.
GitHub docs: Copilot training opt-out ↗ — checked 25 Oct 2026. Frozen V+01 source. Free and individual paid plans may have interactions used for training unless opted out in personal settings.
Cursor docs: Agent overview ↗ — checked 25 Oct 2026. Frozen V+01 source. Agent can complete coding tasks independently, run terminal commands, and edit code.
Cursor pricing ↗ — checked 8 Nov 2026. Read 2026-11-08 (Codex browser read, same day). Free $0 tier with limited agent requests.
Cursor security: Privacy Mode ↗ — checked 25 Oct 2026. Frozen V+01 source. Privacy Mode is available to anyone (free or Pro); when enabled, code is not used for training, but prompts and code context are still sent to model providers.
Replit pricing ↗ — checked 25 Oct 2026. Frozen V+01 source. Amounts shown without a labelled currency; Free Mode usage (30 hours of chat, 60 projects) is not evidence of a long-term free tier.
Replit docs: Version control ↗ — checked 25 Oct 2026. Frozen V+01 source. Import, modify, and push code between Replit and GitHub.
Replit docs: Welcome to Replit ↗ — checked 8 Nov 2026. Read 2026-11-08 08:01 UTC. Start on the web; turn an idea into a live site.
Facts last checked 8 Nov 2026 for the new bindings; frozen V+01 facts keep their 25–26 Oct 2026 dates. Prices and limits change, so confirm on the vendor’s page before paying.
How the shortlist is decided
A tool is shortlisted only when the vendor’s own pages back every condition you set for one of its plans. “Needs confirmation” never counts as a yes; those routes are listed separately with the missing detail named.
One plan’s price is never combined with another plan’s export, and a desktop capability is never combined with a mobile promise.
A trial is not a free plan, and a one-off credit is not a monthly allowance. A free entry must cover the work you selected.
Within a group the order is alphabetical by tool name. No payment, popularity score or rating changes the order.
Run the fixed example and record your repair
About this workbench — your code is never executed here
This workbench runs one fixed, reviewed example on this page: the totalCents function, before and after a one-line fix. Clicking Run four checks calls both functions with the same four inputs and compares each result with the expected value. It is a local demonstration, not a test of any coding product and not a verification of your project.
Your code is never executed here. Anything you type below is plain text: it is shown, copied and exported as text only. It is never run, never uploaded, and never saved — refresh or close this page and your draft is gone.
Fixed example: totalCents
Minimal diff (one line, name and signature unchanged):
Before: return rows.reduce((sum, row) => sum + row.amountCents);
After: return rows.reduce((sum, row) => sum + row.amountCents, 0);
Reference expectations — 4 inputs and expected results
Reference expectations (not a run yet — press the button to run):
Input rows
Expected result
[]
0
[{amountCents: 200}, {amountCents: 300}]
500
[{amountCents: 0}]
0
[{amountCents: -50}, {amountCents: 50}]
0
Not run in this page
Your repair notes
Record your own project in the same shape: reproduce, then change, then verify. The fixed demo above and your notes below stay separate — a passing demo never marks your project as passed.
Verification fields
Preview (updates as you edit)
Your draft stays in this page only. Copy or export it before you leave.
Work through the example
Suggested task and checked reference material. No authenticated product test or measured vendor result is claimed.
The handoff brief
Fix one numeric total function. Preserve its public name, add no dependency, and leave null, missing input and invalid rows outside this ticket. Deliver the diff and an exact command that reproduces the result.
Takeaway material: Small-bug repair worksheet
Work this material fits: Use AI help to fix one clearly stated numeric error, and judge whether the fix broke anything else.
What you take away: A minimal patch (one-line diff) plus four regression checks with expected results, and a clear note on what this ticket does not prove.
Read it here in full. Copying or downloading is optional, never required to read the key information. No sign-up, link-back, subscription or login is required to use the download.
The bug, in one paragraph
The function totalCents adds up the amountCents field of each row. Without an explicit starting value, the first row object itself becomes the running total, and an empty list has no first row at all. Both cases fail, while the intended behaviour is a plain numeric total.
Minimal diff: before and after
Change one line only. Keep the function name, signature and behaviour for every other input untouched.
Before:
return rows.reduce((sum, row) => sum + row.amountCents);
After:
return rows.reduce((sum, row) => sum + row.amountCents, 0);
Repaired function
The explicit numeric starting value of 0 makes an empty list return 0 and stops the first row object from becoming the sum.
function totalCents(rows) {
return rows.reduce((sum, row) => sum + row.amountCents, 0);
}
Four regression checks and expected results
Run the same command against the original and the repaired function. The original fails; the repaired function must pass all four. Save the supplied reference test as total-cents-check.cjs, then run: node total-cents-check.cjs
Input
Expected result
[]
0
[{amountCents: 200}, {amountCents: 300}]
500
[{amountCents: 0}]
0
[{amountCents: -50}, {amountCents: 50}]
0
What this ticket does not establish
Nothing about null rows, missing fields, strings, fractional cents or overflow — those are outside this ticket; open a separate ticket for invalid input.
Nothing about production callers. Inspect the real caller and reproduce its input shape before merging; a synthetic unit example alone does not prove production readiness.
No new dependency, network call or unrelated validation rule. If a proposed patch adds any of those, revert those hunks and restate the agreed numeric-row contract.
Honest scope note
This is this site’s own workflow example. The reference patch was checked locally, not produced by a vendor coding product, and no vendor product was run for this example. That means this page makes no claim that any particular product won a test, and no per-ticket price or successful repair is guaranteed by any tool entry here.
The code snippets on this page do not execute your code. Run the check yourself in your own checkout or reversible branch, keep a focused commit, and revert the patch if any check fails. No external model API is needed for this worksheet.
What the download pack contains
Problem statement: fix one numeric total function, preserving its public name and adding no dependency.
Sample code: the original function, the minimal diff and the repaired function above.
Verification method: the four regression checks and the exact command node total-cents-check.cjs.
Source links: the official plan pages listed under Official sources and dates on this page.
When this method fits, and its limits
Fits: one bounded numeric bug, existing regression cases that reproduce it, and a single-function scope.
Work on a clean branch or reversible checkpoint before inviting the assistant; never on uncommitted production code.
A failing test must exist first: if nothing reproduces the failure yet, write that test before the assistant touches code.
The patch can touch unrelated code: inspect the full diff and revert any hunk outside the agreed scope.
This is not a security review: the ticket acceptance checks numeric behavior only, not vulnerabilities.
This does not guarantee performance: no timing or load check is part of this ticket.
Explain why the supplied function fails both an empty list and a normal two-row list. Propose the smallest repair to the function only. Preserve the name and signature; do not add dependencies, network calls or unrelated validation rules. Show the focused diff, then provide tests for empty, two-row, zero and offsetting amounts. List what this ticket does not establish about invalid input or production callers.
Reference handoff
Reference patch — checked locally with Node on Oracle, not produced by a coding product
Focused repair
return rows.reduce((sum, row) => sum + row.amountCents, 0);
Reason
The explicit numeric initial accumulator makes an empty list return 0 and prevents the first row object from becoming the sum.
Required evidence
The original fails the regression cases; the repaired function passes all four. Inspect the actual project caller before merging.
Out of scope
No claim about null, missing fields, strings, fractional cents, overflow, or a production deployment.
Run the reference check
Save the supplied reference test as total-cents-check.cjs, then run: node total-cents-check.cjs
function totalCents(rows) {
return rows.reduce((sum, row) => sum + row.amountCents, 0);
}
const cases = [[[], 0], [[{amountCents:200}, {amountCents:300}], 500], [[{amountCents:0}], 0], [[{amountCents:-50}, {amountCents:50}], 0]];
for (const [rows, expected] of cases) {
if (totalCents(rows) !== expected) throw new Error('Regression failed');
}
console.log('4 regression cases passed');
Do the task
Create a clean branch or reversible checkpoint. Run the small regression before inviting an assistant to change the code.
Give the exact function, four expected values and the one-function scope; withhold credentials and private records.
Inspect the diff before running commands. Reject new dependencies, network calls, broad refactors and invented input policies.
Run the same four cases, relevant repository tests and a real caller. Keep a focused commit or revert the patch.
Before you hand it over
The original failure is reproduced by the same test command used to check the repair.
All four specified cases return the expected numeric value.
Only the intended function and its focused regression test changed.
No private data, new network path or package was introduced.
A reviewer checked the real caller; a synthetic unit example alone does not establish production readiness.
Choose by the actual constraint
Keep your current supported editor or GitHub workflow
Github Copilot — Use a small issue and a focused diff rather than handing over the whole repository.
Budget and access
Free has limited chat and agent usage, plus 2,000 inline suggestions per month in the reviewed comparison. Agent and chat activity consume AI credits.
Check first
Remaining allowance, model and feature affect usage. No per-ticket price or successful repair is guaranteed.
You already have Cursor set up for this repository
Cursor — Use the existing workspace for the same small ticket, with command and diff review.
Budget and access
The reviewed pricing page combines Cursor/Grok plans; this review has not confirmed a standalone IDE purchase or renewal amount. Third-party models are separately billed at API list price.
Check first
Set and inspect spending caps before an agent session. Do not assume an old subscription price or unlimited agent work.
Third-party models remain available in Cursor at API list price.
you can set spending caps to manage costs.
Choose the job first
What needs to leave your desk?
An explanation, a patch to an existing repository and a hosted prototype need different tools and acceptance checks. Keep the repository, credentials and deployment costs under your control.
Make a reviewed patch in an existing project
Use one small issue, inspect the diff and run the project's real tests. Subscription access does not guarantee a correct or secure patch.
Check the current model and billing route, command permissions and how to restore changes. A tool's ability to run a command is not a reason to approve it.