<commit_before>import * as hexcolor from 'hexcolor';

hexcolor.rgb.spread = function (vec) {
  return hexcolor.rgba(vec[0], vec[1], vec[2], 255);
};

hexcolor.rgba.spread = function (vec) {
  return hexcolor.rgba(vec[0], vec[1], vec[2], vec[3]);
};

hexcolor.float3.spread = function (vec) {
  return hexcolor.rgba(vec[0] * 255, vec[1] * 255, vec[2] * 255, 255);
};

hexcolor.float4.spread = function (vec) {
  return hexcolor.rgba(vec[0] * 255, vec[1] * 255, vec[2] * 255, vec[3] * 255);
};<commit_msg>fix: don’t import the whole `hexcolor` module<commit_after>import { rgb, rgba, float3, float4 } from 'hexcolor';

rgb.spread = function (vec) {
  return rgba(vec[0], vec[1], vec[2], 255);
};

rgba.spread = function (vec) {
  return rgba(vec[0], vec[1], vec[2], vec[3]);
};

float3.spread = function (vec) {
  return rgba(vec[0] * 255, vec[1] * 255, vec[2] * 255, 255);
};

float4.spread = function (vec) {
  return rgba(vec[0] * 255, vec[1] * 255, vec[2] * 255, vec[3] * 255);
};
{'fraction_non_alphanumeric': 0.20773930753564154, 'fraction_numerical': 0.08961303462321792, 'mean_word_length': 4.5852272727272725, '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': '3664533', 'n_tokens_mistral': 469, 'n_tokens_neox': 395, 'n_words': 96}