Adding placeholder random sampling for sap points, for demo

This commit is contained in:
Khalim Conn-Kowlessar 2023-08-30 10:30:43 +01:00
parent a5062b24f0
commit 6cd6a5fae6

View file

@ -1,6 +1,7 @@
from copy import deepcopy
from backend.Property import Property
from statistics import mean
import random
def estimate_sap_points():
@ -9,7 +10,7 @@ def estimate_sap_points():
:return:
"""
return 999
return random.sample(range(4, 12), 1)[0]
def r_value_per_mm_to_u_value(depth_mm: int, r_value_per_mm: float):