<commit_before><?php

namespace MageTest\Manager\Builders;

use Mage;

class CustomerBuilder implements BuilderInterface
{
    private $attributes = array();
    private $model;

    public function __construct()
    {
        $this->model = $this->defaultModelFactory();
        $this->attributes = array(
            "website_id" => Mage::app()->getWebsite()->getId(),
            "store" => Mage::app()->getStore(),
            "email" => '<EMAIL>',
            "firstname" => 'test',
            "lastname" => 'test',
            "password" => '<PASSWORD>',
            "confirmation" => '<PASSWORD>',
            "status" => 1
        );
    }

    public function build()
    {
        return $this->model->setData($this->attributes);
    }

    public function defaultModelFactory()
    {
        return \Mage::getModel('customer/customer');
    }
}<commit_msg>clean up construct<commit_after><?php

namespace MageTest\Manager\Builders;

use Mage;

class CustomerBuilder implements BuilderInterface
{
    private $attributes = array();

    public function __construct()
    {
        $this->attributes = array(
            "website_id" => Mage::app()->getWebsite()->getId(),
            "store" => Mage::app()->getStore(),
            "email" => '<EMAIL>',
            "firstname" => 'test',
            "lastname" => 'test',
            "password" => '<PASSWORD>',
            "confirmation" => '<PASSWORD>',
            "status" => 1
        );
    }

    public function build()
    {
        $model = $this->defaultModelFactory();
        return $model->setData($this->attributes);
    }

    public function defaultModelFactory()
    {
        return \Mage::getModel('customer/customer');
    }
}
{'fraction_non_alphanumeric': 0.16266822703335285, 'fraction_numerical': 0.0011702750146284377, 'mean_word_length': 2.257142857142857, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 41, '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': '972502', 'n_tokens_mistral': 479, 'n_tokens_neox': 467, 'n_words': 94}