<commit_before># encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models

class Migration(SchemaMigration):

    def forwards(self, orm):
        semester = 0
        if orm.Semester.objects.count() > 0:
            semester = orm.Semester.objects.all()[0].id
            # Adding field 'Section.semester'
        db.add_column('courses_section', 'semester', self.gf('django.db.models.fields.related.ForeignKey')(default=semester, related_name='sections', to=orm['courses.Semester']), keep_default=False)


    def backwards(self, orm):<commit_msg>Added no_dry_run to data migration.<commit_after># encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models

class Migration(SchemaMigration):
    no_dry_run = True

    def forwards(self, orm):
        semester = 0
        if orm.Semester.objects.count() > 0:
            semester = orm.Semester.objects.all()[0].id
            # Adding field 'Section.semester'
        db.add_column('courses_section', 'semester', self.gf('django.db.models.fields.related.ForeignKey')(default=semester, related_name='sections', to=orm['courses.Semester']), keep_default=False)


    def backwards(self, orm):
{'fraction_non_alphanumeric': 0.12106918238993711, 'fraction_numerical': 0.007861635220125786, 'mean_word_length': 3.8773946360153255, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3433484', 'n_tokens_mistral': 408, 'n_tokens_neox': 385, 'n_words': 87}