My stories are very minor. I did my PhD in a reasonably well regarded mechanical engineering lab. My area is experimental fluid mechanics. I ended up writing a lot of Matlab code while there and even worked with a spin out company from the lab in the biotech sector for a while. I'd get a lot of other students coming to me for coding help. Most just wanted me to do their job for them and I was too naive to say no. One…
I'm sorry to hear about you not getting credit, that's inexcusable, in the same way that not accrediting the researchers who did the work in a paper or book (I have heard this story too often) is inexcusable.