<commit_before><?php
namespace News\Entities;

class News extends \Asgard\Entity\Entity {
	public static function definition(\Asgard\Entity\EntityDefinition $definition) {
		$definition->properties = array(
			'title' => array(
				'required' => true
			),
			'content' => array(
				'type' => 'longtext',
				'required' => true,
			),
			'image'	=>	array(
				'type'	=>	'file',
				'filetype'	=>	'image',
				'dir'	=>	'news',
				'required'	=>	false,
			),
		);

		$definition->behaviors = array(
			new \Asgard\Behaviors\PublishBehavior,
			new \Asgard\Behaviors\MetasBehavior,
			new \Asgard\Behaviors\SlugifyBehavior,
			new \Asgard\Orm\OrmBehavior,
		);
	}
	<commit_msg>fixes<commit_after><?php
namespace News\Entities;

class News extends \Asgard\Entity\Entity {
	public static function definition(\Asgard\Entity\EntityDefinition $definition) {
		$definition->properties = array(
			'title' => array(
				'required' => true
			),
			'content' => array(
				'type' => 'longtext',
				'required' => true,
			),
			'image'	=>	array(
				'type'	=>	'file',
				'filetype'	=>	'image',
				'dir'	=>	'news',
				'required'	=>	false,
			),
		);

		$definition->behaviors = array(
			new \Asgard\Behaviors\PublishBehavior,
			new \Asgard\Behaviors\MetasBehavior,
			new \Asgard\Behaviors\SlugifyBehavior,
			new \Asgard\Orm\ORMBehavior,
		);
	}
	
{'fraction_non_alphanumeric': 0.16691505216095381, 'fraction_numerical': 0.0, 'mean_word_length': 3.29073482428115, 'pattern_counts': {'":': 0, '<': 5, '<?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': '89292', 'n_tokens_mistral': 587, 'n_tokens_neox': 485, 'n_words': 88}