<commit_before>from django.db import models
from django.core.urlresolvers import reverse
from django.utils import timezone
from django.utils.text import get_valid_filename

from . import utils, graph


class Check(models.Model):
    """A description for a Salt call"""
    target = models.CharField(max_length=255)
    function = models.CharField(max_length=255)
    name = models.CharField(max_length=255, blank=True)
    active = models.BooleanField(default=True)
    # TODO: Remove this field once we have south setup
    last_run = models.DateTimeField(default=timezone.now, null=True)

    def __unicode__(self):<commit_msg>Remove a filed that is not used anymore.<commit_after>from django.db import models
from django.core.urlresolvers import reverse
from django.utils import timezone
from django.utils.text import get_valid_filename

from . import utils, graph


class Check(models.Model):
    """A description for a Salt call"""
    target = models.CharField(max_length=255)
    function = models.CharField(max_length=255)
    name = models.CharField(max_length=255, blank=True)
    active = models.BooleanField(default=True)

    def __unicode__(self):
{'fraction_non_alphanumeric': 0.08871662360034453, 'fraction_numerical': 0.015503875968992248, 'mean_word_length': 4.839195979899498, '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': '4486410', 'n_tokens_mistral': 349, 'n_tokens_neox': 332, 'n_words': 96}