<commit_before>package org.pikater.core.options.virtual;

import org.pikater.core.agents.experiment.virtual.Agent_VirtualFileInputBoxProvider;
import org.pikater.core.ontology.subtrees.agentInfo.AgentInfo;
import org.pikater.core.ontology.subtrees.agentInfo.Slot;
import org.pikater.core.ontology.subtrees.agentInfo.slotTypes.SlotTypes;
import org.pikater.core.ontology.subtrees.batchDescription.FileDataProvider;
import org.pikater.core.ontology.subtrees.newOption.base.NewOption;
import org.pikater.core.ontology.subtrees.newOption.values.StringValue;

public class FileInput_Box {
	
	public static AgentInfo get() {

		AgentInfo agentInfo = new AgentInfo();
		agentInfo.importAgentClass(Agent_VirtualFileInputBoxProvider.class);
		agentInfo.importOntologyClass(FileDataProvider.class);
	
		agentInfo.setName("FileInput");
		agentInfo.setDescription("This box provides a data source to other boxes.");

		NewOption optionIN = new NewOption("File", new StringValue("inputFile.ARFF"));
		optionIN.setDescription("File name");
		
		agentInfo.addOption(optionIN);
		
		Slot outputSlot = new Slot();
		outputSlot.setSlotType(SlotTypes.DATA_TYPE);
		outputSlot.setDataType("fileData");
		
		agentInfo.addOutputSlot(outputSlot);

		return agentInfo;
	}

}<commit_msg>FileInput_Box Bug fix<commit_after>package org.pikater.core.options.virtual;

import org.pikater.core.agents.experiment.virtual.Agent_VirtualFileInputBoxProvider;
import org.pikater.core.ontology.subtrees.agentInfo.AgentInfo;
import org.pikater.core.ontology.subtrees.agentInfo.Slot;
import org.pikater.core.ontology.subtrees.agentInfo.slotTypes.SlotTypes;
import org.pikater.core.ontology.subtrees.batchDescription.FileDataProvider;
import org.pikater.core.ontology.subtrees.newOption.base.NewOption;
import org.pikater.core.ontology.subtrees.newOption.values.StringValue;

public class FileInput_Box {
	
	public static AgentInfo get() {

		AgentInfo agentInfo = new AgentInfo();
		agentInfo.importAgentClass(Agent_VirtualFileInputBoxProvider.class);
		agentInfo.importOntologyClass(FileDataProvider.class);
	
		agentInfo.setName("FileInput");
		agentInfo.setDescription("This box provides a data source to other boxes.");

		NewOption optionIN = new NewOption("fileURI", new StringValue("inputFile.ARFF"));
		optionIN.setDescription("File name");
		
		agentInfo.addOption(optionIN);
		
		Slot outputSlot = new Slot();
		outputSlot.setSlotType(SlotTypes.DATA_TYPE);
		outputSlot.setDataType("fileData");
		
		agentInfo.addOutputSlot(outputSlot);

		return agentInfo;
	}

}
{'fraction_non_alphanumeric': 0.10650887573964497, 'fraction_numerical': 0.0, 'mean_word_length': 6.26647564469914, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5649800', 'n_tokens_mistral': 851, 'n_tokens_neox': 781, 'n_words': 116}