<commit_before>{strip}
{if $heading ne 'n'}
{if $showItemId ne 'n'}
{assign var='comma' value='y'}
{$delimitorL}itemId{$delimitorR}
{/if}
{if $showStatus ne 'n'}
	{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
	{$delimitorL}status{$delimitorR}
{/if}
{if $showCreated ne 'n'}
	{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
	{$delimitorL}created{$delimitorR}
{/if}
{if $showLastModif ne 'n'}
	{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
	{$delimitorL}lastModif{$delimitorR}
{/if}
{if !empty($listfields)}
	{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
{foreach item=field key=fieldId from=$listfields name=list}
	{$delimitorL}{$field.name} -- {$fieldId}{$delimitorR}
	{if !$smarty.foreach.list.last}{$separator}{/if}
{/foreach}
{/if}
{assign var='comma' value='n'}
{/strip}
{strip}
{/if}
{foreach from=$items item=item}
{if $showItemId ne 'n'}
{assign var='comma' value='y'}
{$delimitorL}{$item.itemId}{$delimitorR}
{/if}
{if $showStatus eq 'y'}
	{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
	{$delimitorL}{$item.status}{$delimitorR}
{/if}
{if $showCreated ne 'n'}
	{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
	{$delimitorL}{$item.created|tiki_short_datetime}{$delimitorR}
{/if}
{if $showLastModif ne 'n'}
	{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
	{$delimitorL}{$item.lastModif|tiki_short_datetime}{$delimitorR}
{/if}
{if !empty($listfields)}
{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
{foreach item=field_value from=$item.field_values name=list}
	{if $field_value.isHidden ne 'c' or $item.creator eq $user or $tiki_p_admin_trackers eq 'y'}
		{capture name="line"}{include file="tracker_item_field_value.tpl" list_mode='csv' showlinks='n'}{/capture}{$delimitorL}{$smarty.capture.line|replace:"\r\n":"`$CR`"|replace:"\n":"`$CR`"|replace:"<br />":"`$CR`"|replace:"`$delimitorL`":"`$delimitorL``$delimitorL`"|replace:"`$delimitorR`":"`$delimitorR``$delimitorR`"}{$delimitorR}
	{else}
		{$delimitorL}{$delimitorR}
	{/if}
	{if !$smarty.foreach.list.last}{$separator}{/if}
{/foreach}
{/if}
{/strip}
{/foreach}<commit_msg>[FIX]tracker: no comma if not begins with itemId<commit_after>{strip}
{if $heading ne 'n'}
{if $showItemId ne 'n'}
{assign var='comma' value='y'}
{$delimitorL}itemId{$delimitorR}
{/if}
{if $showStatus ne 'n'}
	{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
	{$delimitorL}status{$delimitorR}
{/if}
{if $showCreated ne 'n'}
	{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
	{$delimitorL}created{$delimitorR}
{/if}
{if $showLastModif ne 'n'}
	{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
	{$delimitorL}lastModif{$delimitorR}
{/if}
{if !empty($listfields)}
	{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
{foreach item=field key=fieldId from=$listfields name=list}
	{$delimitorL}{$field.name} -- {$fieldId}{$delimitorR}
	{if !$smarty.foreach.list.last}{$separator}{/if}
{/foreach}
{/if}
{assign var='comma' value='n'}
{/strip}
{strip}
{/if}
{foreach from=$items item=item}
{assign var='comma' value='n'}
{if $showItemId ne 'n'}
{assign var='comma' value='y'}
{$delimitorL}{$item.itemId}{$delimitorR}
{/if}
{if $showStatus eq 'y'}
	{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
	{$delimitorL}{$item.status}{$delimitorR}
{/if}
{if $showCreated ne 'n'}
	{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
	{$delimitorL}{$item.created|tiki_short_datetime}{$delimitorR}
{/if}
{if $showLastModif ne 'n'}
	{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
	{$delimitorL}{$item.lastModif|tiki_short_datetime}{$delimitorR}
{/if}
{if !empty($listfields)}
{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
{foreach item=field_value from=$item.field_values name=list}
	{if $field_value.isHidden ne 'c' or $item.creator eq $user or $tiki_p_admin_trackers eq 'y'}
		{capture name="line"}{include file="tracker_item_field_value.tpl" list_mode='csv' showlinks='n'}{/capture}{$delimitorL}{$smarty.capture.line|replace:"\r\n":"`$CR`"|replace:"\n":"`$CR`"|replace:"<br />":"`$CR`"|replace:"`$delimitorL`":"`$delimitorL``$delimitorL`"|replace:"`$delimitorR`":"`$delimitorR``$delimitorR`"}{$delimitorR}
	{else}
		{$delimitorL}{$delimitorR}
	{/if}
	{if !$smarty.foreach.list.last}{$separator}{/if}
{/foreach}
{/if}
{/strip}
{/foreach}
{'fraction_non_alphanumeric': 0.2459197176885752, 'fraction_numerical': 0.0, 'mean_word_length': 8.389233954451345, 'pattern_counts': {'":': 10, '<': 5, '<?xml version=': 0, '>': 5, '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': '2211504', 'n_tokens_mistral': 1981, 'n_tokens_neox': 1889, 'n_words': 333}