<commit_before><?php
/**
 * @package Core
 * @subpackage model.filters
 */ 
class kuserFilter extends baseObjectFilter
{
	const PUSER_ID_OR_SCREEN_NAME = 'puser_id,screen_name';
	
	public function init ()
	{
		// TODO - should separate the schema of the fields from the actual values
		// or can use this to set default valuse
		$this->fields = kArray::makeAssociativeDefaultValue (
			array (
				"_likex_screen_name"   , 
				"_like_screen_name"   ,
				"_like_email",
				"_likex_email" ,
				"_like_country" ,
				"_like_tags" ,
				"_mlikeor_tags",
				"_mlikeand_tags" ,
				"_gte_created_at" ,
				"_lte_created_at" ,
				"_gte_produced_kshows" ,
				"_gte_entries" ,
				"_eq_partner_id" , 
				"_eq_puser_id",
				"_in_puser_id",
				"_eq_id",
				"_in_id",
				"_eq_status",
				"_in_status",
				"_gte_id" , 
				"_lte_id" ,
				"_notin_id",
				"_gte_login_data_id",
				"_ltornull_login_data_id",<commit_msg>fwr: added filtering by firstName/lastName<commit_after><?php
/**
 * @package Core
 * @subpackage model.filters
 */ 
class kuserFilter extends baseObjectFilter
{
	const PUSER_ID_OR_SCREEN_NAME = 'puser_id,screen_name';
	
	public function init ()
	{
		// TODO - should separate the schema of the fields from the actual values
		// or can use this to set default valuse
		$this->fields = kArray::makeAssociativeDefaultValue (
			array (
				"_likex_screen_name"   , 
				"_like_screen_name"   ,
				"_like_email",
				"_likex_email" ,
				"_like_country" ,
				"_like_tags" ,
				"_mlikeor_tags",
				"_mlikeand_tags" ,
				"_gte_created_at" ,
				"_lte_created_at" ,
				"_gte_produced_kshows" ,
				"_gte_entries" ,
				"_eq_partner_id" , 
				"_eq_puser_id",
				"_in_puser_id",
			    "_eq_first_name",
			    "_eq_last_name",
				"_eq_id",
				"_in_id",
				"_eq_status",
				"_in_status",
				"_gte_id" , 
				"_lte_id" ,
				"_notin_id",
				"_gte_login_data_id",
				"_ltornull_login_data_id",
{'fraction_non_alphanumeric': 0.11770833333333333, 'fraction_numerical': 0.0, 'mean_word_length': 3.1943231441048034, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2369263', 'n_tokens_mistral': 942, 'n_tokens_neox': 732, 'n_words': 129}