<commit_before><?php

App::uses('AppModel', 'Model');

class Log extends AppModel {

	public $validate = array(
			'action' => array(
			'rule' => array('inList', array(
							'login',
							'login_fail',
							'logout',
							'add',
							'edit',
							'change_pw',
							'delete',
							'publish',
							'accept',
							'discard',
							'pull',
							'push',
							'blacklisted',
							'admin_email',
							'tag',
							'publish alert',
							'warning',
							'error',
							'email',
							'serverSettingsEdit',
							'remove_dead_workers',
							'upload_sample',
							'update_database',
							'upgrade_24',
							'version_warning',
							'auth',
							'auth_fail',
							'reset_auth_key',
							'update',
							'enable',
							'disable',
							'accept_delegation',
							'request_delegation',
							'merge',
							'undelete',
							'file_upload',
							'export',
							'pruneUpdateLogs'
						)),
			'message' => 'Options : ...'
		)
	);

	public $actionDefinitions = array(
		'login' => array('desc' => 'Login action', 'formdesc' => "Login action"),
		'logout' => array('desc' => 'Logout action', 'formdesc' => "Logout action"),
		'add' => array('desc' => 'Add action', 'formdesc' => "Add action"),<commit_msg>fix: Add galaxy to valid log action list<commit_after><?php

App::uses('AppModel', 'Model');

class Log extends AppModel {

	public $validate = array(
			'action' => array(
			'rule' => array('inList', array(
							'login',
							'login_fail',
							'logout',
							'add',
							'edit',
							'change_pw',
							'delete',
							'publish',
							'accept',
							'discard',
							'pull',
							'push',
							'blacklisted',
							'admin_email',
							'tag',
							'publish alert',
							'warning',
							'error',
							'email',
							'serverSettingsEdit',
							'remove_dead_workers',
							'upload_sample',
							'update_database',
							'upgrade_24',
							'version_warning',
							'auth',
							'auth_fail',
							'reset_auth_key',
							'update',
							'enable',
							'disable',
							'accept_delegation',
							'request_delegation',
							'merge',
							'undelete',
							'file_upload',
							'export',
							'pruneUpdateLogs',
							'galaxy'
						)),
			'message' => 'Options : ...'
		)
	);

	public $actionDefinitions = array(
		'login' => array('desc' => 'Login action', 'formdesc' => "Login action"),
		'logout' => array('desc' => 'Logout action', 'formdesc' => "Logout action"),
		'add' => array('desc' => 'Add action', 'formdesc' => "Add action"),
{'fraction_non_alphanumeric': 0.1781789638932496, 'fraction_numerical': 0.0015698587127158557, 'mean_word_length': 2.1391625615763545, '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': '461023', 'n_tokens_mistral': 1309, 'n_tokens_neox': 816, 'n_words': 167}