I asked a question on Physics about an unproducible code, and it was close voted as not about physics: How to plot forcing oscillation with damping correctly?.
Since the nature of the question is about mismatched results with scientific theories not fixing bugs, I think Stack Overflow or Code Review are not a right place. Mathematics can work for common problems, but again not a good fit if it requires knowledge outside math. The last thing I can come up is Computational Science, which seems the right choice for algorithms, but the topic must be in applied math. The question Which computer science / programming Stack Exchange do I post in? assumes that I've coded correctly in principle.
Where can I ask such questions?