<commit_before>define [
    './range'
], (range) ->

    # A control for entering an inclusive or exclusive numeric range
    class NumberControl extends range.RangeControl
        # Cast the lower bound to a number for use in the getValue() method
        getLowerBoundValue: ->
            return Number(@ui.lowerBound.val())

        # Case the upper bound to a number for use in the getValue() method
        getUpperBoundValue: ->
            return Number(@ui.upperBound.val())

    { NumberControl }<commit_msg>Use parseFloat() instead of Number() in numeric range control<commit_after>define [
    './range'
], (range) ->

    # A control for entering an inclusive or exclusive numeric range
    class NumberControl extends range.RangeControl
        # Cast the lower bound to a number for use in the getValue() method
        getLowerBoundValue: ->
            return parseFloat(@ui.lowerBound.val())

        # Case the upper bound to a number for use in the getValue() method
        getUpperBoundValue: ->
            return parseFloat(@ui.upperBound.val())

    { NumberControl }
{'fraction_non_alphanumeric': 0.08424908424908426, 'fraction_numerical': 0.0, 'mean_word_length': 2.68013468013468, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '5319918', 'n_tokens_mistral': 275, 'n_tokens_neox': 267, 'n_words': 108}