<commit_before><?php

namespace Amranidev\Ajaxis\Autoarray;

use Amranidev\Ajaxis\Attributes\Attributes;

/**
 * class MtAutoArray
 *
 * @package ajaxis\quick
 * @author <NAME> <<EMAIL>>
 *
 * @todo Test
 */
class MtAutoArray
{

    public $result = [];

    private $attributes;

    public function __construct($table)
    {
        $this->attributes = new Attributes($table);
    }

    private function arrayAnalyzer($input)
    {
        $result = [];

        foreach ($input as $key => $value) {
            if ($key == "Field") {
                $result[] = $value;
            } elseif ($key == "Type") {
                if (str_contains($value, 'int')) {
                    $result[] = "text";
                } elseif (str_contains($value, 'char')) {
                    $result[] = 'text';
                } elseif ($value = 'date') {
                    $result[] = 'date';
                }
            }
        }<commit_msg>test AutoArray<commit_after><?php

namespace Amranidev\Ajaxis\Autoarray;

use Amranidev\Ajaxis\Attributes\Attributes;

/**
 * class MtAutoArray
 *
 * @package ajaxis\quick
 * @author <NAME> <<EMAIL>>
 *
 * @todo Test AutoArray
 */
class MtAutoArray
{

    public $result = [];

    private $attributes;

    public function __construct($table)
    {
        $this->attributes = new Attributes($table);
    }

    private function arrayAnalyzer($input)
    {
        $result = [];

        foreach ($input as $key => $value) {
            if ($key == "Field") {
                $result[] = $value;
            } elseif ($key == "Type") {
                if (str_contains($value, 'int')) {
                    $result[] = "text";
                } elseif (str_contains($value, 'char')) {
                    $result[] = 'text';
                } elseif ($value = 'date') {
                    $result[] = 'date';
                }
            }
        }
{'fraction_non_alphanumeric': 0.1531959852086635, 'fraction_numerical': 0.0, 'mean_word_length': 1.6638537271448663, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '4125907', 'n_tokens_mistral': 567, 'n_tokens_neox': 543, 'n_words': 118}