Also reported as AI Coding OA · AI Debug
Since January 2026 many Amazon SDE online assessments end the coding section with a task in a code repository, done with a built-in AI assistant. 29 candidate reports from January to October 2026 are collected here, and 15 more describe the two repos with their own pages. This page covers the format, what the assistant will and will not do, every repo candidates have reported, and how they say they worked. Two repos come up often enough to have their own practice pages, each with a runnable reconstruction: the movie database app and the Jira-like issue tracker.
Format
The AI assistant
POST /api/posts/, two named tests) was identified in a reply as HackerRank's demo rather than the OA, so expect that one as practice.Reported repos
parser.cpp and engine.cpp (the candidate fixed the parser and kept hitting syntax errors in the engine, and still moved forward), and a return policy engine where the provided JSON parser was buggy too (the candidate found four or five bugs without passing every test, and passed).== that should be !=, < 0 that should be <= 0, or a variable that was never updated.fs and parse a CSV; an unused import in the controller is the one you need, and on the login page you must choose admin login first.test.sh, with logic errors, empty unfinished functions and syntax errors; a Django + React project; a Node.js project using Mongoose; a repo whose six tests covered controller validation, persistence and status codes; an object-oriented C++ repo whose six tests each had several problems. The first reporter's advice for Java: look first at the service and controller files, where sorting or status errors sat, and expect a SQL query that needs an extra condition.How candidates worked: Read the README and the task first, reproduce each described error, read the terminal log, then ask the assistant which file the failure points to; the fixes are usually a few lines; check them in the UI, then run the tests and fix the test setup if they do not run (one candidate's full method). Take the failing tests one at a time and ask which function or lines are wrong (another). Lock onto the API files and debug in the order of the API calls: one candidate passed all six tests in exactly 60 minutes this way, and thinks a second attempt would be 30 minutes faster. Work backwards from what each test expects (several). One candidate suggests practising by vibe-coding a similar project, having an AI plant bugs in it, and fixing them from the failing tests.
Common mistakes: Assuming the bugs are only in the obvious module: in the return policy engine the provided JSON parser was buggy too. Stopping when the described bugs are fixed: the tests may check things the task never mentioned (the loan app's repay test, the password-reset profile save). Not knowing the stack's data layer: one candidate stuck on Mongoose, and did not realise the IDE had a debugger.
Scoring, as far as reports show: partial passes have advanced. Candidates moved on with 4 of 6 tests, with 5 of 6, with an unfinished C++ engine, and with an unknown count after the assistant broke. Others were rejected with 5 of 6 after a recruiter call, and with 6 of 6 when the algorithm question went badly. A commenter says they passed the whole OA twice and were rejected both times, so a full pass is not enough on its own.
Send them this page. It is free to read, no account needed.
What you just read — canonical solution, follow-up arc, what passing candidates actually did — exists for all 57 Amazon questions, refreshed monthly from new candidate reports.