<commit_before>package paths.poj;

import java.util.*;
import java.math.*;
import org.jetbrains.annotations.*;

import static java.util.Arrays.*;
import static java.util.Collections.*;
import static java.util.stream.Collectors.*;

public class ExpressionCases
{
    private final String foo;
    private final SomeConcept somePath;
    private final List<SomeConcept> somePathList;

    public ExpressionCases(String foo, SomeConcept somePath, List<SomeConcept> somePathList)
    {
        this.foo = foo;
        this.somePath = somePath;
        this.somePathList = somePathList;
    }

    public String getFoo()
    {
        return this.foo;
    }

    public SomeConcept getSomePath()
    {
        return this.somePath;
    }

    public List<SomeConcept> getSomePathList()
    {
        return Collections.unmodifiableList(this.somePathList);
    }

    public ExpressionCases getSelfVar()
    {
        return this;
    }

    public String getSingleVar()
    {
        return getFoo();
    }

    public int getPathVar()
    {
        return getSomePath()
                   .getBar();
    }

    public BigDecimal getPathVar2()
    {
        return getSomePath()
                   .getOneMorePath()
                   .getEtc();
    }

    public List<BigDecimal> getPathVar3()
    {
        return getSomePathList()
                   .stream()
                   .map(someConcept -> someConcept.getOneMorePath())
                   .map(anotherConcept -> anotherConcept.getEtc())
                   .collect(toList());
    }

    public List<Integer> getPathBars()
    {
        return getSomePathList()
                   .stream()
                   .map(someConcept -> someConcept.getBar())
                   .collect(toList());
    }

    public String toString()
    {
        return new StringBuilder(ExpressionCases.class.getSimpleName())
                   .append('(')
                   .append("foo=").append(String.format("\"%s\"", getFoo())).append(", ")
                   .append("somePath=").append(String.format("\"%s\"", getSomePath())).append(", ")
                   .append("singleVar=").append(String.format("\"%s\"", getSingleVar())).append(", ")
                   .append("pathVar=").append(String.format("\"%s\"", getPathVar())).append(", ")
                   .append("pathVar2=").append(String.format("\"%s\"", getPathVar2())).append(", ")
                   .append("pathVar3=").append(getPathVar3()).append(", ")
                   .append("pathBars=").append(getPathBars())
                   .append(')')
                   .toString();
    }
}<commit_msg>Fixed expressions/paths test in cml_base.<commit_after>package paths.poj;

import java.util.*;
import java.math.*;
import org.jetbrains.annotations.*;

import static java.util.Arrays.*;
import static java.util.Collections.*;
import static java.util.stream.Collectors.*;

public class ExpressionCases
{
    private final String foo;
    private final SomeConcept somePath;
    private final List<SomeConcept> somePathList;

    public ExpressionCases(String foo, SomeConcept somePath, List<SomeConcept> somePathList)
    {
        this.foo = foo;
        this.somePath = somePath;
        this.somePathList = somePathList;
    }

    public String getFoo()
    {
        return this.foo;
    }

    public SomeConcept getSomePath()
    {
        return this.somePath;
    }

    public List<SomeConcept> getSomePathList()
    {
        return Collections.unmodifiableList(this.somePathList);
    }

    public ExpressionCases getSelfVar()
    {
        return this;
    }

    public String getSingleVar()
    {
        return getFoo();
    }

    public int getPathVar()
    {
        return getSomePath().getBar();
    }

    public BigDecimal getPathVar2()
    {
        return getSomePath().getOneMorePath().getEtc();
    }

    public List<BigDecimal> getPathVar3()
    {
        return getSomePathList()
                   .stream()
                   .map(someConcept -> someConcept.getOneMorePath())
                   .map(anotherConcept -> anotherConcept.getEtc())
                   .collect(toList());
    }

    public List<Integer> getPathBars()
    {
        return getSomePathList()
                   .stream()
                   .map(someConcept -> someConcept.getBar())
                   .collect(toList());
    }

    public String toString()
    {
        return new StringBuilder(ExpressionCases.class.getSimpleName())
                   .append('(')
                   .append("foo=").append(String.format("\"%s\"", getFoo())).append(", ")
                   .append("somePath=").append(String.format("\"%s\"", getSomePath())).append(", ")
                   .append("singleVar=").append(String.format("\"%s\"", getSingleVar())).append(", ")
                   .append("pathVar=").append(String.format("\"%s\"", getPathVar())).append(", ")
                   .append("pathVar2=").append(String.format("\"%s\"", getPathVar2())).append(", ")
                   .append("pathVar3=").append(getPathVar3()).append(", ")
                   .append("pathBars=").append(getPathBars())
                   .append(')')
                   .toString();
    }
}
{'fraction_non_alphanumeric': 0.14263625821414766, 'fraction_numerical': 0.0023192887514495554, 'mean_word_length': 2.0245470485096435, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 19, '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': '7327353', 'n_tokens_mistral': 1492, 'n_tokens_neox': 1437, 'n_words': 249}