Check a Take-Home Assignment Before You Submit It
A reviewer may spend only a short time on your assignment, and the first few minutes go on running it. If the setup fails, they may never see your best code. The last part of your time is therefore better spent as the reviewer than as the author. This guide uses an invented brief, an expense tracker with a 48-hour limit, and shows what a ninety-minute final review finds.

First 20 minutes: go back to the brief
The invented brief says: "Build a web app to add, edit and delete expenses. Show a monthly total by category. Data should survive a refresh. Include instructions to run it. Bonus: CSV export."
Copy each sentence into a table and test it as a user. Do not mark a row from memory.
| Requirement | Test | Result |
|---|---|---|
| Add an expense | Added ₹249.50 for travel | Works |
| Edit an expense | Changed the amount, then refreshed | Old value came back |
| Delete an expense | Deleted one of two identical items | Both disappeared |
| Monthly total by category | Added items on 30 November and 1 December | Works |
| Survives refresh | Refreshed after each action | Fails after edit |
| Run instructions | Not written yet | Missing |
| Bonus: CSV export | Not started | Skip |
Two real bugs appeared in things that seemed finished. Edit updates the screen but not the saved copy, and delete matches by name and amount instead of by ID. Fix both before touching the bonus. A complete main task with no bonus is a better submission than the reverse.
If a sentence in the brief is unclear, choose one meaning and write it down. "Monthly total" here means a calendar month, not the last thirty days.
- Test every sentence in the brief
- Fix required items before bonus items
- Write down how you read unclear points
Next 20 minutes: run it like a stranger
Clone your own repository into a new folder and follow only your README:
git clone <your-repository-url> review-copy
cd review-copy
npm ci
npm startThis finds problems your main folder hides: a package you installed globally, a .env file that was never committed, a file name whose capital letters work on Windows but fail on Linux, or a database that must be created first.
Add a .env.example with names and safe sample values, never real keys. If a secret was committed at any time, deleting the file is not enough because it stays in the history. Cancel that key and create a new one.
If setup needs more than three or four commands, try to reduce it. For an expense tracker, SQLite or browser storage may be enough, and it removes a database installation from the reviewer’s evening.
- Use a new folder and follow the README exactly
- Provide sample environment values
- Replace any secret that was ever committed
Next 25 minutes: try to break it
Choose inputs that match this app, not a generic list:
- Amount: empty, 0, -50, 1e5, 249.555, and text pasted into the field
- Date: 29 February in a year that is not a leap year, and a future date
- Category: the same word with a space at the end
- Text: a very long note, and
<b>test</b>, which should appear as text - Actions: double-click Save, then press Back after saving
Money deserves special care. In JavaScript, 0.1 + 0.2 is not exactly 0.3. Store paise as whole numbers, so ₹249.50 is 24950, and format it when you show it. If you run out of time to change this, say so in the README.
You do not have to fix everything. Sort what you find: fix wrong data and crashes, fix confusing messages if it is quick, and list the rest as known limits.
Keep two or three automated tests for the logic most likely to break. Here that is the category total, the month boundary and deleting one of two similar items.
- Test values that are special to this problem
- Fix wrong data before appearance
- Add a test for each bug you fixed today
Last 25 minutes: the README and the code a reviewer opens first
A reviewer reads the README, the main file and perhaps one test. A useful README for this task fits on one screen:
# Expense tracker
Add, edit and delete expenses, with monthly totals by category.
## Run
Node 22. Run: npm ci, then npm start. Open http://localhost:3000
Tests: npm test
## Decisions
- Amounts are stored in paise to avoid rounding errors.
- "Monthly" means calendar month in the user's time zone.
- Data is kept in SQLite so there is no database to install.
## Not done
- CSV export. I used the time to fix edit and delete instead.
- No login. The brief describes a single user.
## With one more day
Add pagination. The list becomes slow at about 2,000 items on my laptop.Write numbers such as the 2,000 items only if you measured them.
Then remove commented-out code, unused files, console output and the default text from your starter template. Rename anything called temp or data2. Do not rewrite the structure now. A late reorganisation is a common way to break a working submission.
If the company’s rules mention AI tools, follow them and answer honestly. Whatever you used, you may be asked to change the code live, so read every file once and make sure you could.
- Explain decisions and what you left out
- Delete template text and dead code
- Read every file once
Send it, then prepare for the discussion
Open the repository link in a private window. If it must stay private, add the reviewer’s account and confirm the invitation was sent. Tag or note the final commit so that later changes do not confuse anyone.
A short message is enough: "Hi [Name], here is my assignment: [link]. The README has the run steps, my main decisions and what I left out. It took about nine hours. I am happy to walk through it."
State the time honestly. If the brief said four hours and you spent fifteen, the reviewer will compare you with the wrong expectation.
Before the discussion, prepare answers to three questions: What would you change first? Why did you choose this storage? What happens with a hundred thousand expenses? Use the structure in How to Explain a Bug You Fixed: A Double-Booking Example for the edit and delete bugs you found, because they are now good stories.
- Test the link in a private window
- State the time spent
- Prepare to change one feature live
What to remember
- Test the brief sentence by sentence before you add anything extra.
- A fresh clone is the fastest way to find a broken setup.
- Say what you left out and why, so that the reviewer does not have to guess.
Common questions
Should I submit late if the work is not complete?
Send what works before the deadline, with a clear “Not done” section. If you need more time for a good reason, ask before the deadline and suggest a specific new time.
The assignment looks like free work for the company. What should I do?
Ask how it will be evaluated and how long it should take. Be careful with a task that uses the company’s real product and needs several days. You can offer a smaller version, or decline politely.
Can I put the assignment on GitHub afterwards?
Check the instructions and ask if they do not say. Some companies reuse the same brief. If you publish it, remove the company name and the original brief unless they agree.
