Didn't check the code as it clearly does the job and quite cleanly. Most impressively, it abstracted the interval despite asking for a hard-coded result. Meaning it "knew" there was a better/generic solution to the broader problem than my specific request.