I dont know anything
This commit is contained in:
parent
6ee03105f5
commit
07b45e20f8
|
@ -76,5 +76,11 @@ def tv2newsStrat(context : Context) -> Prediction:
|
||||||
p.weight = 0.7
|
p.weight = 0.7
|
||||||
print(avg_timestamp)
|
print(avg_timestamp)
|
||||||
p.probability = 0.75 if avg_timestamp > 40 else 0.25
|
p.probability = 0.75 if avg_timestamp > 40 else 0.25
|
||||||
p.reasons.append('There were ' + ('few' if avg_timestamp > 40 else 'many') + ' recent articles on TV2 News')
|
few_or_many = 'few' if avg_timestamp > 40 else 'many'
|
||||||
|
p.reasons.append('There were ' + few_or_many + ' recent articles on TV2 News')
|
||||||
|
if few_or_many == "few":
|
||||||
|
p.reasons.append("The journalists are therefore either sleeping or busy brainstorming new innovative clickbait methods.")
|
||||||
|
else:
|
||||||
|
p.reasons.append("The journalists must be busy at work then.")
|
||||||
|
p.reasons.append("And since journalists only work during the day, it must be daytime.")
|
||||||
return p
|
return p
|
||||||
|
|
Loading…
Reference in New Issue
Block a user