Authorship dispute on a paper that came out of a final report of a course? Background: I had a course about 1 year and half ago that is required to do a simulation for its final report. I developed my idea about simulation based on some papers I read and wrote a proposal based on that idea and submitted to instructors. Instructors send back my proposal and said it's good but the course requirement is to have a group mate on this final project for sure. I was reluctant to it but because it was course requirement, I just randomly searched for someone that did not have any group mate yet and I found someone that she did not have any idea about my proposal at all. I wanted her name to be on my proposal and final report just because of course requirement and nothing else. Because I even did my preliminary test simulations on my idea based on the codes that I wrote by myself and it turns out my idea is gonna work. It was not the greatest idea out there but it was something for a graduate course and I really liked my idea and wanted to do this. So, I just matched with this group mate and gave her all the code that I wrote and all the resources in terms of papers and other softwares and asked her just like an operator run these codes and simulations and store the results and I will post-process them by myself. That was all the story about this final report and I wrote the report and submitted it and successfully got A grade and done.

Problem: Sometimes after this course, I just decided to publish this idea even in a not so great journal with IF ~ 1 or even less. Because, I thought the idea is nice and new and even the results that I got because of this course project is good enough to warrant a junior publication as something that I did in my spare time. So, I decided to convert the final report into a paper. Initially, I was thinking it might be fair if I put my group mate on this paper because I'm not a native English speaking and she is an american and maybe she could at least help to polish the English of the paper. So, I sent a draft paper to her for her review about a year ago, but she promised to read and send her points back to me, which never did and I did not hear back from her. I think it was stupid but I wanted to just be nice and that's it. So, I decided to remove her name and publish it just in my own name. As a result, to completely even eliminate her contribution to just running my codes as an operator, I rerun all the codes again by myself and post-processed them again (it was good to make sure at least results are reproducible...) and added some other idea that I read newly in some papers and I submitted my draft to arXiv and it's online now. I also submitted this preprint to a journal that is not that great but it's not that bad for publishing a paper based on a course work and at least the journal is not predatory.

Question: Recently, my adviser found my preprint in arXiv and he's arguing with me that you should put the name of group mate in that article because her name is on the final report. Furthermore, you should withdraw the preprint because it's low quality. OK, the low quality is not something we want to talk about cause it's really relative and by the way my adviser does not have any experience on this specific topic. My question is only because the name of my group mate is on the final report of that course, does it warrant her an authorship?! I mean, why I can't write an even very very very low quality paper based on the codes and idea that I developed initially? Probably, you might know that I'm really angry and it makes me mad that I can't publish something based on my own work because I just put the name of someone on a piece of paper without contribution from her? By the way, it's not her that arguing and it's only my adviser that wants to fight with me. Any idea or suggestion is appreciated.
While it's impossible to judge contribution from outside, I generally recommend erring on the side of inclusion when it comes to authorship.  If there's a reasonable argument that somebody contributed, it doesn't really cost you anything to have them on the paper.

Furthermore, there are many ways to contribute to a paper (see, for example, the CRediT taxonomy), and many journals even require a contributions section in which you can explain who exactly did what. In this case, it sounds like you wrote the paper, designed the system, built the system, and both of you ran experiments. You can't ethically "undo" somebody's experimental work by redoing it yourself.  

What you should never do is to drop somebody from authorship without consulting them. You had a draft with this person on it as an author, and even if they never got back to you, for all they know they're still a co-author. Probably it doesn't matter to them very much (or else they'd likely have gotten back to you), but it's still unethical to remove somebody from authorship without their consent. It is also unethical to submit a paper without the consent of all of the authors, so that's also a potential problem in this situation, where you're just kinda doing what you feel like without consulting with anybody else.

In fact, the basic problem I see here is that you seem to be operating without any advice from somebody who can help you navigate these questions (as well as the issue of quality, which I won't touch otherwise). Your advisor is likely a good source of such advice, and even if you don't like/trust your advisor, you should be able to find somebody who knows the scientific world well who can be a mentor for you.