<commit_before>__author__ = 'chris'
from django.db import models


class DjanguiModel(models.Model):
    class Meta:
        abstract = True

    def get_option_param(self, param):
        # returns the param argparse accepts (ie --p vs -p)
        return self.djangui_options.get(param)

    def get_output_default(self, param):<commit_msg>added job name and description fields<commit_after>__author__ = 'chris'
from django.db import models


class DjanguiModel(models.Model):
    djangui_job_name = models.CharField(max_length=255)
    djangui_job_description = models.TextField()

    class Meta:
        abstract = True

    def get_option_param(self, param):
        # returns the param argparse accepts (ie --p vs -p)
        return self.djangui_options.get(param)

    def get_output_default(self, param):
{'fraction_non_alphanumeric': 0.0874384236453202, 'fraction_numerical': 0.003694581280788177, 'mean_word_length': 3.541899441340782, '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': '5790454', 'n_tokens_mistral': 262, 'n_tokens_neox': 246, 'n_words': 66}