<commit_before>from __future__ import unicode_literals

from django.db import models


class Charity(models.Model):
    CHARITY_TARGETS = (
        ('', 'Default'),
        ('C', 'Children/Young People'),
        ('E', 'Elderly/Old People'),
        ('D', 'People with disabilities'),
        ('R', 'People of particular ethnic/racial origin'),
        ('P', 'The general public'),
        ('O', 'Other')
    )
    CHARITY_PURPOSE = (
        ('','Default'),
        ('G', 'General Charitable Purposes'),
        ('E', 'Education/Training'),
        ('H', 'Advancement of Health/Saving Lives'),
        ('D', 'Disability'),
        ('P', 'Prevention or Relief of Poverty'),
        ('O', 'Overseas Aid/Famine Relief'),
        ('H', 'Accommodation/Housing'),
        ('R', 'Religious Activities'),
        ('C', 'Arts/Culture/Heritage/Science'),
        ('S', 'Amateur Sport'),
        ('AN', 'Animals'),
        ('EN', 'Environment'),
        ('EC', 'Economic/Community Development/Employment'),
        ('A', 'Armed Forces'),
        ('HR', 'Human Rights/Equality'),
        ('RE', 'Recreation'),
        ('OT', 'Other')
    )
    name = models.CharField(max_length=100, default='DEFAULT')
    type = models.CharField(max_length=2, choices=CHARITY_PURPOSE)
    paypal = models.EmailField(default="<EMAIL>")
    register_id = models.IntegerField(default=0,)
    area_served = models.CharField(max_length=100, default='DEFAULT')  # needs to resolve list issues
    total_income = models.IntegerField(default=0)
    target = models.CharField(max_length=1, choices=CHARITY_TARGETS)
    logo = models.CharField(max_length=1000, default='DEFAULT')
    description = models.TextField()

    def __str__(self):
        return self.register_id<commit_msg>Removed uniqueness of charity register Id<commit_after>from __future__ import unicode_literals

from django.db import models


class Charity(models.Model):
    CHARITY_TARGETS = (
        ('', 'Default'),
        ('C', 'Children/Young People'),
        ('E', 'Elderly/Old People'),
        ('D', 'People with disabilities'),
        ('R', 'People of particular ethnic/racial origin'),
        ('P', 'The general public'),
        ('O', 'Other')
    )
    CHARITY_PURPOSE = (
        ('','Default'),
        ('G', 'General Charitable Purposes'),
        ('E', 'Education/Training'),
        ('H', 'Advancement of Health/Saving Lives'),
        ('D', 'Disability'),
        ('P', 'Prevention or Relief of Poverty'),
        ('O', 'Overseas Aid/Famine Relief'),
        ('H', 'Accommodation/Housing'),
        ('R', 'Religious Activities'),
        ('C', 'Arts/Culture/Heritage/Science'),
        ('S', 'Amateur Sport'),
        ('AN', 'Animals'),
        ('EN', 'Environment'),
        ('EC', 'Economic/Community Development/Employment'),
        ('A', 'Armed Forces'),
        ('HR', 'Human Rights/Equality'),
        ('RE', 'Recreation'),
        ('OT', 'Other')
    )
    name = models.CharField(max_length=100, default='DEFAULT')
    type = models.CharField(max_length=2, choices=CHARITY_PURPOSE)
    register_id = models.IntegerField(default=0,)
    area_served = models.CharField(max_length=100, default='DEFAULT')  # needs to resolve list issues
    total_income = models.IntegerField(default=0)
    target = models.CharField(max_length=1, choices=CHARITY_TARGETS)
    logo = models.CharField(max_length=1000, default='DEFAULT')
    description = models.TextField()

    def __str__(self):
        return self.name
{'fraction_non_alphanumeric': 0.16758004038073263, 'fraction_numerical': 0.008076146524372656, 'mean_word_length': 3.060889929742389, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6627456', 'n_tokens_mistral': 1092, 'n_tokens_neox': 1029, 'n_words': 238}