import os

URL_COMMUNITY = os.environ['URL_COMMUNITY']
URL_ISSUE = os.environ['URL_ISSUE']
URL_COMMIT = os.environ['URL_COMMIT']
URL_PR = os.environ['URL_PULL_REQUEST']
URL_REPOSITORY = os.environ['URL_REPOSITORY'] + 'repository/'

WEIGHT_RELEASE_NOTE_ACTIVE = 1
WEIGHT_CONTRIBUTOR_ACTIVE = 1
WEIGHT_COMMIT_WEEK_ACTIVE = 3
WEIGHT_PR_QUALITY_1 = 2
WEIGHT_ACT_MET_1 = 3

WEIGHT_CONTRIBUTORS_WELCO = 2
WEIGHT_CONTRIBUTION_GUIDE_WELCO = 3
WEIGHT_HELP_WANTED_WELCO = 3
WEIGHT_GOOD_FIRST_ISSUE_WELCO = 3
WEIGHT_PR_TEMPLATE_WELCO = 2
WEIGHT_DESCRIPTION_WELCO = 1
WEIGHT_CODE_OF_CONDUCT_WELCO = 3
WEIGHT_README_WELCO = 3
WEIGHT_ISSUE_TEMPLATE_WELCO = 2
WEIGHT_LICENSE_WELCO = 1
WEIGHT_ACT_MET_2 = 2
WEIGHT_PR_QUALITY = 3

METRIC_CONTRIBUTOR = 0.25
METRIC_COMMIT = 0.1
WEIGHT_ISSUE_ACTIVE_SUPPORT_QUESTION_2 = 2
WEIGHT_README_SUPPORT = 3
WEIGHT_ISSUE_TEMPLATE_SUPPORT = 2
WEIGHT_LICENSE_SUPPORT = 3
WEIGHT_DESCRIPTION_SUPPORT = 1
WEIGHT_CODE_OF_CONDUCT_SUPPORT = 1
WEIGHT_RELEASE_NOTE_SUPPORT = 3
WEIGHT_ISSUE_ACTIVE_SUPPORT = 3

ISSUE_METRIC_ONE = 0.5
ISSUE_METRIC_TWO = 4

WELCOMING_METRIC_QUESTION = 28
ACTIVE_METRIC_QUESTION = 10
SUPPORT_METRIC = 16

'''
TOTAL_WEEKS = LAST_WEEK - FIST_WEEK
from metrics/commit_metrics/constants.py
'''
TOTAL_WEEKS = 10
