<commit_before>// Configuration setting of the BPC app
//
// Author: <NAME>
//
// Revision history:
//     2011-06-21 Refactored
//     2011-05-19 Added inline documentation; added getTermLabel function
//     2011-05-18 Initial split from main code
//
//    TO DO:
//       [ ] Implement a mechanism for loading the settings from data files
//       [X] Add vertical displacement for the graphs (so as not to abuse the gutter in the long term view)
//       [X] The legend height/width should be calculated based on the dynamic legend content

// Initialize the BPC global obeject as needed
var BPC;
if (!BPC) {
    BPC = {};
}

(function () {
    "use strict";

    // Percentile interpretation zones data and styling (IMPORTANT: Percents should sum up to 100)
    BPC.zones = [
        {definition: "Hypotension (< 1%)",       abbreviation: "\\/", label: "Hypotensive", percent: 1, colorhue: 0.7,  opacity: 0.4, dashthrough: false},
        //{definition:"Prehypotension (< 5%)",  abbreviation: "-", label: "Prehypotensive", percent: 4, colorhue: 0.9, opacity: 0.3, dashthrough: false},
        {definition: "Normal",                   abbreviation: "OK", label: "Normal", percent: 89, colorhue: 0.3, opacity: 0.2, dashthrough: false},
        {definition: "Prehypertension (> 90%)", abbreviation: "^", label: "Prehypertensive", percent: 5, colorhue: 0.1, opacity: 0.3, dashthrough: true},
        {definition: "Hypertension (> 95%)",     abbreviation: "/\\", label: "Hypertensive", percent: 5, colorhue: 0,  opacity: 0.4, dashthrough: true}
    ];
    
    // A unicode checkmark character (doesn't work with some of the IE8 fonts): \u2713
    
    // Filter settings defaults<commit_msg>Removes the "OK" abbreviation from the BPC app<commit_after>// Configuration setting of the BPC app
//
// Author: <NAME>
//
// Revision history:
//     2011-06-21 Refactored
//     2011-05-19 Added inline documentation; added getTermLabel function
//     2011-05-18 Initial split from main code
//
//    TO DO:
//       [ ] Implement a mechanism for loading the settings from data files
//       [X] Add vertical displacement for the graphs (so as not to abuse the gutter in the long term view)
//       [X] The legend height/width should be calculated based on the dynamic legend content

// Initialize the BPC global obeject as needed
var BPC;
if (!BPC) {
    BPC = {};
}

(function () {
    "use strict";

    // Percentile interpretation zones data and styling (IMPORTANT: Percents should sum up to 100)
    BPC.zones = [
        {definition: "Hypotension (< 1%)",       abbreviation: "\\/", label: "Hypotensive", percent: 1, colorhue: 0.7,  opacity: 0.4, dashthrough: false},
        //{definition:"Prehypotension (< 5%)",  abbreviation: "-", label: "Prehypotensive", percent: 4, colorhue: 0.9, opacity: 0.3, dashthrough: false},
        {definition: "Normal",                   abbreviation: "", label: "Normal", percent: 89, colorhue: 0.3, opacity: 0.2, dashthrough: false},
        {definition: "Prehypertension (> 90%)", abbreviation: "^", label: "Prehypertensive", percent: 5, colorhue: 0.1, opacity: 0.3, dashthrough: true},
        {definition: "Hypertension (> 95%)",     abbreviation: "/\\", label: "Hypertensive", percent: 5, colorhue: 0,  opacity: 0.4, dashthrough: true}
    ];
    
    // A unicode checkmark character (doesn't work with some of the IE8 fonts): \u2713
    
    // Filter settings defaults
{'fraction_non_alphanumeric': 0.1364568081991215, 'fraction_numerical': 0.036896046852122985, 'mean_word_length': 2.9906542056074765, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5439839', 'n_tokens_mistral': 1161, 'n_tokens_neox': 1032, 'n_words': 373}