<commit_before>from __future__ import unicode_literals

from django.db import models

class Idea(models.Model):
    name = models.CharField(max_length=200)
    description = models.TextField()
    votes = models.IntegerField(default=0)

    def __unicode__(self):
        return self.name<commit_msg>Add unique parameter to idea name<commit_after>from __future__ import unicode_literals

from django.db import models

class Idea(models.Model):
    name = models.CharField(max_length=200, unique=True)
    description = models.TextField()
    votes = models.IntegerField(default=0)

    def __unicode__(self):
        return self.name
{'fraction_non_alphanumeric': 0.08530805687203792, 'fraction_numerical': 0.01263823064770932, 'mean_word_length': 4.418803418803419, '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': '297263', 'n_tokens_mistral': 190, 'n_tokens_neox': 181, 'n_words': 45}