<commit_before>requirejs(["Quaternion", "Input", "InputGroup"], function (Quaternion, Input, InputGroup) {
  $(function () {
      // integrates the lorentz equations and displays the result in a nice
      // flot graph with sliders.
      //
      // graphing: http://www.flotcharts.org/
      // sliders: http://jqueryui.com/
      // the maths: http://en.wikipedia.org/wiki/Lorenz_system

      // set up input boxes.
      var parmInputs = new InputGroup(
        {
          sigma:
            {
              selector: "#sigma",    
              init: 10,
              min: 0,
              max: 30,
              slider: true,
              step: 0.1
            },
          rho:
            {
              selector: "#rho",
              init: 28,
              min: 0,
              max: 100,
              slider: true,
              step: 0.1
            },
          beta:
            {
              selector: "#beta",
              init: 2.66,
              min: 0,
              max: 30,
              slider: true,
              step: 0.1
            }
        });

      var ranInputs = new InputGroup(
        {
          vary:
            {
              selector: "#ranVary",
              init: 0,
              min: 0,
              max: 50,
              slider: true,
              step: 0.1
            },
          spread:
            {
              selector: "#ranSpread",
              init: 0,
              min: 0,
              max: 10,
              slider: true,
              step: 0.1
            }
        });

      var zoomInput = new Input(
            {
              selector: "#zoom",
              init: 1,
              min: 0.1,
              max: 10,
              slider: true,
              step: 0.1
            });

      var updateInput = new Input(
            {
              selector: "#updateInterval",
              init: 50,
              min: 20,
              max: 1000,
              slider: false
            });

      var seriesInput = new Input(
            {
              selector: "#numSeries",
              init: 1,
              min: 1,
              max: 10,
              slider: false
            });

      var seriesLenInput = new Input(
          {
            selector: "#seriesLen",
            init: 1000,
            min: 1,
            max: 2000,
            slider: false
          });

      // the array of raw data for all the plot series
      var data = [[]];
      // maxiumum number of points in the series.
      var totalPoints = 1000;
      // length of the axes on the graph.
      var axisLength = 3;
      // true when running.
      var running = true;
      // true during mouse drag.
      var dragging = false;
      // true if shift key down.
      var shifty = false;
      // drag origin
      var dragOrigin = null;<commit_msg>changed max for number of series<commit_after>requirejs(["Quaternion", "Input", "InputGroup"], function (Quaternion, Input, InputGroup) {
  $(function () {
      // integrates the lorentz equations and displays the result in a nice
      // flot graph with sliders.
      //
      // graphing: http://www.flotcharts.org/
      // sliders: http://jqueryui.com/
      // the maths: http://en.wikipedia.org/wiki/Lorenz_system

      // set up input boxes.
      var parmInputs = new InputGroup(
        {
          sigma:
            {
              selector: "#sigma",    
              init: 10,
              min: 0,
              max: 30,
              slider: true,
              step: 0.1
            },
          rho:
            {
              selector: "#rho",
              init: 28,
              min: 0,
              max: 100,
              slider: true,
              step: 0.1
            },
          beta:
            {
              selector: "#beta",
              init: 2.66,
              min: 0,
              max: 30,
              slider: true,
              step: 0.1
            }
        });

      var ranInputs = new InputGroup(
        {
          vary:
            {
              selector: "#ranVary",
              init: 0,
              min: 0,
              max: 50,
              slider: true,
              step: 0.1
            },
          spread:
            {
              selector: "#ranSpread",
              init: 0,
              min: 0,
              max: 10,
              slider: true,
              step: 0.1
            }
        });

      var zoomInput = new Input(
            {
              selector: "#zoom",
              init: 1,
              min: 0.1,
              max: 10,
              slider: true,
              step: 0.1
            });

      var updateInput = new Input(
            {
              selector: "#updateInterval",
              init: 50,
              min: 20,
              max: 1000,
              slider: false
            });

      var seriesInput = new Input(
            {
              selector: "#numSeries",
              init: 1,
              min: 1,
              max: 20,
              slider: false
            });

      var seriesLenInput = new Input(
          {
            selector: "#seriesLen",
            init: 1000,
            min: 1,
            max: 2000,
            slider: false
          });

      // the array of raw data for all the plot series
      var data = [[]];
      // maxiumum number of points in the series.
      var totalPoints = 1000;
      // length of the axes on the graph.
      var axisLength = 3;
      // true when running.
      var running = true;
      // true during mouse drag.
      var dragging = false;
      // true if shift key down.
      var shifty = false;
      // drag origin
      var dragOrigin = null;
{'fraction_non_alphanumeric': 0.09875241609558953, 'fraction_numerical': 0.023897381830961167, 'mean_word_length': 0.8860172299536117, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2786773', 'n_tokens_mistral': 1618, 'n_tokens_neox': 1454, 'n_words': 450}