test_class.file: lib/src/test/java/edu/stanford/futuredata/macrobase/analysis/summary/fpg/RiskRatioTest.java
test_class.identifier: RiskRatioTest
test_case.body: @Test
      public void testRatio() {
          assertEquals(1.0, RiskRatio.compute(10, 10, 100, 100), 0.01);
          assertEquals(6., RiskRatio.compute(10, 10, 1000, 100), 0.01);
          assertEquals(900.082, RiskRatio.compute(10, 99, 1000, 100), 0.01);
      }
test_case.class_method_signature: RiskRatioTest.testRatio()
test_case.full_signature: @Test public void testRatio()
test_case.identifier: testRatio
test_case.invocations: assertEquals compute assertEquals compute assertEquals compute
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testRatio()
focal_class.file: lib/src/main/java/edu/stanford/futuredata/macrobase/analysis/summary/fpg/RiskRatio.java
focal_class.identifier: RiskRatio
focal_class.class_method_signature: RiskRatio.computeDouble(double exposedInlierCount,
                                          double exposedOutlierCount,
                                          double totalInliers,
                                          double totalOutliers)
focal_class.full_signature: private static double computeDouble(double exposedInlierCount,
                                          double exposedOutlierCount,
                                          double totalInliers,
                                          double totalOutliers)
focal_class.identifier: computeDouble
focal_class.modifiers: private static
focal_class.parameters: (double exposedInlierCount,
                                          double exposedOutlierCount,
                                          double totalInliers,
                                          double totalOutliers)
focal_class.return: double
focal_class.signature: double computeDouble(double exposedInlierCount,
                                          double exposedOutlierCount,
                                          double totalInliers,
                                          double totalOutliers)
focal_class.class_method_signature: RiskRatio.compute(Number exposedInlierCount,
                                   Number exposedOutlierCount,
                                   Number totalInliers,
                                   Number totalOutliers)
focal_class.full_signature: public static double compute(Number exposedInlierCount,
                                   Number exposedOutlierCount,
                                   Number totalInliers,
                                   Number totalOutliers)
focal_class.identifier: compute
focal_class.modifiers: public static
focal_class.parameters: (Number exposedInlierCount,
                                   Number exposedOutlierCount,
                                   Number totalInliers,
                                   Number totalOutliers)
focal_class.return: double
focal_class.signature: double compute(Number exposedInlierCount,
                                   Number exposedOutlierCount,
                                   Number totalInliers,
                                   Number totalOutliers)
focal_method.body: public static double compute(Number exposedInlierCount,
                                   Number exposedOutlierCount,
                                   Number totalInliers,
                                   Number totalOutliers) {
          if(exposedInlierCount == null) {
              exposedInlierCount = 0.;
          }
  
          if(exposedOutlierCount == null) {
              exposedOutlierCount = 0.;
          }
  
          if(totalInliers == null) {
              totalInliers = 0.;
          }
  
          if(totalOutliers == null) {
              totalOutliers = 0.;
          }
  
          return computeDouble(exposedInlierCount.doubleValue(),
                               exposedOutlierCount.doubleValue(),
                               totalInliers.doubleValue(),
                               totalOutliers.doubleValue());
      }
focal_method.class_method_signature: RiskRatio.compute(Number exposedInlierCount,
                                   Number exposedOutlierCount,
                                   Number totalInliers,
                                   Number totalOutliers)
focal_method.full_signature: public static double compute(Number exposedInlierCount,
                                   Number exposedOutlierCount,
                                   Number totalInliers,
                                   Number totalOutliers)
focal_method.identifier: compute
focal_method.invocations: computeDouble doubleValue doubleValue doubleValue doubleValue
focal_method.modifiers: public static
focal_method.parameters: (Number exposedInlierCount,
                                   Number exposedOutlierCount,
                                   Number totalInliers,
                                   Number totalOutliers)
focal_method.return: double
focal_method.signature: double compute(Number exposedInlierCount,
                                   Number exposedOutlierCount,
                                   Number totalInliers,
                                   Number totalOutliers)