<commit_before><template>
  <nav class="panel">
    <!-- day heading -->
    <p class="panel-heading">
      <span class="is-size-5 is-uppercase">{{ weekday }}</span>
      <a v-on:click="edit = !edit" class="icon is-pulled-right has-text-dark">
        <fa v-if="!edit" pack="fas" name="edit" />
        <fa v-if="edit" pack="fas" name="save" />
      </a>
    </p>
    <!-- categories overview -->
    <div class="faked-panel-block">
      <div class="field is-grouped is-grouped-multiline">
        <template v-for="allocation in allocations">
          <div class="control">
            <div class="tags has-addons">
              <span class="tag is-dark is-medium">{{ allocation.amount }}g</span>
              <span class="tag is-light is-medium" v-bind:style="{
                backgroundColor: subCategoryColor(allocation.subCategory)
              }">{{ allocation.subCategory }}</span>
              <a v-if="edit" v-on:click="deleteAllocation(a)" class="tag is-medium is-delete"></a>
            </div><commit_msg>Fixes #17. Remove subcategories works again<commit_after><template>
  <nav class="panel">
    <!-- day heading -->
    <p class="panel-heading">
      <span class="is-size-5 is-uppercase">{{ weekday }}</span>
      <a v-on:click="edit = !edit" class="icon is-pulled-right has-text-dark">
        <fa v-if="!edit" pack="fas" name="edit" />
        <fa v-if="edit" pack="fas" name="save" />
      </a>
    </p>
    <!-- categories overview -->
    <div class="faked-panel-block">
      <div class="field is-grouped is-grouped-multiline">
        <template v-for="allocation in allocations">
          <div class="control">
            <div class="tags has-addons">
              <span class="tag is-dark is-medium">{{ allocation.amount }}g</span>
              <span class="tag is-light is-medium" v-bind:style="{
                backgroundColor: subCategoryColor(allocation.subCategory)
              }">{{ allocation.subCategory }}</span>
              <a v-if="edit" v-on:click="deleteAllocation(allocation)" class="tag is-medium is-delete"></a>
            </div>
{'fraction_non_alphanumeric': 0.1836441893830703, 'fraction_numerical': 0.001912960306073649, 'mean_word_length': 2.480865224625624, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, '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': '1185410', 'n_tokens_mistral': 653, 'n_tokens_neox': 649, 'n_words': 138}