|
|
|
@ -193,11 +193,6 @@ public class AssessReportServiceImpl implements AssessReportService { |
|
|
|
} else { |
|
|
|
throw new RuntimeException(tempAll); |
|
|
|
} |
|
|
|
Double cov = mt.getCoverage(); |
|
|
|
if (cov == null) { |
|
|
|
cov = fetchCoverage(modelInfo); |
|
|
|
} |
|
|
|
respVO.setCoverage(cov == null ? 0d : cov); |
|
|
|
return respVO; |
|
|
|
} |
|
|
|
|
|
|
|
@ -528,7 +523,6 @@ public class AssessReportServiceImpl implements AssessReportService { |
|
|
|
payload.setNumber(0); |
|
|
|
payload.setK(numberVal(modelInfo, "principal") == null ? 0 : numberVal(modelInfo, "principal").intValue()); |
|
|
|
payload.setVersion(reqVO.getVersion()); |
|
|
|
payload.setCoverage(fetchCoverage(modelInfo)); |
|
|
|
payload.setTest_Data(buildTestData(reqVO, modelInfo, pointRows)); |
|
|
|
// payload.setLow_f(joinDouble(hi));
|
|
|
|
// payload.setHigh_f(joinDouble(hi));
|
|
|
|
@ -701,14 +695,8 @@ class ModelTestNew { |
|
|
|
private int number; |
|
|
|
@com.fasterxml.jackson.annotation.JsonProperty("version") |
|
|
|
private String version; |
|
|
|
@com.fasterxml.jackson.annotation.JsonProperty("low_f") |
|
|
|
private String low_f; |
|
|
|
@com.fasterxml.jackson.annotation.JsonProperty("high_f") |
|
|
|
private String high_f; |
|
|
|
@com.fasterxml.jackson.annotation.JsonProperty("k") |
|
|
|
private Integer k; |
|
|
|
@com.fasterxml.jackson.annotation.JsonProperty("coverage") |
|
|
|
private Double coverage; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|