Language: Python. The pull request has one bug. You get three tries to find the line, then a short debrief.
The security team wants an audit log: who signed in, who failed, who changed a password, and when. record_event writes one line per event. Most callers do not care about the time and leave at out; imports of old events pass their own.
Codetrap needs JavaScript: the code review happens in your browser.