<commit_before><?php
/**
 * Eadrax Context/User/Login/Guest.php
 *
 * @package   Context
 * @author    <NAME> <<EMAIL>>
 * @copyright (c) 2012 <NAME>
 * @license   ISC http://opensource.org/licenses/isc-license.txt
 * @link      http://wipup.org/
 */

namespace Eadrax\Eadrax\Context\User\Login;
use Eadrax\Eadrax\Context;
use Eadrax\Eadrax\Model;
use Eadrax\Eadrax\Entity;

/**
 * Allows model_user to be cast as a guest role
 *
 * @package    Context
 * @subpackage Role
 */ 
class Guest extends Model\User implements Guest\Requirement
{
    use Context\Interaction, Guest\Interaction;

    /**
     * Takes a data object and copies all of its properties
     *
     * @param Model\User $model_user Data object to copy
     * @return void
     */
    public function __construct(Model\User $model_user = NULL, Repository $repository = NULL, Entity\Auth $entity_auth = NULL, Entity\Validation $entity_validation = NULL)
    {
        if ($model_user !== NULL)
        {
            $this->assign_data($model_user);
        }

        $links = array();
        if ($repository !== NULL)
        {
            $links['repository'] = $repository;
        }

        if ($entity_auth !== NULL)
        {
            $links['entity_auth'] = $entity_auth;
        }

        if ($entity_validation !== NULL)
        {
            $links['entity_validation'] = $entity_validation;<commit_msg>Minor cleanup.<commit_after><?php
/**
 * Eadrax Context/User/Login/Guest.php
 *
 * @package   Context
 * @author    <NAME> <<EMAIL>>
 * @copyright (c) 2012 <NAME>
 * @license   ISC http://opensource.org/licenses/isc-license.txt
 * @link      http://wipup.org/
 */

namespace Eadrax\Eadrax\Context\User\Login;
use Eadrax\Eadrax\Context;
use Eadrax\Eadrax\Model;
use Eadrax\Eadrax\Entity;

/**
 * Allows model_user to be cast as a guest role
 *
 * @package    Context
 * @subpackage Role
 */ 
class Guest extends Model\User implements Guest\Requirement
{
    use Context\Interaction, Guest\Interaction;

    /**
     * Takes a data object and copies all of its properties
     *
     * @param Model\User        $model_user        Data object to copy
     * @param Repository        $repository        Repository
     * @param Entity\Auth       $entity_auth       Authentication entity
     * @param Entity\Validation $entity_validation Validation entity
     * @return void
     */
    public function __construct(Model\User $model_user = NULL, Repository $repository = NULL, Entity\Auth $entity_auth = NULL, Entity\Validation $entity_validation = NULL)
    {
        if ($model_user !== NULL)
        {
            $this->assign_data($model_user);
        }

        $links = array();
        if ($repository !== NULL)
        {
            $links['repository'] = $repository;
        }

        if ($entity_auth !== NULL)
        {
            $links['entity_auth'] = $entity_auth;
        }

        if ($entity_validation !== NULL)
        {
            $links['entity_validation'] = $entity_validation;
{'fraction_non_alphanumeric': 0.12303577398863257, 'fraction_numerical': 0.0026746907388833165, 'mean_word_length': 2.3961407491486946, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '1553454', 'n_tokens_mistral': 928, 'n_tokens_neox': 881, 'n_words': 216}