<commit_before><!DOCTYPE html>
<!--
    Copyright 2014 <NAME>.
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
<html ng-app="attester-ui">
<head>
<title>Attester</title>
<link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="general.css">
<link rel="stylesheet" href="testsDetails/testsDetails.css">
<link rel="stylesheet" href="executionStates/executionStates.css">
<link rel="stylesheet" href="tasksTable/tasksTable.css">
<link rel="stylesheet" href="itemBox/itemBox.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
	<script src="lib/socket.io-1.1.0.js"></script>
	<script type="text/javascript" src="lib/angular/angular.min.js"></script>
	<script type="text/javascript"
		src="lib/ui-bootstrap-tpls-0.11.2.min.js"></script>
	<script type="text/javascript" src="js/exportFile.js"></script>
	<script type="text/javascript" src="js/dragdrop.js"></script>
	<script type="text/javascript" src="js/app.js"></script>
	<script type="text/javascript" src="js/campaignsManager.js"></script>
	<script type="text/javascript" src="js/campaign.js"></script>
	<script type="text/javascript" src="js/comparator.js"></script>
	<script type="text/javascript" src="js/mergeCampaigns.js"></script>
	<script type="text/javascript" src="js/liveCampaign.js"></script>
	<script type="text/javascript" src="itemBox/itemBox.js"></script>
	<script type="text/javascript" src="executionStates/executionStates.js"></script>
	<script type="text/javascript" src="testsDetails/testsDetails.js"></script>
	<script type="text/javascript" src="taskInfo/taskInfo.js"></script>
	<script type="text/javascript" src="taskInfo/taskInfoModal.js"></script>
	<script type="text/javascript" src="tasksTable/tasksTable.js"></script>
	<script type="text/javascript" src="campaignChooser/campaignChooser.js"></script>
	<script type="text/javascript"
		src="textFieldSuggestions/textFieldSuggestions.js"></script>
	<script type="text/javascript"
		src="compareCampaignsSelector/compareCampaignsSelector.js"></script>
	<script type="text/javascript"
		src="mergeCampaignsConfig/mergeCampaignsConfig.js"></script>
	<script type="text/javascript"
		src="mergeCampaignsConfig/mergeCampaignsConfigDisplay.js"></script>
	<div class="container-fluid"
		ng-controller="MainViewController as mainCtrl">
		<h1>Attester results</h1>
		<button class="pull-right btn btn-default btn-xs"
			ng-class="{active: mainCtrl.configVisible}"
			ng-click="mainCtrl.configVisible = !mainCtrl.configVisible">
			<span class="glyphicon glyphicon-wrench"></span>
		</button>
		<div style="position: relative;" ng-if="mainCtrl.configVisible">
			<div class="popover bottom right-popover">
				<div class="arrow"></div>
				<h3 class="popover-title">Configuration</h3>
				<div class="popover-content">
					<form class="form-horizontal" role="form" novalidate>
						<div class="form-group">
							<label class="col-sm-2 control-label">Test URL</label>
							<div class="col-sm-8">
								<input type="url" class="form-control input-sm"
									ng-model="mainCtrl.config.testURL"
									title="String to prepend to the name of the test to build the test URLs.">
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
		<tabset ng-if="mainCtrl.config"> <tab
			ng-repeat="source in campaignsManager.sources" active="source.active">
		<tab-heading> <span ng-if="source.campaign.campaignId"><item-box
				drag-source="campaignsManager.getDragSourceFromCampaignSource(source)"
				ng-style="{'background-color':campaignsManager.getCampaignColor(source.campaign)}"
				label="source.campaign.campaignId"></item-box> </span> <span
			ng-if="!source.campaign.campaignId">{{ source.error ? 'Error
			!' : 'Loading...' }}</span> &nbsp;
		<button type="button" class="close"
			ng-click="campaignsManager.removeSource($index)">
			<span>&times;</span>
		</button>
		</tab-heading>
		<div class="space"></div>
		<button ng-if="source.campaign && source.campaign.campaignId"
			class="pull-right btn btn-default btn-xs"
			ng-click="mainCtrl.saveLogs(source.campaign)"
			title="Save this campaign's results">
			<span class="glyphicon glyphicon-save"></span>
		</button>
		<div ng-switch="source.type">
			<dl class="dl-horizontal" ng-switch-when="serverURL">
				<dt>Attester server URL</dt>
				<dd>
					<a target="_blank" ng-href="{{source.serverURL}}">{{source.serverURL}}</a>,
					<span
						ng-class="{glyphicon: true, 'glyphicon-ok-circle': source.connected, 'glyphicon-remove-circle': !source.connected}"></span>
					{{source.connected ? 'connected': 'not connected'}}
				</dd>
			</dl>
			<dl class="dl-horizontal" ng-switch-when="reportURL">
				<dt>Attester report URL</dt>
				<dd>{{source.reportURL}}</dd>
			</dl>
			<dl class="dl-horizontal" ng-switch-when="file">
				<dt>Attester report file</dt>
				<dd>{{source.file}}</dd>
			</dl>
		</div>
		<div ng-if="!source.campaign && !source.error">
			<span class="loading"></span> Loading...
		</div>
		<alert ng-if="source.error" type="danger">{{source.error}}</alert>
		<dl class="dl-horizontal" ng-if="source.campaign.campaignId">
			<dt>Campaign id</dt>
			<dd>{{source.campaign.campaignId}}</dd>
		</dl>
		<dl class="dl-horizontal" ng-if="source.campaign.lastUpdate">
			<dt>Last update</dt>
			<dd>{{source.campaign.lastUpdate | date: "medium" }}</dd>
		</dl>
		<alert ng-if="source.campaign.mergeInfo" type="info"> <span
			class="glyphicon glyphicon-info-sign"></span> This file is the result
		of a merge operation.
		<button type="button" class="btn btn-link"
			ng-click="source.displayMergeInfo = !source.displayMergeInfo">{{
			source.displayMergeInfo ? "Hide" :"Show" }} details.</button>
		<div collapse="!source.displayMergeInfo">
			<merge-campaigns-config-display config="source.campaign.mergeInfo"></merge-campaigns-config-display>
		</div>
		</alert>
		<div ng-if="source.resultsReceived != source.resultsTotal">
			Loading {{source.resultsReceived}} / {{source.resultsTotal}}<br>
			<progressbar
				value="(1000 * source.resultsReceived / source.resultsTotal)"
				max="1000" animate="false"></progressbar>
		</div>
		<div ng-if="source.campaign">
			<tasks-table browsers-array="source.campaign.browsersArray"
				browsers-map="source.campaign.browsersMap"
				tasks-groups="source.campaign.tasksGroups"
				test-url="mainCtrl.config.testURL"></tasks-table>
		</div>
		</tab> <tab ng-repeat="comparator in mainCtrl.comparators"
			active="comparator.active"> <tab-heading>Comparison
		{{$index+1}} &nbsp;<commit_msg>Display the number of events next to the last update time.<commit_after><!DOCTYPE html>
<!--
    Copyright 2014 Amadeus s.a.s.
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
<html ng-app="attester-ui">
<head>
<title>Attester</title>
<link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="general.css">
<link rel="stylesheet" href="testsDetails/testsDetails.css">
<link rel="stylesheet" href="executionStates/executionStates.css">
<link rel="stylesheet" href="tasksTable/tasksTable.css">
<link rel="stylesheet" href="itemBox/itemBox.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
	<script src="lib/socket.io-1.1.0.js"></script>
	<script type="text/javascript" src="lib/angular/angular.min.js"></script>
	<script type="text/javascript"
		src="lib/ui-bootstrap-tpls-0.11.2.min.js"></script>
	<script type="text/javascript" src="js/exportFile.js"></script>
	<script type="text/javascript" src="js/dragdrop.js"></script>
	<script type="text/javascript" src="js/app.js"></script>
	<script type="text/javascript" src="js/campaignsManager.js"></script>
	<script type="text/javascript" src="js/campaign.js"></script>
	<script type="text/javascript" src="js/comparator.js"></script>
	<script type="text/javascript" src="js/mergeCampaigns.js"></script>
	<script type="text/javascript" src="js/liveCampaign.js"></script>
	<script type="text/javascript" src="itemBox/itemBox.js"></script>
	<script type="text/javascript" src="executionStates/executionStates.js"></script>
	<script type="text/javascript" src="testsDetails/testsDetails.js"></script>
	<script type="text/javascript" src="taskInfo/taskInfo.js"></script>
	<script type="text/javascript" src="taskInfo/taskInfoModal.js"></script>
	<script type="text/javascript" src="tasksTable/tasksTable.js"></script>
	<script type="text/javascript" src="campaignChooser/campaignChooser.js"></script>
	<script type="text/javascript"
		src="textFieldSuggestions/textFieldSuggestions.js"></script>
	<script type="text/javascript"
		src="compareCampaignsSelector/compareCampaignsSelector.js"></script>
	<script type="text/javascript"
		src="mergeCampaignsConfig/mergeCampaignsConfig.js"></script>
	<script type="text/javascript"
		src="mergeCampaignsConfig/mergeCampaignsConfigDisplay.js"></script>
	<div class="container-fluid"
		ng-controller="MainViewController as mainCtrl">
		<h1>Attester results</h1>
		<button class="pull-right btn btn-default btn-xs"
			ng-class="{active: mainCtrl.configVisible}"
			ng-click="mainCtrl.configVisible = !mainCtrl.configVisible">
			<span class="glyphicon glyphicon-wrench"></span>
		</button>
		<div style="position: relative;" ng-if="mainCtrl.configVisible">
			<div class="popover bottom right-popover">
				<div class="arrow"></div>
				<h3 class="popover-title">Configuration</h3>
				<div class="popover-content">
					<form class="form-horizontal" role="form" novalidate>
						<div class="form-group">
							<label class="col-sm-2 control-label">Test URL</label>
							<div class="col-sm-8">
								<input type="url" class="form-control input-sm"
									ng-model="mainCtrl.config.testURL"
									title="String to prepend to the name of the test to build the test URLs.">
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
		<tabset ng-if="mainCtrl.config"> <tab
			ng-repeat="source in campaignsManager.sources" active="source.active">
		<tab-heading> <span ng-if="source.campaign.campaignId"><item-box
				drag-source="campaignsManager.getDragSourceFromCampaignSource(source)"
				ng-style="{'background-color':campaignsManager.getCampaignColor(source.campaign)}"
				label="source.campaign.campaignId"></item-box> </span> <span
			ng-if="!source.campaign.campaignId">{{ source.error ? 'Error
			!' : 'Loading...' }}</span> &nbsp;
		<button type="button" class="close"
			ng-click="campaignsManager.removeSource($index)">
			<span>&times;</span>
		</button>
		</tab-heading>
		<div class="space"></div>
		<button ng-if="source.campaign && source.campaign.campaignId"
			class="pull-right btn btn-default btn-xs"
			ng-click="mainCtrl.saveLogs(source.campaign)"
			title="Save this campaign's results">
			<span class="glyphicon glyphicon-save"></span>
		</button>
		<div ng-switch="source.type">
			<dl class="dl-horizontal" ng-switch-when="serverURL">
				<dt>Attester server URL</dt>
				<dd>
					<a target="_blank" ng-href="{{source.serverURL}}">{{source.serverURL}}</a>,
					<span
						ng-class="{glyphicon: true, 'glyphicon-ok-circle': source.connected, 'glyphicon-remove-circle': !source.connected}"></span>
					{{source.connected ? 'connected': 'not connected'}}
				</dd>
			</dl>
			<dl class="dl-horizontal" ng-switch-when="reportURL">
				<dt>Attester report URL</dt>
				<dd>{{source.reportURL}}</dd>
			</dl>
			<dl class="dl-horizontal" ng-switch-when="file">
				<dt>Attester report file</dt>
				<dd>{{source.file}}</dd>
			</dl>
		</div>
		<div ng-if="!source.campaign && !source.error">
			<span class="loading"></span> Loading...
		</div>
		<alert ng-if="source.error" type="danger">{{source.error}}</alert>
		<dl class="dl-horizontal" ng-if="source.campaign.campaignId">
			<dt>Campaign id</dt>
			<dd>{{source.campaign.campaignId}}</dd>
		</dl>
		<dl class="dl-horizontal" ng-if="source.campaign.lastUpdate">
			<dt>Last update</dt>
			<dd>{{source.campaign.lastUpdate | date: "medium" }} ({{source.campaign.events.length}} events)</dd>
		</dl>
		<alert ng-if="source.campaign.mergeInfo" type="info"> <span
			class="glyphicon glyphicon-info-sign"></span> This file is the result
		of a merge operation.
		<button type="button" class="btn btn-link"
			ng-click="source.displayMergeInfo = !source.displayMergeInfo">{{
			source.displayMergeInfo ? "Hide" :"Show" }} details.</button>
		<div collapse="!source.displayMergeInfo">
			<merge-campaigns-config-display config="source.campaign.mergeInfo"></merge-campaigns-config-display>
		</div>
		</alert>
		<div ng-if="source.resultsReceived != source.resultsTotal">
			Loading {{source.resultsReceived}} / {{source.resultsTotal}}<br>
			<progressbar
				value="(1000 * source.resultsReceived / source.resultsTotal)"
				max="1000" animate="false"></progressbar>
		</div>
		<div ng-if="source.campaign">
			<tasks-table browsers-array="source.campaign.browsersArray"
				browsers-map="source.campaign.browsersMap"
				tasks-groups="source.campaign.tasksGroups"
				test-url="mainCtrl.config.testURL"></tasks-table>
		</div>
		</tab> <tab ng-repeat="comparator in mainCtrl.comparators"
			active="comparator.active"> <tab-heading>Comparison
		{{$index+1}} &nbsp;
{'fraction_non_alphanumeric': 0.17612634844532185, 'fraction_numerical': 0.004371430585912712, 'mean_word_length': 4.832236842105263, 'pattern_counts': {'":': 0, '<': 342, '<?xml version=': 0, '>': 342, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6763164', 'n_tokens_mistral': 5115, 'n_tokens_neox': 4474, 'n_words': 857}