<commit_before># -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='ConversionJob',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, auto_created=True, verbose_name='ID')),
                ('rq_job_id', models.CharField(verbose_name='rq job id', max_length=250)),
                ('callback_url', models.URLField(verbose_name='callback url', max_length=250)),
                ('status', models.IntegerField(verbose_name='job status', choices=[(1, 'queued'), (2, 'started'), (3, 'done'), (-1, 'error')])),
            ],
        ),
        migrations.CreateModel(
            name='Extent',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, auto_created=True, verbose_name='ID')),
                ('west', models.FloatField(verbose_name='west', null=True, blank=True)),
                ('south', models.FloatField(verbose_name='south', null=True, blank=True)),
                ('east', models.FloatField(verbose_name='east', null=True, blank=True)),
                ('north', models.FloatField(verbose_name='north', null=True, blank=True)),
                ('polyfile', models.FileField(verbose_name='polyfile', null=True, blank=True, upload_to='')),
            ],
        ),
        migrations.CreateModel(
            name='FormatOption',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, auto_created=True, verbose_name='ID')),
                ('output_format', models.CharField(verbose_name='format', choices=[('fgdb', 'fgdb'), ('shp', 'shp'), ('gpkg', 'gpkg'), ('spatialite', 'spatialite')], max_length=100)),
                ('progress', models.IntegerField(verbose_name='progress', choices=[(1, 'received'), (2, 'started'), (10, 'successful'), (-1, 'error')])),
                ('conversion_job', models.ForeignKey(verbose_name='conversion job', related_name='format_options', to='conversion_job.ConversionJob')),
            ],
        ),
        migrations.AddField(
            model_name='conversionjob',
            name='extent',
            field=models.OneToOneField(verbose_name='Extent', to='conversion_job.Extent'),
        ),
    ]
<commit_msg>migrations changed for new models<commit_after># -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='ConversionJob',
            fields=[
                ('id', models.AutoField(verbose_name='ID', auto_created=True, serialize=False, primary_key=True)),
                ('rq_job_id', models.CharField(verbose_name='rq job id', max_length=250)),
                ('callback_url', models.URLField(verbose_name='callback url', max_length=250)),
                ('status', models.IntegerField(verbose_name='job status', choices=[(1, 'queued'), (2, 'started'), (3, 'done'), (-1, 'error')])),
            ],
        ),
        migrations.CreateModel(
            name='Extent',
            fields=[
                ('id', models.AutoField(verbose_name='ID', auto_created=True, serialize=False, primary_key=True)),
                ('west', models.FloatField(verbose_name='west', null=True, blank=True)),
                ('south', models.FloatField(verbose_name='south', null=True, blank=True)),
                ('east', models.FloatField(verbose_name='east', null=True, blank=True)),
                ('north', models.FloatField(verbose_name='north', null=True, blank=True)),
                ('polyfile', models.FileField(verbose_name='polyfile', null=True, upload_to='', blank=True)),
            ],
        ),
        migrations.CreateModel(
            name='FormatOption',
            fields=[
                ('id', models.AutoField(verbose_name='ID', auto_created=True, serialize=False, primary_key=True)),
                ('output_format', models.CharField(verbose_name='format', choices=[('fgdb', 'fgdb'), ('shp', 'shp'), ('gpkg', 'gpkg'), ('spatialite', 'spatialite')], max_length=100)),
                ('progress', models.IntegerField(verbose_name='progress', choices=[(1, 'received'), (2, 'started'), (10, 'successful'), (-1, 'error')])),
                ('conversion_job', models.ForeignKey(verbose_name='conversion job', related_name='format_options', to='conversion_job.ConversionJob')),
            ],
        ),
        migrations.AddField(
            model_name='conversionjob',
            name='extent',
            field=models.OneToOneField(verbose_name='Extent', to='conversion_job.Extent'),
        ),
    ]

{'fraction_non_alphanumeric': 0.1668053244592346, 'fraction_numerical': 0.007903494176372712, 'mean_word_length': 2.9257142857142857, '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': '4625375', 'n_tokens_mistral': 1407, 'n_tokens_neox': 1348, 'n_words': 228}