I passed the Anthropic CodeSignal online assessment. The part worth preparing for is how one new requirement can break a method that already worked.
In the reported banking version, creating an account and depositing money are only the beginning. Later, a transfer can hold money, expire, and change the balance that the next deposit should return. The addition inside deposit can be correct while its answer is still wrong.
The banking reports describe one project with four progressive levels in 90 minutes. I use those reports below to explain the requirements and walk through the refund problem, then cover two other reported versions: an expiring database and cloud storage.
Which Anthropic interview stage does this cover?
This article focuses on the Software Engineer online coding screen, specifically the progressive, in-memory banking-system version reported by candidates. The task is to implement accounts, balances, and operations in memory, then extend that implementation as new requirements appear.
A Software Engineer candidate's detailed account identifies a 90-minute assessment, four progressive levels, a banking-style task, and Python using only the standard library.
| Detail | Version covered here |
|---|---|
| Hiring stage | Online coding screen for a Software Engineer application |
| Delivery | CodeSignal editor with automated tests; separate from a live video coding interview |
| Time available | 90 minutes in the cited banking reports |
| Number of problems | One system that grows through four levels, rather than four unrelated problems |
| Language in the detailed SWE report | Python, standard library only; no third-party packages |
| Work to submit | A working implementation of the required methods, checked against the provided tests |
| Main difficulty | Keeping earlier behavior correct as transfers, expiry, and merging add state |
CodeSignal's official ICA description independently describes the same broad shape: one project, four progressive levels, up to 90 minutes, with later requirements extending earlier code.
Python preparation: the records behind the methods
The detailed SWE report used Python with the standard library. For a banking implementation, I would prepare dictionaries for account and transfer lookups, explicit transfer states, and sorting with a secondary key for ties.
| Record | What to track |
|---|---|
| Account | Identifier, balance, and active status |
| Activity | The exact cumulative measure requested for ranking |
| Transfer | Sender, recipient, amount, timestamp, and lifecycle state |
| History | Earlier events or snapshots, if historical queries are required |
An unknown account and an account with zero balance need different handling. A current balance and an activity total answer different questions. Keeping these distinctions explicit makes later requirements easier to add.
Python is not a universal Anthropic requirement. CodeSignal's ICA language list includes Python 3 and other languages; check which choices your invitation enables.
Before starting: invitation, editor, and assessment rules
Check the invitation deadline separately from the assessment timer. The banking reports describe 90 minutes of coding; the invitation determines when you must start and submit.
Once inside the coding workspace, the work is to implement the required methods, execute the tests, inspect failures, and extend the same implementation as later requirements become available. The banking report says each level's tests must pass to advance. That makes a failed early requirement more expensive than a wrong answer in an independent-question test: it can block access to the next stage.
Before starting, read the invitation's rules for screens, reference material, copying, and external tools. The cited SWE candidate reported a one-screen requirement and no external tools or LLMs. Anthropic's published AI guidance also defaults to no AI assistance during assessments unless explicitly permitted. Follow the instructions for your own sitting.
Question 1: a banking system that grows through four levels
A public Anthropic CodeSignal report describes account creation, activity ranking, transfers, and merging, added in that order. Each stage extends the same implementation.
Level 1: account creation and deposits
The opening requirements name create_account and deposit. Account creation establishes a record that later operations can address. A deposit identifies an account, updates its balance, and returns the result required by the interface.
Check duplicate account creation and deposits addressed to an unknown account alongside the success cases. Use the return values defined by the supplied interface; the public report names the methods without publishing their complete signatures.
Keep the balance update easy to revisit. At Level 3, an expired transfer can require a refund before a deposit reads that balance.
Level 2: rank account activity
The next stage ranks accounts by transaction activity. Current balance and accumulated activity are different quantities. An account can move a large amount of money and finish with a small balance, so the ranking needs its own correctly maintained data.
For example, A can receive 100 and send 90, ending with a balance of 10. B can receive 50 and send nothing, ending with 50. A balance ranking puts B first; an outgoing-money ranking puts A first. A total-money-movement ranking uses yet another measure. These are explanatory figures, not assessment inputs.
The report uses both total transaction volume and outgoing money. Check which measure your prompt requires before implementing the ranking, including which operations count, how ties are broken, and the required output format.
Level 3: initiate and accept transfers
This stage names transfer and accept_transfer. Initiating a transfer withholds money from the source account while the recipient has an opportunity to accept it.
That introduces a lifecycle:
Transfer initiated
→ money withheld
→ recipient accepts, or the transfer expires
→ balances and transfer state must reflect the outcomeThe account balance alone cannot represent all of that. A transfer record needs to preserve its source, intended recipient, amount, and timing, along with enough state to distinguish pending, accepted, and expired operations.
The checks interact: does the sender exist, can the sender fund the transfer, is this the intended recipient, and is this transfer still eligible to be accepted? The precise rejection rules and expiry duration come from the prompt; the public account does not disclose a numeric timeout.
After expiry, returning the held funds once is a different operation from completing a transfer. If later calls process expiry again, they must not refund the same transfer twice. That is why a pending-transfer record cannot just disappear without the implementation knowing what happened to its money.
Level 4: merge accounts
Merging connects the work from the earlier stages: balances, activity totals, and transfer records. The exact merge requirements determine which data moves, which identifiers remain usable, and how earlier operations are handled.
I would write down the merge rules before changing the records. A separate banking-style report identifies merged entities and historical state as harder later requirements.
Consider the difference between these two questions: what is A's balance after B merges into it, and what was B's balance before the merge? Adding balances can answer the first while deleting the information needed for the second. A design supporting historical queries needs to retain the relevant history and account-lifetime rules.
The reports do not disclose a complete shared merge interface. Pending transfers, historical balances, and the continued validity of the old identifier must be handled according to the actual version, rather than assuming that every banking question asks for the same behavior.
Why a correct-looking deposit can still return the wrong balance
The specific trap in the public banking report is an expired transfer followed by a deposit. The later deposit must first cancel and refund the expired transfer.
Here is an illustrative sequence, using explanatory numbers rather than original assessment data:
| Step | Operation | Available balance |
|---|---|---|
| 1 | Start with 100 | 100 |
| 2 | Initiate a transfer of 30 | 70 |
| 3 | The transfer expires without acceptance | The withheld 30 must be returned |
| 4 | Deposit another 20 | 120 after refund and deposit |
A deposit implementation that ignores the expired transfer returns 90:
70 available + 20 deposited = 90Processing the refund first gives the expected result:
70 available + 30 refunded + 20 deposited = 120The deposit is reading stale state
The transfer is no longer eligible for acceptance, but its held funds have not been returned. Adding 20 to the available 70 gives 90; the missing 30 belongs to the expired transfer.
The banking report identifies this interaction as its sticking point. To fix this rule, process the expiry before calculating the new deposit balance. Changing the addition inside deposit would leave the underlying transfer state wrong.
The processing order to check
For the reported rule, the operation needs this order:
Receive an operation with a timestamp
→ find pending transfers that have expired by that timestamp
→ refund each eligible transfer to its source account once
→ mark those transfers expired so they cannot be refunded or accepted again
→ execute the new operation using the updated account state
→ return the value required by the promptCheck the exact expiry boundary in the prompt: a condition using > can behave differently from one using >= at the expiry timestamp.
How to tell whether the fix is complete
Checking that the deposit now returns 120 is only the first check. A second operation must leave that refund applied exactly once. Reprocessing the same expired transfer would incorrectly add another 30.
| Case to check | What should hold under this rule |
|---|---|
| Transfer expires, then the sender deposits | Refund is processed before the deposit result is calculated |
| Another operation runs after that refund | The expired transfer is not refunded again |
| Someone tries to accept the expired transfer | It cannot complete after its expiry |
| A transfer was already accepted | It must not later be refunded as if it were pending |
These checks isolate the transfer lifecycle: when funds move, when they return, and which operations are still allowed afterward.
When I got stuck, I used SkillCopilotAI for a hint
I reached a point where I could not move forward with my answer. That was when I captured the question and sent the screenshot to SkillCopilotAI. I received a hint, returned to the assessment, and continued working.
For preparation, I would use the refund example to practice checking a suggestion. The target is specific: after a transfer of 30 expires, a deposit of 20 should take the original balance of 100 to 120. An answer of 90 points to the missing refund. An answer of 150 after a later operation points to the same refund being applied twice.
Give the assistant the expiry rule and the sequence of operations, then ask: “Why does this deposit return 90 instead of 120? Which state change is missing, and how can I check that it happens only once?” This is a practice prompt for the example above, not the wording of my assessment conversation.
Check the suggestion against three outcomes:
| Check | Expected behavior in this practice example |
|---|---|
| Deposit after the transfer expires | The balance includes the returned 30 and the new deposit |
| Another operation after the refund | The returned 30 is not added again |
| Attempt to accept the expired transfer | The transfer stays expired; the recipient receives nothing |
This sequence gives you a way to reject an incomplete suggestion. Fixing the first balance is not enough if the next operation creates money or lets an expired transfer complete.
To try the same exercise, install SkillCopilotAI for your computer and sign in to authorize the app. Start with your practice question and one failing sequence; compare the guidance with the expected outcomes above. The download page explains the trial conditions. The suggested exercise here is separate from my reported assessment use and has not been tested with the assistant.
Submission and the result
I continued working after the hint and submitted my answer. I passed the online assessment.
That result covered the online assessment. Anthropic's careers page describes subsequent live technical interviews, including work in Colab or CodeSignal over Google Meet; the sequence depends on the role.
The next two question families come from other published accounts. They are useful additional practice, not extra questions from my sitting.
Question 2: an in-memory database with expiring values
An AI Safety Fellow candidate account on Aced describes a Python CodeSignal database exercise with four increasingly difficult stages. The candidate explicitly names TTL, or time to live, as an added requirement. This is a separate role and reported sitting, rather than another question in the banking assessment.
The base operation is storing a value and reading it back. Once expiry is introduced, the same lookup depends on when it happens: a field may still occupy memory but no longer be a valid result.
A concrete case: the value exists, but should the lookup return it?
For an original preparation example, define a field written at time 10 with a TTL of 5. Define its validity interval as starting at 10 and ending just before 15:
Write balance = 100 at time 10, TTL = 5
Read at time 14 → 100
Read at time 15 → missingThis is an original practice example; use the expiry boundary in your actual prompt.
A plain dictionary lookup returns the value in both cases. To implement the time-aware version, store the value with its expiry and check whether it is still valid before returning it. The same validity rule needs to apply to whichever update, deletion, or scanning operations the task supports.
Where an implementation can go wrong
- Using the wrong boundary at the exact expiry timestamp.
- Checking TTL in reads but forgetting another operation that accesses the field.
- Overwriting a value while accidentally retaining the old expiry.
- Treating a missing field and an expired field inconsistently.
A candidate can write correct dictionary operations and still fail the time-aware extension. The useful preparation is tracing the same record across several timestamps, rather than only checking the value immediately after insertion.
Question 3: a cloud-storage system with users and snapshots
A first-person cloud-storage write-up describes an in-memory Anthropic OA version progressing through file operations, largest-file queries, user capacity/merging, and backup/restore. This is a separate account on a commercial preparation site.
The reported task stores file metadata in memory; it does not require uploading files to a real cloud service. The later requirements connect each file to an owner and make operations respect that user's storage capacity.
A concrete case: a copy needs capacity too
Consider an original capacity example. A user has capacity 100 and currently uses 80. Copying a file of size 30 would raise usage to 110, so the copy must fail under this preparation rule. Deleting a file of size 20 reduces usage to 60; the same copy can then succeed at 90.
Capacity 100, used 80
Copy size 30 → reject; usage remains 80
Delete size 20 → usage becomes 60
Copy size 30 → accept; usage becomes 90The check belongs to the operation that changes storage, not just the method that originally adds a file. A failed operation must leave the existing state intact.
The backup trap: saving a reference instead of a snapshot
For a second original example, back up a user's file list containing report.txt at size 20. Then change the live record to size 30.
If the backup holds a reference to the same mutable record, it changes too. A restore cannot return to the saved state because the backup itself has been overwritten indirectly. An independent snapshot must retain the old metadata.
The write-up also identifies ranking tie-breaks, ownership changes during merging, and file-name conflicts during restoration as details to read carefully. These requirements vary by version; this reported backup version should not be mixed with a different storage exercise ending in compression.
What I would focus on before another progressive assessment
I would practice a whole sequence of requirements on one small system. Build the base, add a new behavior, then run the earlier cases again. The preparation target is being able to change an implementation while keeping its contracts intact.
For a banking-style exercise, I would check:
- Whether expired events are processed before later operations use the balance.
- Whether an expired transfer can be refunded more than once.
- Whether accepted transfers remain distinguishable from pending transfers.
- Whether activity statistics follow the exact definition in the prompt.
- Whether adding a feature changes an earlier method's return value or behavior.
- Whether a merge preserves everything the new specification requires.
There is another practical issue worth checking before the timer starts. In a separate Anthropic CodeSignal account, a candidate described losing time because Python methods were accidentally outside the intended class. The tests appeared to indicate a logic failure, while the implementation was not overriding the expected methods. Before debugging the logic, check that your methods actually override the supplied interface.
Questions I would ask before taking it
Is this the same as a Fellows or research assessment?
Do not assume so. This walkthrough focuses on a reported software-engineering banking screen. Match your preparation to the role and assessment named in your invitation.
Is Python required?
A detailed SWE banking report used Python with the standard library. ICA supports several languages, including Python 3; the invitation determines the choices for a particular assessment.
Is Anthropic CodeSignal four separate coding problems?
The standard ICA is one project with four progressive levels. Check the invitation because an employer can use different assessment configurations and role-specific processes. For a contrasting format, the TikTok CodeSignal guide discusses separately reported allocation and counting tasks rather than one progressively extended system.
Will everyone receive the banking question?
The banking task is a reported version. Neither the public report nor this account establishes what another candidate will receive.
What score guarantees the next round?
The sources used here do not establish a universal Anthropic cutoff. An assessment score and a hiring decision are not the same thing.
Can I use an assistant during the assessment?
Anthropic's published default is no AI assistance during assessments unless explicitly allowed. Read the actual instructions and clarify any uncertainty with the recruiter before starting. This account is not permission to use an assistant in another assessment.
After passing the online assessment, keep practicing coding problems and make sure you understand the solutions. This will help you solve problems independently and answer follow-up questions during in-person interviews.
Share this article
Continue preparing
Editor selected
CodeSignal OA Guide 2026: Score, Questions & Practice
Prepare for CodeSignal online assessments in 2026 with common question types, scoring expectations, coding patterns, and an ethical AI-assisted practice plan.
Editor selected
Ramp CodeSignal Assessment: Format and Progressive Coding Practice
Check your Ramp CodeSignal format, practice an original four-stage coding exercise with a tested Python solution, and prepare without relying on unverified passing scores.
Editor selected
Airbnb CodeSignal Assessment: Format, Progressive Tasks and Practice
Identify your Airbnb CodeSignal format, compare ICA with separate coding questions, and practice a progressive file workspace with a tested Python solution.
Same content type
Stripe Software Engineer Interview Questions 2026: Process, Coding, and System Design
Prepare for Stripe software engineer interviews in 2026 with common coding questions, debugging themes, system design topics, behavioral prompts, and study tips.
Prepare for your next interview
Practice interview questions, review your explanations, and explore SkillCopilotAI for interview preparation.
