I am an undergraduate student (not in maths) looking for a topic and supervisor for my thesis.
What criteria should I use to judge whether a project/supervisor combination will make for a good thesis and productive experience? I don't plan on going into academia (although this may change) and thus would like to get something tangible if possible (ie. a paper) out of the experience (although preferably not at significant cost to learning)
Conversely, what are red flags/pitfalls I should look out for and how do I avoid them?
This question is extremely similar to this one, although is more general than just math. I'm hoping for some general advice, but if really needed, I'm double majoring in Computer Science and Economics