<commit_before># -*- encoding : utf-8 -*-
# -*- coding: utf-8 -*-
class WorldFOIWebsites
    def self.world_foi_websites
        world_foi_websites = [
                              {:name => "WhatDoTheyKnow",
                                  :country_name => "United Kingdom",
                                  :country_iso_code => "GB",
                                  :url => "https://www.whatdotheyknow.com"},
                              {:name => "<NAME>",
                                  :country_name => "Kosova",
                                  :country_iso_code => "XK",
                                  :url => "http://informatazyrtare.org"},
                              {:name => "Ask The EU",
                                  :country_name => "European Union",
                                  :country_iso_code => "",
                                  :url => "http://asktheeu.org"},
                              {:name => "MuckRock.com",
                                  :country_name => "United States of America",
                                  :country_iso_code => "US",
                                  :url => "http://www.muckrock.com"},
                              {:name => "FYI",
                                  :country_name => "New Zealand",
                                  :country_iso_code => "NZ",
                                  :url => "http://fyi.org.nz"},
                              {:name => "<NAME>",
                                  :country_name => "Deutschland",
                                  :country_iso_code => "DE",
                                  :url => "http://fragdenstaat.de"},
                              {:name => "tu derecho a saber",
                                  :country_name => "España",
                                  :country_iso_code => "ES",
                                  :url => "http://tuderechoasaber.es"},
                              {:name => "<NAME>",
                                  :country_name => "Brasil",
                                  :country_iso_code => "BR",
                                  :url => "http://queremossaber.org.br"},
                              {:name => "<NAME>",
                                  :country_name => "Magyarország",
                                  :country_iso_code => "HU",
                                  :url => "http://kimittud.atlatszo.hu/"},
                              {:name => "PravoDaSznam",
                                  :country_name => "Bosna i Hercegovina",
                                  :country_iso_code => "BA",
                                  :url => "http://www.pravodaznam.ba/"},
                              {:name => "Acceso Intelligente",
                                  :country_name => "Chile",
                                  :country_iso_code => "CL",
                                  :url => "http://accesointeligente.org"},
                              {:name => "<NAME>",
                                  :country_name => "Australia",
                                  :country_iso_code => "AU",
                                  :url => "http://www.righttoknow.org.au"},
                              {:name => "Informace pro Vsechny",
                                  :country_name => "Česká republika",
                                  :country_iso_code => "CZ",
                                  :url => "http://www.infoprovsechny.cz"},
                              {:name => "¿Qué Sabés?",
                                  :country_name => "Uruguay",
                                  :country_iso_code => "UY",
                                  :url => "http://www.quesabes.org/"},
                              {:name => "<NAME>",
                                  :country_name => "România",
                                  :country_iso_code => "RO",
                                  :url => "http://nuvasuparati.info/"},
                              {:name => "Marsoum41",
                                  :country_name => "تونس",
                                  :country_iso_code => "TN",
                                  :url => "http://www.marsoum41.org"},
                              {:name => "Доступ до правди",
                                  :country_name => "Україна",
                                  :country_iso_code => "UA",
                                  :url => "https://dostup.pravda.com.ua/"},
                              {:name => "Ask Data",
                                  :country_name => "מְדִינַת יִשְׂרָאֵל",
                                  :country_iso_code => "IL",
                                  :url => "http://askdata.org.il/"},
                              {:name => "Слободен пристап",
                                  :country_name => "Република Македонија",
                                  :country_iso_code => "MK",
                                  :url => "http://www.slobodenpristap.mk/"},
                              {:name => "<NAME>",
                                  :country_name => "Republika Hrvatska",
                                  :country_iso_code => "HR",
                                  :url => "http://imamopravoznati.org/"}
                              ]
        return world_foi_websites
    end

    def self.by_code(code)
        result = self.world_foi_websites.find{|x| x[:country_iso_code].downcase == code.downcase}<commit_msg>Add link to http://rosotvet.ru/<commit_after># -*- encoding : utf-8 -*-
