<commit_before>package abc.player;

import static org.junit.Assert.*;

import java.io.IOException;

import org.junit.Test;

public class PieceReaderTest {

    @Test(expected=AssertionError.class)
    public void testAssertionsEnabled() {
        assert false; // make sure assertions are enabled with VM argument: -ea
    }

    @Test
    public void testPieceReader() {
        String piece = "sample_abc/scale.abc";
        PieceReader pieceReader = new PieceReader(piece);
        String expected = "X:1\n" + "T:Simple scale\n" + "C:Unknown\n" +
                          "M:4/4\n" + "L:1/4\n" + "Q:1/4=120\n" + "K:C\n" +
                          "C D E F | G A B c | c B A G | F E D C |\n";
        try {
            String actual = pieceReader.readPiece();
            assertEquals(expected, actual);
        } catch (IOException ioe) {
            ioe.printStackTrace();
        }
        
    }

}<commit_msg>bug fix<commit_after>package abc.player;

import static org.junit.Assert.*;

import java.io.IOException;

import org.junit.Test;

public class PieceReaderTest {

    @Test(expected=AssertionError.class)
    public void testAssertionsEnabled() {
        assert false; // make sure assertions are enabled with VM argument: -ea
    }

    @Test
    public void testPieceReader() {
        String piece = "sample_abc/scale.abc";
        String expected = "X:1\n" + "T:Simple scale\n" + "C:Unknown\n" +
                          "M:4/4\n" + "L:1/4\n" + "Q:1/4=120\n" + "K:C\n" +
                          "C D E F | G A B c | c B A G | F E D C |\n";
        try {
            String actual = PieceReader.readPiece(piece);
            assertEquals(expected, actual);
        } catch (IOException ioe) {
            ioe.printStackTrace();
        }
        
    }

}
{'fraction_non_alphanumeric': 0.12605514912774338, 'fraction_numerical': 0.011254924029262802, 'mean_word_length': 1.9195402298850575, '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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3936295', 'n_tokens_mistral': 574, 'n_tokens_neox': 564, 'n_words': 147}