<commit_before><?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="root">
<div id="openid" style="display:none">
	<xsl:value-of select="//opid"/>
</div>
<xsl:if test="host">
	<div>
		<table class="ListTable">
			<xsl:for-each select="//svc">
		        <tr class="list_one">
					<td class='ListColLeft' valign="top" align='center'> <b>Service : <xsl:value-of select="name"/></b></td>
					<td style="text-align:right;width:42px;">
						<xsl:element name="a">
							<xsl:attribute name="href">./include/views/graphs/exportData/ExportCSVServiceData.php?index=<xsl:value-of select="//index"/>&amp;sid=<xsl:value-of select="//sid"/>&amp;end=<xsl:value-of select="//end"/>&amp;start=<xsl:value-of select="//start"/>&amp;flagperiod=<xsl:value-of select="//flagperiod"/></xsl:attribute>
							<img src="./img/icones/16x16/text_binary_csv.gif"/>
						</xsl:element>
					</td>
				</tr>
				<tr>
	    			<td class='ListColCenter' valign="top" align='center'>
				    	<div id="imggraph">
							<xsl:if test="split = 0">
								<xsl:element name="a">
									<xsl:attribute name="onClick">graph_4_host('HS_<xsl:value-of select="service_id"/>', ''); return false;</xsl:attribute>
									<xsl:attribute name="href">#</xsl:attribute>
									<xsl:element name="img">
									  	<xsl:attribute name="src">./include/views/graphs/graphODS/generateImages/generateODSImage.php?session_id=<xsl:value-of select="//sid"/>&amp;index=<xsl:value-of select="index"/>&amp;end=<xsl:value-of select="//end"/>&amp;start=<xsl:value-of select="//start"/>&amp;flagperiod=<xsl:value-of select="//flagperiod"/></xsl:attribute>
									</xsl:element>
								</xsl:element>
							</xsl:if>
							<xsl:if test="split = 1">
								<xsl:for-each select="//metric">
									<xsl:element name="a">
										<xsl:attribute name="onClick">graph_4_host('HS_<xsl:value-of select="//service_id"/>', ''); return false;</xsl:attribute>
										<xsl:attribute name="href">#</xsl:attribute>
											<xsl:element name="img">
										  		<xsl:attribute name="src">./include/views/graphs/graphODS/generateImages/generateODSMetricImage.php?session_id=<xsl:value-of select="//sid"/>&amp;cpt=1&amp;metric=<xsl:value-of select="metric_id"/>&amp;end=<xsl:value-of select="//end"/>&amp;start=<xsl:value-of select="//start"/>&amp;flagperiod=<xsl:value-of select="//flagperiod"/></xsl:attribute>
											</xsl:element>
										</xsl:element>
									<br/>
								</xsl:for-each>
							</xsl:if>
						 <br/>
						 </div> 
					</td>
				</tr>			
			</xsl:for-each>
	    </table>
	</div>
