<commit_before><!--<div>ELECTION TYPE = {{election.electionType}}</div>-->

<office-page
  ng-show="election.electionType == 'office'"
  office-id="{{election.electionTypeId}}"
  office-data="election.electionData">
</office-page>

<!--<div ng-show="election.electionType == 'referendum'">REFERENDUM PAGE</div>-->
<referendum-page
  ng-show="election.electionType == 'referendum'"
  referendum-id="{{election.electionTypeId}}"
  referendum-data="election.electionData">
</referendum-page>

<!--<br>-->

<!--<pre>{{election.electionData | json}}</pre>--><commit_msg>prevent both components from executing<commit_after><!--<div>ELECTION TYPE = {{election.electionType}}</div>-->

<office-page
  ng-if="election.electionType == 'office'"
  office-id="{{election.electionTypeId}}"
  office-data="election.electionData">
</office-page>

<!--<div ng-show="election.electionType == 'referendum'">REFERENDUM PAGE</div>-->
<referendum-page
  ng-if="election.electionType == 'referendum'"
  referendum-id="{{election.electionTypeId}}"
  referendum-data="election.electionData">
</referendum-page>

<!--<br>-->

<!--<pre>{{election.electionData | json}}</pre>-->
{'fraction_non_alphanumeric': 0.22415291051259775, 'fraction_numerical': 0.0, 'mean_word_length': 5.7368421052631575, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '537635', 'n_tokens_mistral': 392, 'n_tokens_neox': 374, 'n_words': 47}