def __check_moographs_limit(self, pub: Publication) -> bool:
     tmp_mons_contrib = self.__accepted_mons_contrib_sum + pub.get_contribution(
     )
     if self.is_phd:
         return True
     elif not pub.is_monograph():
         return True
     elif tmp_mons_contrib <= MONOGRAPH_COEFFICIENT * self.contribution:
         return True
     elif pub.get_points() > MONOGRAPH_LIMIT_MAX_POINTS:
         return True
     return False
Beispiel #2
0
def get_temporary_pub_rate(pub: Publication):
    return pub.get_points() / pub.get_contribution()