[checkmk-commits] [tribe29/checkmk] 4cf5b4: prediction: factor out function