<commit_before><button type="button" id="traffic-lights-button" class="info-button">version-control</button>

<div id="traffic-lights-dialog" style="display:none;">
  <div class="info">
  <%= render partial: 'shared/traffic_lights_bulb_info' %>
  <%= render partial: 'shared/traffic_lights_click_info' %>
  </div>
  <div class="info">Tests must complete in <span id="max-seconds"></span> seconds</div>
</div>

<script>
'use strict';
$(() => {

  cd.trafficLightsButton = () => $('#traffic-lights-button');

  cd.createTip(cd.trafficLightsButton(), 'show traffic-light information');

  cd.trafficLightsButton().click(() => openTrafficLightsInfoDialog());

  const openTrafficLightsInfoDialog = () => {
    const manifest = cd.kata.manifest();
    $('#max-seconds').html(manifest.max_seconds);
    $('#traffic-lights-dialog').dialog({
              width: 600,
           autoOpen: true,
      closeOnEscape: true,
              modal: true,
              title: cd.dialogTitle('version-control'),
        beforeClose: () => cd.kata.editor.refocus()
    });
  };

  const $kataId = $('.kata-id');

});
</script><commit_msg>Reduce width of version-control dialog<commit_after><button type="button" id="traffic-lights-button" class="info-button">version-control</button>

<div id="traffic-lights-dialog" style="display:none;">
  <div class="info">
  <%= render partial: 'shared/traffic_lights_bulb_info' %>
  <%= render partial: 'shared/traffic_lights_click_info' %>
  </div>
  <div class="info">Tests must complete in <span id="max-seconds"></span> seconds</div>
</div>

<script>
'use strict';
$(() => {

  cd.trafficLightsButton = () => $('#traffic-lights-button');

  cd.createTip(cd.trafficLightsButton(), 'show traffic-light information');

  cd.trafficLightsButton().click(() => openTrafficLightsInfoDialog());

  const openTrafficLightsInfoDialog = () => {
    const manifest = cd.kata.manifest();
    $('#max-seconds').html(manifest.max_seconds);
    $('#traffic-lights-dialog').dialog({
              width: 400,
           autoOpen: true,
      closeOnEscape: true,
              modal: true,
              title: cd.dialogTitle('version-control'),
        beforeClose: () => cd.kata.editor.refocus()
    });
  };

  const $kataId = $('.kata-id');

});
</script>
{'fraction_non_alphanumeric': 0.1873071837814015, 'fraction_numerical': 0.002644336712208021, 'mean_word_length': 3.8504273504273505, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 41, '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': '6528041', 'n_tokens_mistral': 745, 'n_tokens_neox': 716, 'n_words': 121}