<commit_before><script>
RealTimeStatsViewer = {
  from: null,
  stats: new Array(),
  current: null,
  playbackTicker: 60,
  realTimeStatsLayer: null,
  maxStats: 1000,
  playbackTickerStart: 10,
  chart: { range: 5, intervals: 10, from: null, to: null, uniques: new Array(), hits: new Array(), labels: new Array() },
  chartTimer: null,

  addStats: function(stats) {
    var div = document.createElement( 'div' );
    div.setAttribute( 'class', 'stats clearfix' );

    var who = document.createElement( 'div' );
    who.setAttribute( 'class', 'who' );
    var who_link = document.createElement( 'a' );
    who_link.href = 'javascript:void(0);';
    who_link.setAttribute( 'onclick','RealTimeStatsViewer.detail("' + stats.id + '");' );
    who_link.appendChild( document.createTextNode(stats.user || stats.ip) );
    who.appendChild( who_link );

    var occurred_at = document.createElement( 'div' );
    occurred_at.setAttribute( 'class', 'when' );
    occurred_at.appendChild( document.createTextNode(stats.occurred_at) );

    var page = document.createElement( 'div' );
    page.setAttribute( 'class', 'page' );
    page.appendChild( document.createTextNode(stats.url) );

    var action = document.createElement( 'div' );
    action.setAttribute( 'class', 'action' );
    action.appendChild( document.createTextNode(stats.action) );<commit_msg>Removed testing timer, use 60 seconds instead.<commit_after><script>
RealTimeStatsViewer = {
  from: null,
  stats: new Array(),
  current: null,
  playbackTicker: 60,
  realTimeStatsLayer: null,
  maxStats: 1000,
  playbackTickerStart: 60,
  chart: { range: 5, intervals: 10, from: null, to: null, uniques: new Array(), hits: new Array(), labels: new Array() },
  chartTimer: null,

  addStats: function(stats) {
    var div = document.createElement( 'div' );
    div.setAttribute( 'class', 'stats clearfix' );

    var who = document.createElement( 'div' );
    who.setAttribute( 'class', 'who' );
    var who_link = document.createElement( 'a' );
    who_link.href = 'javascript:void(0);';
    who_link.setAttribute( 'onclick','RealTimeStatsViewer.detail("' + stats.id + '");' );
    who_link.appendChild( document.createTextNode(stats.user || stats.ip) );
    who.appendChild( who_link );

    var occurred_at = document.createElement( 'div' );
    occurred_at.setAttribute( 'class', 'when' );
    occurred_at.appendChild( document.createTextNode(stats.occurred_at) );

    var page = document.createElement( 'div' );
    page.setAttribute( 'class', 'page' );
    page.appendChild( document.createTextNode(stats.url) );

    var action = document.createElement( 'div' );
    action.setAttribute( 'class', 'action' );
    action.appendChild( document.createTextNode(stats.action) );
{'fraction_non_alphanumeric': 0.15199123127511874, 'fraction_numerical': 0.009499451954694921, 'mean_word_length': 4.326848249027237, 'pattern_counts': {'":': 0, '<': 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': '1062234', 'n_tokens_mistral': 871, 'n_tokens_neox': 850, 'n_words': 196}