<commit_before>package au.gov.dva.sopapi.dtos.sopsupport;

import au.gov.dva.sopapi.dtos.DvaSopApiDtoError;
import au.gov.dva.sopapi.dtos.sopsupport.components.ApplicableInstrumentDto;
import au.gov.dva.sopapi.dtos.sopsupport.components.FactorWithInferredResultDto;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.datatype.jdk8.Jdk8Module;
import com.google.common.collect.ImmutableList;

import java.io.IOException;
import java.util.List;

public class SopSupportResponseDto {

    @JsonProperty("applicableInstrument")
    private final ApplicableInstrumentDto _applicableInstrumentDto;

    @JsonProperty("factors")
    private List<FactorWithInferredResultDto> _factors;

    @JsonProperty("caseTrace")
    private String caseTrace;

    @JsonCreator
    public SopSupportResponseDto(@JsonProperty("applicableInstrument") ApplicableInstrumentDto _applicableInstrumentDto,
                                 @JsonProperty("factors") List<FactorWithInferredResultDto> _factors,
                                 @JsonProperty("caseTrace") String caseTraceValue) {
        this.caseTrace = caseTraceValue;
        this._applicableInstrumentDto = _applicableInstrumentDto;
        this._factors = _factors;
    }

    @JsonIgnore
    public ApplicableInstrumentDto getApplicableInstrument() {
        return _applicableInstrumentDto;
    }

    @JsonIgnore
    public ImmutableList<FactorWithInferredResultDto> getFactors() {
        return ImmutableList.copyOf(_factors);
    }

    @JsonIgnore
    public String getCaseTrace()
    {
        return caseTrace;
    }

    @JsonIgnore
    public int getTotalOperationalDays()
    {
        return 0;
    }

    @JsonIgnore
    public int getRequiredOperationalDays()
    {
        return 0;
    }

    @JsonIgnore
    public int getTotalContinuousServiceDays()
    {
        return 0;
    }

    @JsonIgnore
    public int getRhRequiredContinuousServiceDays   ()
    {
        return 0;
    }

    @JsonIgnore
    public int getBopRequiredContinuousServiceDays()
    {
        return 0;
    }

    @JsonIgnore
    public String getStandardOfProof()
    {
        return "NI";
    }

    public static String toJsonString(SopSupportResponseDto sopSupportResponseDto) {<commit_msg>fixed broken standard of proof string<commit_after>package au.gov.dva.sopapi.dtos.sopsupport;

import au.gov.dva.sopapi.dtos.DvaSopApiDtoError;
import au.gov.dva.sopapi.dtos.sopsupport.components.ApplicableInstrumentDto;
import au.gov.dva.sopapi.dtos.sopsupport.components.FactorWithInferredResultDto;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.datatype.jdk8.Jdk8Module;
import com.google.common.collect.ImmutableList;

import java.io.IOException;
import java.util.List;

public class SopSupportResponseDto {

    @JsonProperty("applicableInstrument")
    private final ApplicableInstrumentDto _applicableInstrumentDto;

    @JsonProperty("factors")
    private List<FactorWithInferredResultDto> _factors;

    @JsonProperty("caseTrace")
    private String caseTrace;

    @JsonCreator
    public SopSupportResponseDto(@JsonProperty("applicableInstrument") ApplicableInstrumentDto _applicableInstrumentDto,
                                 @JsonProperty("factors") List<FactorWithInferredResultDto> _factors,
                                 @JsonProperty("caseTrace") String caseTraceValue) {
        this.caseTrace = caseTraceValue;
        this._applicableInstrumentDto = _applicableInstrumentDto;
        this._factors = _factors;
    }

    @JsonIgnore
    public ApplicableInstrumentDto getApplicableInstrument() {
        return _applicableInstrumentDto;
    }

    @JsonIgnore
    public ImmutableList<FactorWithInferredResultDto> getFactors() {
        return ImmutableList.copyOf(_factors);
    }

    @JsonIgnore
    public String getCaseTrace()
    {
        return caseTrace;
    }

    @JsonIgnore
    public int getTotalOperationalDays()
    {
        return 0;
    }

    @JsonIgnore
    public int getRequiredOperationalDays()
    {
        return 0;
    }

    @JsonIgnore
    public int getTotalContinuousServiceDays()
    {
        return 0;
    }

    @JsonIgnore
    public int getRhRequiredContinuousServiceDays   ()
    {
        return 0;
    }

    @JsonIgnore
    public int getBopRequiredContinuousServiceDays()
    {
        return 0;
    }

    @JsonIgnore
    public String getStandardOfProof()
    {
        return "RH";
    }

    public static String toJsonString(SopSupportResponseDto sopSupportResponseDto) {
{'fraction_non_alphanumeric': 0.0767684887459807, 'fraction_numerical': 0.0028135048231511255, 'mean_word_length': 3.4122340425531914, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5220387', 'n_tokens_mistral': 1525, 'n_tokens_neox': 1435, 'n_words': 241}