<commit_before>from ximpia_core.core.models import ContextViewDecorator
from ximpia_core.core.business import ViewDecorator

import business

@ContextViewDecorator()
@ViewDecorator()
def home(request, **args):
	print 'home....'
	video = business.VideoBusiness(args['ctx'])
	result = video.showHome()
	return result<commit_msg>logging<commit_after>from ximpia_core.core.models import ContextViewDecorator
from ximpia_core.core.business import ViewDecorator

import business

from ximpia import settings

# Logging
import logging.config
logging.config.dictConfig(settings.LOGGING)
logger = logging.getLogger(__name__)

@ContextViewDecorator()
@ViewDecorator()
def home(request, **args):
	logger.debug( 'home....' )
	video = business.VideoBusiness(args['ctx'])
	result = video.showHome()
	return result
{'fraction_non_alphanumeric': 0.11013767209011265, 'fraction_numerical': 0.0, 'mean_word_length': 6.8431372549019605, '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': '629478', 'n_tokens_mistral': 253, 'n_tokens_neox': 250, 'n_words': 55}