Pretty sure it’s cause they did it without the original people (or person, not sure how many) who did the code. And so what ends up happening is the new people come in, don’t understand why things were made the way they were, and try to rework stuff to be better. Whether it actually is needed or not is a different question but either way reworking large parts of your code is bound to lead to bugs and problems.
My problem with it is the whole purpose of what the device does based on the post is stupid. It just puts a notification on the screen as a way to try and use social pressure to get people to stop vaping. But that doesn’t work cause no one really cares if you vape or not. Some people might even think it’s cool or might turn it into a game of trying to vape without setting it off to impress their other friends who vape. I graduated highschool in 2019 and people definitely vaped and the only people they really cared about hiding it from were the teachers, no other students cared at all. So because of all of that this kind of device is just a waste of money that could be better spent on educating kids on how vaping is bad, just like what we did for cigarettes that worked so well.