def get_user_impact_score(user_id):
 model = user_models.UserStatsModel.get(user_id, strict=False)
 if model:
  return model.impact_score
 else:
  return 0

def get_user_impact_score ( user_id ) : model = user_models . UserStatsModel . get ( user_id , strict = False ) if model : return model . impact_score else : return 0
gets the user impact score for the given user_id .