class WorldFOIWebsites
    def self.world_foi_websites
        world_foi_websites = [
                              {:name => "WhatDoTheyKnow",
                                  :country_name => "United Kingdom",
                                  :country_iso_code => "GB",
                                  :url => "https://www.whatdotheyknow.com"},
                              {:name => "<NAME>",
                                  :country_name => "Kosova",
                                  :country_iso_code => "XK",
                                  :url => "http://informatazyrtare.org"},
                              {:name => "Ask The EU",
                                  :country_name => "European Union",
                                  :country_iso_code => "",
                                  :url => "http://asktheeu.org"},
                              {:name => "MuckRock.com",
                                  :country_name => "United States of America",
                                  :country_iso_code => "US",
                                  :url => "http://www.muckrock.com"},
                              {:name => "FYI",
                                  :country_name => "New Zealand",
                                  :country_iso_code => "NZ",
                                  :url => "http://fyi.org.nz"},
                              {:name => "<NAME>",
                                  :country_name => "Deutschland",
                                  :country_iso_code => "DE",
                                  :url => "http://fragdenstaat.de"},
                              {:name => "tu derecho a saber",
                                  :country_name => "España",
                                  :country_iso_code => "ES",
                                  :url => "http://tuderechoasaber.es"},
                              {:name => "<NAME>",
                                  :country_name => "Brasil",
                                  :country_iso_code => "BR",
                                  :url => "http://queremossaber.org.br"},
                              {:name => "<NAME>",
                                  :country_name => "Magyarország",
                                  :country_iso_code => "HU",
                                  :url => "http://kimittud.atlatszo.hu/"},
                              {:name => "PravoDaSznam",
                                  :country_name => "Bosna i Hercegovina",
                                  :country_iso_code => "BA",
                                  :url => "http://www.pravodaznam.ba/"},
                              {:name => "Acceso Intelligente",
                                  :country_name => "Chile",
                                  :country_iso_code => "CL",
                                  :url => "http://accesointeligente.org"},
                              {:name => "Right To Know",
                                  :country_name => "Australia",
                                  :country_iso_code => "AU",
                                  :url => "http://www.righttoknow.org.au"},
                              {:name => "Informace pro Vsechny",
                                  :country_name => "Česká republika",
                                  :country_iso_code => "CZ",
                                  :url => "http://www.infoprovsechny.cz"},
                              {:name => "¿<NAME>?",
                                  :country_name => "Uruguay",
                                  :country_iso_code => "UY",
                                  :url => "http://www.quesabes.org/"},
                              {:name => "<NAME>",
                                  :country_name => "România",
                                  :country_iso_code => "RO",
                                  :url => "http://nuvasuparati.info/"},
                              {:name => "Marsoum41",
                                  :country_name => "تونس",
                                  :country_iso_code => "TN",
                                  :url => "http://www.marsoum41.org"},
                              {:name => "Доступ до правди",
                                  :country_name => "Україна",
                                  :country_iso_code => "UA",
                                  :url => "https://dostup.pravda.com.ua/"},
                              {:name => "Ask Data",
                                  :country_name => "מְדִינַת יִשְׂרָאֵל",
                                  :country_iso_code => "IL",
                                  :url => "http://askdata.org.il/"},
                              {:name => "<NAME>",
                                  :country_name => "Република Македонија",
                                  :country_iso_code => "MK",
                                  :url => "http://www.slobodenpristap.mk/"},
                              {:name => "<NAME>",
                                  :country_name => "Republika Hrvatska",
                                  :country_iso_code => "HR",
                                  :url => "http://imamopravoznati.org/"},
                              {:name => "РосОтвет",
                                  :country_name => "Россия",
                                  :country_iso_code => "RU",
                                  :url => "http://rosotvet.ru/"}
                              ]
        return world_foi_websites
    end

    def self.by_code(code)
        result = self.world_foi_websites.find{|x| x[:country_iso_code].downcase == code.downcase}
{'fraction_non_alphanumeric': 0.12632429520560245, 'fraction_numerical': 0.0009876099838391093, 'mean_word_length': 0.754725897920605, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 182, 'https://': 4, 'lorem ipsum': 0, 'www.': 16, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 123, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4300672', 'n_tokens_mistral': 2816, 'n_tokens_neox': 2666, 'n_words': 414}