<commit_before><?php

namespace modl;

class Session extends ModlModel {    
    public $name;
    public $value;
    public $session;
    public $container;
    public $timestamp;
    
    public function __construct() {
        $this->_struct = '
        {
            "name" : 
                {"type":"string", "size":128, "mandatory":true, "key":true },
            "value" : 
                {"type":"text", "mandatory":true },
            "session" : 
                {"type":"string", "size":128, "mandatory":true, "key":true },
            "container" : 
                {"type":"string", "size":128, "mandatory":true, "key":true },
            "timestamp" : 
                {"type":"date" }
        }';
        
        parent::__construct();
    }
}
<commit_msg>- Change the size of the session column to prevent key creation error on old MySQL servers<commit_after><?php

namespace modl;

class Session extends ModlModel {    
    public $name;
    public $value;
    public $session;
    public $container;
    public $timestamp;
    
    public function __construct() {
        $this->_struct = '
        {
            "name" : 
                {"type":"string", "size":32, "mandatory":true, "key":true },
            "value" : 
                {"type":"text", "mandatory":true },
            "session" : 
                {"type":"string", "size":128, "mandatory":true, "key":true },
            "container" : 
                {"type":"string", "size":16, "mandatory":true, "key":true },
            "timestamp" : 
                {"type":"date" }
        }';
        
        parent::__construct();
    }
}

{'fraction_non_alphanumeric': 0.16081330868761554, 'fraction_numerical': 0.009858287122612447, 'mean_word_length': 1.7525423728813558, 'pattern_counts': {'":': 30, '<': 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': '2950149', 'n_tokens_mistral': 478, 'n_tokens_neox': 447, 'n_words': 100}