<commit_before>package gov.nih.nci.cabig.caaers.domain.repository;

import gov.nih.nci.cabig.caaers.CaaersTestCase;
import gov.nih.nci.cabig.caaers.domain.*;
import gov.nih.nci.cabig.caaers.domain.attribution.AdverseEventAttribution;
import gov.nih.nci.cabig.caaers.domain.expeditedfields.ExpeditedReportSection;
import static gov.nih.nci.cabig.caaers.domain.expeditedfields.ExpeditedReportSection.ATTRIBUTION_SECTION;
import gov.nih.nci.cabig.caaers.domain.report.*;
import gov.nih.nci.cabig.caaers.service.ReportSubmittability;
import gov.nih.nci.cabig.ctms.domain.DomainObject;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * @author <NAME>
 */
public class ReportRepositoryTest extends CaaersTestCase {
    private static final Attribution[] SUFFICIENT_ATTRIBUTIONS = new Attribution[]{
            Attribution.POSSIBLE, Attribution.PROBABLE, Attribution.DEFINITE};

    private static final Attribution[] INSUFFICENT_ATTRIBUTIONS = new Attribution[]{
            Attribution.UNLIKELY, Attribution.UNRELATED};<commit_msg>extends CaaersNoSecurityTestCase<commit_after>package gov.nih.nci.cabig.caaers.domain.repository;

import static gov.nih.nci.cabig.caaers.domain.expeditedfields.ExpeditedReportSection.ATTRIBUTION_SECTION;
import gov.nih.nci.cabig.caaers.CaaersNoSecurityTestCase;
import gov.nih.nci.cabig.caaers.domain.AdverseEventReportingPeriod;
import gov.nih.nci.cabig.caaers.domain.Attribution;
import gov.nih.nci.cabig.caaers.domain.CtcTerm;
import gov.nih.nci.cabig.caaers.domain.ExpeditedAdverseEventReport;
import gov.nih.nci.cabig.caaers.domain.Fixtures;
import gov.nih.nci.cabig.caaers.domain.Investigator;
import gov.nih.nci.cabig.caaers.domain.ResearchStaff;
import gov.nih.nci.cabig.caaers.domain.SiteInvestigator;
import gov.nih.nci.cabig.caaers.domain.StudyInvestigator;
import gov.nih.nci.cabig.caaers.domain.StudyParticipantAssignment;
import gov.nih.nci.cabig.caaers.domain.StudyPersonnel;
import gov.nih.nci.cabig.caaers.domain.StudySite;
import gov.nih.nci.cabig.caaers.domain.attribution.AdverseEventAttribution;
import gov.nih.nci.cabig.caaers.domain.expeditedfields.ExpeditedReportSection;
import gov.nih.nci.cabig.caaers.domain.report.PlannedEmailNotification;
import gov.nih.nci.cabig.caaers.domain.report.Recipient;
import gov.nih.nci.cabig.caaers.domain.report.Report;
import gov.nih.nci.cabig.caaers.domain.report.ReportDefinition;
import gov.nih.nci.cabig.caaers.domain.report.RoleBasedRecipient;
import gov.nih.nci.cabig.caaers.service.ReportSubmittability;
import gov.nih.nci.cabig.ctms.domain.DomainObject;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * @author <NAME>
 */
public class ReportRepositoryTest extends CaaersNoSecurityTestCase {
    private static final Attribution[] SUFFICIENT_ATTRIBUTIONS = new Attribution[]{
            Attribution.POSSIBLE, Attribution.PROBABLE, Attribution.DEFINITE};

    private static final Attribution[] INSUFFICENT_ATTRIBUTIONS = new Attribution[]{
            Attribution.UNLIKELY, Attribution.UNRELATED};
{'fraction_non_alphanumeric': 0.1096291476903058, 'fraction_numerical': 0.0, 'mean_word_length': 5.743421052631579, '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': '5715837', 'n_tokens_mistral': 1180, 'n_tokens_neox': 1124, 'n_words': 132}