A function must return False for an empty list. Your test instead gets IndexError. Which comment identifies the required behavior problem?
Which set of checks best describes a code review?
Renaming a function used by other code is always a personal preference and cannot break behavior.
Circle one: True False
A search function now returns 0 for no results, as its new requirement says. A caller still tries to count the returned list. What should the reviewer inspect?
You are unsure whether a changed function handles empty input as required. Which comment checks that uncertainty?
The requirement says to reject negative quantities. You reproduce a total of -6 for quantity -2. Which comment gives evidence for the required repair?
The request says a missing discount must give 0 and prices must stay exact. A diff also changes a price of 8.75 to 9. Its missing-discount test passes. Which pair of review checks is needed?
You verify a crash for an input the function must accept. You also dislike a clear private variable name that follows team rules. What should lead the review?