<commit_before>module Sportradar
  module Nfl
    module Models
      class PlayPlayerStat
        def initialize(play:, attributes:)
          @play = play
          @attributes = attributes
        end

        def to_s
          [
            team,
            name,
            position,
            stats,
          ].join(' ')
        end

        def play_id
          @play.id
        end

        def player_id
          @attributes.dig('id')
        end

        def jersey
          @attributes.dig('jersey')
        end

        def name
          @attributes.dig('name')
        end

        def position
          @attributes.dig('position')
        end

        def team
          @attributes.dig('team')
        end

        def stats
          {
            'defense_assist' => defense_assist,
            'defense_category' => defense_category,
            'defense_forced_fumble' => defense_forced_fumble,
            'defense_interception' => defense_interception,
            'defense_sack' => defense_sack,
            'defense_sack_yards' => defense_sack_yards,
            'defense_safety' => defense_safety,
            'defense_tackle' => defense_tackle,
            'defense_tackle_lost' => defense_tackle_lost,
            'extra_point_attempt' => extra_point_attempt,
            'extra_point_blocked' => extra_point_blocked,
            'extra_point_made' => extra_point_made,
            'field_goal_attempt' => field_goal_attempt,
            'field_goal_attempt_yards' => field_goal_attempt_yards,
            'field_goal_blocked' => field_goal_blocked,
            'field_goal_made' => field_goal_made,
            'field_goal_return' => field_goal_return,
            'field_goal_yards' => field_goal_yards,
            'fumble_category' => fumble_category,
            'fumble_fumble' => fumble_fumble,
            'fumble_lost' => fumble_lost,
            'fumble_out_of_bounds' => fumble_out_of_bounds,
            'fumble_return_category' => fumble_return_category,
            'fumble_return_opp_rec' => fumble_return_opp_recovered,
            'fumble_return_own_recovered' => fumble_return_own_recovered,
            'fumble_return_returned' => fumble_return_returned,<commit_msg>Fixes typos in player play punt stats<commit_after>module Sportradar
  module Nfl
    module Models
      class PlayPlayerStat
        def initialize(play:, attributes:)
          @play = play
          @attributes = attributes
        end

        def to_s
          [
            team,
            name,
            position,
            stats,
          ].join(' ')
        end

        def play_id
          @play.id
        end

        def player_id
          @attributes.dig('id')
        end

        def jersey
          @attributes.dig('jersey')
        end

        def name
          @attributes.dig('name')
        end

        def position
          @attributes.dig('position')
        end

        def team
          @attributes.dig('team')
        end

        def stats
          {
            'defense_assist' => defense_assist,
            'defense_category' => defense_category,
            'defense_forced_fumble' => defense_forced_fumble,
            'defense_interception' => defense_interception,
            'defense_sack' => defense_sack,
            'defense_sack_yards' => defense_sack_yards,
            'defense_safety' => defense_safety,
            'defense_tackle' => defense_tackle,
            'defense_tackle_lost' => defense_tackle_lost,
            'extra_point_attempt' => extra_point_attempt,
            'extra_point_blocked' => extra_point_blocked,
            'extra_point_made' => extra_point_made,
            'field_goal_attempt' => field_goal_attempt,
            'field_goal_attempt_yards' => field_goal_attempt_yards,
            'field_goal_blocked' => field_goal_blocked,
            'field_goal_made' => field_goal_made,
            'field_goal_return' => field_goal_return,
            'field_goal_yards' => field_goal_yards,
            'fumble_category' => fumble_category,
            'fumble_fumble' => fumble_fumble,
            'fumble_lost' => fumble_lost,
            'fumble_out_of_bounds' => fumble_out_of_bounds,
            'fumble_return_category' => fumble_return_category,
            'fumble_return_opp_recovered' => fumble_return_opp_recovered,
            'fumble_return_own_recovered' => fumble_return_own_recovered,
            'fumble_return_returned' => fumble_return_returned,
{'fraction_non_alphanumeric': 0.08314707197139025, 'fraction_numerical': 0.0, 'mean_word_length': 1.911515940143136, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 55, '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': '6879339', 'n_tokens_mistral': 1378, 'n_tokens_neox': 1295, 'n_words': 209}