<commit_before>from django.db import models


class Author(models.Model):
    name = models.CharField(max_length=255)


class Story(models.Model):
    author = models.ForeignKey(Author, on_delete=models.CASCADE)
    title = models.CharField(max_length=255)
    contents = models.TextField<commit_msg>Model strings<commit_after>from django.db import models


class Author(models.Model):
    name = models.CharField(max_length=255)

    def __str__(self):
        return self.name


class Story(models.Model):
    author = models.ForeignKey(Author, on_delete=models.CASCADE)
    title = models.CharField(max_length=255)
    contents = models.TextField

    def __str__(self):
        return self.title
{'fraction_non_alphanumeric': 0.10014306151645208, 'fraction_numerical': 0.017167381974248927, 'mean_word_length': 4.223880597014926, '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': '61658', 'n_tokens_mistral': 226, 'n_tokens_neox': 209, 'n_words': 42}