<commit_before>package simsos.simulation.component;

import java.util.ArrayList;

/**
 * Created by mgjin on 2017-06-29.
 */
public abstract class Message extends Action {
    private enum Purpose {InfoRequest, InfoReply, InfoDelivery, Suggest, SuggestReply, Order}

    private final ArrayList<Agent> receiverCandidates;

    public String sender;
    public ArrayList<Agent> receivers = new ArrayList<Agent>();

    public Purpose purpose;

    public Message(World world, Purpose purpose) {
        super(1);

        this.receiverCandidates = world.getAgents();
        this.purpose = purpose;
    }

    public void setSender(String name) {
        this.sender = name;
    }
<commit_msg>Make Message be instantiatable<commit_after>package simsos.simulation.component;

import java.util.ArrayList;

/**
 * Created by mgjin on 2017-06-29.
 */
public class Message extends Action {
    public enum Purpose {InfoRequest, InfoReply, InfoDelivery, Suggest, SuggestReply, Order}

    private final ArrayList<Agent> receiverCandidates;

    public String sender;
    public ArrayList<Agent> receivers = new ArrayList<Agent>();

    public Purpose purpose;

    public Message(World world, Purpose purpose) {
        super(1);

        this.receiverCandidates = world.getAgents();
        this.purpose = purpose;
    }

    public void setSender(String name) {
        this.sender = name;
    }

{'fraction_non_alphanumeric': 0.0905823148813803, 'fraction_numerical': 0.012940330697340043, 'mean_word_length': 3.3636363636363638, 'pattern_counts': {'":': 0, '<': 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': '4888493', 'n_tokens_mistral': 411, 'n_tokens_neox': 370, 'n_words': 112}