<commit_before>require 'roar/decorator'
require 'roar/json'
require 'roar/xml'

class AnswerRepresenter < Roar::Decorator
  include Roar::JSON
  include Roar::XML

  self.representation_wrap = :answer

  property :respondent
  property :answer_text
end<commit_msg>Add user_id to answers<commit_after>require 'roar/decorator'
require 'roar/json'
require 'roar/xml'

class AnswerRepresenter < Roar::Decorator
  include Roar::JSON
  include Roar::XML

  self.representation_wrap = :answer

  property :respondent
  property :user_id
  property :answer_text
end
{'fraction_non_alphanumeric': 0.08797127468581688, 'fraction_numerical': 0.0, 'mean_word_length': 5.642857142857143, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '656628', 'n_tokens_mistral': 189, 'n_tokens_neox': 180, 'n_words': 44}