<commit_before><%
   @title = :name_map_title.t(:name => @name.display_name)

   @tabsets = {
           right: render(partial: "shared/tab_set", locals: {links: [link_to(:name_map_about.t(:name => @name.display_name),
                                                                             add_query_param({action: 'show_name', id: @name.id}, @query)),
                                                                     link_to(:show_objects.t(:type => :location),
                                                                             add_query_param({controller: 'location', action: 'index_location'},
                                                                                             @query)),
                                                                     link_to(:show_objects.t(:type => :observation),
                                                                             add_query_param({controller: 'observer', action: 'index_observation'},
                                                                                             @query))]})
    }
%>

<center>
  <%= if @observations.any?
        gmap = make_map(@observations, :query_params => query_params(@query))
        finish_map(gmap)
        gmap.div(:width => 800, :height => 550).html_safe
      else
        :name_map_no_maps.tp(:name => @name.display_name)
      end %>
</center><commit_msg>use 100% of device width for map.<commit_after><%
   @title = :name_map_title.t(:name => @name.display_name)

   @tabsets = {
           right: render(partial: "shared/tab_set", locals: {links: [link_to(:name_map_about.t(:name => @name.display_name),
                                                                             add_query_param({action: 'show_name', id: @name.id}, @query)),
                                                                     link_to(:show_objects.t(:type => :location),
                                                                             add_query_param({controller: 'location', action: 'index_location'},
                                                                                             @query)),
                                                                     link_to(:show_objects.t(:type => :observation),
                                                                             add_query_param({controller: 'observer', action: 'index_observation'},
                                                                                             @query))]})
   }
%>


<%= if @observations.any?
      gmap = make_map(@observations, query_params: query_params(@query), zoom: 2)
      finish_map(gmap)
      gmap.div(width:"100%", height: 550).html_safe
    else
      :name_map_no_maps.tp(:name => @name.display_name)
    end %>
{'fraction_non_alphanumeric': 0.11099176512710347, 'fraction_numerical': 0.005728607232366631, 'mean_word_length': 1.00862688713156, 'pattern_counts': {'":': 0, '<': 9, '<?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': 46, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2458878', 'n_tokens_mistral': 611, 'n_tokens_neox': 586, 'n_words': 100}