<commit_before>from django.db import models


class LifeCard(models.Model):
    STATUS_INFO = (
        ('0', 'Active'),
        ('1', 'Inactive'),
    )

    TYPE_INFO = (
        ('W', 'Work'),
        ('P', 'Play'),
        ('R', 'Rest'),
    )

    title = models.CharField(max_length=500)
    timestamp = models.DateTimeField()
    status = models.CharField(max_length=1, choices=STATUS_INFO)
    type = models.CharField(max_length=1, choices=TYPE_INFO)

    created_at = models.DateTimeField(auto_now_add=True)
    modified_at = models.DateTimeField(auto_now=True)

    def __str__(self):
        return 'LifeLog Model : {}, {}, {}, {}'.\
            format(self.title, self.timestamp, self.type, self.status)

    class Meta:
        ordering = ['-timestamp']<commit_msg>Typo fixing<commit_after>from django.db import models


class LifeCard(models.Model):
    STATUS_INFO = (
        ('0', 'Active'),
        ('1', 'Inactive'),
    )

    TYPE_INFO = (
        ('W', 'Work'),
        ('P', 'Play'),
        ('R', 'Rest'),
    )

    title = models.CharField(max_length=500)
    timestamp = models.DateTimeField()
    status = models.CharField(max_length=1, choices=STATUS_INFO)
    type = models.CharField(max_length=1, choices=TYPE_INFO)

    created_at = models.DateTimeField(auto_now_add=True)
    modified_at = models.DateTimeField(auto_now=True)

    def __str__(self):
        return 'LifeCard Model : {}, {}, {}, {}'.\
            format(self.title, self.timestamp, self.type, self.status)

    class Meta:
        ordering = ['-timestamp']
{'fraction_non_alphanumeric': 0.15691318327974277, 'fraction_numerical': 0.0090032154340836, 'mean_word_length': 2.870646766169154, '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': '1261630', 'n_tokens_mistral': 505, 'n_tokens_neox': 486, 'n_words': 90}