<commit_before># -*- coding: utf-8 -*-
# Generated by Django 1.9.7 on 2016-07-02 20:45
from __future__ import unicode_literals

import hashlib
import json

from django.conf import settings
from django.db import migrations
from django.utils.crypto import get_random_string, pbkdf2

from ...reporting.report_delivery import MatchReportContent
from .. import security


def encrypt_match_report(apps, schema_editor):
    db_alias = schema_editor.connection.alias
    MatchReport = apps.get_model('delivery', 'MatchReport')
    for match_report in MatchReport.objects.using(db_alias).all():
        match_report_content = MatchReportContent(<commit_msg>liiiint<commit_after># -*- coding: utf-8 -*-
# Generated by Django 1.9.7 on 2016-07-02 20:45
from __future__ import unicode_literals

import hashlib
import json

from django.conf import settings
from django.db import migrations
from django.utils.crypto import get_random_string, pbkdf2

from .. import security
from ...reporting.report_delivery import MatchReportContent


def encrypt_match_report(apps, schema_editor):
    db_alias = schema_editor.connection.alias
    MatchReport = apps.get_model('delivery', 'MatchReport')
    for match_report in MatchReport.objects.using(db_alias).all():
        match_report_content = MatchReportContent(
{'fraction_non_alphanumeric': 0.08513931888544891, 'fraction_numerical': 0.02631578947368421, 'mean_word_length': 4.95852534562212, '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': '2407006', 'n_tokens_mistral': 401, 'n_tokens_neox': 369, 'n_words': 103}