<commit_before>class TopSongs::Song

		attr_accessor :name, :position, :artist, :last_week, :peak, :weeks_on, :url

		@@all = []

		def self.new_from_index(content)
			self.new(
				"http://www.billboard.com/charts/hot-100",
				content.css("h2.chart-row__song").text,
				content.css("div.chart-row__container > div > a.chart-row__artist").text.split(" ").join(" "),
				content.css("span.chart-row__current-week").text,
				content.css("div.chart-row__last-week > span.chart-row__value").text.split,
				content.css("div.chart-row__top-spot > span.chart-row__value").text.split,
				content.css("div.chart-row__weeks-on-chart > span.chart-row__value").text.split
			)
		end

		def initialize(url=nil, name=nil, artist=nil, position=nil, last_week=nil, peak=nil, weeks_on=nil)<commit_msg>fixed looping<commit_after>class TopSongs::Song

		attr_accessor :name, :position, :artist, :last_week, :peak, :weeks_on, :url

		@@all = []

		def self.new_from_index(content)
		self.new(
			"http://www.billboard.com/charts/hot-100",
			content.css("h2.chart-row__song").text,
			content.css("div.chart-row__container > div > a.chart-row__artist").text.split(" ").join(" "),
			content.css("span.chart-row__current-week").text,
			content.css("div.chart-row__last-week > span.chart-row__value").text.split,
			content.css("div.chart-row__top-spot > span.chart-row__value").text.split,
			content.css("div.chart-row__weeks-on-chart > span.chart-row__value").text.split
		)
		end

		def initialize(url=nil, name=nil, artist=nil, position=nil, last_week=nil, peak=nil, weeks_on=nil)
{'fraction_non_alphanumeric': 0.17718291905672404, 'fraction_numerical': 0.005098789037603569, 'mean_word_length': 4.627240143369176, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1032619', 'n_tokens_mistral': 652, 'n_tokens_neox': 571, 'n_words': 72}