<commit_before><?php
if (!PHP_SAPI == 'cli') { die(); } // Only allow the CLI to run this script.

// tweeter.php
// https://github.com/plusreed/yourownbot-php

// TODO: Separate into config.ini.
$word1 = array("Add", "your", "words", "here");
$word2 = array("Add", "your", "words", "here");
$rand_word1 = $word1[array_rand($word1, 1)];
$rand_word2 = $word2[array_rand($word2, 1)];

require_once('twitteroauth.php');

// Keys here
$consumerkey = "consumerkeyhere";
$consumersecret = "consumersecrethere";<commit_msg>Edit tweeter.php comments<commit_after><?php
if (!PHP_SAPI == 'cli') { die(); } // Only allow the CLI to run this script.

// tweeter.php
// https://github.com/plusreed/yourownbot-php

// TODO: Separate into .env
$word1 = array("Add", "your", "words", "here");
$word2 = array("Add", "your", "words", "here");
$rand_word1 = $word1[array_rand($word1, 1)];
$rand_word2 = $word2[array_rand($word2, 1)];

require_once('twitteroauth.php');

// TODO: Separate into .env
$consumerkey = "consumerkeyhere";
$consumersecret = "consumersecrethere";
{'fraction_non_alphanumeric': 0.20532319391634982, 'fraction_numerical': 0.019011406844106463, 'mean_word_length': 5.343373493975903, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '445501', 'n_tokens_mistral': 397, 'n_tokens_neox': 376, 'n_words': 87}