<commit_before><% id       = @kata.id[0..5] %>
<% language = @kata.major_name %>
<% test     = @kata.minor_name %>

<script type="text/javascript"><!--

$(function() {

  var optionsDialog = function() {
    var html = '';
    html += '<div id="options-dialog">';
    html += '<table style="border: 1px;">';
    html += tr('id', '<%= id %>');
    html += tr('language', '<%= language %>');
    html += tr('test', '<%= test %>');
    <% if @kata.exercise %>
    html += '<tr><td>exercise</td><td>:</td><td><%= @kata.exercise.gsub('_',' ') %></td></tr>';
    <% end %>
    html += '</table>';
    html += '</div>';

    var node = $(html);
    node.dialog({<commit_msg>drop use of old kata.major_name and kata.minor_name<commit_after>
<script type="text/javascript"><!--

$(function() {

  var optionsDialog = function() {
    var html = '';
    html += '<div id="options-dialog">';
    html += '<table style="border: 1px;">';
    html += tr('id', '<%= @kata.id[0..5] %>');
    html += tr('display_name', '<%= @kata.display_name %>');
    <% if @kata.exercise %>
    html += '<tr><td>exercise</td><td>:</td><td><%= @kata.exercise.gsub('_',' ') %></td></tr>';
    <% end %>
    html += '</table>';
    html += '</div>';

    var node = $(html);
    node.dialog({
{'fraction_non_alphanumeric': 0.28435266084193805, 'fraction_numerical': 0.004765687053216839, 'mean_word_length': 3.1584158415841586, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 43, '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': '7639710', 'n_tokens_mistral': 477, 'n_tokens_neox': 435, 'n_words': 88}