I want to reset the MTBF uptime without compromising its statistical properties when an event occurs, using a line of custom code. I'll provide an example to illustrate the process, although I'll be using deterministic data for clarity. The idea is to use statistical distributions.