<commit_before>
function makeData() {
  "use strict";
  var inflationData = function(years, baseline, resistance){
    var datasets = [];
    var current = baseline;
    var up = true;
    for( var i = 0; i < years; i++){
      var data = [];
      for( var j = 0; j < 12; j++){
        if(Math.random() < resistance) { up = !up; }
        var obj = {};
        obj.x = j;
        var delta = Math.random();
        obj.y = up ? current + delta : current - delta;
        current = obj.y;
        data.push(obj);
      }
      datasets.push(data);
    }
    return datasets;
  };

  var d = inflationData(5, 2, 0.4);
  return d;
}

function run(svg, data, Plottable) {
  "use strict";
  var d = data[0];
  var maxX = d[0].x;
  var minX = d[0].x;
  var maxY = d[0].y;
  var minY = d[0].y;
  for (var ds = 0; ds < data.length; ds ++){
    var d = data[ds];
    for (var i = 0; i < d.length; i++){
      if (d[i].y > maxY) {
        maxX = d[i].x + 12 * ds;
        maxY = d[i].y;
      }
      if (d[i].y < minY) {
        minX = d[i].x + 12 * ds;
        minY = d[i].y;
      }
    }
  }
<commit_msg>oops, style<commit_after>
function makeData() {
  "use strict";
  var inflationData = function(years, baseline, resistance){
    var datasets = [];
    var current = baseline;
    var up = true;
    for( var i = 0; i < years; i++){
      var data = [];
      for( var j = 0; j < 12; j++){
        if(Math.random() < resistance) { up = !up; }
        var obj = {};
        obj.x = j;
        var delta = Math.random();
        obj.y = up ? current + delta : current - delta;
        current = obj.y;
        data.push(obj);
      }
      datasets.push(data);
    }
    return datasets;
  };

  var d = inflationData(5, 2, 0.4);
  return d;
}

function run(svg, data, Plottable) {
  "use strict";
  var d = data[0];
  var maxX = d[0].x;
  var minX = d[0].x;
  var maxY = d[0].y;
  var minY = d[0].y;
  for (var ds = 0; ds < data.length; ds ++){
    var d = data[ds];
    for (var i = 0; i < d.length; i++){
      if (d[i].y > maxY) {
        maxX = d[i].x + 12 * ds;
        maxY = d[i].y;
      }
      if (d[i].y < minY) {
        minX = d[i].x + 12 * ds;
        minY = d[i].y;
      }
    }
  }
{'fraction_non_alphanumeric': 0.18086560364464693, 'fraction_numerical': 0.017312072892938495, 'mean_word_length': 1.7415730337078652, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 5, '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': '4330418', 'n_tokens_mistral': 875, 'n_tokens_neox': 848, 'n_words': 241}