<commit_before>require "linear1/slope_intercept"
module Linear1
	class DirectVariation < SlopeIntercept
		class << self
			# @param index1 [Fixnum] the index of the first argument
			# @return [DirectVariation]
			def find index1
				new ARGV[index1]
			end
			def build
				print "Enter the constant of variation: "
				new STDIN.gets.chomp
			end
		end
		def initialize k=1
			super display_num(k), 0
		end
		alias k slope
		alias constant_of_variation k
	end
end<commit_msg>Update direct_variation.rb<commit_after>require "linear1/slope_intercept"
module Linear1
	class DirectVariation < SlopeIntercept
		class << self
			# @param index1 [Fixnum] the index of the first argument
			# @return [DirectVariation]
			def find index1
				new ARGV[index1]
			end
			def build
				print "Enter the constant of variation: "
				k = STDIN.gets.chomp
				puts ?\n
				new k
			rescue
				puts "Please try again"
				retry
			end
		end
		def initialize k=1
			super display_num(k), 0
		end
		alias k slope
		alias constant_of_variation k
	end
end
{'fraction_non_alphanumeric': 0.05973025048169557, 'fraction_numerical': 0.01348747591522158, 'mean_word_length': 3.189516129032258, 'pattern_counts': {'":': 0, '<': 9, '<?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': '7126428', 'n_tokens_mistral': 425, 'n_tokens_neox': 347, 'n_words': 116}