<commit_before># encoding: UTF-8
require 'addressable/uri'
require 'net/http'
require 'uri'


module Bankleitzahl

  class Fetcher

    CURRENT_URL = "http://www.bundesbank.de/Redaktion/DE/Downloads/Kerngeschaeftsfelder/Unbarer_Zahlungsverkehr/Bankleitzahlen/2013_09_08/blz_2013_06_03_txt.txt?__blob=publicationFile"

    def self.current_lines(fetcher_class = HttpFile)
      fetcher_class.fetch(CURRENT_URL)
    end

  end

  class HttpFile

    attr_reader :url

    def self.fetch(url)
      self.new(url).get
    end

    def initialize(url)
      @url = url
    end

    def get
      execute<commit_msg>new Bankleitzahlendateien: valid from '09.09.2013' till '08.12.2013'<commit_after># encoding: UTF-8
require 'addressable/uri'
require 'net/http'
require 'uri'


module Bankleitzahl

  class Fetcher

    CURRENT_URL = "http://www.bundesbank.de/Redaktion/DE/Downloads/Kerngeschaeftsfelder/Unbarer_Zahlungsverkehr/Bankleitzahlen/2013_12_08/blz_2013_09_09_txt.txt?__blob=publicationFile"

    def self.current_lines(fetcher_class = HttpFile)
      fetcher_class.fetch(CURRENT_URL)
    end

  end

  class HttpFile

    attr_reader :url

    def self.fetch(url)
      self.new(url).get
    end

    def initialize(url)
      @url = url
    end

    def get
      execute
{'fraction_non_alphanumeric': 0.08862745098039215, 'fraction_numerical': 0.0392156862745098, 'mean_word_length': 3.4771929824561405, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2945134', 'n_tokens_mistral': 516, 'n_tokens_neox': 459, 'n_words': 79}