<commit_before><table class="table table-list" n:inner-foreach="$listData as $k=>$v">
		{first}
	<tr class="table-head" n:inner-foreach="is_null($columnsHead)?$columns:$columnsHead as $k2=>$v2">
		{var $columnName=is_numeric($k2)?$v2:$k2}
		{var $columnValue=is_scalar($v2)?$v2:$k2}

			{if isset($sort[$columnName])}
		<th>{control filter:sortLink $columnName, $columnValue}</th>
			{else}
		<th>{$columnName}</th>
			{/if}
			{last}
		<th>&nbsp;</th>
			{/last}
	</tr>
	<tr class="table-filter" n:if="count($filter)>0">
		{form filter-form}
				{foreach $columns as $k2=>$v2}
					{var $columnName=is_numeric($k2)?$v2:$k2}
			<td>{if isset($filter[$columnName])}{input $columnName}{/if}</td>
				{/foreach}
			<td>{input send}</td>
		{/form}
	</tr>
		{/first}
	<tr n:class="list-item, $iterator->isEven()?odd:even" n:inner-foreach="$columns as $k2=>$v2">
		{var $columnName=is_numeric($k2)?$v2:$k2}
		{var $columnValue=is_callable($v2)?$v2($v):$v[$columnName]}

		<td>{$columnValue}</td>
			{last}
		<td n:inner-foreach="$actionButtons as $k2=>$v2">
			<span><a href="{$v2($v)}">{$k2}</a></span>
		</td>
			{/last}
	</tr>
</table>
{control filter-paging}
<commit_msg>Fix foreach level<commit_after><table class="table table-list" n:inner-foreach="$listData as $k=>$v">
		{first}
	<tr class="table-head" n:inner-foreach="is_null($columnsHead)?$columns:$columnsHead as $k2=>$v2">
		{var $columnName=is_numeric($k2)?$v2:$k2}
		{var $columnValue=is_scalar($v2)?$v2:$k2}

			{if isset($sort[$columnName])}
		<th>{control filter:sortLink $columnName, $columnValue}</th>
			{else}
		<th>{$columnName}</th>
			{/if}
			{last}
		<th>&nbsp;</th>
			{/last}
	</tr>
	<tr class="table-filter" n:if="count($filter)>0">
		{form filter-form}
				{foreach $columns as $k2=>$v2}
					{var $columnName=is_numeric($k2)?$v2:$k2}
			<td>{if isset($filter[$columnName])}{input $columnName}{/if}</td>
				{/foreach}
			<td>{input send}</td>
		{/form}
	</tr>
		{/first}
	<tr n:class="list-item, $iterator->isEven()?odd:even" n:inner-foreach="$columns as $k2=>$v2">
		{var $columnName=is_numeric($k2)?$v2:$k2}
		{var $columnValue=is_callable($v2)?$v2($v):$v[$columnName]}

		<td>{$columnValue}</td>
			{last}
		<td n:inner-foreach="$actionButtons as $k3=>$v3">
			<span><a href="{$v3($v)}">{$k3}</a></span>
		</td>
			{/last}
	</tr>
</table>
{control filter-paging}

{'fraction_non_alphanumeric': 0.25362937660119556, 'fraction_numerical': 0.02134927412467976, 'mean_word_length': 5.349593495934959, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 69, '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': '629437', 'n_tokens_mistral': 1097, 'n_tokens_neox': 1000, 'n_words': 148}