

def create_separated_evidence_labels(apps, schema_editor):
    EvidenceCandidate = apps.get_model('corpus', 'EvidenceCandidate')
    EvidenceLabel = apps.get_model('corpus', 'EvidenceLabel')
    for ev in EvidenceCandidate.objects.all():
        EvidenceLabel.objects.create(evidence_candidate=ev, judge=ev.judge, label=schema_editor.label, modification_date=ev.modification_date, labeled_by_machine=False)

dataset/ETHPy150Open machinalis/iepy/iepy/webui/corpus/migrations/0009_data_migration_creating_evidencelabels.py create_separated_evidence_labels/VarMisuse@65/106 `ev`->`schema_editor`