NewProject Coding is here — build features and fix bugs in real codebases with an AI assistantSee what's new
avatar
nehadesai1203Oct 6, 2026

Affirm phone screen, fraud detector debug + build

Interview Experiences
affirm

Affirm phone screen, fraud detector debug + build

Had my Affirm phone screen Tuesday, 60 min on CoderPad with starter code already there. Got the Live Fraud Detector question.

First part was debugging a counter that tracks distinct PII values across underwriting events. Found two bugs, one was it wasn't filtering event types at all, other was empty fields getting counted. Tbh took me longer to read the code than to fix it.

Second part was building the detector on top, flag suspicious underwriting events and carry their PII forward so later events can match on it. Hashmaps and sets, nothing fancy. Finished with about 10 min left and ran through edge cases with the interviewer.

Recruiter reached out 2 days later to schedule the onsite.

14992.4k

Replies (7)

avatar
User-325v4Oct 13, 2026

Could you update the post with the exercise you get on-site, please? Thanks!

84
avatar
User-hkjidOct 6, 2026

Had something similar last month, the empty field thing got me too lol

75
avatar
User-325v4Oct 19, 2026

How was the on-site? What about the AI-Assisted round?

69
avatar
User-imr8fOct 6, 2026

Was the starter code in python or could you pick? I heard it's a lot of code to read before you even start.

35
avatar
nehadesai1203Oct 6, 2026

I picked python. Yeah it's a decent chunk, I spent maybe the first 10 min just reading.

65
avatar
User-qs2doOct 8, 2026

The empty-field gotcha sounds like the classic trap in these debug rounds. Did the debug part come with failing tests, or was it purely read-and-find?

30
avatar
User-c7nziOct 6, 2026

congrats, good luck on the onsite

26
avatar
User-3fmifOct 6, 2026

Did they ask about scaling it or just the two parts?

16
avatar
nehadesai1203Oct 7, 2026

Just the two parts, we talked a bit about memory at the end but nothing formal.

3
No more replies