<commit_before><?php

/**
 * Model defaults
 */

return array(
	
	// General configuration for all models
	'model' => array(
		
		// Debug mode is used to print querries on the screen
		'debug' => false,
		
		// Default type for models. Can be overridden by setting ['type'] in the 
		// model config.
		'default-type' => 'sql',
		
		// Load relationships from config on read
		'load-relations' => true,
		
		// Relationships
		'belongs-to' => array(),
		'has-one' => array(),
		'has-many' => array(),
		
		// When cascade is true when models are deleted their related models
		// will be deleted as well
		'cascade' => true,
		
		// Use inline view in admin
		'inline-view' => false,
		
		// Checks for form double submits and prevents them
		'prevent-duplicates' => true,
		
		// Tie model content to the currently authenticated user by the users_id
		// field
		'user-specific' => false,
		
		// Fields for admin module
		'fields' => array(
			'list' => array(),
			'form' => array()
		),
		
		// Model manipulation defaults
		'order' => false,
		'order-direction' => 'DESC',
		'limit' => false,
		'where' => array(),
		'where-raw' => false,
		'where-operation' => 'AND',
		
		// Actions for admin modules
		'actions' => array('create'),
		'inline-actions' => array('delete', 'update')
	),
	
	// MySQL database connection information
	'sql' => array(
		
		// PDO database credentials
		'dbtype' => 'mysql',
		'host' => 'localhost',
		'port' => 13306,
		'username' => 'root',
		'password' => '<PASSWORD>',
		'dbname' => 'database'
	),
	
	// File model type configuration
	'file' => array(
		
		// Base path of the file storage directory
		'path' => 'uploads/',
		
		// Read the content of files and add it to array in adition to metadata.
		// Useful for text files or JSON stores.
		'read-content' => false,
		<commit_msg>Changed default mysql port<commit_after><?php

/**
 * Model defaults
 */

return array(
	
	// General configuration for all models
	'model' => array(
		
		// Debug mode is used to print querries on the screen
		'debug' => false,
		
		// Default type for models. Can be overridden by setting ['type'] in the 
		// model config.
		'default-type' => 'sql',
		
		// Load relationships from config on read
		'load-relations' => true,
		
		// Relationships
		'belongs-to' => array(),
		'has-one' => array(),
		'has-many' => array(),
		
		// When cascade is true when models are deleted their related models
		// will be deleted as well
		'cascade' => true,
		
		// Use inline view in admin
		'inline-view' => false,
		
		// Checks for form double submits and prevents them
		'prevent-duplicates' => true,
		
		// Tie model content to the currently authenticated user by the users_id
		// field
		'user-specific' => false,
		
		// Fields for admin module
		'fields' => array(
			'list' => array(),
			'form' => array()
		),
		
		// Model manipulation defaults
		'order' => false,
		'order-direction' => 'DESC',
		'limit' => false,
		'where' => array(),
		'where-raw' => false,
		'where-operation' => 'AND',
		
		// Actions for admin modules
		'actions' => array('create'),
		'inline-actions' => array('delete', 'update')
	),
	
	// MySQL database connection information
	'sql' => array(
		
		// PDO database credentials
		'dbtype' => 'mysql',
		'host' => 'localhost',
		'port' => 3306,
		'username' => 'root',
		'password' => '<PASSWORD>',
		'dbname' => 'database'
	),
	
	// File model type configuration
	'file' => array(
		
		// Base path of the file storage directory
		'path' => 'uploads/',
		
		// Read the content of files and add it to array in adition to metadata.
		// Useful for text files or JSON stores.
		'read-content' => false,
		
{'fraction_non_alphanumeric': 0.15401419989077006, 'fraction_numerical': 0.0024576734025122883, 'mean_word_length': 2.8076923076923075, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 69, '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': '4288610', 'n_tokens_mistral': 1331, 'n_tokens_neox': 1108, 'n_words': 397}