<commit_before><?php

use Illuminate\Database\Seeder;

class ForumSeeder extends Seeder
{
    public function run()
    {
		$faker = Faker\Factory::create();

        for ($t = 1; $t <= 10; $t++) {
            factory('App\Data\Topic')->create();
        }

		for ($d = 1; $d <= 50; $d++) {
			$discussion = factory('App\Data\Discussion')->create([
				'user_id' => $faker->numberBetween(1, 102),
                'topic_id' => $faker->numberBetween(1, 10),
			]);

			for ($r = 0; $r <= $faker->numberBetween(0, 10); $r++) {
				factory('App\Data\Reply')->create([
					'discussion_id' => $discussion->id,
					'user_id' => $faker->numberBetween(1, 102),
				]);
			}
		}
    }
}
<commit_msg>Fix a STUPID issue with the forum seeder<commit_after><?php

use Illuminate\Database\Seeder;

class ForumSeeder extends Seeder
{
    public function run()
    {
		$faker = Faker\Factory::create();

        for ($t = 1; $t <= 10; $t++) {
            factory('App\Data\Topic')->create();
        }

		for ($d = 1; $d <= 50; $d++) {
			$discussion = factory('App\Data\Discussion')->create([
				'user_id' => $faker->numberBetween(1, 100),
                'topic_id' => $faker->numberBetween(1, 10),
			]);

			for ($r = 0; $r <= $faker->numberBetween(0, 10); $r++) {
				factory('App\Data\Reply')->create([
					'discussion_id' => $discussion->id,
					'user_id' => $faker->numberBetween(1, 100),
				]);
			}
		}
    }
}

{'fraction_non_alphanumeric': 0.21261516654854712, 'fraction_numerical': 0.029766123316796598, 'mean_word_length': 2.6770833333333335, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 27, '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': '6014087', 'n_tokens_mistral': 609, 'n_tokens_neox': 500, 'n_words': 99}