<commit_before># Hack to get code reloading working in dev mode
if OSX.NSUserName().valueOf() == "corey"
  resourcePath = "/Users/corey/code/mine/Atomicity"
else if OSX.NSUserName().valueOf() == "chris"
  resourcePath = "/Users/chris/Code/Atomicity"
else
  resourcePath = OSX.NSBundle.mainBundle.resourcePath

paths = [
  "#{resourcePath}/src/stdlib"
  "#{resourcePath}/src/atom"
  "#{resourcePath}/src"
  "#{resourcePath}/extensions"
  "#{resourcePath}/vendor"
]

window.__filename = null

require = (file, cb) ->
  return cb require file if cb?

  file  = resolve file
  parts = file.split '.'
  ext   = parts[parts.length-1]

  if __modules[file]?
    if not __modules.loaded[file.toLowerCase()]?
      console.warn("Circular require: #{__filename} required #{file}")
    return __modules[file]
  else if __modules.loaded[file.toLowerCase()]
    console.warn("Multiple requires (different cases) for #{file}")

  [ previousFilename, window.__filename ] = [ __filename, file ]
  __modules[file] = {} # Fix for circular references
  __modules[file] = (exts[ext] or (file) -> __read file) file
  window.__filename = previousFilename
  __modules[file]

define  = (cb) ->
  __defines.push ->
    exports = __modules[__filename] or {}
    module  = exports: exports<commit_msg>:lipstick:<commit_after># Hack to get code reloading working in dev mode
if OSX.NSUserName().valueOf() == "corey"
  resourcePath = "/Users/corey/code/mine/Atomicity"
else if OSX.NSUserName().valueOf() == "chris"
  resourcePath = "/Users/chris/Code/Atomicity"
else
  resourcePath = OSX.NSBundle.mainBundle.resourcePath

paths = [
  "#{resourcePath}/src/stdlib"
  "#{resourcePath}/src/atom"
  "#{resourcePath}/src"
  "#{resourcePath}/extensions"
  "#{resourcePath}/vendor"
]

window.__filename = null

require = (file, cb) ->
  return cb require file if cb?

  file  = resolve file
  parts = file.split '.'
  ext   = parts[parts.length-1]

  if __modules[file]?
    if not __modules.loaded[file.toLowerCase()]?
      console.warn "Circular require: #{__filename} required #{file}"
    return __modules[file]
  else if __modules.loaded[file.toLowerCase()]
    console.warn "Multiple requires (different cases) for #{file}"

  [ previousFilename, window.__filename ] = [ __filename, file ]
  __modules[file] = {} # Fix for circular references
  __modules[file] = (exts[ext] or (file) -> __read file) file
  window.__filename = previousFilename
  __modules[file]

define  = (cb) ->
  __defines.push ->
    exports = __modules[__filename] or {}
    module  = exports: exports
{'fraction_non_alphanumeric': 0.1423515532835234, 'fraction_numerical': 0.0007864726700747149, 'mean_word_length': 4.118712273641851, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '3484050', 'n_tokens_mistral': 820, 'n_tokens_neox': 830, 'n_words': 195}