<commit_before>{% set page_title = "Posts" %}

{% extends theme("layout.jinja.html") %}

{% block custcss %}
    <link rel="stylesheet" href="{{ url_for('static', filename='css/datepicker3.css') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap-markdown.min.css') }}">
{% endblock %}

{% block content %}
{%- from theme("macros.jinja.html") import contributors -%}

<div class="panel panel-primary">
    <div class="panel-heading">
        <h3 class="panel-title">{{ day }}</h3>
    </div>
    <div class="panel-body">
        <div class="row">
            <div id="input-select-day" class="col-md-2">
                <input type="text" class="form-control" value="{{ day }}">
            </div>
            <div class="col-md-8">
                <h4>Totally {{ post_count }} products</h4>
            </div>
        </div>
    </div>
</div>

{% for post in posts %}<commit_msg>generate daily briefing<commit_after>{% set page_title = "Posts" %}

{% extends theme("layout.jinja.html") %}

{% block custcss %}
    <link rel="stylesheet" href="{{ url_for('static', filename='css/datepicker3.css') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap-markdown.min.css') }}">
{% endblock %}

{% block content %}
{%- from theme("macros.jinja.html") import contributors -%}

<div class="panel panel-primary">
    <div class="panel-heading">
        <h3 class="panel-title">{{ day }}</h3>
    </div>
    <div class="panel-body">
        <div class="row">
            <div id="input-select-day" class="col-md-2">
                <input type="text" class="form-control" value="{{ day }}">
            </div>
            <div class="col-md-8">
                <h4>Totally {{ post_count }} products</h4>
            </div>
            <div class="col-md-2">
                {% if current_user|is_moderator and post_count>0 %}
                {% set visible='show' %}
                {% else %}
                {% set visible='hide' %}
                {% endif %}
                <a class="btn btn-primary fix-width {{visible}}" href="{{ url_for('product.dailybriefing', day=day) }}">
                    Daily Briefing
                </a>            
            </div>
        </div>
    </div>
</div>

{% for post in posts %}
{'fraction_non_alphanumeric': 0.19736842105263158, 'fraction_numerical': 0.007017543859649123, 'mean_word_length': 2.263233190271817, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 46, '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': '5037399', 'n_tokens_mistral': 754, 'n_tokens_neox': 691, 'n_words': 148}