# Generated by Django 5.2.17 on 2026-10-25 10:54

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('exams', '0100_alter_modelquestion_marks'),
    ]

    operations = [
        migrations.AddField(
            model_name='knowledgecomponent',
            name='story_panel_verdict',
            field=models.JSONField(blank=True, default=dict, help_text='Scores from the 5 local experts. Shape: {passed: bool, average: float, per_expert: {objective, relational, simplicity, productive, thematic}}.'),
        ),
        migrations.AddField(
            model_name='knowledgecomponent',
            name='story_status',
            field=models.CharField(choices=[('EMPTY', 'Empty'), ('DRAFT', 'Draft'), ('PANEL_PASSED', 'Panel Passed'), ('PANEL_FLAGGED', 'Panel Flagged'), ('TEACHER_OVERRIDE', 'Teacher Override')], db_index=True, default='EMPTY', help_text='Lifecycle state of the story. Student-visible only when PANEL_PASSED or TEACHER_OVERRIDE.', max_length=20),
        ),
    ]
