Japanese monks and emperors kept meticulous records of cherry blossom festivals for 1,200 years. They accidentally built the world's longest climate dataset

https://sh.itjust.works/post/57803561

It’s there a difference in tone or meaning between accidentally and inadvertently? I feel like accidentally means they did something that was a bad thing.
Hmm not necessarily, accidentally has no negative implication unlike accident usually has. In this particular case the meaning of accidentally is synonym with unexpectedly or by chance.
My question was a bit rhetorical. In my opinion there is a negative connotation to accidentally in this case as well. I would personally use a different word. 👍