I'm a computer science graduate student (Master degree), I have done my thesis defense, and it is accepted. So, the problem is that I want to publish a paper based on my thesis but the advisor wants her name to be the FIRST name! Claiming that she has done enough work to be as first author. So, here how the research has been done:
At the beginning she didn't have any good idea to be done as thesis. Thus, I had to go through existing research for couple of months until I came up with a new idea.
As any new idea, it develops with the time. What I mean is that she suggested few things to be added. However, I added much more things to enhance the algorithm (my idea) and achieve better results .
I wrote the whole thesis, but she revised almost all of it (except Related work and conclusion) because English is not my first language.
She did the mathematical proof ( I mean she found the equations to proof that our algorithm is better)
However, I codded all the simulation programs, and I did the simulations and collected the results.
Also, she stayed in contact with me during the summer (one Skype call a week)
I spent almost two years working on this research, and I don't want to be unfair with her. I would like to have your opinion