<commit_before>//HV widget
(function(){  

    xtag.register('widget-HV', {
        extends: 'div',
        lifecycle: {
            created: function() {
                ////////////////
                //Members
                ////////////////
                this.width = this.offsetWidth;
                this.height = this.offsetHeight;
                this.driftTolerance = 0.05;
                this.temperatureMax = 40;
                this.color = {
                    'ok' : '#2ecc71',
                    'alarm' : '#c0392b',
                    'ramp' : '#f1c40f',
                    'trip' : '#3498db',
                    'off' : '#95a5a6'
                }
                this.currentCrate = 0;

                this.cratePop = [];
                this.cardNames = [];
                this.crateNames = [];
                this.HVgrid = [];

                this.tooltip = document.createElement('div');
                this.tooltip.setAttribute('id', 'tooltip');
                this.appendChild(this.tooltip);
                
            },
            inserted: function() {
<commit_msg>more HV tooltip messings around<commit_after>//HV widget
(function(){  

    xtag.register('widget-HV', {
        extends: 'div',
        lifecycle: {
            created: function() {
                ////////////////
                //Members
                ////////////////
                this.width = this.offsetWidth;
                this.height = this.offsetHeight;
                this.driftTolerance = 0.05;
                this.temperatureMax = 40;
                this.color = {
                    'ok' : '#2ecc71',
                    'alarm' : '#c0392b',
                    'ramp' : '#f1c40f',
                    'trip' : '#3498db',
                    'off' : '#95a5a6'
                }
                this.currentCrate = 0;

                this.cratePop = [];
                this.cardNames = [];
                this.crateNames = [];
                this.HVgrid = [];

                
            },
            inserted: function() {

{'fraction_non_alphanumeric': 0.14845261121856868, 'fraction_numerical': 0.02321083172147002, 'mean_word_length': 0.8792007266121707, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1036068', 'n_tokens_mistral': 586, 'n_tokens_neox': 510, 'n_words': 83}