Urgent.News

What's breaking now, across thousands of outlets.

Tech

Put a Meter in the Take-Home

You open the submission on a Monday and the README still has a public URL in it. The health check answers. A debug header sits in the response, cheerful and uninvited. The candidate finished the feature. They never finished the room. That is the failure this exercise is built to catch. You are not testing whether someone can coax a model into a longer diff. You are testing whether they can ship a…

Examining the submission, the README contains a public URL. The health check responds, but a debug header is present. The candidate completed the feature but not the room. This exercise aims to catch such failures. The goal is not to see if someone can extend a model's diff length. Instead, they must ship a small change within a budget, then turn off the system.

It is easy to generate large volumes now; however, stopping is crucial. Unrestricted take-homes now reward the cheap aspects. A model may create authentication, a database, and a frontend while time passes. The folder appears impressive, yet judgment is missing. To address this, constraints must be included in the prompt before writing the feature.

Submit the packet, not a vague request to build an API. The assignment is the fence, not a suggestion. Time-box the task at 90 minutes. Cease when the clock ends, even if the diff remains unfinished. Include GET /status in a small HTTP service. Return a JSON object with 'ok' set to true and 'rev' set to a git short SHA or 'unknown'.

Run it on a disposable server that can be deleted the same day. Using a model assistant is allowed. Document what you asked, what you rejected, and why you stopped in status_note.md. Tear down the server before submitting, and provide proof. Do not include secrets, tokens, or live URLs in the repository. Submit the diff, the note, and the teardown proof.

If model access or the server option is unavailable when starting, stop. Submit the local handler and note the blocker. Hiring for restraint is essential, so the prompt must model restraint. A blank page encourages a blank check. A bounded page encourages a bounded answer. Candidates who skip the last sentences reveal how they handle limits.

Do not soften this in the pairing round, regardless of how the diff looks. Free model tiers and server options belong here only as the room lent, not as the subject of the interview. Disclosure: This article was prepared as part of MonkeyCode's product outreach. These availability claims allow a candidate without a cloud bill to draft the handler and run it somewhere they can delete.

Re-check both before naming them in the packet. This draft assumes no quota, hardware size, duration, or model name, as these details vary. If the documentation contradicts this article on the day you send the packet, the documentation prevails. Never include 'unlimited' in the instructions. Specify that they should use the free access allowed and stop if it doesn't.

A take-home depending on a number not verified is a grading fixture that cannot be fairly evaluated. The sample below is a proposal. It has not been executed against a live host in this article. Treat it as the shape of a passing diff, not a measured result.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Stripe webhook signature verification failed: the 5 causes and fixes

If you've integrated Stripe webhooks, you've probably seen this error: StripeSignatureVerificationError: No signatures found matching the expected signature for payload.

  • Stripe-Signature header contains timestamp, version, and signature
  • Verification fails if timestamp is outside 5-minute tolerance window
  • Discrepancy in signing secret or raw body causes signature verification failure

More from Friday 9 October →