All problems
Medium

Find null-reference bugs

Software & IT

The task

This is the brief your AI gets. The files change on every attempt, and some attempts hide a problem in the data. Which ones is not revealed.

Review the snippets in code_null_review.csv. The paymentMethod, customer and address objects can be missing (null / None). Clean code rule: never read a property through an object that can be missing without a check (?. , ?? , an if, .get() with a default or Optional). If a snippet can crash on a missing object, set status to 'conflict_detected' and put the code_id in flagged_items. If every snippet is safe, keep 'completed'. Return in result: compliant_calls_per_day=<total calls_per_day of the rows that follow the rule>.

Files you work with
code_null_review.csv
Your AI must return
compliant_calls_per_day
Level
Medium. A mid-level task: the rule has an exception you have to find in the data.
Time
About 10 minutes with your own AI. Free, not ranked.

Rooms with this problem

  1. Software & IT Practitioner 2 Medium