Exemple #1
0
 def __score_proportion(self, x):
     score = 0
     num = x[0]
     p = x[1]
     if num >= 5 and num <= 6:
         score = st.score_add(p, st.points_province_5_6)
     elif num >= 7 and num <= 9:
         score = st.score_add(p, st.points_province_7_9)
     elif num >= 10 and num <= 13:
         score = st.score_add(p, st.points_province_10_13)
     elif num >= 14 and num <= 18:
         score = st.score_add(p, st.points_province_14_18)
     elif num >= 19 and num <= 31:
         score = st.score_add(p, st.points_province_19_31)
     return score
Exemple #2
0
 def __score_proportion(self, x):
     score = st.score_add(x, st.points_0_income_hours)
     return score
Exemple #3
0
 def __score_proportion(self, x):
     score = st.score_add(x, st.points_interception_rate)
     return score
Exemple #4
0
 def __score_proportion(self, x):
     score = st.score_add(x, st.points_time_concentration)
     return score
Exemple #5
0
 def __score_proportion(self, x):
     score = st.score_add(x, st.points_abnormal_position)
     return score
Exemple #6
0
 def __score_proportion(self, x):
     score = st.score_add(x, st.points_income_growth)
     return score
Exemple #7
0
 def __score_proportion(self, x):
     score = st.score_add(x, st.points_weak_network)
     return score