# Generated by Django 6.0.6 on 2026-07-09 14:08

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('pipeline', '0005_rankrun_rankscore'),
    ]

    operations = [
        migrations.CreateModel(
            name='RankParameter',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('key', models.SlugField(help_text="Machine key, e.g. 'communication'", unique=True)),
                ('label', models.CharField(help_text="Display name, e.g. 'Communication Skills'", max_length=100)),
                ('description', models.TextField(blank=True, default='', help_text='Guidance sent to the AI on how to judge this parameter.')),
                ('weight', models.PositiveSmallIntegerField(default=10, help_text='Default weight (share of 100).')),
                ('is_active', models.BooleanField(default=True)),
                ('sort_order', models.PositiveSmallIntegerField(default=0)),
            ],
            options={
                'db_table': 'rank_parameters',
                'ordering': ['sort_order', 'id'],
            },
        ),
    ]
