<commit_before>package cabinet;

// TODO Clean up imports!
import java.util.*;
import java.util.List;
import java.io.*;
import java.awt.*;

public abstract class Item
	implements Comparable<Item>
{
	/* Variable Members */
	private			String		title; // the name of the item
	private			File		file; // the full location of the related file
	
	private			Set<String> tags; // user-input tags
	private			String		type; // user-input type of item that it is (unrelated to its concrete Class)
	private 		String		uuid; // universally unique identifier
	
	private static final String notag = "none"; // used when there are no members for "tags"
	private static	Set<String> types = new TreeSet<>(); // Stores built-in types of Items
	static
	{
		types.add("literature");
		types.add("course materials");
		types.add("notes");
		types.add("other");
		types.add("n/a");
	}

	/* Constructors */
	Item(String tit, File loc)
	{
		title = "";
		
		tags = new TreeSet<>();
		tags.add(notag);
		
		type = "n/a";
		
		file = new File(loc, tit);
		
		uuid = UUID.randomUUID().toString();
	}
	
	Item(String tit, File loc, String ... tgs)
	{
		title = tit;<commit_msg>Deprecated item's uuid<commit_after>package cabinet;

// TODO Clean up imports!
import java.util.*;
import java.util.List;
import java.io.*;
import java.awt.*;

public abstract class Item
	implements Comparable<Item>
{
	/* Variable Members */
	private			String		title; // the name of the item
	private			File		file; // the full location of the related file
	
	private			Set<String> tags; // user-input tags
	private			String		type; // user-input type of item that it is (unrelated to its concrete Class)
	private 		String		uuid; // universally unique identifier (deprecated)
	
	private static final String notag = "none"; // used when there are no members for "tags"
	private static	Set<String> types = new TreeSet<>(); // Stores built-in types of Items
	static
	{
		types.add("literature");
		types.add("course materials");
		types.add("notes");
		types.add("other");
		types.add("n/a");
	}

	/* Constructors */
	Item(String tit, File loc)
	{
		title = "";
		
		tags = new TreeSet<>();
		tags.add(notag);
		
		type = "n/a";
		
		file = new File(loc, tit);
		
		uuid = UUID.randomUUID().toString();
	}
	
	Item(String tit, File loc, String ... tgs)
	{
		title = tit;
{'fraction_non_alphanumeric': 0.13388214904679377, 'fraction_numerical': 0.0, 'mean_word_length': 3.2135036496350367, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '5349383', 'n_tokens_mistral': 807, 'n_tokens_neox': 725, 'n_words': 250}