So, this question was initially triggered by disagreements over whether this question (pre-edit) was on-topic or not.
But this is a wider question, about where the line should be drawn between Reviewing Code, and Validating Code (which is what the question seemed (to some) to be asking for). Is it okay for OPs to ask us to check their interpretation of their own code?
In particular, the controversial sentence was:
So I am wondering if I am correct about this (comments are mine)
Is it okay for a question to ask for Code Validation as opposed to a Code Review?
Where do we draw the line between
these are things I think are wrong/could be improved in my code
and
Does my code work the way I think it does?
and
Is my code working/ How does my code work?
The first is obviously On-Topic, the last is obviously Off-Topic, but what about that grey area in the middle?