<commit_before><?php

/**
 * xisnear
 * 
 * @version 1.0
 * @package App\Traits
 * @ignore
 * @author xisnear <<EMAIL>>
 */

namespace Xisnear\Rule\Traits;

/**
 * trait WithRule
 * 
 * used in model
 * 
 * @author xisnear <<EMAIL>>
 */
trait UseRule{
    
    public static $rule_fact_obj;
    
    /**
     * used in the instance of model
     */
    public function useRule(){
        static::$rule_fact_obj = $this;
    }
    
    /**
     * used in the fact class<commit_msg>change userule package<commit_after><?php

/**
 * xisnear
 * 
 * @version 1.0
 * @package Rule
 * @ignore
 * @author xisnear <<EMAIL>>
 */

namespace Xisnear\Rule\Traits;

/**
 * trait WithRule
 * 
 * used in model
 * 
 * @author xisnear <<EMAIL>>
 */
trait UseRule{
    
    public static $rule_fact_obj;
    
    /**
     * used in the instance of model
     */
    public function useRule(){
        static::$rule_fact_obj = $this;
    }
    
    /**
     * used in the fact class
{'fraction_non_alphanumeric': 0.13811007268951195, 'fraction_numerical': 0.004153686396677051, 'mean_word_length': 2.19205298013245, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 11, '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': '2968302', 'n_tokens_mistral': 345, 'n_tokens_neox': 334, 'n_words': 83}