<commit_before>package io.github.greyp9.arwo.core.expr.eval;

import io.github.greyp9.arwo.core.expr.Node;

import java.util.List;

public abstract class Evaluator {

    abstract Node evaluate(List<Node> operands);

    protected final void validateSize(final int size, final List<Node> nodes) {
        if (size != nodes.size()) {
            throw new IllegalArgumentException(String.format("Expected=%d, Actual=%d", size, nodes.size()));
        }
    }
}<commit_msg>prep for EnvironmentKey<commit_after>package io.github.greyp9.arwo.core.expr.eval;

import io.github.greyp9.arwo.core.expr.Node;

import java.util.List;

public abstract class Evaluator {

    protected abstract Node evaluate(List<Node> operands);

    protected final void validateSize(final int size, final List<Node> nodes) {
        if (size != nodes.size()) {
            throw new IllegalArgumentException(String.format("Expected=%d, Actual=%d", size, nodes.size()));
        }
    }
}
{'fraction_non_alphanumeric': 0.12681912681912683, 'fraction_numerical': 0.004158004158004158, 'mean_word_length': 3.7205882352941178, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7488835', 'n_tokens_mistral': 294, 'n_tokens_neox': 287, 'n_words': 67}