13 lines
249 B
Python
13 lines
249 B
Python
from server.nightr.util import Context, Prediction
|
|
|
|
|
|
def probability(context: Context) -> Prediction:
|
|
"""
|
|
The data from DMI.
|
|
"""
|
|
p = Prediction()
|
|
p.probability = 0.7
|
|
p.reasons.append("It is raining in Tønder")
|
|
|
|
return p
|