<commit_before><?php

use Carbon\Carbon as Carbon;
use Database\DisablesForeignKeys;
use Database\TruncateTable;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

/**
 * Class UserTableSeeder.
 */
class UserTableSeeder extends Seeder
{
    use DisablesForeignKeys, TruncateTable;

    /**
     * Run the database seed.
     *
     * @return void
     */
    public function run()
    {
        $this->disableForeignKeys();
        $this->truncate( config( 'access.users_table' ) );

        //Add the master administrator, user id of 1
        $users = [
            [
                'id'                => '1',
                'name'              => 'adminuser',
                'first_name'        => 'Admin',
                'last_name'         => 'User',
                'nickname'          => 'adminuser',
                'email'             => '<EMAIL>',
                'password'          => bcrypt( '<PASSWORD>' ),
                'confirmation_code' => md5( uniqid( mt_rand(), true ) ),
                'confirmed'         => true,
                'culture'           => 'en_US',
                'created_at'        => Carbon::now(),
                'updated_at'        => Carbon::now(),
            ],
            [
                'id'                => '2',
                'name'              => 'backenduser',
                'first_name'        => 'Backend',
                'last_name'         => 'User',
                'nickname'          => 'backenduser',
                'email'             => '<EMAIL>',
                'password'          => bcrypt( '<PASSWORD>' ),
                'confirmation_code' => md5( uniqid( mt_rand(), true ) ),
                'confirmed'         => true,
                'culture'           => 'en_US',
                'created_at'        => Carbon::now(),
                'updated_at'        => Carbon::now(),
            ],
            [
                'id'                => '3',
                'name'              => 'defaultuser',
                'first_name'        => 'Default',
                'last_name'         => 'User',
                'nickname'          => 'defaultuser',
                'email'             => '<EMAIL>',
                'password'          => bcrypt( '1234' ),
                'confirmation_code' => md5( uniqid( mt_rand(), true ) ),
                'confirmed'         => true,
                'culture'           => 'en_US',
                'created_at'        => Carbon::now(),
                'updated_at'        => Carbon::now(),
            ],<commit_msg>make sure the test admin is an administrator<commit_after><?php

use Carbon\Carbon as Carbon;
use Database\DisablesForeignKeys;
use Database\TruncateTable;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

/**
 * Class UserTableSeeder.
 */
class UserTableSeeder extends Seeder
{
    use DisablesForeignKeys, TruncateTable;

    /**
     * Run the database seed.
     *
     * @return void
     */
    public function run()
    {
        $this->disableForeignKeys();
        $this->truncate( config( 'access.users_table' ) );

        //Add the master administrator, user id of 1
        $users = [
            [
                'id'                => '1',
                'name'              => 'adminuser',
                'first_name'        => 'Admin',
                'last_name'         => 'User',
                'nickname'          => 'adminuser',
                'email'             => '<EMAIL>',
                'password'          => bcrypt( '<PASSWORD>' ),
                'confirmation_code' => md5( uniqid( mt_rand(), true ) ),
                'confirmed'         => true,
                'culture'           => 'en_US',
                'is_administrator'  => true,
                'created_at'        => Carbon::now(),
                'updated_at'        => Carbon::now(),
            ],
            [
                'id'                => '2',
                'name'              => 'backenduser',
                'first_name'        => 'Backend',
                'last_name'         => 'User',
                'nickname'          => 'backenduser',
                'email'             => '<EMAIL>',
                'password'          => bcrypt( '<PASSWORD>' ),
                'confirmation_code' => md5( uniqid( mt_rand(), true ) ),
                'confirmed'         => true,
                'culture'           => 'en_US',
                'created_at'        => Carbon::now(),
                'updated_at'        => Carbon::now(),
            ],
            [
                'id'                => '3',
                'name'              => 'defaultuser',
                'first_name'        => 'Default',
                'last_name'         => 'User',
                'nickname'          => 'defaultuser',
                'email'             => '<EMAIL>',
                'password'          => bcrypt( '<PASSWORD>' ),
                'confirmation_code' => md5( uniqid( mt_rand(), true ) ),
                'confirmed'         => true,
                'culture'           => 'en_US',
                'created_at'        => Carbon::now(),
                'updated_at'        => Carbon::now(),
            ],
{'fraction_non_alphanumeric': 0.1401457055214724, 'fraction_numerical': 0.003450920245398773, 'mean_word_length': 1.0669572107765453, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 91, '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': '5438416', 'n_tokens_mistral': 1438, 'n_tokens_neox': 1334, 'n_words': 265}