You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we can avoid hard coding the score value in the final rule if the meta value can be used here, or it should be math.tonumber(Rule1) * 20 + math.tonumber(Rule2) * 70 + math.tonumber(Rule3) * 60 > 85
it equals to (Rule1 and Rule2) or (Rule2 or Rule3)
however the semantics of RuleX is a little strange, it can be a bool or struct.
we can avoid hard coding the score value in the final rule if the meta value can be used here, or it should be
math.tonumber(Rule1) * 20 + math.tonumber(Rule2) * 70 + math.tonumber(Rule3) * 60 > 85
(Rule1 and Rule2) or (Rule2 or Rule3)
RuleX
is a little strange, it can be a bool or struct.math.tonumber(RuleX)
can be defined asrule_matched ? 1 : 0
add math.tonumber function to convert bool to number #1450variables
if Internal variables for rules #1353 is mergedThe text was updated successfully, but these errors were encountered: