I found a bug on the code i edited and now will have to reanalyze my data. I am happy to but the guilt is killing me.
What the title says. I am now finishing my 2nd year, and since i came with no computational background it has been a hard learning curve. Just when i thought everything was fantastic, as i have been editing code and sending it to my postdoc for his confirmation, got a horrible email saying there are some issues and we need to figure them out.
Now a portion of the problem is out of my control, have to do with previous data collection, and since we wanted to combine the past one with what i did, it just while unfortunate, not as big of a killer for me.
The other one however is due to me. At some point i must’ve blank out or misunderstood what the code is doing and edited it wrongly. My postdoc only found out because he decided to add a checkpoint because another student in the lab had a mistake as well.
To clarify, it isn’t published data yet. Other than delaying me a little bit (possibly) not a big deal. But the guilt is eating me alive. I thought this issue wouldn’t happen bc the postdoc wouldve checked the data priorly, as they have requested my codes and data to doublecheck many times, and one abstract they actually did the analysis because i was seriously sick to help me out. And now i found out they really didn’t check it as detailed as I thought they wouldve, given my missing background in computational and being very honest about not being certain of my at the time editing code abilities.
I also dont think they are angry. It is just a me thing. I am happy we discovered this before publishing and can fix it, as well as going back the code it was remarkably easier for me to find what i did wrong 2 years ago. But i guess i just want to know if this is a common experience in PhD. And how to let my stomach calm down everytime i think about this issue.
Posted Jun 8, 2026, 4:32 PM UTC