<commit_before>from flask_frozen import Freezer
from flask_application.app import app
import datetime as dt

freezer = Freezer(app)
app.config['SERVER_NAME'] = 'reformedconfessions.com.s3-website-us-east-1.amazonaws.com'


@freezer.register_generator
def render_fixed_day_json():
    for i in range(366):
        date = dt.datetime(2017, 1, 1) + dt.timedelta(days=i)
        yield {'month': date.strftime('%m'), 'day': date.strftime('%d')}


@freezer.register_generator
def feed_by_day():
    for i in range(366):
        date = dt.datetime(2017, 1, 1) + dt.timedelta(days=i)
        yield {'month': date.strftime('%m'), 'day': date.strftime('%d')}


if __name__ == '__main__':
    freezer.freeze()<commit_msg>generate leap day<commit_after>from flask_frozen import Freezer
from flask_application.app import app
import datetime as dt

freezer = Freezer(app)
app.config['SERVER_NAME'] = 'reformedconfessions.com.s3-website-us-east-1.amazonaws.com'


@freezer.register_generator
def render_fixed_day_json():
    for i in range(366):
        date = dt.datetime(2016, 1, 1) + dt.timedelta(days=i)
        yield {'month': date.strftime('%m'), 'day': date.strftime('%d')}


if __name__ == '__main__':
    freezer.freeze()
{'fraction_non_alphanumeric': 0.14979423868312758, 'fraction_numerical': 0.02551440329218107, 'mean_word_length': 4.502262443438914, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1480825', 'n_tokens_mistral': 464, 'n_tokens_neox': 427, 'n_words': 92}