You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: rating_criterium.rb
    path of file: ./repos/rgsoc-teams/app/models
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class RatingCriterium
  MIN_POINTS = 0
  MAX_POINTS = 10

  attr_reader :weight

  def initialize(weight, point_names = {})
    unless weight.is_a? Numeric || (weight < 0 || weigh
    
  def point_options
    @point_options ||= (MIN_POINTS..MAX_POINTS).map do |points|
      if @point_names[points]
        name = points.to_s + " - " + @point_names[points]
      else
        name = points.to_s
      end

      name
    end