<commit_before><?php

namespace modl;

class Sessionx extends Model {
    public $session;
    public $username;
    public $password;
    public $hash;
    public $resource;
    public $rid;
    public $sid;
    public $id;
    public $port;
    public $host;
    public $domain;
    public $config;
    public $active;
    public $start;
    public $timestamp;
    public $mechanism;

    public function __construct() {
        $this->_struct = '
        {
            "session" :
                {"type":"string", "size":32, "key":true },
            "username" :
                {"type":"string", "size":64 },
            "password" :
                {"type":"string", "size":64 },
            "hash" :
                {"type":"string", "size":64 },
            "resource" :
                {"type":"string", "size":16 },
            "rid" :
                {"type":"int",    "size":8,   "mandatory":true },
            "sid" :
                {"type":"string",    "size":64 },
            "id" :
                {"type":"int",    "size":8,   "mandatory":true },
            "port" :
                {"type":"int",    "size":5,   "mandatory":true },
            "host" :
                {"type":"string", "size":64,  "mandatory":true },
            "domain" :
                {"type":"string", "size":64,  "mandatory":true },
            "config" :
                {"type":"text" },
            "active" :
                {"type":"int",    "size":4 },
            "start" :
                {"type":"date" },
            "timestamp" :
                {"type":"date" },
            "mechanism" :
                {"type":"string", "size":16 }
        }';

        parent::__construct();
    }
}
<commit_msg>Cleanup password from the DB<commit_after><?php

namespace modl;

class Sessionx extends Model {
    public $session;
    public $username;
    public $hash;
    public $resource;
    public $rid;
    public $sid;
    public $id;
    public $port;
    public $host;
    public $domain;
    public $config;
    public $active;
    public $start;
    public $timestamp;
    public $mechanism;

    public function __construct() {
        $this->_struct = '
        {
            "session" :
                {"type":"string", "size":32, "key":true },
            "username" :
                {"type":"string", "size":64 },
            "hash" :
                {"type":"string", "size":64 },
            "resource" :
                {"type":"string", "size":16 },
            "rid" :
                {"type":"int",    "size":8,   "mandatory":true },
            "sid" :
                {"type":"string", "size":64 },
            "id" :
                {"type":"int",    "size":8,   "mandatory":true },
            "port" :
                {"type":"int",    "size":5,   "mandatory":true },
            "host" :
                {"type":"string", "size":64,  "mandatory":true },
            "domain" :
                {"type":"string", "size":64,  "mandatory":true },
            "config" :
                {"type":"text" },
            "active" :
                {"type":"int",    "size":4 },
            "start" :
                {"type":"date" },
            "timestamp" :
                {"type":"date" },
            "mechanism" :
                {"type":"string", "size":16 }
        }';

        parent::__construct();
    }
}

{'fraction_non_alphanumeric': 0.18015587529976018, 'fraction_numerical': 0.012589928057553957, 'mean_word_length': 1.3955491744436468, 'pattern_counts': {'":': 68, '<': 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': '905404', 'n_tokens_mistral': 993, 'n_tokens_neox': 942, 'n_words': 189}