<commit_before>(function() {
  var Color;

chromato = function(x, y, z, m) {
  return new Color(x, y, z, m);
};


chromato.color = function(x, y, z, m) {
  return new Color(x, y, z, m);
};

  chromato.color = function(x, y, z, m) {
    return new Color(x, y, z, m);
  };
  
  chromato.rgb = function(r, g, b, a) {
    return new Color(r, g, b, a, 'rgb');
  };

  chromato.hex = function(x) {
    return new Color(x);
  };
  

}).call(this);<commit_msg>Add 'chromato.interpolate' function<commit_after>(function() {
  var Color;

chromato = function(x, y, z, m) {
  return new Color(x, y, z, m);
};


chromato.color = function(x, y, z, m) {
  return new Color(x, y, z, m);
};

  chromato.color = function(x, y, z, m) {
    return new Color(x, y, z, m);
  };
  
  chromato.rgb = function(r, g, b, a) {
    return new Color(r, g, b, a, 'rgb');
  };

  chromato.hex = function(x) {
    return new Color(x);
  };
  
  chromato.interpolate = function(a, b, f, m) {
    if ((a == null) || (b == null)) {
      return '#000';
    }
    if (type(a) === 'string') {
      a = new Color(a);
    }
    if (type(b) === 'string') {
      b = new Color(b);
    }
    return a.interpolate(f, b, m);
  };

}).call(this);
{'fraction_non_alphanumeric': 0.2053200332502078, 'fraction_numerical': 0.0024937655860349127, 'mean_word_length': 2.6265060240963853, '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': '574286', 'n_tokens_mistral': 513, 'n_tokens_neox': 499, 'n_words': 137}