<commit_before><?php

declare(strict_types=1);

namespace App\Tests\DataLoader;

use App\Entity\DTO\CurriculumInventoryInstitutionDTO;

class CurriculumInventoryInstitutionData extends AbstractDataLoader
{
    protected function getData(): array
    {
        $arr = [];
        $arr[] = [
            'id' => 1,
            'name' => '<NAME>',
            'aamcCode' => "{$this->faker->randomDigit()}",
            'addressStreet' => '221 West',
            'addressCity' => 'first city',
            'addressStateOrProvince' => $this->faker->stateAbbr(),
            'addressZipCode' => $this->faker->postcode(),
            'addressCountryCode' => 'UK',
            'school' => '1'
        ];
        $arr[] = [
            'id' => 2,
            'name' => '<NAME>',
            'aamcCode' => "14",
            'addressStreet' => '221 East',
            'addressCity' => $this->faker->city(),
            'addressStateOrProvince' => 'CA',
            'addressZipCode' => '90210',
            'addressCountryCode' => 'BC',
            'school' => '2'
        ];

        return $arr;
    }

    public function create(): array
    {
        return [
            'id' => 3,
            'name' => $this->faker->text(25),
            'aamcCode' => "{$this->faker->randomDigit()}",
            'addressStreet' => '12 Main',
            'addressCity' => $this->faker->city(),
            'addressStateOrProvince' => $this->faker->stateAbbr(),
            'addressZipCode' => $this->faker->postcode(),
            'addressCountryCode' => 'US',
            'school' => '3'<commit_msg>hard-wire test city instead of using faker, which appears to be buggy here.<commit_after><?php

declare(strict_types=1);

namespace App\Tests\DataLoader;

use App\Entity\DTO\CurriculumInventoryInstitutionDTO;

class CurriculumInventoryInstitutionData extends AbstractDataLoader
{
    protected function getData(): array
    {
        $arr = [];
        $arr[] = [
            'id' => 1,
            'name' => '<NAME>',
            'aamcCode' => "{$this->faker->randomDigit()}",
            'addressStreet' => '221 West',
            'addressCity' => 'first city',
            'addressStateOrProvince' => $this->faker->stateAbbr(),
            'addressZipCode' => $this->faker->postcode(),
            'addressCountryCode' => 'UK',
            'school' => '1'
        ];
        $arr[] = [
            'id' => 2,
            'name' => '<NAME>',
            'aamcCode' => "14",
            'addressStreet' => '221 East',
            'addressCity' => 'second city',
            'addressStateOrProvince' => 'CA',
            'addressZipCode' => '90210',
            'addressCountryCode' => 'BC',
            'school' => '2'
        ];

        return $arr;
    }

    public function create(): array
    {
        return [
            'id' => 3,
            'name' => $this->faker->text(25),
            'aamcCode' => "{$this->faker->randomDigit()}",
            'addressStreet' => '12 Main',
            'addressCity' => 'third city',
            'addressStateOrProvince' => $this->faker->stateAbbr(),
            'addressZipCode' => $this->faker->postcode(),
            'addressCountryCode' => 'US',
            'school' => '3'
{'fraction_non_alphanumeric': 0.17566302652106083, 'fraction_numerical': 0.01497659906396256, 'mean_word_length': 1.880503144654088, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 93, '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': '2399912', 'n_tokens_mistral': 994, 'n_tokens_neox': 957, 'n_words': 177}