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.