<commit_before>jQuery(function($) {
    "use strict";
    
    $('.popover-toggle').popover({
        container: 'body',
        html: true,
        placement: 'bottom',
        content: function () {
            return $(this).next('.popover-content').html();
        }
    });
    
    /*
     * We are gonna initialize all checkbox and radio inputs to 
     * iCheck plugin in.
     * You can find the documentation at http://fronteed.com/iCheck/
     */
    $("input[type='checkbox'], input[type='radio']").iCheck({
        checkboxClass: 'icheckbox_minimal',
        radioClass: 'iradio_minimal'
    });

    Edgesense.FullUrl = (function() {
        var base = window.location.protocol + '//' + window.location.hostname;
        base += window.location.port ? (':' + window.location.port) : '';
        
        var full = function(path){
            return base+path;
        }
        return full;
    })();

    // Load the main configuration
    var configuration = Edgesense.Configuration().load();
    
    // The script produces an index json with the last date when it was run
    $.ajax({
      dataType: "json",
      async: false,
      url: Edgesense.FullUrl("/json/last.json"), 
      success: function( d ) {
          
          var dashboard = Edgesense.Dashboard().configuration(configuration);
          
          // Activate the analytics
          var analytics_tracking_id = configuration.get("analytics_tracking_id");
          if (analytics_tracking_id) {<commit_msg>fixes twitter dashboard json prefix<commit_after>jQuery(function($) {
    "use strict";
    
    $('.popover-toggle').popover({
        container: 'body',
        html: true,
        placement: 'bottom',
        content: function () {
            return $(this).next('.popover-content').html();
        }
    });
    
    /*
     * We are gonna initialize all checkbox and radio inputs to 
     * iCheck plugin in.
     * You can find the documentation at http://fronteed.com/iCheck/
     */
    $("input[type='checkbox'], input[type='radio']").iCheck({
        checkboxClass: 'icheckbox_minimal',
        radioClass: 'iradio_minimal'
    });

    // Load the main configuration
    var configuration = Edgesense.Configuration().load();
    
    // The script produces an index json with the last date when it was run
    $.ajax({
      dataType: "json",
      async: false,
      url: Edgesense.FullUrl("/json/last.json"), 
      success: function( d ) {
          
          var dashboard = Edgesense.Dashboard().configuration(configuration);
          
          // Activate the analytics
          var analytics_tracking_id = configuration.get("analytics_tracking_id");
          if (analytics_tracking_id) {
{'fraction_non_alphanumeric': 0.12993724621631597, 'fraction_numerical': 0.0, 'mean_word_length': 2.1995277449822903, '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': '5305905', 'n_tokens_mistral': 757, 'n_tokens_neox': 735, 'n_words': 186}