<commit_before><%= javascript_include_tag "dragula.js" %>
<%= stylesheet_link_tag "dragula.css" %>

<% breadcrumb :picture_comprehension_exercise_play, @picture_comprehension_exercise %>

<h1>Playing <%= @picture_comprehension_exercise.name %></h1>

<div id="banner">
    <div class="panel panel-info">
        <div class="panel-heading">
            <h3 class="panel-title">Instructions</h3>
        </div>
        <div class="panel-body">
            Move story elements from the left side to the right in the correct order.
        </div>
    </div>
</div>

<div class="picture-comprehension-play">
    <h3>Pieces</h3>
    <ul class="base-list" id="base-list">
        <% @images.each do |image| %>
            <li data-position="<%= image.position %>"><%= image_tag(image.image_url, width: 300) %></li>
        <% end %>
    </ul>

    <h3>Story</h3>
    <ul class="target-list" id="target-list">
    </ul>
</div>

<script type="text/javascript">
 new PictureComprehension(document.querySelector("#base-list"),
                          document.querySelector("#target-list"),
                          document.querySelector("#banner")).setup();<commit_msg>Minor display fix.<commit_after><%= javascript_include_tag "dragula.js" %>
<%= stylesheet_link_tag "dragula.css" %>

<% breadcrumb :picture_comprehension_exercise_play, @picture_comprehension_exercise %>

<h1>Playing <%= @picture_comprehension_exercise.name %></h1>

<div id="banner">
    <div class="panel panel-info">
        <div class="panel-heading">
            <h3 class="panel-title">Instructions</h3>
        </div>
        <div class="panel-body">
            Move story elements from the left side to the right in the correct order.
        </div>
    </div>
</div>

<div class="picture-comprehension-play">
    <h3>Pieces</h3>
    <ul class="base-list" id="base-list">
        <% @images.each do |image| %>
            <li data-position="<%= image.position %>"><%= image_tag(image.image_url, height: 300) %></li>
        <% end %>
    </ul>

    <h3>Story</h3>
    <ul class="target-list" id="target-list">
    </ul>
</div>

<script type="text/javascript">
 new PictureComprehension(document.querySelector("#base-list"),
                          document.querySelector("#target-list"),
                          document.querySelector("#banner")).setup();
{'fraction_non_alphanumeric': 0.1721030042918455, 'fraction_numerical': 0.00944206008583691, 'mean_word_length': 2.9642857142857144, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '527196', 'n_tokens_mistral': 792, 'n_tokens_neox': 735, 'n_words': 141}