<commit_before>class WellSerializer < ActiveModel::Serializer
  attributes :id, :position, :readout, :additive

  has_one :sample

  def readout
    object.readout
  end

  def additive
    object.additive
  end

  def position
    #wrap position_x and y to position object
    {x: object.position_x, y: object.position_y}
  end
end
<commit_msg>remove redundant readout declaration in well-serializer<commit_after>class WellSerializer < ActiveModel::Serializer
  attributes :id, :position, :readout, :additive

  has_one :sample

  def position
    #wrap position_x and y to position object
    {x: object.position_x, y: object.position_y}
  end
end

{'fraction_non_alphanumeric': 0.07230769230769231, 'fraction_numerical': 0.0, 'mean_word_length': 4.125984251968504, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6940114', 'n_tokens_mistral': 206, 'n_tokens_neox': 194, 'n_words': 63}