</xsl:if>
<xsl:if test="svc">
	<div id="div2"   valign="top" align='left'>
		<form name="formu2">
    	    <table class="ajaxOption">
				<tr>
           		<td>
					<xsl:element name='input'>
						<xsl:attribute name="onClick">graph_4_host('<xsl:value-of select="//opid"/>',multi); return false;</xsl:attribute>
						<xsl:attribute name="name">split</xsl:attribute>
						<xsl:attribute name="type">checkbox</xsl:attribute>
						<xsl:if test="//split = 1">
							<xsl:attribute name="checked">checked</xsl:attribute>
						</xsl:if>
					</xsl:element>
					<xsl:value-of select="//lang/giv_split_component"/>
           		</td>
				</tr>
        	</table>
		</form>
   	</div>
	<div>
		<table class="ListTable">
	       <xsl:for-each select="//period">
		        <tr class="list_one">
					<td class='ListColLeft' valign="top" align='center'> <xsl:value-of select="name"/></td>
					<td style="text-align:right;width:42px;">
						<xsl:element name="a">
							<xsl:attribute name="href">./include/views/graphs/exportData/ExportCSVServiceData.php?index=<xsl:value-of select="//index"/>&amp;sid=<xsl:value-of select="//sid"/>&amp;end=<xsl:value-of select="//end"/>&amp;start=<xsl:value-of select="//start"/>&amp;flagperiod=<xsl:value-of select="//flagperiod"/></xsl:attribute>
							<img src="./img/icones/16x16/text_binary_csv.gif"/>
						</xsl:element>

					</td>
				</tr>
				<tr>
	    			<td class='ListColCenter' valign="top" align='center'>
				    	<div id="imggraph">
							<xsl:variable name= "mstart">
								<xsl:value-of select="start"/>
							</xsl:variable>
							<xsl:if test="//split = 0">
								<xsl:element name="a">
								<xsl:attribute name="onClick">graph_4_host('<xsl:value-of select="//zoom_type"/><xsl:value-of select="//id"/>', ''); return false;</xsl:attribute>
								<xsl:attribute name="href">#</xsl:attribute>
									<xsl:element name="img">
									  	<xsl:attribute name="src">./include/views/graphs/graphODS/generateImages/generateODSImage.php?session_id=<xsl:value-of select="//sid"/>&amp;index=<xsl:value-of select="//index"/>&amp;end=<xsl:value-of select="end"/>&amp;start=<xsl:value-of select="start"/>&amp;flagperiod=<xsl:value-of select="//flagperiod"/></xsl:attribute>
									</xsl:element>
							</xsl:element>
						</xsl:if>
					<xsl:if test="//split = 1">
				<xsl:for-each select="metric">
					<xsl:element name="a">
						<xsl:attribute name="onClick">graph_4_host('<xsl:value-of select="//zoom_type"/><xsl:value-of select="//id"/>', ''); return false;</xsl:attribute>
						<xsl:attribute name="href">#</xsl:attribute>
						<xsl:element name="img">
							<xsl:attribute name="src">./include/views/graphs/graphODS/generateImages/generateODSMetricImage.php?session_id=<xsl:value-of select="//sid"/>&amp;cpt=1&amp;metric=<xsl:value-of select="metric_id"/>&amp;end=<xsl:value-of select="//end"/>&amp;start=<xsl:value-of select="$mstart"/>&amp;flagperiod=<xsl:value-of select="//flagperiod"/></xsl:attribute>
						</xsl:element>
					</xsl:element>
					<br/>
				</xsl:for-each>
			</xsl:if>
			 <br/>
		 </div> 
		</td>
	</tr>			
	</xsl:for-each>
	    </table>
	</div>
</xsl:if><commit_msg>remove bug in a special case for GTM compute.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="root">
<div id="openid" style="display:none">
	<xsl:value-of select="//opid"/>
</div>
<xsl:if test="host">
	<div>
		<table class="ListTable">
			<xsl:for-each select="//svc">
		        <tr class="list_one">
					<td class='ListColLeft' valign="top" align='center'> <b>Service : <xsl:value-of select="name"/></b></td>
					<td style="text-align:right;width:42px;">
						<xsl:element name="a">
							<xsl:attribute name="href">./include/views/graphs/exportData/ExportCSVServiceData.php?index=<xsl:value-of select="//index"/>&amp;sid=<xsl:value-of select="//sid"/>&amp;end=<xsl:value-of select="//end"/>&amp;start=<xsl:value-of select="//start"/>&amp;flagperiod=<xsl:value-of select="//flagperiod"/></xsl:attribute>
							<img src="./img/icones/16x16/text_binary_csv.gif"/>
						</xsl:element>
					</td>
				</tr>
				<tr>
	    			<td class='ListColCenter' valign="top" align='center'>
				    	<div id="imggraph">
							<xsl:if test="split = 0">
								<xsl:element name="a">
									<xsl:attribute name="onClick">graph_4_host('HS_<xsl:value-of select="service_id"/>', ''); return false;</xsl:attribute>
									<xsl:attribute name="href">#</xsl:attribute>
									<xsl:element name="img">
									  	<xsl:attribute name="src">./include/views/graphs/graphODS/generateImages/generateODSImage.php?session_id=<xsl:value-of select="//sid"/>&amp;index=<xsl:value-of select="index"/>&amp;end=<xsl:value-of select="//end"/>&amp;start=<xsl:value-of select="//start"/>&amp;flagperiod=<xsl:value-of select="//flagperiod"/></xsl:attribute>
									</xsl:element>
								</xsl:element>
							</xsl:if>
							<xsl:if test="split = 1">
								<xsl:for-each select="//metric">
									<xsl:element name="a">
										<xsl:attribute name="onClick">graph_4_host('HS_<xsl:value-of select="//service_id"/>', ''); return false;</xsl:attribute>
										<xsl:attribute name="href">#</xsl:attribute>
											<xsl:element name="img">
										  		<xsl:attribute name="src">./include/views/graphs/graphODS/generateImages/generateODSMetricImage.php?session_id=<xsl:value-of select="//sid"/>&amp;cpt=1&amp;metric=<xsl:value-of select="metric_id"/>&amp;end=<xsl:value-of select="//end"/>&amp;start=<xsl:value-of select="//start"/>&amp;flagperiod=<xsl:value-of select="//flagperiod"/></xsl:attribute>
											</xsl:element>
										</xsl:element>
									<br/>
								</xsl:for-each>
							</xsl:if>
						 <br/>
						 </div> 
					</td>
				</tr>			
			</xsl:for-each>
	    </table>
	</div>
