def get_score_of_rules_unfixed_returned_cheques_count_of_more_12_months_t31( self, cheque_count): scores = self.rds.zrangebyscore( SET_RULES_CHEQUE_UNFIXED_RETURNED_COUNT_OF_MORE_12_MONTHS, cheque_count, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_profile_address_verifications_i4( self, address_verification): scores = self.rds.zrangebyscore( SET_RULES_PROFILE_ADDRESS_VERIFICATIONS, int(address_verification), rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_suspicious_loans_total_balance_ratios_v21( self, suspicious_total_balance_ratio): scores = self.rds.zrangebyscore( SET_RULES_LOAN_SUSPICIOUS_TOTAL_BALANCE_RATIOS, suspicious_total_balance_ratio, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_unfixed_returned_cheques_count_between_last_3_to_12_months_t30( self, cheque_count): scores = self.rds.zrangebyscore( SET_RULES_CHEQUE_UNFIXED_RETURNED_COUNT_BETWEEN_LAST_3_TO_12_MONTHS, cheque_count, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_loans_total_counts_h11(self, loans_total_count): scores = self.rds.zrangebyscore(SET_RULES_LOAN_TOTAL_COUNTS, loans_total_count, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_past_due_loans_total_balance_ratios_v19( self, past_due_total_balance_ratio): scores = self.rds.zrangebyscore( SET_RULES_LOAN_PAST_DUE_TOTAL_BALANCE_RATIOS, past_due_total_balance_ratio, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_undone_arrear_trades_counts_t27(self, arrear_trades_count): scores = self.rds.zrangebyscore(SET_RULES_UNDONE_ARREAR_TRADES_COUNTS, arrear_trades_count, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_arrear_loans_total_counts_t34( self, arrear_loans_total_count): scores = self.rds.zrangebyscore(SET_RULES_LOAN_ARREAR_TOTAL_COUNTS, arrear_loans_total_count, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_profile_sim_card_ownerships_i3( self, sim_card_ownership): scores = self.rds.zrangebyscore(SET_RULES_PROFILE_SIM_CARD_OWNERSHIPS, int(sim_card_ownership), rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_profile_star_counts_avgs_h9(self, star_count_avg): scores = self.rds.zrangebyscore(SET_RULES_PROFILE_STAR_COUNTS_AVGS, star_count_avg, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_profile_recommended_to_others_counts_h8( self, recommended_to_others_count): scores = self.rds.zrangebyscore( SET_RULES_PROFILE_RECOMMENDED_TO_OTHERS_COUNTS, recommended_to_others_count, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_profile_military_service_status_i2( self, military_service_status: ProfileMilitaryServiceStatusEnum): scores = self.rds.zrangebyscore( SET_RULES_PROFILE_MILITARY_SERVICE_STATUS, military_service_status.value, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_profile_membership_days_counts_h5( self, membership_days_count): scores = self.rds.zrangebyscore( SET_RULES_PROFILE_MEMBERSHIP_DAYS_COUNTS, membership_days_count, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_done_trades_average_total_balance_ratios_v12( self, average_total_balance_ratio): scores = self.rds.zrangebyscore( SET_RULES_DONE_TRADES_AVERAGE_TOTAL_BALANCE_RATIOS, average_total_balance_ratio, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_undone_past_due_trades_counts_t26(self, past_due_trades_count): scores = self.rds.zrangebyscore(SET_RULES_UNDONE_PAST_DUE_TRADES_COUNTS, past_due_trades_count, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_arrear_loans_total_balance_ratios_v20( self, arrear_total_balance_ratio): scores = self.rds.zrangebyscore( SET_RULES_LOAN_ARREAR_TOTAL_BALANCE_RATIOS, arrear_total_balance_ratio, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_undone_undue_trades_counts_h10(self, undue_trades_counts): scores = self.rds.zrangebyscore(SET_RULES_UNDONE_UNDUE_TRADES_COUNTS, undue_trades_counts, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_loan_monthly_installments_total_balance_ratios_v16( self, installments_total_balance_ratio): scores = self.rds.zrangebyscore( SET_RULES_LOAN_MONTHLY_INSTALLMENTS_TOTAL_BALANCE_RATIOS, installments_total_balance_ratio, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_undone_arrear_trades_total_balance_of_last_year_ratios_v14(self, arrear_total_balance_ratio): scores = self.rds.zrangebyscore(SET_RULES_UNDONE_ARREAR_TRADES_TOTAL_BALANCE_OF_LAST_YEAR_RATIOS, arrear_total_balance_ratio, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_overdue_loans_total_balance_ratios_v18( self, overdue_total_balance_ratio): scores = self.rds.zrangebyscore( SET_RULES_LOAN_OVERDUE_TOTAL_BALANCE_RATIOS, overdue_total_balance_ratio, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_done_arrear_trades_of_last_3_months_t24( self, trades_count): scores = self.rds.zrangebyscore( SET_RULES_DONE_ARREAR_TRADES_OF_LAST_3_MONTHS, trades_count, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_past_due_loans_total_counts_t33( self, past_due_loans_total_count): scores = self.rds.zrangebyscore(SET_RULES_LOAN_PAST_DUE_TOTAL_COUNTS, past_due_loans_total_count, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_done_timely_trades_of_last_3_months_h6( self, trades_count): scores = self.rds.zrangebyscore( SET_RULES_DONE_TIMELY_TRADES_OF_LAST_3_MONTHS, trades_count, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_suspicious_loans_total_counts_t35( self, suspicious_loans_total_count): scores = self.rds.zrangebyscore(SET_RULES_LOAN_SUSPICIOUS_TOTAL_COUNTS, suspicious_loans_total_count, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_done_timely_trades_between_last_3_to_12_months_h7( self, trades_count): scores = self.rds.zrangebyscore( SET_RULES_DONE_TIMELY_TRADES_BETWEEN_LAST_3_TO_12_MONTHS, trades_count, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_unfixed_returned_cheques_count_of_last_5_years_t32( self, cheque_count): scores = self.rds.zrangebyscore( SET_RULES_CHEQUE_UNFIXED_RETURNED_COUNT_OF_LAST_5_YEARS, cheque_count, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_done_trades_average_delay_days_t28( self, average_delay_days): scores = self.rds.zrangebyscore( SET_RULES_DONE_TRADES_AVERAGE_DELAY_DAYS, average_delay_days, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_unfixed_returned_cheques_total_balance_ratios_v17( self, total_balance_ratio): scores = self.rds.zrangebyscore( SET_RULES_CHEQUE_UNFIXED_RETURNED_TOTAL_BALANCE_RATIOS, total_balance_ratio, rules_max_val) return get_score_from_dict(scores)
def get_score_of_rules_profile_has_kycs_i1(self, has_kyc): scores = self.rds.zrangebyscore(SET_RULES_PROFILE_HAS_KYCS, int(has_kyc), rules_max_val) return get_score_from_dict(scores)