<commit_before><div>

    <waltz-no-data ng-if="!$ctrl.relatedMeasurableIds">
        <message>
            There are no involvements between this person (or any of their direct reports) and viewpoints.
        </message>
    </waltz-no-data>

    <span ng-if="$ctrl.tabs.length > 0">
        <div class="waltz-tabs col-sm-12">
            <!-- TAB HEADERS -->
            <input ng-repeat-start="tab in $ctrl.tabs track by tab.id"
                   type="radio"
                   ng-change="$ctrl.onTabChange()"
                   ng-model="$ctrl.activeTab"
                   ng-value="tab"
                   id="{{ tab.id + '_' + $id }}">
            <label class="wt-label"
                   for="{{ tab.id + '_' + $id }}"
                   ng-repeat-end>
                <span ng-bind="tab.name"></span>
            </label>

            <div class="wt-tab wt-active"
                 ng-if="$ctrl.activeTab">

                <span>This person is involved in the
                    <span ng-bind="tab.name"></span>
                    viewpoint either directly or by inheriting the association through one of their reportees.
                    Click on the viewpoint to see this involvement, those in <b>bold</b> are directly related, those in <i>italics</i> have no involvements but populate the tree.</span>
                <br>

                <waltz-toggle class="pull-right"
                              state="$ctrl.showDirectsOnly"
                              on-toggle="$ctrl.toggleDirectsOnly()"
                              label-on="Direct only"
                              label-off="Direct only">
                </waltz-toggle>

                <div class="row">
                    <div class="col-sm-12">
                        <waltz-no-data ng-if="$ctrl.hierarchy.length == 0">
                            <message>
                                This person has no direct involvements with items in this viewpoint.
                            </message>
                        </waltz-no-data>
                        <treecontrol class="tree-light"
                                     tree-model="$ctrl.hierarchy"
                                     options="$ctrl.treeOptions"
                                     expanded-nodes="$ctrl.expandedNodes"
                                     order-by="'-name'"
                                     ng-if="$ctrl.hierarchy.length > 0">
                            <span class="no-overflow">
                                <a>
                                    <span ng-class=" {'italics' : ! node.related}"
                                          ng-click="$ctrl.onSelect(node)"
                                          ng-init="$ctrl.onSelect(node)">
                                        <waltz-entity-icon-label entity-ref="node"<commit_msg>Change timestamps to dates in survey export<commit_after><div>

    <waltz-no-data ng-if="!$ctrl.relatedMeasurableIds">
        <message>
            There are no involvements between this person (or any of their direct reports) and viewpoints.
        </message>
    </waltz-no-data>

    <span ng-if="$ctrl.tabs.length > 0">
        <div class="waltz-tabs col-sm-12">
            <!-- TAB HEADERS -->
            <input ng-repeat-start="tab in $ctrl.tabs track by tab.id"
                   type="radio"
                   ng-change="$ctrl.onTabChange()"
                   ng-model="$ctrl.activeTab"
                   ng-value="tab"
                   id="{{ tab.id + '_' + $id }}">
            <label class="wt-label"
                   for="{{ tab.id + '_' + $id }}"
                   ng-repeat-end>
                <span ng-bind="tab.name"></span>
            </label>

            <div class="wt-tab wt-active"
                 ng-if="$ctrl.activeTab">

                <span>
                    This person is involved in the
                    <span ng-bind="$ctrl.activeTab.name"></span>
                    viewpoint either directly or by inheriting the association through one of their reportees.
                    Click on the viewpoint to see this involvement, those in <b>bold</b> are directly related, those in <i>italics</i> have no involvements but populate the tree.
                </span>
                <br>

                <waltz-toggle class="pull-right"
                              state="$ctrl.showDirectsOnly"
                              on-toggle="$ctrl.toggleDirectsOnly()"
                              label-on="Direct only"
                              label-off="Direct only">
                </waltz-toggle>

                <div class="row">
                    <div class="col-sm-12">
                        <waltz-no-data ng-if="$ctrl.hierarchy.length == 0">
                            <message>
                                This person has no direct involvements with items in this viewpoint.
                            </message>
                        </waltz-no-data>
                        <treecontrol class="tree-light"
                                     tree-model="$ctrl.hierarchy"
                                     options="$ctrl.treeOptions"
                                     expanded-nodes="$ctrl.expandedNodes"
                                     order-by="'-name'"
                                     ng-if="$ctrl.hierarchy.length > 0">
                            <span class="no-overflow">
                                <a>
                                    <span ng-class=" {'italics' : ! node.related}"
                                          ng-click="$ctrl.onSelect(node)"
                                          ng-init="$ctrl.onSelect(node)">
                                        <waltz-entity-icon-label entity-ref="node"
{'fraction_non_alphanumeric': 0.11377037807839056, 'fraction_numerical': 0.002428026361429067, 'mean_word_length': 1.0523131672597865, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 77, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 22, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6208810', 'n_tokens_mistral': 1429, 'n_tokens_neox': 1346, 'n_words': 309}