<commit_before><?php

class AuditTrailFilter extends baseObjectFilter
{
	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 (
				"_eq_id",
				"_gte_created_at",
				"_lte_created_at",
				"_gte_parsed_at",
				"_lte_parsed_at",
				"_eq_status",
				"_in_status",
				"_eq_object_type",
				"_in_object_type",
				"_eq_object_id",
				"_in_object_id",
				"_eq_related_object_id",
				"_in_related_object_id",
				"_eq_related_object_type",
				"_in_related_object_type",
				"_eq_entry_id",
				"_in_entry_id",
				"_eq_master_partner_id",
				"_in_master_partner_id",
				"_eq_partner_id",
				"_in_partner_id",
				"_eq_request_id",
				"_in_request_id",
				"_eq_puser_id",
				"_in_puser_id",
				"_eq_action",
				"_in_action",
				"_eq_context",
				"_in_context",
				"_eq_entry_point",
				"_in_entry_point",
				"_eq_server_name",
				"_in_server_name",
				"_eq_ip_address",
				"_in_ip_address",
			) , NULL );

		$this->allowed_order_fields = array ("created_at" , "parsed_at");
			
	}

	public function describe() 
	{
		return 
			array (
				"display_name" => "AuditTrailFilter",
				"desc" => ""
			);<commit_msg>Use user, not puser and not kuser<commit_after><?php

class AuditTrailFilter extends baseObjectFilter
{
	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 (
				"_eq_id",
				"_gte_created_at",
				"_lte_created_at",
				"_gte_parsed_at",
				"_lte_parsed_at",
				"_eq_status",
				"_in_status",
				"_eq_object_type",
				"_in_object_type",
				"_eq_object_id",
				"_in_object_id",
				"_eq_related_object_id",
				"_in_related_object_id",
				"_eq_related_object_type",
				"_in_related_object_type",
				"_eq_entry_id",
				"_in_entry_id",
				"_eq_master_partner_id",
				"_in_master_partner_id",
				"_eq_partner_id",
				"_in_partner_id",
				"_eq_request_id",
				"_in_request_id",
				"_eq_user_id",
				"_in_user_id",
				"_eq_action",
				"_in_action",
				"_eq_context",
				"_in_context",
				"_eq_entry_point",
				"_in_entry_point",
				"_eq_server_name",
				"_in_server_name",
				"_eq_ip_address",
				"_in_ip_address",
			) , NULL );

		$this->allowed_order_fields = array ("created_at" , "parsed_at");
			
		$this->aliases = array ( 
			"user_id" => "kuser_id",
		);
	}

	public function describe() 
	{
		return 
			array (
				"display_name" => "AuditTrailFilter",
				"desc" => ""
			);
{'fraction_non_alphanumeric': 0.12843691148775896, 'fraction_numerical': 0.0, 'mean_word_length': 3.4414715719063547, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '4151253', 'n_tokens_mistral': 1314, 'n_tokens_neox': 995, 'n_words': 168}