Buggy code:
public class StudyBenefitRiskAnalysis extends BenefitRiskAnalysis < Arm > { public static String PROPERTY_STUDY = "study" ; public static String PROPERTY_ARMS = "arms" ; private Study d_study ; private Indication d_indication ; private List < OutcomeMeasure > d_criteria ; private ObservableList < Arm > d_alternatives ; private AnalysisType d_analysisType ; private final Arm d_baseline ; private DecisionContext d_decisionContext ; private class StudyMeasurementSource extends AbstractMeasurementSource < Arm > { } public StudyBenefitRiskAnalysis ( String name , Indication indication , Study study , List < OutcomeMeasure > criteria , List < Arm > alternatives , AnalysisType analysisType ) { } public StudyBenefitRiskAnalysis ( String name , Indication indication , Study study , List < OutcomeMeasure > criteria , Arm baseline , List < Arm > alternatives , AnalysisType analysisType ) { } public StudyBenefitRiskAnalysis ( String name , Indication indication , Study study , List < OutcomeMeasure > criteria , Arm baseline , List < Arm > alternatives , AnalysisType analysisType , DecisionContext context ) { } private void assertMeasurementsPresent ( Study study , List < OutcomeMeasure > criteria , List < Arm > alternatives ) { } private void setCriteria ( List < OutcomeMeasure > criteria ) { } @ Override public Set < ? extends Entity > getDependencies ( ) { } public ObservableList < Arm > getArms ( ) { } public ObservableList < Arm > getAlternatives ( ) { } public Indication getIndication ( ) { } public Distribution getMeasurement ( OutcomeMeasure criterion , Arm alternative ) { Measurement measurement = d_study . getMeasurement ( criterion , alternative ) ; if ( measurement instanceof RateMeasurement ) { RateMeasurement rateMeasurement = ( ( RateMeasurement ) ( measurement ) ) ; return new org . drugis . addis . entities . relativeeffect . Beta ( ( 1 + ( rateMeasurement . getRate ( ) ) ) , ( ( 1 + ( rateMeasurement . getSampleSize ( ) ) ) - ( rateMeasurement . getRate ( ) ) ) ) ; } else if ( measurement instanceof ContinuousMeasurement ) { ContinuousMeasurement contMeasurement = ( ( ContinuousMeasurement ) ( measurement ) ) ; <START_BUG> return new org . drugis . addis . entities . relativeeffect . TransformedStudentT ( contMeasurement . getMean ( ) , contMeasurement . getStdDev ( ) , ( ( contMeasurement . getSampleSize ( ) ) - 1 ) ) ; <END_BUG> } else { throw new IllegalStateException ( ( "Unknown<seq2seq4repair_space>measurement<seq2seq4repair_space>type<seq2seq4repair_space>" + ( measurement . getClass ( ) . getSimpleName ( ) ) ) ) ; } } public List < OutcomeMeasure > getCriteria ( ) { } public Study getStudy ( ) { } @ Override public String toString ( ) { } public MeasurementSource < Arm > getMeasurementSource ( ) { } public AnalysisType getAnalysisType ( ) { } @ Override public boolean deepEquals ( Entity other ) { } public Arm getBaseline ( ) { } public DecisionContext getDecisionContext ( ) { } public Distribution getRelativeEffectDistribution ( OutcomeMeasure om , Arm subject ) { } @ Override public List < Arm > getNonBaselineAlternatives ( ) { } }

Fix:
return new org . drugis . addis . entities . relativeeffect . TransformedStudentT ( contMeasurement . getMean ( ) , ( ( contMeasurement . getStdDev ( ) ) // ( Math . sqrt ( contMeasurement . getSampleSize ( ) ) ) ) , ( ( contMeasurement . getSampleSize ( ) ) - 1 ) ) ;