<commit_before>json.offers @offers do |offer|
  json.id offer.id
  json.player_id offer.player_id
  json.product_id offer.product_id
  json.price offer.price
  json.quantity offer.quantity
end<commit_msg>Improved index view for Offers controller<commit_after># json.offers @offers do |offer|
#   json.id offer.id
#   json.player_id offer.player_id
#   json.product_id offer.product_id
#   json.price offer.price
#   json.quantity offer.quantity
# end
json.offers @offers do |offer|
  json.id offer.id
  json.price offer.price
  json.quantity offer.quantity
  json.product do
    json.id offer.product.id
    json.title offer.product.title
    json.original_price offer.product.price
    json.required_level offer.product.required_level
  end
  json.player do
    json.id offer.player.id
    json.name offer.player.name
    json.level offer.player.level
  end
end
{'fraction_non_alphanumeric': 0.08584686774941995, 'fraction_numerical': 0.0, 'mean_word_length': 3.639784946236559, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6942649', 'n_tokens_mistral': 295, 'n_tokens_neox': 284, 'n_words': 66}