<commit_before>
require 'rubygems'
require 'nokogiri'
require 'open-uri'


def url
  url = "http://web.legabasket.it"
end

def page
  page = Nokogiri::HTML(open("http://web.legabasket.it/team/1314/vl_pesaro/schedule"))
end

def gameurl
gameurl = page.xpath('//a[contains(text(), "-")]').map { |link| link['href'] }
  gameurl.each do |gameurl|
    completegameurl = "#{url}#{gameurl}"
    puts completegameurl
  end
end

gameurl.each do |gameurl|
  puts gameurl
end

def gamedatetime
  datetime = page.xpath('//a[contains(text(), ":")]')
end

gamedatetime.each do |gamedatetime|
  puts gamedatetime.text
end


def gameresult
  gameurl.each do |gameurl|
    gamestand = Nokogiri::HTML(open("#{url}#{gameurl}"))
    gamestand.css(".game-result-container,.page-title").each do |gamestand|
        puts gamestand.content
    end
  end
end<commit_msg>better indent<commit_after>
require 'rubygems'
require 'nokogiri'
require 'open-uri'


def url
  url = "http://web.legabasket.it"
end

def page
  page = Nokogiri::HTML(open("http://web.legabasket.it/team/1314/vl_pesaro/schedule"))
end

def gameurl
  gameurl = page.xpath('//a[contains(text(), "-")]').map { |link| link['href'] }
  gameurl.each do |gameurl|
    completegameurl = "#{url}#{gameurl}"
    puts completegameurl
  end
end

gameurl.each do |gameurl|
  puts gameurl
end

def gamedatetime
  datetime = page.xpath('//a[contains(text(), ":")]')
end

gamedatetime.each do |gamedatetime|
  puts gamedatetime.text
end


def gameresult
  gameurl.each do |gameurl|
    gamestand = Nokogiri::HTML(open("#{url}#{gameurl}"))
    gamestand.css(".game-result-container,.page-title").each do |gamestand|
        puts gamestand.content
    end
  end
end
{'fraction_non_alphanumeric': 0.15721040189125296, 'fraction_numerical': 0.004728132387706856, 'mean_word_length': 4.161585365853658, 'pattern_counts': {'":': 2, '<': 3, '<?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': '6897205', 'n_tokens_mistral': 646, 'n_tokens_neox': 648, 'n_words': 130}