<commit_before><?php 

    // Get Blog articles
    $blogRss = 'https://www.bookstackapp.com/blog/rss/';
    $localRssLocation = 'dist/blog.rss';
    $cacheTimeSeconds = '864000';

    if (file_exists($localRssLocation)) {
        $lastModified = filemtime($localRssLocation);
        if (time() - $lastModified >= $cacheTimeSeconds) {
            $contents = file_get_contents($blogRss);
            file_put_contents($localRssLocation, $contents);
        } else {
            $contents = file_get_contents($localRssLocation);
        }
    } else {<commit_msg>Reduced cache time from 10 days to 1<commit_after><?php 

    // Get Blog articles
    $blogRss = 'https://www.bookstackapp.com/blog/rss/';
    $localRssLocation = 'dist/blog.rss';
    $cacheTimeSeconds = '86400';

    if (file_exists($localRssLocation)) {
        $lastModified = filemtime($localRssLocation);
        if (time() - $lastModified >= $cacheTimeSeconds) {
            $contents = file_get_contents($blogRss);
            file_put_contents($localRssLocation, $contents);
        } else {
            $contents = file_get_contents($localRssLocation);
        }
    } else {
{'fraction_non_alphanumeric': 0.13414634146341464, 'fraction_numerical': 0.012195121951219513, 'mean_word_length': 2.7796052631578947, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '2591932', 'n_tokens_mistral': 365, 'n_tokens_neox': 350, 'n_words': 59}