<commit_before>from django.db import models
from django.conf import settings


class Task(models.Model):
    title = models.CharField(max_length=50, unique=True)
    created_at = models.DateField()
    status = models.CharField(max_length=30, choices=settings.TASK_CHOICES)

    def __unicode__(self):  # pragma: no cover
        return self.title
<commit_msg>Set order getting the list of tasks<commit_after>import datetime

from django.db import models
from django.conf import settings


class Task(models.Model):
    title = models.CharField(max_length=50, unique=True)
    created_at = models.DateTimeField(auto_now_add=True)
    status = models.CharField(max_length=30, choices=settings.TASK_CHOICES)

    class Meta:
        ordering = ('-created_at',)

    def __unicode__(self):  # pragma: no cover
        return self.title

{'fraction_non_alphanumeric': 0.09243697478991597, 'fraction_numerical': 0.009603841536614645, 'mean_word_length': 4.245283018867925, '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': '6223493', 'n_tokens_mistral': 262, 'n_tokens_neox': 248, 'n_words': 62}