<commit_before><%= javascript_include_tag "rickshaw" %>
<%= stylesheet_link_tag    "rickshaw" %>
<%= javascript_include_tag "clizia" %>
<%= stylesheet_link_tag    "clizia" %>
<%= include_gon %>

<% @metrics.each_with_index do |m, index| %>
	<div id="<%="chart_#{index}"%>">
	<span class="leaf_links">
		<span id="metric_<%=index%>_url" class="metric_url leaf"></span>
		<span id="remove_metric_<%=index%>" class="remove_metric leaf" style="float: none;"></span>
	</span>
</div>
<style>
.leaf { 
	float: none !important; margin-right: 0px;
	position:relative; display:inline-block
}
.leaf_links { 
    position: relative;
    left: 420px;
    display: inline-block;
    width: 10px;
    z-index: 100;
    top: 100px;
}
.remove_metric { float: none } 
</style>

<% end # @gon%>

<script>
<commit_msg>Correct remove graph function by encapsulating in named div<commit_after><%= javascript_include_tag "rickshaw" %>
<%= stylesheet_link_tag    "rickshaw" %>
<%= javascript_include_tag "clizia" %>
<%= stylesheet_link_tag    "clizia" %>
<%= include_gon %>

<% @metrics.each_with_index do |m, index| %>
 <div id="chart_<%=index%>_container" style="display: inline-block">
		<div id="<%="chart_#{index}"%>">
		<span class="leaf_links">
			<span id="metric_<%=index%>_url" class="metric_url leaf"></span>
			<span id="remove_metric_<%=index%>" class="remove_metric leaf" style="float: none;"></span>
		</span>
	</div>
</div>
<style>
.leaf { 
	float: none !important; margin-right: 0px;
	position:relative; display:inline-block
}
.leaf_links { 
    position: relative;
    left: 420px;
    display: inline-block;
    width: 10px;
    z-index: 100;
    top: 100px;
}
.remove_metric { float: none } 
</style>

<% end # @gon%>

<script>

{'fraction_non_alphanumeric': 0.1902552204176334, 'fraction_numerical': 0.013921113689095127, 'mean_word_length': 4.8474576271186445, 'pattern_counts': {'":': 0, '<': 48, '<?xml version=': 0, '>': 48, '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': '3204801', 'n_tokens_mistral': 712, 'n_tokens_neox': 633, 'n_words': 131}