<commit_before>package data;

import java.util.ArrayList;

import lifecycle.StatusManager.Status;

public class Artifact implements Comparable<Artifact> {

	public enum Type { GENERATED, RESULT }
	public enum Action { LEAVE, COPY, MOVE }
	
	public String type;
	public String name;
	public String description;
	public Status status;
	
	public ArrayList<Attachment> attachments;
	
	public Artifact(String type, String name){
		
		this.type = type;
		this.name = name;
		description = "";
		status = Status.UNDEFINED;
		attachments = new ArrayList<Attachment>();
	}
	
	public class Attachment {
		
		public String name;
		public String description;
		public String path;
		public Action action;
		
		public Attachment(String name, String path, Action action){
			
			this.name = name;
			description = "";
			this.path = path;
			this.action = action;
		}
	}

	@Override
	public int compareTo(Artifact o) {
		return (type+"::"+name).compareTo((o.type+"::"+o.name));
	}
}
<commit_msg>chaged artifact for default type<commit_after>package data;

import java.util.ArrayList;

import lifecycle.StatusManager.Status;

public class Artifact implements Comparable<Artifact> {

	public static final String DEFAULT_TYPE = "DEFAULT";

	public enum Action { KEEP, COPY, MOVE }
	
	public String type;
	public String name;
	public String description;
	public Status status;
	
	public ArrayList<Attachment> attachments;
	
	public Artifact(String name){
		
		this.name = name;
		type = DEFAULT_TYPE;
		description = "";
		status = Status.UNDEFINED;
		attachments = new ArrayList<Attachment>();
	}
	
	public class Attachment {
		
		public String name;
		public String description;
		public String path;
		public Action action;
		
		public Attachment(String name, String path, Action action){
			
			this.name = name;
			description = "";
			this.path = path;
			this.action = action;
		}
	}

	@Override
	public int compareTo(Artifact o) {
		return (type+"::"+name).compareTo((o.type+"::"+o.name));
	}
}

{'fraction_non_alphanumeric': 0.0994236311239193, 'fraction_numerical': 0.0, 'mean_word_length': 3.166, 'pattern_counts': {'":': 4, '<': 9, '<?xml version=': 0, '>': 9, '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': '3182376', 'n_tokens_mistral': 706, 'n_tokens_neox': 603, 'n_words': 179}