During my bachelor I did a research internship in another country for a few months and contributed to a research project which is now, a few years later, going to be published. The research is in a specific field of computer science, but the responsible professors' main interest is focused in another STEM area. So now his grad student approached me and asked if I would review the paper. I read it and I think the quality is not good. There are many writing errors, the papers to which the results are being compared are quite old (around 6 years) and the datasets used to evaluate the algorithms are from the 90's. This is quite old in a fast growing field like computer science. The techniques which were used are correct, as far as I can judge, but not new.
I know that the professor and his grad student are no experts in this field but I now pursue my masters degree in this specific field of computer science. I recently learned about more modern approaches and I think that their methods are not worth being published in a paper. I wasn't experienced enough to notice this when I was with them in this internship. It would also be too much work for me to fix all these issues I named.
Now I wonder if it could give me, as a computer scientist, a bad reputation to eventually co-author a paper which (I think) is outdated and poorly written. Can I decline being named but allow them to publish it? On the other hand, if I would be named as a co-author, this would be my first publication and maybe this would count as "better than nothing", or people would acknowledge the fact that I contributed to some okay-ish research in my early bachelors. I am not sure yet if I want to pursue a career in science or in the industry.