<commit_before>module Imdb
  # Movie class encapsulates an imdb entry for a movie
  class Movie

    # @return [String] unique imdb ttid
    attr_reader :id

    # @return [String] movie name
    attr_reader :name

    # @return [Fixnum] number of votes
    attr_reader :votes

    # @return [Fixnum] movie duration in minutes
    attr_reader :duration

    # @return [Fixnum] user rating * 10
    attr_reader :rating

    # @return [Date] release date
    attr_reader :release_date

    # @return [Array<Symbol>] a list of genres associated with this movie
    attr_reader :genres

    # @return [String] plot summary
    attr_reader :plot

    # @param [String] id unique imdb ttid
    # @param [String] name movie name
    # @param [Fixnum] votes number of votes
    # @param [Fixnum] duration movie duration in minutes
    # @param [Fixnum] rating user rating * 10
    # @param [Date] release_date release date
    # @param [Array<Symbol>] genres a list of genres associated with this movie
    def initialize(id: id, name: name, votes: votes, duration: duration, rating: rating, release_date: release_date,genres: genres, plot:)
      @id = id
      @name = name
      @votes = votes
      @duration = duration
      @rating = rating
      @release_date = release_date
      @genres = genres
      @plot = plot
    end
  end
end<commit_msg>Proper use of keyword arguments.<commit_after>module Imdb
  # Movie class encapsulates an imdb entry for a movie
  class Movie

    # @return [String] unique imdb ttid
    attr_reader :id

    # @return [String] movie name
    attr_reader :name

    # @return [Fixnum] number of votes
    attr_reader :votes

    # @return [Fixnum] movie duration in minutes
    attr_reader :duration

    # @return [Fixnum] user rating * 10
    attr_reader :rating

    # @return [Date] release date
    attr_reader :release_date

    # @return [Array<Symbol>] a list of genres associated with this movie
    attr_reader :genres

    # @return [String] plot summary
    attr_reader :plot

    # @param [String] id unique imdb ttid
    # @param [String] name movie name
    # @param [Fixnum] votes number of votes
    # @param [Fixnum] duration movie duration in minutes
    # @param [Fixnum] rating user rating * 10
    # @param [Date] release_date release date
    # @param [Array<Symbol>] genres a list of genres associated with this movie
    def initialize(id:, name:, votes:, duration:, rating:, release_date:, genres:, plot:)
      @id = id
      @name = name
      @votes = votes
      @duration = duration
      @rating = rating
      @release_date = release_date
      @genres = genres
      @plot = plot
    end
  end
end
{'fraction_non_alphanumeric': 0.08383458646616541, 'fraction_numerical': 0.0030075187969924814, 'mean_word_length': 2.913235294117647, 'pattern_counts': {'":': 0, '<': 7, '<?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': '3577243', 'n_tokens_mistral': 818, 'n_tokens_neox': 771, 'n_words': 301}