<commit_before>---
layout: default
---

<article>
  <header>
    <h1>{{ page.title }}</h1>
    <time datetime='{{ page.date | date: "%Y-%m-%d %H:%M:%S" }}' class="post-meta">{{ page.date | date: "%Y-%m-%d" }}</time>
    {% if page.update_date %}
    <span class="post-meta">Updated: <time datetime='{{ page.update_date | date: "%Y-%m-%d %H:%M:%S" }}'>{{ page.update_date | date: "%b %-d, %Y" }}</time></span><br>
    {% endif %}
    {% if page.published == false %}
    <p class="post-notice">
      <i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
      This is an unpublished post. It's likely (more) full of spelling mistakes and errors.
      It may also end abruptly without a conclusion.
    </p>
    {% endif %}
    {% if page.live_experiment == true %}
    <p class="post-notice">
      <i class="fas fa-flask" aria-hidden="true"></i>
      This post refers to a live experiment. This post may update a few times. The code I discuss will start live
      but it may already be removed and/or destroyed by the time you read this.
    </p>
    {% endif %}
  </header>
  {{ content }}
</article>

{% include discuss.html %}

<script src="/javascripts/link-helper.js" async></script><commit_msg>add code for displaying page update notices.<commit_after>---
layout: default
---

<article>
  <header>
    <h1>{{ page.title }}</h1>
    <time datetime='{{ page.date | date: "%Y-%m-%d %H:%M:%S" }}' class="post-meta">{{ page.date | date: "%Y-%m-%d" }}</time>
    {% if page.published == false %}
    <p class="post-notice">
      <i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
      This is an unpublished post. It's likely (more) full of spelling mistakes and errors.
      It may also end abruptly without a conclusion.
    </p>
    {% endif %}
    {% if page.live_experiment == true %}
    <p class="post-notice">
      <i class="fas fa-flask" aria-hidden="true"></i>
      This post refers to a live experiment. This post may update a few times. The code I discuss will start live
      but it may already be removed and/or destroyed by the time you read this.
    </p>
    {% endif %}
    {% if page.update_notices %}
      {% for update_notice in page.update_notices %}
        <p class="post-notice">
          <i class="fas fa-clock" aria-hidden="true"></i>
          <span class="post-meta"><time datetime='{{ update_notice.date | date: "%Y-%m-%d %H:%M:%S" }}'>{{ update_notice.date | date: "%Y-%m-%d %H:%M:%S" }}</time></span>
          {{ update_notice.message }}
        </p>
      {% endfor %}
    {% endif %}
  </header>
  {{ content }}
</article>

{% include discuss.html %}

<script src="/javascripts/link-helper.js" async></script>
{'fraction_non_alphanumeric': 0.1901382144191259, 'fraction_numerical': 0.0014942099364960778, 'mean_word_length': 2.932452276064611, 'pattern_counts': {'":': 0, '<': 52, '<?xml version=': 0, '>': 52, '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': '6111313', 'n_tokens_mistral': 912, 'n_tokens_neox': 862, 'n_words': 262}