<commit_before><?php

namespace CollegeCrazies\Bundle\MainBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use FOS\UserBundle\Entity\User as BaseUser;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Component\Security\Core\User\UserInterface;

/**
 * A User
 *
 * @ORM\Entity
 * @ORM\Table(
 *      name="users"
 * )
 */
class User extends BaseUser
{
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="SEQUENCE")
     * @ORM\SequenceGenerator(sequenceName="user_seq", initialValue=1, allocationSize=100)
     */
    protected $id;

    /**
     * @ORM\ManyToMany(targetEntity="League", inversedBy="users")
     */
    protected $leagues;

    /**
     * @ORM\OneToOne(targetEntity="PickSet")
     */
    protected $pickSet;

    public function setId($id)
    {
        $this->id = $id;
    }

    public function getId()
    {
        return $this->id;
    }

    public function getPickSet()
    {
        return $this->pickSet;
    }

    public function __toString()
    {
        return 'xxx';
        return $this->email;
    }
/*
    public function getRoles()
    {
        return array();
    }

    public function eraseCredentials()
    {
        //
    }

    public function equals(UserInterface $user) {
        return ($user->getId() == $this->id);
    }
*/
}
<commit_msg>Cleanup of User<commit_after><?php

namespace CollegeCrazies\Bundle\MainBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use FOS\UserBundle\Entity\User as BaseUser;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Component\Security\Core\User\UserInterface;

/**
 * A User
 *
 * @ORM\Entity
 * @ORM\Table(
 *      name="users"
 * )
 */
class User extends BaseUser
{
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="SEQUENCE")
     * @ORM\SequenceGenerator(sequenceName="user_seq", initialValue=1, allocationSize=100)
     */
    protected $id;

    /**
     * @ORM\ManyToMany(targetEntity="League", inversedBy="users")
     */
    protected $leagues;

    /**
     * @ORM\OneToOne(targetEntity="PickSet")
     */
    protected $pickSet;

    public function setId($id)
    {
        $this->id = $id;
    }

    public function getId()
    {
        return $this->id;
    }

    public function getPickSet()
    {
        return $this->pickSet;
    }

    public function __toString()
    {
        return $this->username;
    }
}

{'fraction_non_alphanumeric': 0.14238952536824878, 'fraction_numerical': 0.0032733224222585926, 'mean_word_length': 2.492857142857143, 'pattern_counts': {'":': 0, '<': 5, '<?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': '974725', 'n_tokens_mistral': 807, 'n_tokens_neox': 783, 'n_words': 141}