<commit_before><?php
	echo $this->element('side_menu', array('menuList' => 'galaxies', 'menuItem' => 'view_cluster'));
?>
<div class="galaxy view">
	<div class="row-fluid">
		<div class="span8">
			<h2>
				<?php echo isset($cluster['Galax']['name']) ? h($cluster['Galaxy']['name']) : h($cluster['GalaxyCluster']['type']) . ': ' . $cluster['GalaxyCluster']['value']; ?>
			</h2>
			<dl>
				<dt>Cluster ID</dt>
				<dd><?php echo h($cluster['GalaxyCluster']['id']); ?></dd>
				<dt>Name</dt>
				<dd><?php echo h($cluster['GalaxyCluster']['value']); ?></dd>
				<dt>Parent Galaxy</dt>
				<dd><?php echo $cluster['Galaxy']['name'] ? h($cluster['Galaxy']['name']) : h($cluster['Galaxy']['type']); ?></dd>
				<dt>Description</dt>
				<dd><?php echo h($cluster['GalaxyCluster']['description']); ?>&nbsp;</dd>
				<dt>Source</dt>
				<dd><?php echo h($cluster['GalaxyCluster']['source']); ?>&nbsp;</dd>
				<dt>Authors</dt>
				<dd>
					<?php
						$authors = json_decode($cluster['GalaxyCluster']['authors']);
						if (!empty($authors)) {
							echo implode(', ', $authors);
						} else {
							echo 'N/A';
						}
					?>
				</dd>
				<dt>Events</dt>
				<dd>
					<?php
						if (isset($cluster['GalaxyCluster']['tag_count'])):
					?><commit_msg>chg: Show connector tag on the cluster view<commit_after><?php
	echo $this->element('side_menu', array('menuList' => 'galaxies', 'menuItem' => 'view_cluster'));
?>
<div class="galaxy view">
	<div class="row-fluid">
		<div class="span8">
			<h2>
				<?php echo isset($cluster['Galax']['name']) ? h($cluster['Galaxy']['name']) : h($cluster['GalaxyCluster']['type']) . ': ' . $cluster['GalaxyCluster']['value']; ?>
			</h2>
			<dl>
				<dt>Cluster ID</dt>
				<dd><?php echo h($cluster['GalaxyCluster']['id']); ?></dd>
				<dt>Name</dt>
				<dd><?php echo h($cluster['GalaxyCluster']['value']); ?></dd>
				<dt>Parent Galaxy</dt>
				<dd><?php echo $cluster['Galaxy']['name'] ? h($cluster['Galaxy']['name']) : h($cluster['Galaxy']['type']); ?></dd>
				<dt>Description</dt>
				<dd><?php echo h($cluster['GalaxyCluster']['description']); ?>&nbsp;</dd>
				<dt>Source</dt>
				<dd><?php echo h($cluster['GalaxyCluster']['source']); ?>&nbsp;</dd>
				<dt>Authors</dt>
				<dd>
					<?php
						$authors = json_decode($cluster['GalaxyCluster']['authors']);
						if (!empty($authors)) {
							echo implode(', ', $authors);
						} else {
							echo 'N/A';
						}
					?>
				</dd>
				<dt>Connector tag</dt>
				<dd><?php echo h($cluster['GalaxyCluster']['tag_name']); ?></dd>
				<dt>Events</dt>
				<dd>
					<?php
						if (isset($cluster['GalaxyCluster']['tag_count'])):
					?>
{'fraction_non_alphanumeric': 0.26785714285714285, 'fraction_numerical': 0.0022796352583586625, 'mean_word_length': 4.0248091603053435, 'pattern_counts': {'":': 0, '<': 92, '<?xml version=': 0, '>': 98, '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': '7636998', 'n_tokens_mistral': 1157, 'n_tokens_neox': 916, 'n_words': 155}