<commit_before>from django.contrib.auth.models import User

from django.contrib.gis.db import models

class AddressModel(models.Model):
    """
    An abstract base class model that provides address fields.
    """

    street = models.CharField(max_length=254, default = "")
    unit = models.CharField(max_length=30, default = "")
    number = models.CharField(max_length=30, default = "", blank = True)
    city = models.CharField(max_length=100, default = "")
    state = models.CharField(max_length=2, default = "")
    zipcode = models.CharField(max_length=12, default = "")
    country = models.CharField(max_length=2, default = "")

    location = models.PointField(srid=4326, null=True, blank=True)
    
    class Meta:
        abstract = True

class UpdatedByModel(models.Model):

    comment = models.CharField(max_length=254, default="")
    updated_by = models.ForeignKey(User,
                                   on_delete=models.CASCADE)
    updated_on = models.DateTimeField(auto_now=True)
    
    class Meta:
        abstract = True<commit_msg>Hospital webapp<commit_after>from django.contrib.auth.models import User

from django.contrib.gis.db import models

class AddressModel(models.Model):
    """
    An abstract base class model that provides address fields.
    """

    street = models.CharField(max_length=254, default = "")
    unit = models.CharField(max_length=30, default = "")
    number = models.CharField(max_length=30, null=True, blank=True)
    city = models.CharField(max_length=100, default = "")
    state = models.CharField(max_length=2, default = "")
    zipcode = models.CharField(max_length=12, default = "")
    country = models.CharField(max_length=2, default = "")

    location = models.PointField(srid=4326, null=True, blank=True)
    
    class Meta:
        abstract = True

class UpdatedByModel(models.Model):

    comment = models.CharField(max_length=254, default="")
    updated_by = models.ForeignKey(User,
                                   on_delete=models.CASCADE)
    updated_on = models.DateTimeField(auto_now=True)
    
    class Meta:
        abstract = True
{'fraction_non_alphanumeric': 0.11514865502595564, 'fraction_numerical': 0.019820670127418595, 'mean_word_length': 3.3442622950819674, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '721527', 'n_tokens_mistral': 655, 'n_tokens_neox': 622, 'n_words': 127}