<commit_before><?php
/**
 * UserFixture
 *
 */
class UserFixture extends CakeTestFixture {

/**
 * Fields
 *
 * @var array
 */
	public $fields = array(
		'id' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 36, 'key' => 'primary', 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
		'token' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
		'username' => array('type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
		'password' => array('type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
		'first_name' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 180, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
		'last_name' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 180, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
		'shift' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
		'is_operator' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
		'is_tech' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
		'creator_id' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 36, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
		'created' => array('type' => 'datetime', 'null' => false, 'default' => null),
		'modifier_id' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 36, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
		'modified' => array('type' => 'datetime', 'null' => false, 'default' => null),
		'last_login_at' => array('type' => 'datetime', 'null' => true, 'default' => null),
		'indexes' => array(
			'PRIMARY' => array('column' => 'id', 'unique' => 1)
		),
		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
	);

/**
 * Records
 *
 * @var array
 */
	public $records = array(
		array(
			'id' => '<PASSWORD>-<PASSWORD>',
			'token' => '<PASSWORD>',
			'username' => 'test',
			'password' => '<PASSWORD>', // == `<PASSWORD>`
			'first_name' => 'Test',
			'last_name' => 'User',
			'shift' => null,
			'is_operator' => 0,
			'is_tech' => 0,
			'creator_id' => '7d5b22bd-fc92-11e3-b153-080027dec79b',
			'created' => '2014-06-24 17:14:10',
			'modifier_id' => '7d5b22bd-fc92-11e3-b153-080027dec79b',
			'modified' => '2014-06-24 17:14:28',
			'last_login_at' => null,
		),
		array(
			'id' => 'c64ddc9c-7193-11e4-b74c-000c290352bb',
			'token' => '<KEY>',
			'username' => 'blowfish',
			'password' => <PASSWORD>',
			'first_name' => 'Blowfish',
			'last_name' => 'Hash',
			'shift' => null,
			'is_operator' => 0,
			'is_tech' => 0,
			'creator_id' => 1,
			'created' => '2014-06-04 13:49:06',
			'modifier_id' => 1,
			'modified' => '2014-06-04 13:49:06',
			'last_login_at' => '2011-06-04 13:49:06', // Will be udpated to NOW() when fixure is instantiated.
		),
		array(
			'id' => 'aaabbbcc-7193-11e4-b74c-000c290352bb',
			'token' => '<KEY>',
			'username' => 'fulladmin',
			'password' => <PASSWORD> <KEY>',
			'first_name' => '<NAME>',
			'last_name' => 'Access',
			'shift' => null,
			'is_operator' => 0,
			'is_tech' => 0,
			'creator_id' => 1,
			'created' => '2014-06-04 13:49:06',
			'modifier_id' => 1,
			'modified' => '2014-06-04 13:49:06',
			'last_login_at' => '2011-06-04 13:49:06', // Will be udpated to NOW() when fixure is instantiated.
		),
	);

	public function __construct() {
		parent::__construct();
		$this->records[1]['last_login_at'] = (new DateTime())->format('Y-m-d H:i:s');
		$this->records[2]['last_login_at'] = (new DateTime())->format('Y-m-d H:i:s');<commit_msg>Strip down UserFixture.<commit_after><?php
/**
 * UserFixture
 *
 */
class UserFixture extends CakeTestFixture {

/**
 * Fields
 *
 * @var array
 */
	public $fields = array(
		'id' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 36, 'key' => 'primary', 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
		'token' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
		'last_login_at' => array('type' => 'datetime', 'null' => true, 'default' => null),
		'username' => array('type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
		'password' => array('type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
		'first_name' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 180, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
		'last_name' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 180, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
		'is_tech' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
		'indexes' => array(
			'PRIMARY' => array('column' => 'id', 'unique' => 1)
		),
		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
	);

/**
 * Records
 *
 * @var array
 */
	public $records = array(
		array(
			'id' => '7d5b22bd-fc92-11e3-b153-080027dec79b',
			'token' => '<PASSWORD>',
			'username' => 'test',
			'last_login_at' => null,
			'password' => '<PASSWORD>', // == `<PASSWORD>`
			'first_name' => 'Test',
			'last_name' => 'User',
			'is_tech' => 0,
		),
		array(
			'id' => 'c64ddc9c-7193-11e4-b<PASSWORD>-<PASSWORD>',
			'token' => 'bb<PASSWORD>',
			'last_login_at' => '2011-06-04 13:49:06', // Will be udpated to NOW() when fixure is instantiated.
			'username' => 'blowfish',
			'password' => <PASSWORD>',
			'first_name' => 'Blowfish',
			'last_name' => 'Hash',
			'is_tech' => 0,
		),
		array(
			'id' => 'aaabbbcc-7193-11e4-b74c-000c290352bb',
			'token' => '<KEY>',
			'last_login_at' => '2011-06-04 13:49:06', // Will be udpated to NOW() when fixure is instantiated.
			'username' => 'fulladmin',
			'password' => <PASSWORD>',
			'first_name' => '<NAME>',
			'last_name' => 'Access',
			'is_tech' => 0,
		),
	);

	public function __construct() {
		parent::__construct();
		$this->records[1]['last_login_at'] = (new DateTime())->format('Y-m-d H:i:s');
		$this->records[2]['last_login_at'] = (new DateTime())->format('Y-m-d H:i:s');
{'fraction_non_alphanumeric': 0.25884543761638734, 'fraction_numerical': 0.054158907510862817, 'mean_word_length': 4.308896210873146, 'pattern_counts': {'":': 0, '<': 26, '<?xml version=': 0, '>': 244, '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': '3716358', 'n_tokens_mistral': 2931, 'n_tokens_neox': 2539, 'n_words': 514}