<commit_before>from django.db import models

class Idea(models.Model):
    user_name = models.TextField()
    user_email = models.EmailField()

    title = models.TextField()
    description = models.TextField()

    up_vote = models.IntegerField(default=0)
    down_vote = models.IntegerField(default=0)

    created = models.DateTimeField(auto_now_add=True)
    last_commented = models.DateTimeField(null=True)

    class Meta:
        ordering = ('-last_commented', '-created')

<commit_msg>Added a net_votes property to our Idea model.<commit_after>from django.db import models

class Idea(models.Model):
    user_name = models.TextField()
    user_email = models.EmailField()

    title = models.TextField()
    description = models.TextField()

    up_vote = models.IntegerField(default=0)
    down_vote = models.IntegerField(default=0)

    created = models.DateTimeField(auto_now_add=True)
    last_commented = models.DateTimeField(null=True)

    class Meta:
        ordering = ('-last_commented', '-created')

    @property
    def net_votes(self):
        return self.up_vote - self.down_vote


{'fraction_non_alphanumeric': 0.10678733031674208, 'fraction_numerical': 0.0036199095022624436, 'mean_word_length': 3.7672413793103448, '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': '4725701', 'n_tokens_mistral': 339, 'n_tokens_neox': 328, 'n_words': 67}