<commit_before><div class="inspector-container">
    <div ng-include=" 'error' "></div>
    <div ng-include=" 'warning' "></div>
    <div ng-include=" 'info' "></div>
    <div ng-include=" 'loading' "></div>

    <div>
        <h3>Information</h3>

        <div class="row">
            <div class="col-md-12">
                <table class="table table-striped table-condensed" style="font-size:12px;">
                    <tbody>
                    <tr>
                        <td class="col-md-3 text-right"><strong>Application Name</strong></td>
                        <td class="col-md-3 text-left">{{info.applicationName}}</td>
                        <td class="col-md-1 text-right"><strong>Agent Version</strong></td>
                        <td class="col-md-5 text-left">{{info.agentVersion}}</td>
                    </tr>
                    <tr>
                        <td class="text-right"><strong>Agent Id</strong></td>
                        <td class="text-left">{{info.agentId}}</td>
                        <td class="text-right"><strong>PID</strong></td>
                        <td class="text-left">{{info.pid}}</td>
                    </tr>
                    <tr>
                        <td class="text-right"><strong>Hostname</strong></td>
                        <td class="text-left">{{info.hostName}}&nbsp;<a ng-if="info.linkName" class="btn btn-default btn-xs" href="{{info.linkURL}}" target="_blank" title="System resource monitoring site">{{info.linkName}}</a></td>
                        <td class="text-right"><strong>JVM GC Type</strong></td>
                        <td class="text-left">{{info.jvmGcType}}</td>
                    </tr>
                    <tr>
                        <td class="text-right"><strong>IP</strong></td>
                        <td class="text-left">
                            <div>{{info.ip}}</div>
                        </td>
                        <td class="text-right"><strong>Start Time</strong></td>
                        <td class="text-left">{{agent.startTime | date:'yyyy-MM-dd HH:mm:ss Z'}}</td>
                    </tr>
                    <tr>
                        <td class="text-right"><strong>Service Type</strong></td>
                        <td class="text-left">
                            {{info.serviceType}}
                            <span ng-show="info.serverMetaData">
                                <span ng-show="info.serverMetaData.serverInfo.length">&nbsp;({{info.serverMetaData.serverInfo}})&nbsp;</span>
                                    <button type="button" class="btn btn-default btn-xs" data-toggle="modal" data-target="#serverMetaDataDiv" ng-show="info.serverMetaData.vmArgs.length || info.serverMetaData.serviceInfos.length">
                                        Details
                                    </button>
                            </span>
                        </td>
                        <td class="text-right"><strong>End Status</strong></td>
                        <td class="text-left">{{agent.endStatus}} (last checked : {{agent.endTimeStamp | date:'yyyy-MM-dd HH:mm:ss Z'}})</td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <div>
        <h3>Memory & Garbage Collection</h3>
        <div class="row">
            <div class="col-md-6">
                <h5><span class="glyphicon glyphicon-question-sign heapTooltip" style="cursor:pointer;float:right;"></span> {{memoryGroup[0].title}}</h5>
                <jvm-memory-chart-directive namespace="forHeap"></jvm-memory-chart-directive>
            </div>
            <div class="col-md-6">
                <h5><span class="glyphicon glyphicon-question-sign permGenTooltip" style="cursor:pointer;float:right;"></span> {{memoryGroup[1].title}}</h5>
                <jvm-memory-chart-directive namespace="forNonHeap"></jvm-memory-chart-directive>
            </div>
        </div>
    </div>
    <div>
        <h3>Cpu Usage</h3>
        <div class="row">
            <div class="col-md-6">
                <h5><span class="glyphicon glyphicon-question-sign cpuUsageTooltip" style="cursor:pointer;float:right;"></span> {{cpuLoadChart.title}}</h5>
                <cpu-load-chart-directive namespace="forCpuLoad"></cpu-load-chart-directive>
            </div>
        </div>
    </div>
    <div class="modal fade bs-modal-lg center" id="serverMetaDataDiv" tabindex="-1" role="dialog" aria-labelledby="myServerMetaDataDiv"
         aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="myServerMetaDataDiv">Server Details</h4>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="col-md-12" style="overflow-x:auto;">
                            <table class="table table-condensed" style="font-size:12px;">
                                <tbody>
                                <tr>
                                    <td class="col-md-2 text-right"><strong>Server Info</strong></td>
                                    <td class="col-md-10 text-left">
                                        <span ng-show="info.serverMetaData.serverInfo.length">{{info.serverMetaData.serverInfo}}</span>
                                        <span ng-hide="info.serverMetaData.serverInfo.length">N/A</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="text-right"><strong>JVM Arguments</strong></td>
                                    <td class="text-left">
                                        <div class="pre-scrollable" style="max-height:200px;" ng-show="info.serverMetaData.vmArgs.length">
	                                        <ul class="list-unstyled">
	                                            <li ng-repeat="vmArg in info.serverMetaData.vmArgs">{{vmArg}}</li>
	                                        </ul>
                                        </div>
                                        <span ng-hide="info.serverMetaData.vmArgs.length">N/A</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="text-right"><strong>Services</strong></td>
                                    <td class="text-left">
                                        <div class="row" ng-show="info.serverMetaData.serviceInfos.length">
	                                        <div class="col-md-4 service-list">
	                                           <div class="list-group">
	                                               <a href="" class="list-group-item clearfix" ng-class="{active: currentServiceInfo == serviceInfo, disabled: serviceInfo.serviceLibs.length == 0}" 
	                                                  ng-repeat="serviceInfo in info.serverMetaData.serviceInfos" ng-click="selectServiceInfo(serviceInfo)">
	                                                   {{serviceInfo.serviceName}}
	                                                   <span class="pull-right" ng-show="serviceInfo.serviceLibs.length > 0">&gt;</span>
	                                               </a>
	                                           </div>
	                                        </div>
	                                        <div class="col-md-8 service-libs">
	                                           <ul class="list-unstyled">
	                                               <li ng-repeat="serviceLib in currentServiceInfo.serviceLibs">{{serviceLib}}</li>
	                                           </ul>
	                                        </div>
                                        </div>
                                        <span ng-hide="info.serverMetaData.serviceInfos.length">N/A</span>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                </div>
            </div>
        </div>
    </div>
