<commit_before><div>
  <h1>Please select the Place in the hierarchy where you would like to add your new Place</h1>
</div>
<div id="relation_tree_container">
</div>
<%= javascript_include_tag 'kmaps_engine/kmaps_fancytree' %>
<%= javascript_on_load do %>
  $("#relation_tree_container").kmapsFancytree({
    featureId: 13735,
    featuresPath: "<%= new_admin_feature_path %>?parent_id=%%ID%%",
    termIndex: "<%= Feature.config.url %>",
    perspective: "<%= current_perspective.code %>",
    seedTree: {
      descendants: true,
      directAncestors: false,
    },
    displayPopup: false
  });
<% end %>
<commit_msg>Update view select_ancestor to use new kmapsFancyTree<commit_after><div>
  <h1>Please select the Place in the hierarchy where you would like to add your new Place</h1>
</div>
<div id="relation_tree_container">
</div>
<%= javascript_include_tag 'kmaps_engine/kmaps_fancytree' %>
<%= javascript_on_load do %>
  $("#relation_tree_container").kmapsFancytree({
    featureId: "",
    featuresPath: "<%= new_admin_feature_path %>?parent_id=%%ID%%",
    termIndex: "<%= Feature.config.url %>",
    perspective: "<%= current_perspective.code %>",
    seedTree: {
      descendants: true,
      directAncestors: true,
    },
    displayPopup: false
  });
<% end %>

{'fraction_non_alphanumeric': 0.1536050156739812, 'fraction_numerical': 0.007053291536050157, 'mean_word_length': 4.576419213973799, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '6098721', 'n_tokens_mistral': 451, 'n_tokens_neox': 422, 'n_words': 91}