Usually, when I see a question like bash or python script to check numbers, I cast a close vote choosing needs more focus as the reason. This time around, I thought the question was salvageable, and made an edit that practically narrowed its scope. But it was promptly reverted by another user. Then I cast a close vote, and two other users followed shortly after, and the question was closed. But then again three users voted to reopen it; all of which can be seen from the timeline. Hence this meta question.
Am I wrong that questions like this are too broad for Stack Overflow, and thus off-topic? Given that multiple users who have way more experience than I do disagreed with my decision, I think there's something I'm missing.