<commit_before><section ng-include="'view/common/item_navbar.html'"></section><br>
<md-card>
    <section class="md-tile-content">
        <h3>Save:</h3><br>
        <h4>{{hazard.save}}</h4>
    </section>
</md-card>
<md-card>
    <section class="md-tile-content">
        <h3>Onset:</h3><br>
        <h4>{{hazard.onset}}</h4>
    </section>
</md-card>
<md-card>
    <section class="md-tile-content">
        <h3>Type:</h3><br>
        <h4>{{hazard.type}}</h4>
    </section>
</md-card>
<md-card>
    <section class="md-tile-content">
        <h3>Frequency:</h3><br>
        <h4>{{hazard.frequency}}</h4>
    </section>
</md-card>
<md-bottom-sheet>
    <section layout="row" layout-align="center">
        <md-button class="md-raised md-primary" ng-click="toggleHazard(hazard.id)">
            {{existsOnChar ? "Remove from" : "Add to"}} Character
        </md-button>
        <p>&nbsp</p>
        <md-button class="md-raised md-primary" onclick="window.location.hash='/hazards'">Cancel</md-button>
    </section>
</md-bottom-sheet><commit_msg>Only display cards that have data<commit_after><section ng-include="'view/common/item_navbar.html'"></section><br>
<md-card ng-if="hazard.save">
    <section class="md-tile-content">
        <h3>Save:</h3><br>
        <h4>{{hazard.save}}</h4>
    </section>
</md-card>
<md-card ng-if="hazard.onset">
    <section class="md-tile-content">
        <h3>Onset:</h3><br>
        <h4>{{hazard.onset}}</h4>
    </section>
</md-card>
<md-card ng-if="hazard.type">
    <section class="md-tile-content">
        <h3>Type:</h3><br>
        <h4>{{hazard.type}}</h4>
    </section>
</md-card>
<md-card ng-if="hazard.frequency">
    <section class="md-tile-content">
        <h3>Frequency:</h3><br>
        <h4>{{hazard.frequency}}</h4>
    </section>
</md-card>
<md-bottom-sheet>
    <section layout="row" layout-align="center">
        <md-button class="md-raised md-primary" ng-click="toggleHazard(hazard.id)">
            {{existsOnChar ? "Remove from" : "Add to"}} Character
        </md-button>
        <p>&nbsp</p>
        <md-button class="md-raised md-primary" onclick="window.location.hash='/hazards'">Cancel</md-button>
    </section>
</md-bottom-sheet>
{'fraction_non_alphanumeric': 0.22424794895168643, 'fraction_numerical': 0.014585232452142206, 'mean_word_length': 3.0054744525547443, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 101, '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': '5366120', 'n_tokens_mistral': 854, 'n_tokens_neox': 804, 'n_words': 112}