<commit_before># CONTRIBUTING helper

This is a small helper script to analyze all the "sources" (i.e., original repositories) in a github org and file bugs / pull requests for those repositories do *NOT* have a CONTRIBUTING file.

This ensures that all repositories in an org make explicit what the requirements for contributing code to the organization are, be it a simple "this is how you submit a successful pull request" or "you have to sign this agreement before you can contribute".

## Caveats
For now this is somewhat hardcoded for the mozilla org; no need for it to remain that way though.

## Auth
The API calls need you to authenticate. Generate a "personal access token" on the github settings page, then create a file ``.credentials`` like this:

    johndoe
    123abcmygithubtoken123...

where the first line is your github username and the second line is the token you generated.

## License
This code is free software and licensed under an MIT license. &copy; 2015 <NAME> <<EMAIL>>. For more information read the file ``LICENSE``.
<commit_msg>more generic<commit_after># github org helper scripts

These are some API helper scripts for sanely managing a github org. For now this is somewhat hardcoded for the mozilla org; no need for it to remain that way though.

# Scripts
''contributing.py'': Analyze all the "sources" repositories (i.e., those that aren't forks) in a github org and file bugs / pull requests for those repositories do *NOT* have a CONTRIBUTING file.

This ensures that all repositories in an org make explicit what the requirements for contributing code to the organization are, be it a simple "this is how you submit a successful pull request" or "you have to sign this agreement before you can contribute".

## Auth
The API calls need you to authenticate. Generate a "personal access token" on the github settings page, then create a file ``.credentials`` like this:

    johndoe
    123abcmygithubtoken123...

where the first line is your github username and the second line is the token you generated.

## License
This code is free software and licensed under an MIT license. &copy; 2015 <NAME> <<EMAIL> <EMAIL>>. For more information read the file ``LICENSE``.

{'fraction_non_alphanumeric': 0.05668934240362812, 'fraction_numerical': 0.009070294784580499, 'mean_word_length': 4.302884615384615, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '2692841', 'n_tokens_mistral': 582, 'n_tokens_neox': 531, 'n_words': 345}