I've been told not to assume that a specific person downvoted my post just because they commented at the same time the downvote came in.
Why not?
I've been told not to assume that a specific person downvoted my post just because they commented at the same time the downvote came in.
Why not?
First, let's get this out of the way: Of course that's going to be your first instinct. It's only natural. But there are at least three reasons why making that assumption isn't useful:
The assumption serves no positive purpose. It doesn't help you in any way to make this assumption. In fact, it can easily lead you into taking actions with negative outcomes, such as making a negative comment to the person you think downvoted the post, which in turn can make that person (and others) look negatively on your conduct, which can color their view of your post (rightly or wrongly, humans are like that). A sufficiently vigorous negative comment may get flagged as offensive, and a series of such flags can impact your ability to post comments in the future, or may result in a suspension from the site.
Correlation is not causation. Just because X happens before Y, it doesn't mean X caused Y, and it doesn't mean that X and Y have the same cause. Stack Overflow is a very active place. Lots of eyeballs on the same posts, lots of fingers on mice hovering over the same vote buttons. So it's not at all surprising if a post gets a vote and a comment from two completely unconnected people. (And don't rely on that "Viewed one time" indicator; it isn't updated while you sit on the page, and updates to it can be lazy.) I know from long experience of posting comments when someone else downvotes (or downvoting when someone else comments) and seeing this reaction that it's often not the same person. Someone downvoting may specifically decide not to make a comment at the same time, to avoid being assumed to be the downvoter.
It's a distraction from the question you should be asking. The real question shouldn't be "Why did X downvote my post?" but rather "Why did someone downvote my post?" which is effectively "What's wrong with my post?" (by SO's standards) which can be reformulated into "How can I improve my post?" Read the comment and decide if you think it's a valid critique. If it points you at a help page or similar, read the help page. Review the post with a critical eye to see if you can figure it out. If appropriate, post a comment asking what's wrong with it and/or how you can improve the post. (I've had good success with that when I've posted a duff answer. For whatever reason, two or three people will downvote, I'll fail to see why, ask, and someone will then helpfully point out what I've missed. The key is making the comment from the position of genuinely wanting to improve the post or understand why you should remove it, rather than a peeved way.)
Additionally, it is worth noting that just because your answer was downvoted at the exact same time it was edited is certainly not a reason to assume the editor is the person who downvoted your post. Because whenever an answer (but not question) with a pending very low quality flag is edited, the flag will be automatically dismissed and the answer will automatically incur a downvote from the system for some reason.
So if person B flags your answer as VLQ, then person A edits it, and you notice that at the exact time person A edited it, the answer received a downvote, do not just assume that person A must have downvoted it, because it was in fact the community downvote incurred by editing an answer with a pending VLQ flag.
As for why the assumption itself is unhelpful, regardless its correctness, the other answer covers that nicely.
Assumptions are what help us to make decisions every day, without needing to do the research to prove a causal relationship. For example, Assumptions are made regularly by reviewers in SOCVR based on external appearances of the post, by moderators handling flags for chatGPT or by users flagging posts.
So, why shouldn't you make an assumption that the user who commented is the user who downvoted?
You can. It's not a completely unreasonable assumption. But, what factors are you basing it on? If the only factor is timing once, that carries very little value.
The first few minutes of posting your question attracts many users. Many users simultaneously interact with your post in a public manner (comments, edits, answers, etc...) in the first few minutes. Because of conflict, Just the timing isn't enough to consider the user that took one action is the same user taking another action. For example, there was a case where a user who never downvoted once(cumulative votes are visible in profile) was accused of downvoting because of timing.
Correlation is not necessarily causation. It's just that two events can happen together coincidentally. However, correlation can indicate causation. To make an assumption that is much closer to the truth, you have to consider a combination of many factors. For example, Hill's criteria for causation describe such factors. Some of these factors include:
Now, if a few of these factors are true, then that may be a reason to assume you know who downvoted your posts, and if it's indeed malicious, you could even flag your post for moderator attention to get those votes reviewed as "targeted voting".
If not, and this is just a one-off, the assumption carries very little value. Downvoters are not obligated and explicitly advised not to comment.
If someone did comment voluntarily and constructively, it means they care about you and the post. They believe the post can be improved. You should be grateful for the comment and try to address the issues raised.
If the comment is rude/abusive/unkind/condescending or violates the Code of conduct in any way, you can flag it for moderator attention.