<commit_before><?php 
// EventApiTask is used to run periodic refresh from EF API 
class EventApiTask extends BuildTask {

	protected $title = "Refresh EventFinder data";
	protected $description = "Refresh event data from Event Finder API";


	// controller action to be run by default
	function run($request) {

		$ef = new EventApi;
		$result = $ef->get_data(array('rows' => 1));

		print_r($result); 

	}
	
}<commit_msg>test filtering query by category and location<commit_after><?php 
// EventApiTask is used to run periodic refresh from EF API 
class EventApiTask extends BuildTask {

	protected $title = "Refresh EventFinder data";
	protected $description = "Refresh event data from Event Finder API";


	// controller action to be run by default
	function run($request) {

		$ef = new EventApi;
		$result = $ef->get_data(array('category' => 6, 'location' => 363)); // music in wellington

		print_r($result); 

	}
	
}
{'fraction_non_alphanumeric': 0.10930735930735931, 'fraction_numerical': 0.005411255411255411, 'mean_word_length': 4.138888888888889, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, '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': '4496348', 'n_tokens_mistral': 292, 'n_tokens_neox': 264, 'n_words': 101}