<commit_before>define([
  'svg',
  'prime_factors',
  'circle',
  'primitive',
  'update_tags'
],
function(Svg, PrimeFactors, Circle, Primitive, UpdateTags) {
  var ATOM_RADIUS = 4;
  var OUTLINE_WIDTH = 2;

  var drawCircle = Circle(OUTLINE_WIDTH);
  var makePrimitive = Primitive(drawCircle, ATOM_RADIUS, ATOM_RADIUS);
  var updateTags = UpdateTags(makePrimitive);

  function make(input) {
    if (input instanceof Array) {
      return makePrimitive(input);
    } else {
      return makePrimitive(PrimeFactors(input));
    }
  }

  updateTags();

  return {
    factors: PrimeFactors,
    make: make,
    updateTags: updateTags,
    svg: Svg<commit_msg>Cleaning up some code that annoys me.<commit_after>define([
  'svg',
  'prime_factors',
  'circle',
  'primitive',
  'update_tags'
],
function(Svg, PrimeFactors, Circle, Primitive, UpdateTags) {
  var ATOM_RADIUS = 4;
  var OUTLINE_WIDTH = 2;

  var drawCircle = Circle(OUTLINE_WIDTH);
  var makePrimitive = Primitive(drawCircle, ATOM_RADIUS, ATOM_RADIUS);
  var updateTags = UpdateTags(makePrimitive);

  function make(input) {
    var value = input instanceof Array ? input : PrimeFactors(input);
    return makePrimitive(value);
  }

  updateTags();

  return {
    factors: PrimeFactors,
    make: make,
    updateTags: updateTags,
    svg: Svg
{'fraction_non_alphanumeric': 0.11179173047473201, 'fraction_numerical': 0.0030627871362940277, 'mean_word_length': 4.046332046332046, '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': '7403532', 'n_tokens_mistral': 463, 'n_tokens_neox': 446, 'n_words': 103}