<commit_before><%= javascript_include_tag "rickshaw" %>
<%= stylesheet_link_tag    "rickshaw" %>
<%= javascript_include_tag "clizia" %>
<%= stylesheet_link_tag    "clizia" %>
<%= stylesheet_link_tag    "graphs/stacked" %>


<%= stylesheet_link_tag    "graphs/dckx" if dckx %>

<div class="slider" id="slider"></div>
<span id="zoomtoselected" class="no_link zoomtoselected"></span>
<div id="chart_container">
	<div class="y_axis" id="y_axis"></div>
	<div class="chart"  id="chart"></div>
	<div class="y_axis right_axis" id="y_axis_right"></div>
	<div class="legend" id="legend-dual"></div>
</div>

<script>
var data = [], metrics =  [], format_metrics = [], right_links = [], left_links = [];
var reset = "<%= obl_qs :right%>";

var right_id = <%= (que_qs :right).to_json.html_safe%>;
if ( right_id == [""]) { right_id = null; }


Clizia.Utils.ProgressBar(gon.metrics.length); 

<% @metrics.each do |m| %>
	metrics.push("<%= m.id %>");
	format_metrics.push("<%= m.titleize%>")
	right_links.push("<%= add_qs :right, m.id%>");
	left_links.push("<%= rem_qs :right, m.id%>");
<%end%>

// Div IDS
divs = {
	chart:  "chart", 
	yaxis:  "y_axis", 
	legend: "legend-dual", 
	y2axis: "y_axis_right"
}

// query bounds
st  = { 
	start: gon.start, 
	stop:  gon.stop, 
	step:  gon.step
}


// Graph objects
graph = {
	metric:      gon.metrics,
	base:        gon.base,
	right:       right_id, 
	right_links: right_links,
	left_links:  left_links 
}
// Extra GUI
gui  = {
	renderer: "<%= check_param(:render, ["line","area","bar"]) || "line" %>",
	stack: <%= to_bool(check_param(:stack, ["on","off"]) || ui_defaults("stack")) %>,
	zeromin: <%= to_bool(check_param(:zeromin, ["on","off"] || false)) %>,
} <commit_msg>Ensure utc clock config gets to graph<commit_after><%= javascript_include_tag "rickshaw" %>
<%= stylesheet_link_tag    "rickshaw" %>
<%= javascript_include_tag "clizia" %>
<%= stylesheet_link_tag    "clizia" %>
<%= stylesheet_link_tag    "graphs/stacked" %>


<%= stylesheet_link_tag    "graphs/dckx" if dckx %>

<div class="slider" id="slider"></div>
<span id="zoomtoselected" class="no_link zoomtoselected"></span>
<div id="chart_container">
	<div class="y_axis" id="y_axis"></div>
	<div class="chart"  id="chart"></div>
	<div class="y_axis right_axis" id="y_axis_right"></div>
	<div class="legend" id="legend-dual"></div>
</div>

<script>
var data = [], metrics =  [], format_metrics = [], right_links = [], left_links = [];
var reset = "<%= obl_qs :right%>";

var right_id = <%= (que_qs :right).to_json.html_safe%>;
if ( right_id == [""]) { right_id = null; }


Clizia.Utils.ProgressBar(gon.metrics.length); 

<% @metrics.each do |m| %>
	metrics.push("<%= m.id %>");
	format_metrics.push("<%= m.titleize%>")
	right_links.push("<%= add_qs :right, m.id%>");
	left_links.push("<%= rem_qs :right, m.id%>");
<%end%>

// Div IDS
divs = {
	chart:  "chart", 
	yaxis:  "y_axis", 
	legend: "legend-dual", 
	y2axis: "y_axis_right"
}

// query bounds
st  = { 
	start: gon.start, 
	stop:  gon.stop, 
	step:  gon.step
}


// Graph objects
graph = {
	metric:      gon.metrics,
	base:        gon.base,
	right:       right_id, 
	right_links: right_links,
	left_links:  left_links 
}
// Extra GUI
gui  = {
	renderer: "<%= check_param(:render, ["line","area","bar"]) || "line" %>",
	stack: <%= to_bool(check_param(:stack, ["on","off"]) || ui_defaults("stack")) %>,
	zeromin: <%= to_bool(check_param(:zeromin, ["on","off"] || false)) %>,
	clock: <%= to_bool(check_param(:clock, ["utc","local"] || ui_defaults("clock"))) %>,
} 
{'fraction_non_alphanumeric': 0.2227920227920228, 'fraction_numerical': 0.0005698005698005698, 'mean_word_length': 4.6537842190016105, 'pattern_counts': {'":': 0, '<': 68, '<?xml version=': 0, '>': 68, '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': '5428799', 'n_tokens_mistral': 1459, 'n_tokens_neox': 1357, 'n_words': 254}