<commit_before>from django.db import models

from testcube.core.models import Product


class RunnerProfile(models.Model):
    product = models.OneToOneField(Product, on_delete=models.CASCADE, related_name='runner_profile')
    command = models.CharField(max_length=200)


class Task(models.Model):
    STATUS_CHOICES = ((-1, 'Pending'), (0, 'Send'), (1, 'Completed'), (2, 'Abandoned'))

    name = models.CharField(max_length=100)
    status = models.IntegerField(choices=STATUS_CHOICES, default=-1)
    retry_count = models.IntegerField(default=1)
    data = models.TextField()<commit_msg>update runner models.<commit_after>from django.db import models

from testcube.core.models import Product


class RunnerProfile(models.Model):
    product = models.OneToOneField(Product, on_delete=models.CASCADE, related_name='runner_profile')
    command = models.CharField(max_length=200)


class Task(models.Model):
    STATUS_CHOICES = ((-1, 'Pending'), (0, 'Sent'))

    name = models.CharField(max_length=100)
    object_id = models.IntegerField(default=-1)
    status = models.IntegerField(choices=STATUS_CHOICES, default=-1)
    data = models.TextField()
{'fraction_non_alphanumeric': 0.12836079791847355, 'fraction_numerical': 0.019080659150043366, 'mean_word_length': 5.375690607734807, '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': '1328894', 'n_tokens_mistral': 381, 'n_tokens_neox': 359, 'n_words': 69}