<commit_before><%= javascript_include_tag 'jquery-1.5.1.min.js' %>
<script>
    $j = jQuery.noConflict();
    // scroll to top thing
    //plugin
    jQuery.fn.topLink = function(settings) {
        settings = jQuery.extend({
            min: 1,
            fadeSpeed: 100
        }, settings);
        return this.each(function() {
            //listen for scroll
            var el = jQuery(this);
            //el.hide(); //in case the user forgot
            jQuery(window).scroll(function() {
                if(jQuery(window).scrollTop() > settings.min)
                {
                    el.stop(true, true).fadeTo(settings.fadeSpeed, 0.8);
                }
                else
                {
                    el.stop(false, false).fadeTo(settings.fadeSpeed, 0);
                }
            });
        });
    };

    //usage w/ smoothscroll
    jQuery(document).ready(function() {
        //set the link
        jQuery('#top-link-box').topLink({
            min: 500,
            fadeSpeed: 100
        });
        //smoothscroll
        jQuery('#top-link').click(function(r) {
            jQuery("html, body").animate({ scrollTop: 0 }, 300);
        });

        jQuery('#top-link-close').click(function() {
            $('top-link-box').hide();
        });
    });

</script>

<%= javascript_include_tag 'taverna_player/application.js' %>
<%= stylesheet_link_tag 'taverna_player/coderay.css' %>

<div class="run_results">

  <% workflow = @run.workflow %><commit_msg>Removed redundant CSS/JS include tags that were preventing interactions loading properly.<commit_after><%= javascript_include_tag 'jquery-1.5.1.min.js' %>
<script>
    $j = jQuery.noConflict();
    // scroll to top thing
    //plugin
    jQuery.fn.topLink = function(settings) {
        settings = jQuery.extend({
            min: 1,
            fadeSpeed: 100
        }, settings);
        return this.each(function() {
            //listen for scroll
            var el = jQuery(this);
            //el.hide(); //in case the user forgot
            jQuery(window).scroll(function() {
                if(jQuery(window).scrollTop() > settings.min)
                {
                    el.stop(true, true).fadeTo(settings.fadeSpeed, 0.8);
                }
                else
                {
                    el.stop(false, false).fadeTo(settings.fadeSpeed, 0);
                }
            });
        });
    };

    //usage w/ smoothscroll
    jQuery(document).ready(function() {
        //set the link
        jQuery('#top-link-box').topLink({
            min: 500,
            fadeSpeed: 100
        });
        //smoothscroll
        jQuery('#top-link').click(function(r) {
            jQuery("html, body").animate({ scrollTop: 0 }, 300);
        });

        jQuery('#top-link-close').click(function() {
            $('top-link-box').hide();
        });
    });

</script>

<div class="run_results">

  <% workflow = @run.workflow %>
{'fraction_non_alphanumeric': 0.15175229669955767, 'fraction_numerical': 0.013610071452875128, 'mean_word_length': 1.5925925925925926, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 17, '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': '4218559', 'n_tokens_mistral': 897, 'n_tokens_neox': 807, 'n_words': 154}