Thank you, Mike. This is a really helpful observation. I focused on correcting the expiry boundary to match the specification, but your point about making clock tolerance an explicit policy rather than embedding it in the comparison is something I hadn't considered. I also appreciate the suggestion to pass the current time into the function. It makes the importance of predictable boundary testing much clearer, especially when testing tokens just before, exactly at, and just after their expiry time. That's another lesson I'm taking away from this challenge: fixing the immediate bug is important, but making the code easier to test and maintain matters just as much. Thank you for taking the time to share this!
