<commit_before>//Get the current_component first
<% @current_component = current_component %>

$("#project_wbs_product_section .tab-pane.active").html("<%=raw j generate_wbs_product(@project.root_component, @project, '', 5) %>");

$(".input_data").html("<%=raw j(display_input) %>");

$(".output_data").html("<%=raw j(sanitize(display_results, :tags => %w(table tr th td span title h4), :attributes => %w(id class style title))) %>");

$(".component_name").html("<%=raw @current_component %>");

$('.component_tree ul li').hover(
    function () {
      $(this.children).css('display', 'inline');
    },
    function () {<commit_msg>refs #608<commit_after>//Get the current_component first
<% @current_component = current_component %>

$("#project_wbs_product_section .tab-pane.active, .component_tree").html("<%=raw j generate_wbs_product(@project.root_component, @project, '', 5) %>");

$(".input_data").html("<%=raw j(display_input) %>");

$(".output_data").html("<%=raw j(sanitize(display_results, :tags => %w(table tr th td span title h4), :attributes => %w(id class style title))) %>");

$(".component_name").html("<%=raw @current_component %>");

$('.component_tree ul li').hover(
    function () {
      $(this.children).css('display', 'inline');
    },
    function () {
{'fraction_non_alphanumeric': 0.22439405785770133, 'fraction_numerical': 0.00547302580140735, 'mean_word_length': 5.808510638297872, 'pattern_counts': {'":': 0, '<': 13, '<?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': '6879857', 'n_tokens_mistral': 427, 'n_tokens_neox': 405, 'n_words': 78}