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

<script src="/assets/graphs/util.js"></script>
<script src="/assets/graphs/standard.js"></script>

<div class="slider" id="multi_slider" ></div>
<% @metrics.each_with_index do |metric, index| %>
<h4><%= pretty_metric metric %></h4>

<div id="chart_container">
        <div class="y_axis" id="<%="y_axis_#{index}"%>"></div>
        <div class="chart"  id="<%="chart_#{index}"%>"></div>
</div>

<script>
	renderWaiting("chart_<%=index%>")
	var data = []
	renderStandard(<%=index%>)
</script>
<% end %>

<script>
var intervalID; 
function stopUpdates() { clearInterval(intervalID) } 
function startUpdates() { intervalID = updateStandard() } 
</script>
<commit_msg>Use a shared color palette for standard graphs<commit_after><%= javascript_include_tag "rickshaw" %>
<%= stylesheet_link_tag    "graphs_standard" %>
<%= include_gon %>

<script src="/assets/graphs/util.js"></script>
<script src="/assets/graphs/standard.js"></script>

<div class="slider" id="multi_slider" ></div>
<% @metrics.each_with_index do |metric, index| %>
<h4><%= pretty_metric metric %></h4>

<div id="chart_container">
        <div class="y_axis" id="<%="y_axis_#{index}"%>"></div>
        <div class="chart"  id="<%="chart_#{index}"%>"></div>
</div>

<script>
	var palette = new Rickshaw.Color.Palette({scheme: "munin"})
	renderWaiting("chart_<%=index%>")
	var data = []
	renderStandard(<%=index%>)
</script>
<% end %>

<script>
var intervalID; 
function stopUpdates() { clearInterval(intervalID) } 
function startUpdates() { intervalID = updateStandard() } 
</script>

{'fraction_non_alphanumeric': 0.21368547418967587, 'fraction_numerical': 0.0024009603841536613, 'mean_word_length': 5.8040816326530615, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, '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': '7229007', 'n_tokens_mistral': 622, 'n_tokens_neox': 580, 'n_words': 110}