<commit_before><?php
    $baseUrl = Yii::app()->baseUrl;
    $cs = Yii::app()->getClientScript();
    $cs->registerCssFile($baseUrl . '/css/file_upload-min.css');
    $cs->registerCssFile($baseUrl . '/css/character-min.css');
	require_once 'translations.php';
?>

<div class="view">

    <div class="image">
        <?php echo CHtml::image($data->image, $data->name, array('class' => 'thumb')); ?>
    </div>

    <div class="description">
	    <b><?php echo CHtml::encode($data->getAttributeLabel('name')); ?>:</b>
	    <?php echo CHtml::encode($data->name); ?>
	    <br />
        <b><?php echo Yii::t('characters', 'Aliases') ?>:</b>
        <?php $this->printAliases($data); ?>
	    <b><?php echo CHtml::encode($data->getAttributeLabel('birth_date')); ?>:</b>
	    <?php echo CHtml::encode($data->birth_date); ?>
	    <br />
	    <b><?php echo CHtml::encode($data->getAttributeLabel('death_date')); ?>:</b>
	    <?php echo CHtml::encode($data->death_date); ?>
	    <br />
	    <b><?php echo CHtml::encode($data->getAttributeLabel('biography')); ?>:</b>
	    <?php echo $data->biography; ?>
        <b><?php echo Yii::t('positions', 'Positions') ?>:</b>
        <?php $this->printPositions($data); ?>
    </div><commit_msg>The view should be prepared to receive empty biography<commit_after><?php
    $baseUrl = Yii::app()->baseUrl;
    $cs = Yii::app()->getClientScript();
    $cs->registerCssFile($baseUrl . '/css/file_upload-min.css');
    $cs->registerCssFile($baseUrl . '/css/character-min.css');
	require_once 'translations.php';
?>

<div class="view">

    <div class="image">
        <?php echo CHtml::image($data->image, $data->name, array('class' => 'thumb')); ?>
    </div>

    <div class="description">
	    <b><?php echo CHtml::encode($data->getAttributeLabel('name')); ?>:</b>
	    <?php echo CHtml::encode($data->name); ?>
	    <br />
        <b><?php echo Yii::t('characters', 'Aliases') ?>:</b>
        <?php $this->printAliases($data); ?>
	    <b><?php echo CHtml::encode($data->getAttributeLabel('birth_date')); ?>:</b>
	    <?php echo CHtml::encode($data->birth_date); ?>
	    <br />
	    <b><?php echo CHtml::encode($data->getAttributeLabel('death_date')); ?>:</b>
	    <?php echo CHtml::encode($data->death_date); ?>
	    <br />
	    <b><?php echo CHtml::encode($data->getAttributeLabel('biography')); ?>:</b>
		<?php
			if (empty($data->biography)) {
				echo Yii::t('app', 'None') . '<br/>';
			} else {
				echo $data->biography;
			}
		?>
        <b><?php echo Yii::t('positions', 'Positions') ?>:</b>
        <?php $this->printPositions($data); ?>
    </div>
{'fraction_non_alphanumeric': 0.24681344148319814, 'fraction_numerical': 0.0, 'mean_word_length': 3.7262773722627736, 'pattern_counts': {'":': 0, '<': 72, '<?xml version=': 0, '>': 107, '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': '6716019', 'n_tokens_mistral': 908, 'n_tokens_neox': 879, 'n_words': 154}