<commit_before>/*
 * Author : <NAME>
 * Created: Feb 6, 2004
 */
package polyglot.pth;

import java.io.File;
import java.util.Date;
import java.util.Map;

/**
 * 
 */
public final class TestSuiteResult extends TestResult {
    private static final String RESULT_FILE_SUFFIX = ".results";
    /**
     * The results file is the script file, with a preceding period, and
     * RESULT_FILE_SUFFIX appended. 
     */
    protected static String getResultsFileName(File script) {
        String parent = "";
        if (script.getParent() != null) {
            parent = script.getParent() + File.separator;
        }
        return parent + '.' + script.getName() + RESULT_FILE_SUFFIX;
    }
    public final Map testResults;
    public TestSuiteResult(Test t, Date dateTestRun, Map testResults, Date dateLastSuccess) {
        super(t, dateTestRun, dateLastSuccess);
        this.testResults = testResults;
    }    
}<commit_msg>Don't make pth results file hidden.<commit_after>/*
 * Author : <NAME>
 * Created: Feb 6, 2004
 */
package polyglot.pth;

import java.io.File;
import java.util.Date;
import java.util.Map;

/**
 * 
 */
public final class TestSuiteResult extends TestResult {
    private static final String RESULT_FILE_SUFFIX = ".results";
    private static final String RESULT_FILE_PREFIX = "";
    /**
     * The name of the results file is the name of script file,
     * bracketed with RESULTS_FILE_PREFIX and RESULT_FILE_SUFFIX.
     */
    protected static String getResultsFileName(File script) {
        String parent = "";
        if (script.getParent() != null) {
            parent = script.getParent() + File.separator;
        }
        return parent + RESULT_FILE_PREFIX + script.getName() +
                        RESULT_FILE_SUFFIX;
    }
    public final Map testResults;
    public TestSuiteResult(Test t, Date dateTestRun, Map testResults, Date dateLastSuccess) {
        super(t, dateTestRun, dateLastSuccess);
        this.testResults = testResults;
    }    
}
{'fraction_non_alphanumeric': 0.09929789368104312, 'fraction_numerical': 0.0050150451354062184, 'mean_word_length': 2.7855787476280836, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1077950', 'n_tokens_mistral': 595, 'n_tokens_neox': 571, 'n_words': 166}