<commit_before><?php
header("Access-Control-Allow-Origin: *");
header('Content-Type: application/json');

/*
 * API_NAME: Enums
 * API_DESCRIPTION: list of some types, for example:
 * API_DESCRIPTION: questTypes, questStates, userStatuses and etc.
 * API_ACCESS: all
 */


$result = array(
	'result' => 'ok',
	'data' => array(
		'questTypes' => array(
			array( 'value' => 'hashes', 'caption' => 'Hashes' ),
			array( 'value' => 'stego', 'caption' => 'Stego' ),
			array( 'value' => 'reverse', 'caption' => 'Reverse' ),
			array( 'value' => 'recon', 'caption' => 'Recon' ),
			array( 'value' => 'trivia', 'caption' => 'Trivia' ),
			array( 'value' => 'crypto', 'caption' => 'Crypto' ),
			array( 'value' => 'forensics', 'caption' => 'Forensics' ),
			array( 'value' => 'network', 'caption' => 'Network' ),
			array( 'value' => 'web', 'caption' => 'Web' ),
			// array( 'value' => 'admin', 'caption' => 'Admin' ),
			array( 'value' => 'enjoy', 'caption' => 'Enjoy' ),
		),
		'questTypesFilter' => array(
			array( 'value' => '', 'caption' => '*' ),
			array( 'value' => 'hashes', 'caption' => 'Hashes' ),
			array( 'value' => 'stego', 'caption' => 'Stego' ),
			array( 'value' => 'reverse', 'caption' => 'Reverse' ),
			array( 'value' => 'recon', 'caption' => 'Recon' ),
			array( 'value' => 'trivia', 'caption' => 'Trivia' ),
			array( 'value' => 'crypto', 'caption' => 'Crypto' ),
			array( 'value' => 'forensics', 'caption' => 'Forensics' ),
			array( 'value' => 'network', 'caption' => 'Network' ),
			array( 'value' => 'web', 'caption' => 'Web' ),
			// array( 'value' => 'admin', 'caption' => 'Admin' ),
			array( 'value' => 'enjoy', 'caption' => 'Enjoy' ),
		),		
		'questStates' => array(
			array( 'value' => 'open', 'caption' => 'Open' ),
			array( 'value' => 'closed', 'caption' => 'Closed' ),
			array( 'value' => 'broken', 'caption' => 'Broken' ),
		),
		'gameTypes' => array(
			array( 'value' => 'jeopardy', 'caption' => 'Jeopardy' ),
			//array( 'value' => 'attack-defence', 'caption' => 'Attack-Defence' ),
		),
		'gameForms' => array(
			array( 'value' => 'online', 'caption' => 'Online' ),<commit_msg>added new type of quest: other<commit_after><?php
header("Access-Control-Allow-Origin: *");
header('Content-Type: application/json');

/*
 * API_NAME: Enums
 * API_DESCRIPTION: list of some types, for example:
 * API_DESCRIPTION: questTypes, questStates, userStatuses and etc.
 * API_ACCESS: all
 */


$result = array(
	'result' => 'ok',
	'data' => array(
		'questTypes' => array(
			array( 'value' => 'hashes', 'caption' => 'Hashes' ),
			array( 'value' => 'stego', 'caption' => 'Stego' ),
			array( 'value' => 'reverse', 'caption' => 'Reverse' ),
			array( 'value' => 'recon', 'caption' => 'Recon' ),
			array( 'value' => 'trivia', 'caption' => 'Trivia' ),
			array( 'value' => 'crypto', 'caption' => 'Crypto' ),
			array( 'value' => 'forensics', 'caption' => 'Forensics' ),
			array( 'value' => 'network', 'caption' => 'Network' ),
			array( 'value' => 'web', 'caption' => 'Web' ),
			// array( 'value' => 'admin', 'caption' => 'Admin' ),
			array( 'value' => 'enjoy', 'caption' => 'Enjoy' ),
			array( 'value' => 'other', 'caption' => 'Other' ),
		),
		'questTypesFilter' => array(
			array( 'value' => '', 'caption' => '*' ),
			array( 'value' => 'hashes', 'caption' => 'Hashes' ),
			array( 'value' => 'stego', 'caption' => 'Stego' ),
			array( 'value' => 'reverse', 'caption' => 'Reverse' ),
			array( 'value' => 'recon', 'caption' => 'Recon' ),
			array( 'value' => 'trivia', 'caption' => 'Trivia' ),
			array( 'value' => 'crypto', 'caption' => 'Crypto' ),
			array( 'value' => 'forensics', 'caption' => 'Forensics' ),
			array( 'value' => 'network', 'caption' => 'Network' ),
			array( 'value' => 'web', 'caption' => 'Web' ),
			// array( 'value' => 'admin', 'caption' => 'Admin' ),
			array( 'value' => 'enjoy', 'caption' => 'Enjoy' ),
		),		
		'questStates' => array(
			array( 'value' => 'open', 'caption' => 'Open' ),
			array( 'value' => 'closed', 'caption' => 'Closed' ),
			array( 'value' => 'broken', 'caption' => 'Broken' ),
		),
		'gameTypes' => array(
			array( 'value' => 'jeopardy', 'caption' => 'Jeopardy' ),
			//array( 'value' => 'attack-defence', 'caption' => 'Attack-Defence' ),
		),
		'gameForms' => array(
			array( 'value' => 'online', 'caption' => 'Online' ),
{'fraction_non_alphanumeric': 0.2643304711069854, 'fraction_numerical': 0.0, 'mean_word_length': 4.005807200929152, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 135, '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': '2982503', 'n_tokens_mistral': 1722, 'n_tokens_neox': 1563, 'n_words': 370}