<commit_before><?php

use Illuminate\Database\Seeder;

class UserTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('users')->delete();

        $data['name'] = '<NAME>';
        $data['email'] = '<EMAIL>';
        $data['gsm'] = '0474834880';
        $data['password'] = bcrypt('<PASSWORD>');

        $id = DB::table('users')->insertGetId($data);

        $user = App\User::find($id);
        Bouncer::assign('active')->to($user);
    }
}
<commit_msg>Add api token to the user table seed<commit_after><?php

use Illuminate\Database\Seeder;

class UserTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('users')->delete();

        $data['name'] = '<NAME>';
        $data['email'] = '<EMAIL>';
        $data['gsm'] = '0474834880';
        $data['password'] = <PASSWORD>('<PASSWORD>');
        $data['api_token'] = str_random(30);

        $id = DB::table('users')->insertGetId($data);

        $user = App\User::find($id);
        Bouncer::assign('active')->to($user);
    }
}

{'fraction_non_alphanumeric': 0.20219966159052452, 'fraction_numerical': 0.018612521150592216, 'mean_word_length': 2.5103857566765577, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 16, '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': '503606', 'n_tokens_mistral': 397, 'n_tokens_neox': 383, 'n_words': 69}