Blog9 min read

Technical tests for developers: how long they should take, how to grade them and what to do about AI

More than half of the 286 seniors who applied aren't actively looking. How to build a technical test of up to three hours, what it costs to pay for it, which criteria to grade it with and what to ask afterwards.

A technical test lets you see how someone works before you hire them. The trouble is that many tests are built for people with free time, and the senior developers you most want to meet often don't have any.

This guide is for founders and CTOs who are about to send a test, or who already send one and aren't sure what to do with what comes back. It's written by OpenGateHub, which sells staff augmentation and hiring of senior developers. We use data from the applications we received, and the method and its limits are at the end.

The short answer

  • Length: up to three hours of real work. If you need more, pay for it.
  • Timing: after a first conversation, never as the entry filter.
  • Content: a small problem similar to what the person will do on your team.
  • AI: allowed, as long as they can explain and change what they submitted.
  • Grading: against criteria written before you read the first submission, and always with a conversation afterwards.

Who you lose with a long test

Between September 15 and November 29, 2026 we received 823 applications through our network's form. Of those, 286 describe themselves as senior, lead or architect. We asked about their current situation:

  • Actively looking: 133 (47%)
  • Open to offers: 66 (23%)
  • Employed but listening: 52 (18%)
  • Freelance with capacity: 35 (12%)

So 153 of 286, more than half, did not say they were actively looking. Juniors are the opposite: 195 of 288 (68%) are actively looking.

What they ask for changes too. Seniors who are actively looking ask for a median of 25 dollars an hour. The other three groups combined ask for 30.

These numbers don't measure how many people drop out of a test, and asking for more doesn't mean someone is better. They show who you're talking to: if your process opens with a weekend project, you're asking a lot of a group where many people didn't set out to find a job. And these people applied on their own. You're asking even more of anyone you reach out to yourself.

Before you write the brief, write down what you want to know

The test has to answer something you still don't know after reading the CV and having a conversation. Put it in one sentence, for example: "I want to know whether they can enter an unfamiliar codebase and make a change without breaking something else".

That sentence tells you which format to use. If you can't write it, you don't need a test yet. You need a clearer definition of the role.

Three formats and when to use each one

Reviewing existing code

Give them a pull request with real problems and ask them to comment on it as if a teammate had opened it. It takes less than an hour.

It works for a senior who will review other people's work. You see what they consider serious, what they let go and how they explain a mistake to someone else. It won't tell you how they build something from scratch.

A short problem to solve alone

Give them a small working repository and ask them to add a feature or fix a bug. It takes two to three hours, on their own schedule.

It works for almost any role, because it looks like everyday work. Hand over a project that's already set up: if the first hour goes into installing dependencies, you're measuring patience.

A live working session

You solve something together on a call, with their tools and their editor. 60 to 90 minutes is enough.

It works when the role involves discussing decisions with others in real time. Nerves weigh heavily here, so explain the format in advance and let them ask questions and look things up. Skip the algorithm puzzles unless that's what the role is about.

Pick one. If you ask for all three, you've rebuilt the weekend project, just in installments.

What it costs to pay for the test

Less than it seems. The median rate requested by the 286 seniors is 28 dollars an hour, and 30 among those with fluent English. At those rates, three hours cost between 84 and 90 dollars per person.

With three finalists, that's under 300 dollars. Compare that with finding out two months in that you hired the wrong person.

Paying is good practice for any test, and a basic obligation in these two cases:

  • It takes more than three hours. Agree on the rate and the maximum number of hours before they start.
  • You'll use what they submit. At that point it's work: pay for it and agree in writing on who owns the code. For a test, it's better to use an exercise that won't go into your product.

What to do about AI

Banning it in a take-home test doesn't work, because you can't verify it. And if your team uses it every day, you'd be evaluating a way of working that won't exist once they join.

