<commit_before>package org.marc4j.test;

import org.junit.Test;
import org.marc4j.marc.*;
import org.marc4j.test.utils.StaticTestRecords;

import java.util.List;

import static org.junit.Assert.*;

public class RecordTest  {

    Record record = StaticTestRecords.getSummerlandRecord();

    @Test
    public void tempFailer() {
        fail("fail to make sure travis is noticing test-fails");
    }
    @Test
    public void testGetFields() {
        String cn = record.getControlNumber();
        assertEquals("12883376", cn);

        ControlField cf = record.getControlNumberField();
        assertEquals("001", cf.getTag());
        assertEquals("12883376", cf.getData());

        List<? extends VariableField> fieldList = record.getVariableFields();
        assertEquals(15, fieldList.size());

        fieldList = record.getControlFields();
        assertEquals(3, fieldList.size());<commit_msg>The failing test succeeded in failing, so the build broke where it was supposed to.<commit_after>package org.marc4j.test;

import org.junit.Test;
import org.marc4j.marc.*;
import org.marc4j.test.utils.StaticTestRecords;

import java.util.List;

import static org.junit.Assert.*;

public class RecordTest  {

    Record record = StaticTestRecords.getSummerlandRecord();

    @Test
    public void testGetFields() {
        String cn = record.getControlNumber();
        assertEquals("12883376", cn);

        ControlField cf = record.getControlNumberField();
        assertEquals("001", cf.getTag());
        assertEquals("12883376", cf.getData());

        List<? extends VariableField> fieldList = record.getVariableFields();
        assertEquals(15, fieldList.size());

        fieldList = record.getControlFields();
        assertEquals(3, fieldList.size());
{'fraction_non_alphanumeric': 0.11848072562358276, 'fraction_numerical': 0.02834467120181406, 'mean_word_length': 3.491094147582697, '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': '3004046', 'n_tokens_mistral': 530, 'n_tokens_neox': 492, 'n_words': 117}