<commit_before>from django.db import models
# Create your models here.

class Subscriber(models.Model):
    email = models.EmailField()
    valid = models.BooleanField(default=True)

class Repo(models.Model):
    name = models.CharField(max_length=256)
    owner = models.CharField(max_length=256)

class Idea(models.Model):
    subscribers = models.ManyToManyField(Subscriber, related_name='ideas')
    repository = models.ForeignKey(Repo, related_name='ideas')
    github_id = models.PositiveIntegerField()<commit_msg>Add a full_repository_name method on Repo model<commit_after>from django.db import models
# Create your models here.

class Subscriber(models.Model):
    email = models.EmailField()
    valid = models.BooleanField(default=True)

class Repo(models.Model):
    name = models.CharField(max_length=256)
    owner = models.CharField(max_length=256)

    def full_repository_name(self):
        return '{}/{}'.format(owner, name)

class Idea(models.Model):
    subscribers = models.ManyToManyField(Subscriber, related_name='ideas')
    repository = models.ForeignKey(Repo, related_name='ideas')
    github_id = models.PositiveIntegerField()
{'fraction_non_alphanumeric': 0.11091854419410745, 'fraction_numerical': 0.010398613518197574, 'mean_word_length': 5.176470588235294, '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': '5673479', 'n_tokens_mistral': 361, 'n_tokens_neox': 349, 'n_words': 70}