<commit_before>#!/usr/bin/env python
# encoding: utf-8
"""
import_member_data.py

Copyright (c) 2010 Kapsi Internet-käyttäjät ry. All rights reserved.
"""

import sys
import os
from datetime import datetime, timedelta
from optparse import OptionParser

os.environ['DJANGO_SETTINGS_MODULE'] = 'sikteeri.settings'
sys.path.insert(0, '..')

from django.conf import settings
import logging
logger = logging.getLogger("import_member_data")

from membership.utils import log_change
from django.contrib.auth.models import User
from membership.models import Contact, Membership, Bill, BillingCycle, Alias
from membership.models import Fee, MEMBER_TYPES

user = User.objects.get(id=1)<commit_msg>Alias moved to services<commit_after>#!/usr/bin/env python
# encoding: utf-8
"""
import_member_data.py

Copyright (c) 2010 Kapsi Internet-käyttäjät ry. All rights reserved.
"""

import sys
import os
from datetime import datetime, timedelta
from optparse import OptionParser

os.environ['DJANGO_SETTINGS_MODULE'] = 'sikteeri.settings'
sys.path.insert(0, '..')

from django.conf import settings
import logging
logger = logging.getLogger("import_member_data")

from membership.utils import log_change
from django.contrib.auth.models import User
from membership.models import Contact, Membership, Bill, BillingCycle
from services.models import Alias
from membership.models import Fee, MEMBER_TYPES

user = User.objects.get(id=1)
{'fraction_non_alphanumeric': 0.09355067328136074, 'fraction_numerical': 0.009922041105598866, 'mean_word_length': 5.99009900990099, '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': '3720800', 'n_tokens_mistral': 447, 'n_tokens_neox': 433, 'n_words': 127}