<commit_before><?php use_helper('Thumbnail') ?>
<div class="header-account-information">
    <span class="header-account-avatar">
        <?php if(isset($account) && $account->getPhoto()): ?>
            <?php echo image_tag(getThumbnail('avatar/'.$account->getPhoto(), 60), array('alt' => '')) ?>
        <?php else: ?>
            <?php echo image_tag(getThumbnail('../images/no_logo.jpg', 60), array('alt' => '')) ?>
        <?php endif ?>
    </span>
    <span class="header-account-title">
        <?php if(isset($account) && $account->getTitle()): ?>
            <?php echo $account->getTitle(); ?>
        <?php else: ?>
            PreFlight Risk
        <?php endif ?>
    </span>
</div>
<ul class="header-link-block">
    <li class="header-dashboard header-link">
        <a href="<?php echo isset($account) ? url_for("@dashboard?account_id={$account->getId()}") : "#" ?>">Dashboard</a>
    </li>
    <li class="header-settings header-link">
        <a href="<?php echo isset($account) ? url_for("@settings?account_id={$account->getId()}") : "#" ?>">Settings</a>
    </li>
</ul>
<div class="header-user-information-wrapper">
    <span class="header-user-avatar">
        <?php if($sf_user->getGuardUser()->getPhoto()): ?>
            <?php echo image_tag(getThumbnail('avatar/'.$sf_user->getGuardUser()->getPhoto(), 40), array('alt' => '')) ?>
        <?php else: ?>
            <?php echo image_tag(getThumbnail('../images/no_logo.jpg', 40), array('alt' => '')) ?>
        <?php endif ?>
    </span>
    <div class="user-wrapper">

        <span class="header-user-name">
            Keep the blue side up, <?php echo $sf_user->getGuardUser()->getFirstName(); ?>
        </span>
        <span class="header-user-email">
            <?php echo $sf_user->getGuardUser()->getUsername(); ?> (<a href="<?php echo url_for('@signout') ?>">Sign Out</a>)
        </span>
    </div>
</div>

<commit_msg>select account header link<commit_after><?php use_helper('Thumbnail') ?>
<div class="header-account-information">
    <span class="header-account-avatar">
        <?php if(isset($account) && $account->getPhoto()): ?>
            <?php echo image_tag(getThumbnail('avatar/'.$account->getPhoto(), 60), array('alt' => '')) ?>
        <?php else: ?>
            <?php echo image_tag(getThumbnail('../images/no_logo.jpg', 60), array('alt' => '')) ?>
        <?php endif ?>
    </span>
    <span class="header-account-title">
        <?php if(isset($account) && $account->getTitle()): ?>
            <?php echo $account->getTitle(); ?>
        <?php else: ?>
            PreFlight Risk
        <?php endif ?>
    </span>
</div>
<ul class="header-link-block">
    <li class="header-dashboard header-link">
        <a href="<?php echo isset($account) ? url_for("@dashboard?account_id={$account->getId()}") : "#" ?>">Dashboard</a>
    </li>
    <li class="header-settings header-link">
        <a href="<?php echo isset($account) ? url_for("@settings?account_id={$account->getId()}") : "#" ?>">Settings</a>
    </li>
    <li class="header-settings header-link">
        <a href="<?php echo url_for("@select_account")?>">Change Account</a>
    </li>
</ul>
<div class="header-user-information-wrapper">
    <span class="header-user-avatar">
        <?php if($sf_user->getGuardUser()->getPhoto()): ?>
            <?php echo image_tag(getThumbnail('avatar/'.$sf_user->getGuardUser()->getPhoto(), 40), array('alt' => '')) ?>
        <?php else: ?>
            <?php echo image_tag(getThumbnail('../images/no_logo.jpg', 40), array('alt' => '')) ?>
        <?php endif ?>
    </span>
    <div class="user-wrapper">

        <span class="header-user-name">
            Keep the blue side up, <?php echo $sf_user->getGuardUser()->getFirstName(); ?>
        </span>
        <span class="header-user-email">
            <?php echo $sf_user->getGuardUser()->getUsername(); ?> (<a href="<?php echo url_for('@signout') ?>">Sign Out</a>)
        </span>
    </div>
</div>


{'fraction_non_alphanumeric': 0.22539843157095876, 'fraction_numerical': 0.004047558816089046, 'mean_word_length': 3.0305810397553516, 'pattern_counts': {'":': 0, '<': 104, '<?xml version=': 0, '>': 140, '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': '5446484', 'n_tokens_mistral': 1274, 'n_tokens_neox': 1275, 'n_words': 234}