<commit_before><div class="nbtContentPanel nbtGreyGradient">
	<h2>
		<img src="<?php echo SITE_URL; ?>images/assignments.png" class="nbtTitleImage">
		Manage extraction assignments
	</h2>
	<table class="nbtTabledData">
		<tr class="nbtTableHeaders">
			<td>Reference set</td>
			<td>View all assignments</td>
		</tr>
		<?php

		$allrefsets = nbt_get_all_ref_sets ();

		foreach ( $allrefsets as $refset ) {

			?><tr>
				<td><?php echo $refset['name']; ?></td>
				<td><a href="<?php echo SITE_URL; ?>assignments/?action=viewrefset&refset=<?php echo $refset['id']; ?>">View</a></td>
			</tr><?php

		}

		?>
		<tr>
			<td colspan="2"><button onclick="window.open('<?php echo SITE_URL; ?>assignments/?action=new','_self');">Add new assignments</button></td>
		</tr>
	</table>

	<div class="nbtHidden nbtFeedbackGood nbtFeedback nbtFinePrint" id="nbtPrivilegeFeedback">&nbsp;</div>

</div><commit_msg>Removed button for old assignment editor<commit_after><div class="nbtContentPanel nbtGreyGradient">
	<h2>
		<img src="<?php echo SITE_URL; ?>images/assignments.png" class="nbtTitleImage">
		Manage extraction assignments
	</h2>
	<table class="nbtTabledData">
		<tr class="nbtTableHeaders">
			<td>Reference set</td>
			<td>View all assignments</td>
		</tr>
		<?php

		$allrefsets = nbt_get_all_ref_sets ();

		foreach ( $allrefsets as $refset ) {

			?><tr>
				<td><?php echo $refset['name']; ?></td>
				<td><a href="<?php echo SITE_URL; ?>assignments/?action=viewrefset&refset=<?php echo $refset['id']; ?>">View</a></td>
			</tr><?php

		}

		?>
	</table>

	<div class="nbtHidden nbtFeedbackGood nbtFeedback nbtFinePrint" id="nbtPrivilegeFeedback">&nbsp;</div>

</div>
{'fraction_non_alphanumeric': 0.19281437125748502, 'fraction_numerical': 0.0029940119760479044, 'mean_word_length': 5.098540145985401, 'pattern_counts': {'":': 0, '<': 68, '<?xml version=': 0, '>': 68, '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': '2331410', 'n_tokens_mistral': 687, 'n_tokens_neox': 624, 'n_words': 120}