Your question is Fix Issues Across Security, Performance, Observability. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Figure out and fix 5 issues spanning security, performance, and observability in a new codebase within 90 minutes using AI assistance.
Asked in the Technical Interview stage. 90-minute AI-assisted codebase debugging session.
You are given a small Python codebase as a list of source files. Each file is a string. Return the corrected version of the codebase after fixing exactly 5 issues. The issues may involve unsafe input handling, inefficient logic, missing logging or metrics, or other correctness problems that affect production readiness.
files: dict[str, str], mapping file names to Python source code.dict[str, str] with the same keys and corrected source code values.def fix_codebase(files):