One in Five
A easy AI Coding interview practice problem on DataDriven. Write and execute real ai coding code with instant grading.
- Domain
- AI Coding
- Difficulty
- easy
- Seniority
- L4
Problem
Analytics ships fct_payments through dbt nightly. The unique test on payment_id passes locally every time, fails in CI ~20% of runs. Same input fixtures, same model SQL. Run tests/test_uniqueness.py to reproduce, then fix the model so the test is deterministic. The fix is in the SQL, not the test.
Summary
Green, green, red, green.
Practice This Problem
Solve this AI Coding problem with real code execution. DataDriven runs your solution and grades it automatically.