Last active
April 2, 2020 14:51
-
-
Save mford22392/afa015841f8f9ebd91072ad39ce5ea43 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def reimbursement_weights(self): | |
return { | |
"reimbursement": 80, | |
"contact": 70, | |
"coach_recommendations": 60 if self.coach_recommendations else 0, | |
"bookmarks": 50 if self.bookmarks else 0, | |
"quiz_recommendations": 40 if self.quiz_results else 0, | |
"quiz": 0 | |
} | |
# Influencer Question #4 | |
def unsure_weights(self): | |
return { | |
"coach_recommendations": 80 if self.coach_recommendations else 0, | |
"bookmarks": 70 if self.bookmarks else 0, | |
"quiz_recommendations": 60 if self.quiz_results else 0, | |
"contact": 50, | |
"quiz": 0 if (self.quiz_results or self.catalog_error) else 40, | |
"reimbursement": 30 | |
} | |
# Influencer Question #1-3 | |
def default_weights(self): | |
return { | |
"coach_recommendations": 80 if self.coach_recommendations else 0, | |
"bookmarks": 70 if self.bookmarks else 0, | |
"quiz_recommendations": 60 if self.quiz_results else 0, | |
"quiz": 0 if (self.quiz_results or self.catalog_error) else 50, | |
"contact": 40, | |
"reimbursement": 30 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment