<commit_before>class SharedPost
  constructor: ( either ) ->
    # define the shared client-server schema
    _.extend( @,
      _id: ''
      author_id: ''
      parent_id: undefined
      content: ''
    )
    
    for key in [ '_id', 'parent_id', 'content', 'instance_id', 'time' ]
      @[key] = either[key] if either[key]?
       
class ClientPost extends SharedPost
  constructor: ( server ) ->
    # define the client schema
    _.extend( @,<commit_msg>fixed timestamps after pull request #197 broke them.<commit_after>class SharedPost
  constructor: ( either ) ->
    # define the shared client-server schema
    _.extend( @,
      _id: ''
      author_id: ''
      parent_id: undefined
      content: ''
      instance_id: ''
      time: new Date()
    )
    
    for key in [ '_id', 'parent_id', 'content', 'instance_id', 'time' ]
      @[key] = either[key] if either[key]?
       
class ClientPost extends SharedPost
  constructor: ( server ) ->
    # define the client schema
    _.extend( @,
{'fraction_non_alphanumeric': 0.12749003984063745, 'fraction_numerical': 0.00298804780876494, 'mean_word_length': 2.513986013986014, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2610047', 'n_tokens_mistral': 311, 'n_tokens_neox': 304, 'n_words': 87}