<commit_before><?php

return array(

	'classmap' => array(
		'bool' => '\Mascame\Artificer\Fields\Types\Checkbox',
		'boolean' => '\Mascame\Artificer\Fields\Types\Checkbox',
//		'image'   => '\Mascame\Artificer\Plugins\Plupload\PluploadField',
		'hasOne'  => '\Mascame\Artificer\Fields\Types\Relations\hasOne',
		'hasMany' => '\Mascame\Artificer\Fields\Types\Relations\hasMany',
		'belongsTo' => '\Mascame\Artificer\Fields\Types\Relations\belongsTo',
	),

	'types'    => array(
		// field_type => array('fieldname_1', 'fieldname_1')
		'key'      => array(
            'autodetect' => array(
                'id'
            )
		),

		'published' => array(),

		'checkbox'     => array(
            'autodetect' => array(
                'accept',
                'active',
                'boolean',
                'activated',
            ),
		),

        'custom'     => array(

        ),

		'password'     => array(
            'autodetect' => array(
                'password'
            ),
		),

		'text'         => array(
            'autodetect' => array(
                'title',
                'username',
                'name'
            ),
		),

		'textarea'     => array(

		),

		'wysiwyg'      => array(
            'autodetect' => array(
                'body',
                'text'
            ),
		),

		'option'       => array(
            'autodetect' => array(
                'selection',
            ),
		),

		'email'        => array(),

		'link'         => array(
            'autodetect' => array(
                'url'
            ),
        ),

        'datetime'         => array(
            'autodetect' => array(
                '_at'
            ),

            "attributes" => array(
                'class' => 'form-control datetimepicker',
                'data-date-format' => 'YYYY-MM-DD HH:mm:ss',

            ),

            'widgets' => array(
                'artificer-datetimepicker-widget',
            )

        ),

		'date'         => array(
            'autodetect' => array(
                '_at'
            ),

            "attributes" => array(
                'class' => 'form-control datepicker',

            ),

            'widgets' => array(
                'artificer-datepicker-widget',
            )

		),

		'file'         => array(),

		'image'        => array(
            'autodetect' => array(
                'image'
            ),
		),

		'image_center' => array(),

		'hasOne'       => array(
            'autodetect' => array(
                '_id',
                'user_id',
                'fake_id'
            ),
		),

		'hasMany'      => array(),

		'default'      => array(
            'type' => 'text'
        )
	),
);<commit_msg>tweak fields<commit_after><?php

return array(

    'classmap' => array(
        'bool' => '\Mascame\Artificer\Fields\Types\Checkbox',
        'boolean' => '\Mascame\Artificer\Fields\Types\Checkbox',
//		'image'   => '\Mascame\Artificer\Plugins\Plupload\PluploadField',
        'hasOne'  => '\Mascame\Artificer\Fields\Types\Relations\hasOne',
        'hasMany' => '\Mascame\Artificer\Fields\Types\Relations\hasMany',
        'belongsTo' => '\Mascame\Artificer\Fields\Types\Relations\belongsTo',
    ),

    'types'    => array(
        // field_type => array('fieldname_1', 'fieldname_1')
        'key'      => array(
            'autodetect' => array(
                'id'
            )
        ),

        'enum' => array(
            'autodetect' => array(
                'role'
            )
        ),

        'published' => array(),

        'checkbox'     => array(
            'autodetect' => array(
                'accept',
                'active',
                'boolean',
                'activated',
                'binary'
            ),
        ),

        'custom'     => array(

        ),

        'password'     => array(
            'autodetect' => array(
                'password'
            ),
        ),

        'text'         => array(
            'autodetect' => array(
                'title',
                'username',
                'name'
            ),
        ),

        'textarea'     => array(

        ),

        'wysiwyg'      => array(
            'autodetect' => array(
                'body',
                'text'
            ),
        ),

        'option'       => array(
            'autodetect' => array(
                'selection',
            ),
        ),

        'email'        => array(),

        'link'         => array(
            'autodetect' => array(
                'url'
            ),
        ),

        'datetime'         => array(
            'autodetect' => array(
                '_at'
            ),

            "attributes" => array(
                'class' => 'form-control datetimepicker',
                'data-date-format' => 'YYYY-MM-DD HH:mm:ss',

            ),

            'widgets' => array(
                'artificer-datetimepicker-widget',
            )

        ),

        'date'         => array(
            'autodetect' => array(
                '_at'
            ),

            "attributes" => array(
                'class' => 'form-control datetimepicker',
                'data-date-format' => 'YYYY-MM-DD',
            ),

            'widgets' => array(
                'artificer-datetimepicker-widget',
            )

        ),

        'file'         => array(),

        'image'        => array(
            'autodetect' => array(
                'image'
            ),
        ),

        'image_center' => array(),

        'hasOne'       => array(
            'autodetect' => array(
                '_id',
                'user_id',
                'fake_id'
            ),
        ),

        'hasMany'      => array(),

        'default'      => array(
            'type' => 'text'
        )
    ),
);
{'fraction_non_alphanumeric': 0.15455791638108293, 'fraction_numerical': 0.0006854009595613434, 'mean_word_length': 1.0531129088990503, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 100, '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': '2719999', 'n_tokens_mistral': 1830, 'n_tokens_neox': 1655, 'n_words': 253}