Talent Twin — AI Job Simulation & Evidence Intelligence

Target Position: Senior Python & AI Developer Decision Support
CA

Careerservices

Debugging & Algorithmic Challenge Assessment Ready
careerservices@bellevue.edu. 0 yrs experience Bachelor of Science, Bellevue University, Bellevue, NE (In Progress) Major: Accounting Minor: Computer Information Systems Expected Graduation Date: January, 20xx GPA to date: 3.95/4.00 PROFESSIONAL ACCOMPLISHMENTS Accounting and Financial Management  Developed and maintained accounting records for up to fifty bank accounts.  Formulated monthly and year-end financial statements and generated Target Skill: SQL
Resume Match 14.9% 4-Factor NLP
Practical Score -- Awaiting Evaluation

Resume Skill Evidence Analysis

Extracted from Careerservices's parsed resume and benchmarked against Senior Python & AI Developer

1 Demonstrated 0 Requires Verification 16 Missing
Demonstrated with Resume Citations
SQL
Skills Requiring Practical Verification
All claimed required skills substantiated.
Missing Job Requirements
Agile Artificial Intelligence Docker FastAPI Flask Git Machine Learning Natural Language Processing NumPy Pandas PostgreSQL Python REST API SQLite Scikit-Learn Unit Testing
Role Challenge

Debug & Optimize: API Deduplication & Rate Limiting (SQL)

Debugging & Algorithmic Challenge

You are onboarding as a Senior Python & AI Developer at Talentora. Our public API gateway processes bursty transaction streams. A junior developer implemented an event deduplication and rate limiter, but production reports reveal two critical bugs: 1. Events with duplicate IDs within the same batch are not deduplicated. 2. Records with a missing or `None` amount crash with an unhandled exception instead of defaulting to 0.0.

Deliverable Requirements:

  1. Inspect the `process_and_deduplicate_events(events, max_limit)` function.
  2. Fix Bug 1: Ensure each unique `event_id` is processed only once. Skip duplicates without raising errors.
  3. Fix Bug 2: Gracefully handle records where `amount` is `None`, missing, or negative (default amount to 0.0).
  4. Ensure total processed events per client does not exceed `max_limit`.
  5. Return a structured result dict: `{'processed_count': int, 'unique_clients': list, 'total_amount': float, 'duplicate_count': int}`.

Measurable Evaluation Criteria & Weights

Deduplication & Core Correctness 40% Weight
Null & Negative Value Resilience 25% Weight
Rate-Limiting Logic 20% Weight
Concurrency & Scale Reasoning 15% Weight

Architectural Follow-up Questions

Answer the questions below to evaluate design trade-offs, edge-case mitigation, and scalability.

solution.py (Python 3.11)
Safe In-Process Sandbox Execution Environment 3 automated unit tests configured
Candidate data isolated & protected