<commit_before>(function(global) {

  "use strict";

  global.GOVUK.Modules.RadioSlider = function() {

    this.start = function(component) {

      $(component)
        .on('click', function() {

          leftRight = $(this).find(':checked').next('label').text().split('/');

          if (leftRight.length === 2) {
            $(this).find('.radio-slider-left-value').html(leftRight[0]);
            $(this).find('.radio-slider-right-value').html(leftRight[1]);
          }

        })
        .trigger('click');

    };

  };

})(window);<commit_msg>Add named variables for clarity<commit_after>(function(global) {

  "use strict";

  global.GOVUK.Modules.RadioSlider = function() {

    this.start = function(component) {

      $(component)
        .on('click', function() {

          valuesInLabel = $(this).find(':checked').next('label').text().split('/');

          if (valuesInLabel.length === 2) {
            leftValue = valuesInLabel[0];
            rightValue = valuesInLabel[1];
            $(this).find('.radio-slider-left-value').html(leftValue);
            $(this).find('.radio-slider-right-value').html(rightValue);
          }

        })
        .trigger('click');

    };

  };

})(window);
{'fraction_non_alphanumeric': 0.19901315789473684, 'fraction_numerical': 0.004934210526315789, 'mean_word_length': 2.371191135734072, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5883872', 'n_tokens_mistral': 373, 'n_tokens_neox': 354, 'n_words': 45}