I did not give any consideration to candidates with no chance of winning, for obvious reasons.
I voted for the one who wasn't a rabid fascist, and also stood a snowball's chance of beating the rabid fascist. So the Dem candidate.
If it was useful to vote for allies instead of enemies (say, if our elections were some variety of ranked choice) I would have voted for whoever was most socially liberal and closest to market socialism (since that's about the farthest we can hope to push the needle in a term or two; after that I'd start considering positions moderately to the left of that, rinse and repeat).
But it isn't, so I didn't. Dirty break is the only strategy that makes sense in our political environment. Obstruct the worst major party while you build a better platform grassroots style, and then once that platform is popular and normalized, and the worst major party is neutralized, then start running outside the Dem tent.
Voting for a candidate with no chance of success, with a population effectively propagandized against the platform, does not improve the material conditions of the working class in any way.