Water leak detection calculation on Tik Tok