Skip to content

Instantly share code, notes, and snippets.

@mathemage
Created May 8, 2017 22:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mathemage/0c60b3e91fa4c5699c78448f1a4e9a3c to your computer and use it in GitHub Desktop.
Save mathemage/0c60b3e91fa4c5699c78448f1a4e9a3c to your computer and use it in GitHub Desktop.
new JUnit fail
05-08 23:37:29.350 10.76.97.14:54321 6224 main INFO: ParseSetup heuristic: cloudSize: 1, cores: 4, numCols: 4, maxLineLength: 36, totalSize: 812, localParseSize: 812, chunkSize: 4194304, numChunks: 1, numChunks * cols: 4
05-08 23:37:29.350 10.76.97.14:54321 6224 main INFO: Total file size: 812 B
05-08 23:37:29.351 10.76.97.14:54321 6224 main INFO: Parse chunk size 4194304
05-08 23:37:29.353 10.76.97.14:54321 6224 FJ-1-7 INFO: Parse result for arrests.hex (50 rows):
05-08 23:37:29.354 10.76.97.14:54321 6224 FJ-1-7 INFO: ColV2 type min max mean sigma NAs constant cardinality
05-08 23:37:29.355 10.76.97.14:54321 6224 FJ-1-7 INFO: Murder: numeric 0.800000 17.4000 7.78800 4.35551
05-08 23:37:29.355 10.76.97.14:54321 6224 FJ-1-7 INFO: Assault: numeric 45.0000 337.000 170.760 83.3377
05-08 23:37:29.355 10.76.97.14:54321 6224 FJ-1-7 INFO: UrbanPop: numeric 32.0000 91.0000 65.5400 14.4748
05-08 23:37:29.355 10.76.97.14:54321 6224 FJ-1-7 INFO: Rape: numeric 7.30000 46.0000 21.2320 9.36638
05-08 23:37:29.356 10.76.97.14:54321 6224 FJ-1-7 INFO: Chunk compression summary:
05-08 23:37:29.356 10.76.97.14:54321 6224 FJ-1-7 INFO: Chunk Type Chunk Name Count Count Percentage Size Size Percentage
05-08 23:37:29.356 10.76.97.14:54321 6224 FJ-1-7 INFO: C1N 1-Byte Integers (w/o NAs) 1 25.000 % 118 B 19.536 %
05-08 23:37:29.356 10.76.97.14:54321 6224 FJ-1-7 INFO: C1S 1-Byte Fractions 1 25.000 % 134 B 22.185 %
05-08 23:37:29.356 10.76.97.14:54321 6224 FJ-1-7 INFO: C2 2-Byte Integers 1 25.000 % 168 B 27.815 %
05-08 23:37:29.356 10.76.97.14:54321 6224 FJ-1-7 INFO: C2S 2-Byte Fractions 1 25.000 % 184 B 30.464 %
05-08 23:37:29.356 10.76.97.14:54321 6224 FJ-1-7 INFO: Frame distribution summary:
05-08 23:37:29.356 10.76.97.14:54321 6224 FJ-1-7 INFO: Size Number of Rows Number of Chunks per Column Number of Chunks
05-08 23:37:29.356 10.76.97.14:54321 6224 FJ-1-7 INFO: 10.76.97.14:54321 604 B 50 1 4
05-08 23:37:29.356 10.76.97.14:54321 6224 FJ-1-7 INFO: mean 604 B 50.000000 1.000000 4.000000
05-08 23:37:29.356 10.76.97.14:54321 6224 FJ-1-7 INFO: min 604 B 50.000000 1.000000 4.000000
05-08 23:37:29.356 10.76.97.14:54321 6224 FJ-1-7 INFO: max 604 B 50.000000 1.000000 4.000000
05-08 23:37:29.356 10.76.97.14:54321 6224 FJ-1-7 INFO: stddev 0 B 0.000000 0.000000 0.000000
05-08 23:37:29.356 10.76.97.14:54321 6224 FJ-1-7 INFO: total 604 B 50 1 4
05-08 23:37:29.357 10.76.97.14:54321 6224 FJ-1-7 INFO: Building H2O PCA model with these parameters:
05-08 23:37:29.357 10.76.97.14:54321 6224 FJ-1-7 INFO: {"_train":{"name":"arrests.hex","type":"Key"},"_valid":null,"_nfolds":0,"_keep_cross_validation_predictions":false,"_keep_cross_validation_fold_assignment":false,"_parallelize_cross_validation":true,"_auto_rebalance":true,"_seed":-1,"_fold_assignment":"AUTO","_categorical_encoding":"AUTO","_distribution":"AUTO","_tweedie_power":1.5,"_quantile_alpha":0.5,"_huber_alpha":0.9,"_ignored_columns":null,"_ignore_const_cols":true,"_weights_column":null,"_offset_column":null,"_fold_column":null,"_is_cv_model":false,"_score_each_iteration":false,"_max_runtime_secs":0.0,"_stopping_rounds":0,"_stopping_metric":"AUTO","_stopping_tolerance":0.001,"_response_column":null,"_balance_classes":false,"_max_after_balance_size":5.0,"_class_sampling_factors":null,"_max_confusion_matrix_size":20,"_checkpoint":null,"_pretrained_autoencoder":null,"_transform":"NONE","_pca_method":"GramSVD","_k":4,"_max_iterations":1000,"_use_all_factor_levels":false,"_compute_metrics":true,"_impute_missing":false}
05-08 23:37:29.358 10.76.97.14:54321 6224 FJ-1-7 WARN: _train: Dataset used may contain fewer number of rows due to removal of rows with NA/missing values. If this is not desirable, set impute_missing argument in pca call to TRUE/True/true/... depending on the client language.
05-08 23:37:29.358 10.76.97.14:54321 6224 FJ-1-7 INFO: [D@931308c
05-08 23:37:29.359 10.76.97.14:54321 6224 FJ-1-7 INFO: [D@2731ee24
05-08 23:37:29.363 10.76.97.14:54321 6224 main INFO: #### TEST hex.pca.PCATest#testArrestsScoring EXECUTION TIME: 00:00:00.014 (Wall: 08-May 23:37:29.363)
java.lang.AssertionError:
Expected :202.7230564
Actual :14.310178590947947
<Click to see difference>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:553)
at org.junit.Assert.assertEquals(Assert.java:683)
at water.TestUtil.checkStddev(TestUtil.java:557)
at hex.pca.PCATest.testArrestsScoring(PCATest.java:91)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at water.TestUtil$3$TimerStatement.evaluate(TestUtil.java:215)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:51)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment