<commit_before><div class="Editor js-editor">
  <div id="dashboard"></div>
</div>

<script>
  var frontendConfig = <%= safe_js_object frontend_config %>;
  var visualizationData = <%= safe_js_object @visualization_data.to_json %>
  var layersData = <%= safe_js_object @layers_data.to_json %>
  var vizJSON = <%= safe_js_object @vizjson.to_hash.to_json %>;
  var userData = <%= safe_js_object current_user.data({ show_api_calls: false }).to_json %>;
  var analysesData = <%= safe_js_object @analyses_data.to_json %>
  var basemaps = <%= safe_js_object @basemaps.to_json %>
  var builderNotifications = <%= safe_js_object @builder_notifications.to_json %>

  var ACTIVE_LOCALE = 'en';
</script>
<%= javascript_include_tag 'vendor_editor3.js' %>
<%= javascript_include_tag 'common_editor3.js' %>
<%= javascript_include_tag 'editor3.js' %>

<%= insert_trackjs('builder') %><commit_msg>pass stateJSON to builder show<commit_after><div class="Editor js-editor">
  <div id="dashboard"></div>
</div>

<script>
  var frontendConfig = <%= safe_js_object frontend_config %>;
  var visualizationData = <%= safe_js_object @visualization_data.to_json %>
  var layersData = <%= safe_js_object @layers_data.to_json %>
  var vizJSON = <%= safe_js_object @vizjson.to_hash.to_json %>;
  var stateJSON = <%= safe_js_object @state.to_json %>;
  var userData = <%= safe_js_object current_user.data({ show_api_calls: false }).to_json %>;
  var analysesData = <%= safe_js_object @analyses_data.to_json %>
  var basemaps = <%= safe_js_object @basemaps.to_json %>
  var builderNotifications = <%= safe_js_object @builder_notifications.to_json %>

  var ACTIVE_LOCALE = 'en';
</script>
<%= javascript_include_tag 'vendor_editor3.js' %>
<%= javascript_include_tag 'common_editor3.js' %>
<%= javascript_include_tag 'editor3.js' %>

<%= insert_trackjs('builder') %>
{'fraction_non_alphanumeric': 0.14986376021798364, 'fraction_numerical': 0.0032697547683923707, 'mean_word_length': 5.980988593155893, 'pattern_counts': {'":': 0, '<': 40, '<?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': '1686970', 'n_tokens_mistral': 705, 'n_tokens_neox': 623, 'n_words': 114}