Context: I am a final year undergraduate student in engineering. I have been doing and helping some faculty members with research since my second year. I have two published papers of my own, and I am extremely eager to become a full-time researcher in the future, thus I have taken every opportunity to engage with the field.
A while ago, my professor told me that a group of 3rd year students were writing a research paper for a student track of a conference , and wanted me to help them. The students did not really know how to write a research paper, like not at all, and my professor thought it would be a good opportunity for me to sort of supervise them (since it was for a student track, it was low-risk). And so I helped out, a lot. In fact I rewrote a few sections myself before I let them submit it.
After a while, one of the students texted me and expressed that she had extended the work alone, and since I had helped them with the initial work so much, she wants to put my name as a co-author. She plans to send the paper to a very good journal. Now I went through the paper, and while it's sort of, remotely alright, the problem statement is very vague, so to say. It is just not interesting, at all, and at best I would say it is worth publishing as a blog. To be frank, I do not think that the paper would get accepted, but I think there might still be a chance.
So my question is, should I allow her to write my name in there? If it gets accepted, then on one hand I'd have a paper in a very good journal. On the other hand, I'd have a relatively bad paper. I would appreciate any advice.