<commit_before><div ng-show="selectedData.length">
	<div class="well">
		<div ng-repeat="item in selectedData">
			<div style="border: 2px solid black">
				<!-- 								ng-show also depends on item.wholeProcess since even if we dont give it a color it would move the "process" in the list -->
				<div ng-if="showLegend">
					<div
						ng-if="showLegend"
						id="circle"
						class="pull-left"
						ng-style="item.color"></div> <strong>{{item.process}}</strong> <i
					class="pull-right glyphicon glyphicon-ok"
					ng-show="item.wholeProcess"></i>
				</div>
				<div
					class="row"
					ng-if="showSlider">
					<div class="col-md-6">
						<strong>{{item.process}}</strong>
					</div>
					<div class="col-md-1">
						{{numberOfInstancesMap[item.process].numberOfClusters}}
					</div>
					<div class="col-md-5">
						<input
							ng-if="showSlider&&item.wholeProcess"
							ng-model="numberOfInstancesMap[item.process].numberOfClusters"
							type="range"
							min="0"
							max="{{numberOfInstancesMap[item.process][instances]}}"
							step="1" />
						<span ng-if= numberOfInstancesMap[item.process]==undefined&&item.wholeProcess>no data available</span>
					</div>
				</div>
				<div
					ng-repeat="types in item.activityTypes"
					style="text-indent: 10px; font-style: italic;">
					<u>{{types.activityType}}</u> <a
						ng-if="showLegend"
						class="pull-right glyphicon glyphicon-remove"
						ng-click="removeFct({process: item.process, activityType: types.activityType, activity: undefined})"></a>
					<div
						ng-repeat="(actIndex,act) in types.activities"
						style="text-indent: 20px;">
						<div ng-if="showLegend">
							<div
								id="circle"
								class="pull-left"
								ng-style="act.color"></div> {{act.activity}} <a
							class="pull-right glyphicon glyphicon-remove"
							ng-click="removeFct({process: item.process, activityType: types.activityType, activity: act.activity})"></a>
						</div>
						<div
							class="row"
							ng-if="showSlider">
							<div class="col-md-6">{{act.activity}}</div>
							<div class="col-md-1">
							{{numberOfInstancesMap[act.activity].numberOfClusters}}
							</div>
							<div class="col-md-5">
								<input
									ng-if="showSlider&&!(numberOfInstancesMap[act.activity]==undefined)"
									ng-model = "numberOfInstancesMap[act.activity].numberOfClusters"
									type="range"
									min="0"
									max="{{numberOfInstancesMap[act.activity][instances]}}"
									step="1" />
								<span ng-if= numberOfInstancesMap[act.activity]==undefined>no data available</span>
							</div>
						</div>
					</div>
				</div>
			</div>
			<br>
		</div>
	</div>
</div><commit_msg>improve(cluster sliders): show slider for processes only if data available<commit_after><div ng-show="selectedData.length">
	<div class="well">
		<div ng-repeat="item in selectedData">
			<div style="border: 2px solid black">
				<!-- 								ng-show also depends on item.wholeProcess since even if we dont give it a color it would move the "process" in the list -->
				<div ng-if="showLegend">
					<div
						ng-if="showLegend"
						id="circle"
						class="pull-left"
						ng-style="item.color"></div> <strong>{{item.process}}</strong> <i
					class="pull-right glyphicon glyphicon-ok"
					ng-show="item.wholeProcess"></i>
				</div>
				<div
					class="row"
					ng-if="showSlider">
					<div class="col-md-6">
						<strong>{{item.process}}</strong>
					</div>
					<div class="col-md-1">
						{{numberOfInstancesMap[item.process].numberOfClusters}}
					</div>
					<div class="col-md-5">
						<input
							ng-if="showSlider&&item.wholeProcess&&!(numberOfInstancesMap[item.process]==undefined)"
							ng-model="numberOfInstancesMap[item.process].numberOfClusters"
							type="range"
							min="0"
							max="{{numberOfInstancesMap[item.process][instances]}}"
							step="1" />
						<span ng-if= "numberOfInstancesMap[item.process]==undefined&&item.wholeProcess">no data available</span>
					</div>
				</div>
				<div
					ng-repeat="types in item.activityTypes"
					style="text-indent: 10px; font-style: italic;">
					<u>{{types.activityType}}</u> <a
						ng-if="showLegend"
						class="pull-right glyphicon glyphicon-remove"
						ng-click="removeFct({process: item.process, activityType: types.activityType, activity: undefined})"></a>
					<div
						ng-repeat="(actIndex,act) in types.activities"
						style="text-indent: 20px;">
						<div ng-if="showLegend">
							<div
								id="circle"
								class="pull-left"
								ng-style="act.color"></div> {{act.activity}} <a
							class="pull-right glyphicon glyphicon-remove"
							ng-click="removeFct({process: item.process, activityType: types.activityType, activity: act.activity})"></a>
						</div>
						<div
							class="row"
							ng-if="showSlider">
							<div class="col-md-6">{{act.activity}}</div>
							<div class="col-md-1">
							{{numberOfInstancesMap[act.activity].numberOfClusters}}
							</div>
							<div class="col-md-5">
								<input
									ng-if="showSlider&&!(numberOfInstancesMap[act.activity]==undefined)"
									ng-model = "numberOfInstancesMap[act.activity].numberOfClusters"
									type="range"
									min="0"
									max="{{numberOfInstancesMap[act.activity][instances]}}"
									step="1" />
								<span ng-if= "numberOfInstancesMap[act.activity]==undefined">no data available</span>
							</div>
						</div>
					</div>
				</div>
			</div>
			<br>
		</div>
	</div>
</div>
{'fraction_non_alphanumeric': 0.17298965329460883, 'fraction_numerical': 0.0054456344164095115, 'mean_word_length': 2.8397212543554007, 'pattern_counts': {'":': 0, '<': 115, '<?xml version=': 0, '>': 115, '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': '7254496', 'n_tokens_mistral': 2572, 'n_tokens_neox': 1792, 'n_words': 314}