</div>
<commit_msg>bug fix. duplicate data display error in ng-repeat<commit_after><div class="inspector-container">
    <div ng-include=" 'error' "></div>
    <div ng-include=" 'warning' "></div>
    <div ng-include=" 'info' "></div>
    <div ng-include=" 'loading' "></div>

    <div>
        <h3>Information</h3>

        <div class="row">
            <div class="col-md-12">
                <table class="table table-striped table-condensed" style="font-size:12px;">
                    <tbody>
                    <tr>
                        <td class="col-md-3 text-right"><strong>Application Name</strong></td>
                        <td class="col-md-3 text-left">{{info.applicationName}}</td>
                        <td class="col-md-1 text-right"><strong>Agent Version</strong></td>
                        <td class="col-md-5 text-left">{{info.agentVersion}}</td>
                    </tr>
                    <tr>
                        <td class="text-right"><strong>Agent Id</strong></td>
                        <td class="text-left">{{info.agentId}}</td>
                        <td class="text-right"><strong>PID</strong></td>
                        <td class="text-left">{{info.pid}}</td>
                    </tr>
                    <tr>
                        <td class="text-right"><strong>Hostname</strong></td>
                        <td class="text-left">{{info.hostName}}&nbsp;<a ng-if="info.linkName" class="btn btn-default btn-xs" href="{{info.linkURL}}" target="_blank" title="System resource monitoring site">{{info.linkName}}</a></td>
                        <td class="text-right"><strong>JVM GC Type</strong></td>
                        <td class="text-left">{{info.jvmGcType}}</td>
                    </tr>
                    <tr>
                        <td class="text-right"><strong>IP</strong></td>
                        <td class="text-left">
                            <div>{{info.ip}}</div>
                        </td>
                        <td class="text-right"><strong>Start Time</strong></td>
                        <td class="text-left">{{agent.startTime | date:'yyyy-MM-dd HH:mm:ss Z'}}</td>
                    </tr>
                    <tr>
                        <td class="text-right"><strong>Service Type</strong></td>
                        <td class="text-left">
                            {{info.serviceType}}
                            <span ng-show="info.serverMetaData">
                                <span ng-show="info.serverMetaData.serverInfo.length">&nbsp;({{info.serverMetaData.serverInfo}})&nbsp;</span>
                                    <button type="button" class="btn btn-default btn-xs" data-toggle="modal" data-target="#serverMetaDataDiv" ng-show="info.serverMetaData.vmArgs.length || info.serverMetaData.serviceInfos.length">
                                        Details
                                    </button>
                            </span>
                        </td>
                        <td class="text-right"><strong>End Status</strong></td>
                        <td class="text-left">{{agent.endStatus}} (last checked : {{agent.endTimeStamp | date:'yyyy-MM-dd HH:mm:ss Z'}})</td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <div>
        <h3>Memory & Garbage Collection</h3>
        <div class="row">
            <div class="col-md-6">
                <h5><span class="glyphicon glyphicon-question-sign heapTooltip" style="cursor:pointer;float:right;"></span> {{memoryGroup[0].title}}</h5>
                <jvm-memory-chart-directive namespace="forHeap"></jvm-memory-chart-directive>
            </div>
            <div class="col-md-6">
                <h5><span class="glyphicon glyphicon-question-sign permGenTooltip" style="cursor:pointer;float:right;"></span> {{memoryGroup[1].title}}</h5>
                <jvm-memory-chart-directive namespace="forNonHeap"></jvm-memory-chart-directive>
            </div>
        </div>
    </div>
    <div>
        <h3>Cpu Usage</h3>
        <div class="row">
            <div class="col-md-6">
                <h5><span class="glyphicon glyphicon-question-sign cpuUsageTooltip" style="cursor:pointer;float:right;"></span> {{cpuLoadChart.title}}</h5>
                <cpu-load-chart-directive namespace="forCpuLoad"></cpu-load-chart-directive>
            </div>
        </div>
    </div>
    <div class="modal fade bs-modal-lg center" id="serverMetaDataDiv" tabindex="-1" role="dialog" aria-labelledby="myServerMetaDataDiv"
         aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="myServerMetaDataDiv">Server Details</h4>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="col-md-12" style="overflow-x:auto;">
                            <table class="table table-condensed" style="font-size:12px;">
                                <tbody>
                                <tr>
                                    <td class="col-md-2 text-right"><strong>Server Info</strong></td>
                                    <td class="col-md-10 text-left">
                                        <span ng-show="info.serverMetaData.serverInfo.length">{{info.serverMetaData.serverInfo}}</span>
                                        <span ng-hide="info.serverMetaData.serverInfo.length">N/A</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="text-right"><strong>JVM Arguments</strong></td>
                                    <td class="text-left">
                                        <div class="pre-scrollable" style="max-height:200px;" ng-show="info.serverMetaData.vmArgs.length">
	                                        <ul class="list-unstyled">
	                                            <li ng-repeat="vmArg in info.serverMetaData.vmArgs track by $index">{{vmArg}}</li>
	                                        </ul>
                                        </div>
                                        <span ng-hide="info.serverMetaData.vmArgs.length">N/A</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="text-right"><strong>Services</strong></td>
                                    <td class="text-left">
                                        <div class="row" ng-show="info.serverMetaData.serviceInfos.length">
	                                        <div class="col-md-4 service-list">
	                                           <div class="list-group">
	                                               <a href="" class="list-group-item clearfix" ng-class="{active: currentServiceInfo == serviceInfo, disabled: serviceInfo.serviceLibs.length == 0}" 
	                                                  ng-repeat="serviceInfo in info.serverMetaData.serviceInfos" ng-click="selectServiceInfo(serviceInfo)">
	                                                   {{serviceInfo.serviceName}}
	                                                   <span class="pull-right" ng-show="serviceInfo.serviceLibs.length > 0">&gt;</span>
	                                               </a>
	                                           </div>
	                                        </div>
	                                        <div class="col-md-8 service-libs">
	                                           <ul class="list-unstyled">
	                                               <li ng-repeat="serviceLib in currentServiceInfo.serviceLibs">{{serviceLib}}</li>
	                                           </ul>
	                                        </div>
                                        </div>
                                        <span ng-hide="info.serverMetaData.serviceInfos.length">N/A</span>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                </div>
            </div>
        </div>
    </div>
</div>

{'fraction_non_alphanumeric': 0.14269228549997115, 'fraction_numerical': 0.004846806300848191, 'mean_word_length': 1.1463777089783282, 'pattern_counts': {'":': 0, '<': 439, '<?xml version=': 0, '>': 441, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 106, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4937208', 'n_tokens_mistral': 4351, 'n_tokens_neox': 4110, 'n_words': 664}