<commit_before>%import time
%now = time.time()
%helper = app.helper
%datamgr = app.datamgr

%rebase widget globals(), css=['graphs/css/widget_graphs.css']

%if not elt:
    <span>No element selected!</span>
%else:

  # Reduce the time range of the dashboard graph. Last hour.
  # and specify the source  : dashboard
  %uris = app.get_graph_uris(elt, now - 3600, now, 'dashboard')
  %if len(uris) == 0:
    <span>No graph for this element</span>
  %end


    %for g in uris:
      %img_src = g['img_src']
      %link = g['link']
     <p class='widget_graph'>
       <a href="{{link}}" target='_blank'><img src="{{img_src}}"></a>
     </p>

   %end


%end


<commit_msg>small error in the way to comment lines in html/javascript<commit_after>%import time
%now = time.time()
%helper = app.helper
%datamgr = app.datamgr

%rebase widget globals(), css=['graphs/css/widget_graphs.css']

%if not elt:
    <span>No element selected!</span>
%else:

  <!-- Reduce the time range of the dashboard graph. Last hour.
   and specify the source  : dashboard !-->
  %uris = app.get_graph_uris(elt, now - 3600, now, 'dashboard')
  %if len(uris) == 0:
    <span>No graph for this element</span>
  %end


    %for g in uris:
      %img_src = g['img_src']
      %link = g['link']
     <p class='widget_graph'>
       <a href="{{link}}" target='_blank'><img src="{{img_src}}"></a>
     </p>

   %end


%end



{'fraction_non_alphanumeric': 0.16786743515850144, 'fraction_numerical': 0.007204610951008645, 'mean_word_length': 3.2347560975609757, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 22, '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': '7145515', 'n_tokens_mistral': 531, 'n_tokens_neox': 505, 'n_words': 141}