<commit_before>#-----------------------------------------------------------------
# RandomGithubRepo.py
#
# Find a truly random repository from within the githubisphere
# Typical useage includes uncovering and reading really bad repo README files that
# just say things like "My code examples" or "Collection of various scripts"
#
# Copyright (C) 2016, <NAME>
# License: MIT
#-----------------------------------------------------------------

import requests, webbrowser
from random import randrange

num = randrange(0, 60000000, 1)

def requestAllRepos(num):
    r= requests.get('https://api.github.com/repositories', params = {'since': num})
    full_name = r.json()[0]['full_name']
    url = "https://github.com/" + full_name
    return url


webbrowser.open(requestAllRepos(num), new = 1)
<commit_msg>Change function parameter name<commit_after>#-----------------------------------------------------------------
# RandomGithubRepo.py
#
# Find a truly random repository from within the githubisphere.
# Side effects of use may include uncovering and reading really bad repo README
# files that just say things like "My code examples" or "Collection of various
# scripts"
#
# Copyright (C) 2016, <NAME>
# License: MIT
#-----------------------------------------------------------------

import requests, webbrowser
from random import randrange

num = randrange(0, 60000000, 1)

def requestAllRepos(number):
    r= requests.get('https://api.github.com/repositories', params = {'since': number})
    full_name = r.json()[0]['full_name']
    url = "https://github.com/" + full_name
    return url


webbrowser.open(requestAllRepos(num), new = 1)

{'fraction_non_alphanumeric': 0.2542579075425791, 'fraction_numerical': 0.019464720194647202, 'mean_word_length': 2.257425742574257, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '3904871', 'n_tokens_mistral': 460, 'n_tokens_neox': 424, 'n_words': 144}