Home Articles Services About Updates Contact

Web Dev

Evaluate Claude Code, Cursor and GitHub Copilot With the Same Three Tasks

By Francis Aguguo · Published September 6, 2026 · Updated November 28, 2026 · 6 min read

Laptop displaying programming code
Stock photograph: Laptop displaying programming code. Photo by Bernd Dittrich on Unsplash; Unsplash License. Illustrative, not evidence of TechsNuggets testing.

Define a fair comparison before subscribing

This is an evaluation kit, not a hands-on ranking of Claude Code, Cursor or GitHub Copilot. Choose tools compatible with your environment and verify current plan access, permissions and usage limits in their documentation. Keep a separate record of the exact product, account type, date and configuration you evaluate.

Use the same harmless repository and starting version for each candidate. Include setup and correction time in the decision; otherwise a fast initial response can conceal a slow route to accepted work. Do not compare a restricted account with a fully configured one and attribute every difference to the model.

A completed local exercise: catch the empty-title defect

To make the comparison method reproducible, we built and ran a seven-case JavaScript fixture on November 28, 2026. It has no dependencies, network calls or private data. It tests a requirement with a definite answer: a title must be a string containing at least one non-whitespace character. The baseline and repair are editorial examples; neither is attributed to a commercial coding assistant.

The deliberately inadequate baseline returns typeof value === 'string'. That accepts an empty string, spaces, and a tab followed by a newline. The repair adds value.trim().length > 0 after the type check. The order matters: calling trim() on null would throw instead of returning a normal rejection. The function validates a value; it does not save it or promise to remove surrounding spaces from stored data.

InputRequired resultBaselineRepair
Empty, spaces, tab/newline (3 cases)RejectIncorrectly acceptsRejects all three
Normal title, padded title (2 cases)AcceptAcceptsAccepts
Null, number (2 cases)Reject without throwingRejectsRejects

Observed result: the baseline met 4 of 7 expectations; the repaired function met all 7. Download the runnable fixture and the recorded results. With Node.js installed, run node title-validation.cjs. An assertion failure stops the script; successful output lists the individual inputs and outcomes.

Use this as a calibration task before evaluating assistants. Give each one the requirement and baseline, retain the same seven cases, and ask for the smallest repair. An answer that changes the tests to accept whitespace has changed the requirement. An answer that adds a package for this function increases maintenance without an evident need. A passing answer still needs inspection for unrelated edits.

This exercise establishes the behaviour of this small validator. It does not establish response time, subscription value, Unicode naming policy, server validation or a winner between products. Record those separately. JavaScript’s type checks are deliberately strict; see the language reference for typeof. A real application must apply its chosen rule at the trusted data boundary as well as in the screen.

Task one: explain a module with evidence

Ask: ‘Explain this module’s inputs, outputs, dependencies and failure cases. Point to the functions supporting each claim. List anything you cannot establish from the repository.’ Select a small module you understand so you can verify the explanation.

Record invented functions, missed side effects and useful references. A fluent overview is not enough if it describes a database or permission check that does not exist. Limit the assistant to the files you approve and exclude secrets, customer records and proprietary material unless use is authorised.

Task two: implement one bounded change

Use a small requirement such as: ‘Reject an empty project title, show a helpful validation message and retain existing valid-title behaviour.’ State where validation belongs and ask for a proposed change before edits. Evaluate the resulting diff rather than the chat claim that it is complete.

Acceptance cases should cover empty input, whitespace-only input, a valid title and an existing normal workflow. If the application has a server, check whether server-side validation also needs changing. Record unrelated edits, added dependencies and tests altered to accommodate the implementation instead of verifying the requirement.

Task three: diagnose a failure without weakening the check

Give each assistant the same intentionally failing test in a sample project, along with the expected behaviour. Ask it to identify the cause, propose a minimal repair and explain why the test should pass afterward. Restore the original project before each candidate.

Inspect whether the tool fixes the underlying behaviour, skips the test or simply changes the expected output. Run the relevant checks yourself and examine the diff. GitHub’s responsible-use material notes the limitations of AI-generated suggestions; human review remains part of the workflow even when a tool offers automated code review.

Score accepted work rather than output volume

Use the downloadable evaluation sheet to record each task, time to reviewed completion, required corrections, test outcome, permission concerns and usage consumed. A simple rating can be: accepted without correction, accepted after correction, or not accepted. Keep the underlying notes so the score is explainable.

A narrow three-task exercise does not establish a universal winner. One tool may suit an editor-driven workflow and another a terminal-oriented task. The useful purchase decision is whether a recurring benefit justifies setup, subscription and review cost in your own work.

Make permission and privacy behaviour a release condition

Check what each assistant can read and which commands or external connections it may use. Review changes to environment files, dependencies and automation. Do not grant broader repository or terminal access just to make a benchmark look smoother.

If a tool exposes confidential material or attempts an unapproved external action, treat that as a separate concern even if its code passes. Record the boundary and configuration involved rather than assuming the entire product behaves identically in every mode. Keep the evaluation reproducible and the report proportionate to what you actually observed.

Choose a primary tool, then revisit with evidence

Compare the record with a normal billing period and retain an additional tool only if its distinct contribution is useful enough. Review current renewal prices and any separate usage charges before paying. Re-run a representative task after major workflow changes rather than relying forever on an old score.

If you publish your own findings, disclose the repository scope, plan, date, acceptance cases and limitations. Do not label proposed tasks as completed tests. This kit supplies the method and worksheet; readers supply their real results.

Acceptance checks for the three tasks

Observation or taskWhat to checkLimit or stop condition
Explain a moduleClaims point to real codeInvented functions or dependencies
Bounded changeSpecified cases pass and diff stays in scopeUnrelated edits or weakened assertions
Fix a failing testUnderlying behaviour matches requirementSkipped test or changed expectation only

Download the blank worksheet

Download the coding-assistant evaluation worksheet (TXT).

Official sources and further reading