<commit_before><%
    chart_title ||= ""
    div_id="chart_#{UUIDTools::UUID.random_create.to_s}"
    csv = open(csv_url).read.gsub(".,",".0,")
    processed_csv=""
    FasterCSV.parse(csv) do |row|
        row_csv=row.join(",")
        processed_csv << "\"#{row_csv}\n\"+"
    end

-%>
<%= javascript_include_tag 'dygraph-combined.js' -%>
<div style="width:800px;height:540px" id="<%= div_id -%>"></div>

<script type="text/javascript">
<commit_msg>removed csv parsing from dygraph<commit_after><%
    chart_title ||= ""
    div_id="chart_#{UUIDTools::UUID.random_create.to_s}"

-%>
<%= javascript_include_tag 'dygraph-combined.js' -%>
<div style="width:800px;height:540px" id="<%= div_id -%>"></div>

<script type="text/javascript">

{'fraction_non_alphanumeric': 0.22040816326530613, 'fraction_numerical': 0.017687074829931974, 'mean_word_length': 4.661538461538462, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 15, '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': '5553532', 'n_tokens_mistral': 301, 'n_tokens_neox': 290, 'n_words': 38}