class TypeFusion::Config

def initialize

def initialize
  @type_sample_call_rate = 0.001
  @type_sample_request = ->(_env) { [true, false, false, false].sample }
  @type_sample_tracepoint_path = ->(_tracepoint_path) { true }
  @endpoint = "https://gem.sh/api/v1/types/samples"
  @application_name = "TypeFusion"
end

def type_sample_call?

def type_sample_call?
  type_sample_call_rate > rand
end

def type_sample_request?(env)

def type_sample_request?(env)
  type_sample_request&.call(env)
end

def type_sample_tracepoint_path?(env)

def type_sample_tracepoint_path?(env)
  type_sample_tracepoint_path&.call(env)
end