<commit_before>class window.PinkmanObject extends window.PinkmanCommon

  @pinkmanType: 'object'

  constructor: (args...) ->
    super(args...)
    @isObject = true
    @pinkmanType = 'object'
    @collections = new PinkmanCollection
    if $p.isArray(@constructor.instances)
      @constructor.instances.push(this)
    else
      @constructor.instances = [this]
    Pinkman.objects.push(this)
    
  @sync: (obj,callback,each) -><commit_msg>object alias<commit_after>class window.PinkmanObject extends window.PinkmanCommon

  @pinkmanType: 'object'

  constructor: (args...) ->
    super(args...)
    @isObject = true
    @pinkmanType = 'object'
    @collections = new PinkmanCollection
    if $p.isArray(@constructor.instances)
      @constructor.instances.push(this)
    else
      @constructor.instances = [this]
    Pinkman.objects.push(this)
    
  @alias: (newFunc, existingFunc) ->
    @prototype[newFunc] = @prototype[existingFunc]

  @sync: (obj,callback,each) ->
{'fraction_non_alphanumeric': 0.13347022587268995, 'fraction_numerical': 0.0, 'mean_word_length': 3.493087557603687, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, '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': '3866678', 'n_tokens_mistral': 315, 'n_tokens_neox': 309, 'n_words': 56}