Skip to content

Commit f334bfb

Browse files
committed
Printed 5 decimal places for degree of soundness and completeness
1 parent 38c81de commit f334bfb

File tree

1 file changed

+2
-2
lines changed
  • PSOATransRun/src/main/java/org/ruleml/psoa/psoatransrun/test

1 file changed

+2
-2
lines changed

PSOATransRun/src/main/java/org/ruleml/psoa/psoatransrun/test/TestSuite.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ public void outputSummary(PrintStream out)
124124
out.print("Correctly answered queries: ");
125125
out.println(m_correctQueries);
126126
out.print("Degree of soundness: ");
127-
out.format("%.2f", m_correctEngineAnswers / (double) m_engineAnswers).println();
127+
out.format("%.5f", m_correctEngineAnswers / (double) m_engineAnswers).println();
128128
out.print("Degree of completeness: ");
129-
out.format("%.2f", m_correctEngineAnswers / (double) m_standardAnswers).println();
129+
out.format("%.5f", m_correctEngineAnswers / (double) m_standardAnswers).println();
130130
out.print("Avg. KB translation time per test case (ms): ");
131131
out.format("%.2f", m_kbTranslateTime / (double) m_testCases.size()).println();
132132
out.print("Avg. query translation time per test case (ms): ");

0 commit comments

Comments
 (0)