<commit_before>from django.db import models


class IntegerSequencedItemRecord(models.Model):
    id = models.BigIntegerField(primary_key=True, auto_created=True)

    # Sequence ID (e.g. an entity or aggregate ID).
    sequence_id = models.UUIDField()

    # Position (index) of item in sequence.
    position = models.BigIntegerField()

    # Topic of the item (e.g. path to domain event class).
    topic = models.CharField(max_length=255)

    # State of the item (serialized dict, possibly encrypted).
    data = models.TextField()

    class Meta:
        unique_together = (("sequence_id", "position"),)
        db_table = 'integer_sequenced_items'



class TimestampSequencedItemRecord(models.Model):
    pass
    # id = Column(BigInteger().with_variant(Integer, "sqlite"), primary_key=True)
    #
    # # Sequence ID (e.g. an entity or aggregate ID).<commit_msg>Removed unnecessary 'id' definition.<commit_after>from django.db import models


class IntegerSequencedItemRecord(models.Model):

    # Sequence ID (e.g. an entity or aggregate ID).
    sequence_id = models.UUIDField()

    # Position (index) of item in sequence.
    position = models.BigIntegerField()

    # Topic of the item (e.g. path to domain event class).
    topic = models.CharField(max_length=255)

    # State of the item (serialized dict, possibly encrypted).
    data = models.TextField()

    class Meta:
        unique_together = (("sequence_id", "position"),)
        db_table = 'integer_sequenced_items'



class TimestampSequencedItemRecord(models.Model):
    pass
    # id = Column(BigInteger().with_variant(Integer, "sqlite"), primary_key=True)
    #
    # # Sequence ID (e.g. an entity or aggregate ID).
{'fraction_non_alphanumeric': 0.10849056603773585, 'fraction_numerical': 0.003537735849056604, 'mean_word_length': 3.5618279569892475, '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': '4220377', 'n_tokens_mistral': 519, 'n_tokens_neox': 492, 'n_words': 141}