Home · Business · HR & People · Interviewing & assessment

YES

As of 13 August 2026, AI can create a coding assessment for a job candidate.

This still needs a person who signs their name to it.

Can you do it?

5 minutesto a draft.

30 minutesto something you’d act on.

Cost, all in£0

Skill neededchat-fluent

Who has to check ita colleague

What the alternative costsNo comparable alternative price is provided here.

If this goes wrong: suitable candidates spend time on a poor test and you make a hiring decision using evidence that does not reflect the job.

What to actually do

  1. Hand it to a person

    The route this page recommends

    A person who owns the outcome does this end to end, worth it when the failure is dear.

  2. Use a tool built for this

    Second choice
  3. Do it yourself

    The distant third

    A chat interface, chat-fluent skill, and roughly 30 minutes until you can act on the result.

    How to actually do it

    1. Open the job description and write down the seniority, programming language, framework, essential skills and actual work the successful candidate will perform.
    2. Choose the assessment format, time limit, candidate environment, permitted resources and accessibility arrangements, then add these details to the prompt.
    3. Paste the prompt into a chatbot and save the candidate brief, evaluator guide, tests, reference solution and scoring rubric it produces.
    4. Copy the task into a clean repository or coding environment and run every example, edge-case test and reference solution yourself using the stated language and version.
    5. Ask a technically competent colleague who understands the role to solve the task without seeing the reference solution, then compare their approach and completion time with the proposed rubric.
    6. Rewrite ambiguous instructions, remove requirements unrelated to the role, record reasonable alternative solutions and send the final candidate brief and practical submission instructions.

    Prompt

    Create a fair, job-relevant coding assessment for this role.
    
    Role: [job title]
    Seniority: [entry, mid-level, senior or other]
    Programming language and version: [language and version]
    Frameworks, libraries or tools candidates may use: [list]
    Core skills to assess: [list]
    Skills that must not be assessed: [list]
    Time limit: [time limit]
    Assessment format: [take-home, live coding, pair programming or other]
    Expected candidate environment: [editor, repository, test runner and setup]
    Accessibility or reasonable-adjustment requirements: [requirements]
    Company or product context that may be used: [brief context]
    
    Produce an assessment pack containing:
    1. A candidate-facing brief with the objective, starting information, deliverables, assumptions, time limit, permitted resources and submission instructions.
    2. A task that tests the stated skills without relying on obscure trivia, unpaid work unrelated to the role, protected characteristics or knowledge of private company information.
    3. A small, unambiguous example input and output.
    4. A private evaluator's guide with functional requirements, edge cases, test cases and a reference solution.
    5. A scoring rubric with separate criteria for correctness, code quality, reasoning, testing and communication, with clear evidence for each score.
    6. Common acceptable approaches and reasonable alternative solutions.
    7. Likely failure modes, ways the wording could disadvantage candidates, and accessibility improvements.
    8. Three follow-up questions that test understanding without requiring candidates to guess your preferred implementation.
    
    Keep the task proportionate to the time limit. Do not invent company facts, libraries, APIs or requirements. Mark every assumption as an assumption. Make the candidate brief and evaluator guide separate. Do not present the draft as ready to use: end with a short checklist of items I must test or confirm before sending it to candidates.

    Open it prefilled in ChatGPT or Claude, or copy it into Gemini, which takes no prefill link.

What it gets wrong

  • AI cannot know which skills genuinely matter in your team unless you supply evidence from the role and its real work.
  • It produces plausible tests and reference solutions that can contain incorrect assumptions or fail on edge cases.
  • It cannot decide whether the time limit is proportionate or whether the exercise gives an unfair advantage to candidates with particular backgrounds or circumstances.
  • It cannot take responsibility for the candidate experience or for a hiring decision based on the resulting score.

Even on a YES, the friction has a name: judgement under ambiguity, verification cost and stakes of error.

How we scored this

Five axes, each scored nought to two by hand: ten means AI carries the task cleanly, and the thresholds that turn a total into YES, PARTLY or NO are published in the methodology. Each axis name links to its definition.

AxisScore (0–2)
Output2
Inputs2
Verification1
Liability1
Effort delta2
Total8 / 10

FAQ

Can ChatGPT create a coding test for interviews?
Yes. It can draft the task, candidate instructions, test cases, reference solution and marking rubric from a clear role specification. A technical colleague still needs to run the code and check that the exercise measures work the candidate would actually do.
How do I make an AI-generated coding assessment fair?
Give the model the real skills and time limit, exclude irrelevant trivia, state permitted resources and provide an accessibility route. Have a colleague solve the test, compare alternative valid approaches and remove any criterion that is not relevant to the role.
Can AI mark a coding assessment for me?
It can help apply a rubric or explain code, but it should not be the sole basis for rejecting or selecting a candidate. A human should check borderline results, reasonable alternative solutions and any automated feedback before recording an employment decision.
What information does AI need to create a coding assessment?
Give it the role, seniority, language and version, frameworks, skills to assess, time limit, format, environment, permitted resources and accessibility requirements. Include the kind of work the candidate would do, and do not paste confidential candidate or company information unless your organisation has approved that use.

Nearby answers

Assessed by gpt-5.6-luna (gpt-5.6-luna) on 2026-08-13, second-checked by an independent model. Wrong somewhere? Email [email protected] and it gets re-checked.

The newsletter

AI news, new answers and product picks, straight to your inbox.