It's better to allow it and shift the evaluation to what happens after the submission. Ask for three things:

  • Where they used it. Two or three lines in the README are enough.
  • An explanation of one decision. Pick a part of the code and ask why it's built that way and which alternative they ruled out.
  • A live change. Add a small requirement during the conversation and watch how they approach it. Someone who understands what they submitted knows where to make the change. They can use AI here too, because you're looking at whether they check and correct what it gives them.

What the brief should say

A good brief fits on one page. Before you send it, check that it includes:

  • The problem and who it's being solved for. Give some business context, even if it's made up.
  • What's in scope and what isn't. For example: "no login or design needed".
  • The time limit and the due date. Allow several days so they can fit those hours in. And make the limit real: ask them to stop when they reach it and write down what they would have done next.
  • The grading criteria. If you're going to look at tests, say so.
  • The rules on AI. What they can use and what they need to disclose.
  • Who to ask. Their questions also tell you how they work.
  • When you'll reply. Then reply that day, even if the answer is no.

Have someone on your team solve it before you send it. They already know the context, so if it takes them three hours, it will take a candidate longer. Cut it down.

How to grade it without picking whoever you liked most

Write the criteria before you open the first submission and use the same ones for everyone. This split is a starting point out of 100, to adjust for the role:

  • Solves what was asked: 30. It works for the cases in the brief and runs with the instructions they left.
  • Explains their decisions: 30. They know what they chose, what they ruled out and what the downsides are. Score this part during the conversation.
  • Someone else can maintain it: 20. The names make sense, the structure is simple and there are no extra layers for a small problem.
  • Thinks about what can fail: 20. They handle errors and test what matters, even if they don't test everything.

If two people are grading, each should score it before talking to the other. The big differences are what you need to discuss.

The code has to be read by someone with experience in that stack. If nobody on your team has it, find someone outside before you ask for the test. A program that works when you open it doesn't tell you how it was built.

The conversation after the submission

Set aside 30 minutes. This part gives you the most information, and it's easy to skip when you're in a rush. Five useful questions:

  • Walk me through how you approached it. What did you do first?
  • What was the hardest part, and what did you try before you got here?
  • What are the downsides of this solution?
  • If there were a hundred times more users tomorrow, what would break first?
  • What would you change with one more day?

Look for specific answers that include the downsides. It's a bad sign if everything went perfectly, or if they can't explain part of what they submitted. "I left this as is because of the time limit" is a good sign if they know what's missing.

If you want more interview questions, we have a free guide with nine of them, each with good signs, bad signs and the follow-up question. It's in Spanish, at opengatehub.com/preguntas.

When you don't need a test

If someone has recent public code and can show you which part they did, spend an hour going through it together. You can also ask them to walk you through one of their projects in detail, without showing another company's confidential code.

In both cases, use the same criteria you use for everyone else. It's fine to skip the exercise, but not the evaluation.

How to read the data in this article

  • Everything is self-reported. Seniority, situation and English level are what each person selected on the form.
  • These are requested rates, not paid rates. We removed answers that aren't an hourly price (no number, under 3 dollars or over 150) and used the midpoint for ranges. That leaves 282 of the 286 seniors: 131 who are actively looking and 151 from the other groups.
  • The sample is biased. These are people who mostly arrived from social media in Spanish and chose to apply. They don't represent the whole market.
  • Situations may have changed. We use what each person selected when filling in the form, which may not be true today.
  • We didn't measure test drop-off. The times, formats and scoring are recommendations, not the results of a study.

We don't publish any personal data: all the numbers are aggregates.

Where to start

Take the test you use today and ask someone on your team to do it with a timer. If it takes more than three hours, cut it down or pay for it. Then add the grading criteria to the same page and schedule the conversation when you send the brief.

If you want to work out what to evaluate in your next hire, we can go through it together on the free 20 minute call.

Before you hire, let's talk for 20 minutes.

It's free, with no commitment. Tell us what you're building and we'll work out how to set up the search. Even if we don't end up working together, you'll leave knowing what to look for.

Book your free call

We take on few searches at a time.