<commit_before><!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <%= javascript_include_tag 'editor3.js' %>
    <%= stylesheet_link_tag 'deep_insights.css', :media => 'all' %>
    <script>
      window.onload = function() {
        var vizJSON = <%= safe_js_object @vizjson.to_json %>;

        var dashboard = cartodb.deepInsights.createDashboard('#dashboard', vizJSON, {
          no_cdn: false,
          cartodb_logo: false
        });

        dashboard.vis.done(function() {
          window.dashboard = dashboard
        })
        .error(function(err) {
          console.error(err);
        });
      }
    </script>
    <title><%= @visualization_data[:name].nil? ? 'Untitled map' : @visualization_data[:name] %></title>
  </head>
  <body>
    <div id="dashboard"></div>
  </body>
</html>
<commit_msg>template skeleton<commit_after><!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <%= javascript_include_tag 'editor3.js' %>
    <%= stylesheet_link_tag 'deep_insights.css', media: 'all' %>
    <script>
      window.onload = function() {
        var vizJSON = <%= safe_js_object @vizjson.to_json %>;

        var dashboard = cartodb.deepInsights.createDashboard('#dashboard', vizJSON, {
          no_cdn: false,
          cartodb_logo: false
        });

        dashboard.vis.done(function() {
          window.dashboard = dashboard
        })
        .error(function(err) {
          console.error(err);
        });
      }
    </script>
    <title><%= @visualization_data[:name].nil? ? 'Untitled map' : @visualization_data[:name] %></title>
  </head>
  <body>
    <div id="dashboard"></div>
  </body>
</html>

{'fraction_non_alphanumeric': 0.16757741347905283, 'fraction_numerical': 0.0024286581663630845, 'mean_word_length': 2.5593952483801297, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 40, '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': '6339373', 'n_tokens_mistral': 582, 'n_tokens_neox': 542, 'n_words': 91}