</xsl:if>
<xsl:if test="svc">
	<div id="div2"   valign="top" align='left'>
		<form name="formu2">
    	    <table class="ajaxOption">
				<tr>
           		<td>
					<xsl:element name='input'>
						<xsl:attribute name="onClick">graph_4_host('<xsl:value-of select="//opid"/>',multi); return false;</xsl:attribute>
						<xsl:attribute name="name">split</xsl:attribute>
						<xsl:attribute name="type">checkbox</xsl:attribute>
						<xsl:if test="//split = 1">
							<xsl:attribute name="checked">checked</xsl:attribute>
						</xsl:if>
					</xsl:element>
					<xsl:value-of select="//lang/giv_split_component"/>
           		</td>
				</tr>
        	</table>
		</form>
   	</div>
	<div>
		<table class="ListTable">
	       <xsl:for-each select="//period">
		        <tr class="list_one">
					<td class='ListColLeft' valign="top" align='center'> <xsl:value-of select="name"/></td>
					<td style="text-align:right;width:42px;">
						<xsl:element name="a">
							<xsl:attribute name="href">./include/views/graphs/exportData/ExportCSVServiceData.php?index=<xsl:value-of select="//index"/>&amp;sid=<xsl:value-of select="//sid"/>&amp;end=<xsl:value-of select="//end"/>&amp;start=<xsl:value-of select="//start"/>&amp;flagperiod=1</xsl:attribute>
							<img src="./img/icones/16x16/text_binary_csv.gif"/>
						</xsl:element>

					</td>
				</tr>
				<tr>
	    			<td class='ListColCenter' valign="top" align='center'>
				    	<div id="imggraph">
							<xsl:variable name= "mstart">
								<xsl:value-of select="start"/>
							</xsl:variable>
							<xsl:if test="//split = 0">
								<xsl:element name="a">
								<xsl:attribute name="onClick">graph_4_host('<xsl:value-of select="//zoom_type"/><xsl:value-of select="//id"/>', ''); return false;</xsl:attribute>
								<xsl:attribute name="href">#</xsl:attribute>
									<xsl:element name="img">
									  	<xsl:attribute name="src">./include/views/graphs/graphODS/generateImages/generateODSImage.php?session_id=<xsl:value-of select="//sid"/>&amp;index=<xsl:value-of select="//index"/>&amp;end=<xsl:value-of select="end"/>&amp;start=<xsl:value-of select="start"/>&amp;flagperiod=1</xsl:attribute>
									</xsl:element>
							</xsl:element>
						</xsl:if>
					<xsl:if test="//split = 1">
				<xsl:for-each select="metric">
					<xsl:element name="a">
						<xsl:attribute name="onClick">graph_4_host('<xsl:value-of select="//zoom_type"/><xsl:value-of select="//id"/>', ''); return false;</xsl:attribute>
						<xsl:attribute name="href">#</xsl:attribute>
						<xsl:element name="img">
							<xsl:attribute name="src">./include/views/graphs/graphODS/generateImages/generateODSMetricImage.php?session_id=<xsl:value-of select="//sid"/>&amp;cpt=1&amp;metric=<xsl:value-of select="metric_id"/>&amp;end=<xsl:value-of select="//end"/>&amp;start=<xsl:value-of select="$mstart"/>&amp;flagperiod=1</xsl:attribute>
						</xsl:element>
					</xsl:element>
					<br/>
				</xsl:for-each>
			</xsl:if>
			 <br/>
		 </div> 
		</td>
	</tr>			
	</xsl:for-each>
	    </table>
	</div>
</xsl:if>
{'fraction_non_alphanumeric': 0.22332871492899203, 'fraction_numerical': 0.006494631104953239, 'mean_word_length': 3.573861386138614, 'pattern_counts': {'":': 0, '<': 358, '<?xml version=': 2, '>': 358, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, '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': '5389580', 'n_tokens_mistral': 5315, 'n_tokens_neox': 4049, 'n_words': 512}