<commit_before>import praw
import credentials
import time
import logger


# Initial connection and subreddit selection
def connect():
    reddit = praw.Reddit(client_id=credentials.id,
                         client_secret=credentials.secret,
                         password=<PASSWORD>,
                         user_agent='SavageGarden Moderator by /u/Metroshica',
                         username=credentials.username)
    return reddit.subreddit('savagegarden')


# Find posts that have one or more new grower keywords
def findposts(subreddit):
    keywords = [
        'help', 'newbie', 'noob', 'dying', 'trouble', 'new', 'advice', 'advise', 'tips', ' id ', 'id.', 'id?',
        'identify', 'save', 'trouble'
    ]
    for submission in subreddit.new(limit=3):
        if any(word in submission.title.lower() for word in keywords):<commit_msg>Added first time as keyword.<commit_after>import praw
import credentials
import time
import logger


# Initial connection and subreddit selection
def connect():
    reddit = praw.Reddit(client_id=credentials.id,
                         client_secret=credentials.secret,
                         password=<PASSWORD>,
                         user_agent='SavageGarden Moderator by /u/Metroshica',
                         username=credentials.username)
    return reddit.subreddit('savagegarden')


# Find posts that have one or more new grower keywords
def findposts(subreddit):
    keywords = [
        'help', 'newbie', 'noob', 'dying', 'trouble', 'new', 'advice', 'advise', 'tips', ' id ', 'id.', 'id?',
        'identify', 'save', 'trouble', 'first time'
    ]
    for submission in subreddit.new(limit=3):
        if any(word in submission.title.lower() for word in keywords):
{'fraction_non_alphanumeric': 0.11656087709174841, 'fraction_numerical': 0.001154068090017311, 'mean_word_length': 2.6737288135593222, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1096590', 'n_tokens_mistral': 497, 'n_tokens_neox': 492, 'n_words': 137}