<commit_before><%= javascript_include_tag 'jquery', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'raphael', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'raphael-animated-viewbox', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'percolator-constants', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'percolator-factories', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'percolator', 'data-turbolinks-track' => true %>

<%= javascript_tag do %>
    window.data = '<%=j @problem %>'
<% end %>

<div id="canvas_container"></div>
<div class="chart-popup">
    <div id="problem-container">
        <h2>synopsis:</h2>
        <div id="synopsis"></div>
        </br>
        <button type="button" id="back">BACK</button>
        <button type="button" id="render-solution-form">PERCOLATE</button>
        <button type="button" id="upvote">Upvote</button>
        <button type="button" id="downvote">Downvote</button>
        <div id="disqus_thread"></div><commit_msg>move disqus comment block into content div<commit_after><%= javascript_include_tag 'jquery', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'raphael', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'raphael-animated-viewbox', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'percolator-constants', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'percolator-factories', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'percolator', 'data-turbolinks-track' => true %>

<%= javascript_tag do %>
    window.data = '<%=j @problem %>'
<% end %>

<div id="canvas_container"></div>
<div class="chart-popup">
    <div id="problem-container">
        <h2>synopsis:</h2>
        <div id="synopsis"></div>
        </br>
        <button type="button" id="back">BACK</button>
        <button type="button" id="render-solution-form">PERCOLATE</button>
<!--         <button type="button" id="upvote">Upvote</button>
        <button type="button" id="downvote">Downvote</button> -->
        <div id="disqus_thread"></div>
{'fraction_non_alphanumeric': 0.19328922495274103, 'fraction_numerical': 0.001890359168241966, 'mean_word_length': 4.645333333333333, 'pattern_counts': {'":': 0, '<': 60, '<?xml version=': 0, '>': 72, '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': '103806', 'n_tokens_mistral': 762, 'n_tokens_neox': 695, 'n_words': 115}