<commit_before>* Test our User-Agent header.


* Test API key is not used for verifyKey.
* Test API key *is* used for calls other than verifyKey.
* Test API method (POST, etc.) is correct
* Test VerifyKey responds OK to "key valid" response.
* Test VerifyKey responds OK to "key invalid" response.
* Test VerifyKey uses correct URL.
* Test non-200 status return from VerifyKey.
* Test commentCheck passes user_ip correctly.
* Test commentCheck passes user_agent correctly.
* Test commentCheck passes other_params correctly.
* Test commentCheck passes server_params correctly.
* Test commentCheck passes user_role correctly.
* Test commentCheck passes is_test correctly. (NB: TODO: It currently doesn't :D)
* Test non-200 status return from commentCheck.
* Test we correctly fail to do anything other than verifyKey if we've not given the client a key.
* Test commentCheck uses correct URL.
* Make sure requests are x-www-form-urlencoded<commit_msg>More test "TODOs" added to the list. TODO: turn this text file into incomplete test stubs in PHPUnit.<commit_after>* Test our User-Agent header.


* Test API key is not used for verifyKey.
* Test API key *is* used for calls other than verifyKey.
* Test API method (POST, etc.) is correct
* Test VerifyKey responds OK to "key valid" response.
* Test VerifyKey responds OK to "key invalid" response.
* Test VerifyKey uses correct URL.
* Test non-200 status return from VerifyKey.
* Test commentCheck passes user_ip correctly.
* Test commentCheck passes user_agent correctly.
* Test commentCheck passes other_params correctly.
* Test commentCheck passes server_params correctly.
* Test commentCheck passes user_role correctly.
* Test commentCheck passes is_test correctly. (NB: TODO: It currently doesn't :D)
* Test non-200 status return from commentCheck.
* Test we correctly fail to do anything other than verifyKey if we've not given the client a key.
* Test commentCheck uses correct URL.
* Make sure requests are x-www-form-urlencoded
* Check scheme/protocol (http/https)

{'fraction_non_alphanumeric': 0.06429277942631058, 'fraction_numerical': 0.005934718100890208, 'mean_word_length': 4.573002754820936, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '316169', 'n_tokens_mistral': 543, 'n_tokens_neox': 528, 'n_words': 273}