<commit_before>from concourse_common import jsonutil

VERSION_JSON_NAME = 'version'


class Model:

    def __init__(self):
        self.payload = jsonutil.load_payload()

    def get_version_file(self):
        version = self.payload['params']['version']
        return version

    def get_command(self):
        command = self.payload['params']['command']
        return command

    def get_slack_bot_token(self):
        token = self.payload['params']['SLACK_BOT_TOKEN']
        return token

    def get_slack_channel(self):
        channel = self.payload['params']['channel']
        return channel

    def get_pipeline_step(self):
        step = self.payload['params']['pipeline_step']
        return step<commit_msg>moved slack bot token to source<commit_after>from concourse_common import jsonutil

VERSION_JSON_NAME = 'version'


class Model:

    def __init__(self):
        self.payload = jsonutil.load_payload()

    def get_version_file(self):
        version = self.payload['params']['version']
        return version

    def get_command(self):
        command = self.payload['params']['command']
        return command

    def get_slack_bot_token(self):
        token = self.payload['source']['SLACK_BOT_TOKEN']
        return token

    def get_slack_channel(self):
        channel = self.payload['params']['channel']
        return channel

    def get_pipeline_step(self):
        step = self.payload['params']['pipeline_step']
        return step
{'fraction_non_alphanumeric': 0.10884353741496598, 'fraction_numerical': 0.0, 'mean_word_length': 3.1089385474860336, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '881223', 'n_tokens_mistral': 418, 'n_tokens_neox': 408, 'n_words': 88}