Created
October 1, 2012 10:30
-
-
Save tfnico/3810794 to your computer and use it in GitHub Desktop.
Failing coursera tests from week 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Your overall score for this assignment is 8.74 out of 10.00 | |
The code you submitted did not pass all of our tests: your submission achieved a score of | |
6.74 out of 8.00 in our tests. | |
In order to find bugs in your code, we advise to perform the following steps: | |
- Take a close look at the test output that you can find below: it should point you to | |
the part of your code that has bugs. | |
- Run the tests that we provide with the handout on your code. | |
- The tests we provide do not test your code in depth: they are very incomplete. In order | |
to test more aspects of your code, write your own unit tests. | |
- Take another very careful look at the assignment description. Try to find out if you | |
misunderstood parts of it. While reading through the assignment, write more tests. | |
Below you can find a short feedback for every individual test that failed. | |
Our automated style checker tool could not find any issues with your code. You obtained the maximal | |
style score of 2.00. | |
======== LOG OF FAILED TESTS ======== | |
Your solution achieved a testing score of 160 out of 190. | |
Below you can see a short feedback for every test that failed, indicating the reason | |
for the test failure and how many points you lost for each individual test. | |
[Test Description] balance: corner cases | |
[Observed Error] org.scalatest.exceptions.TestFailedException: false negative | |
[exception was thrown] detailed error message in debug output section below | |
[Lost Points] 10 | |
[Test Description] pascal: base cases | |
[Observed Error] org.scalatest.exceptions.TestFailedException: 1024 did not equal 1 | |
[exception was thrown] detailed error message in debug output section below | |
[Lost Points] 10 | |
[Test Description] pascal: symmetry | |
[Observed Error] org.scalatest.exceptions.TestFailedException: 1 did not equal 2097152 | |
[exception was thrown] detailed error message in debug output section below | |
[Lost Points] 10 | |
======== DEBUG OUTPUT OF TESTING TOOL ======== | |
[test failure log] test name: balance: corner cases | |
java.util.concurrent.ExecutionException: org.scalatest.exceptions.TestFailedException: false negative | |
java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:262) | |
java.util.concurrent.FutureTask.get(FutureTask.java:119) | |
grading.GradingSuite$class.timeoutTask(GradingSuite.scala:30) | |
recfun.BalanceSuite.timeoutTask(BalanceSuite.scala:10) | |
grading.GradingSuite$class.runWithoutPrivileges(GradingSuite.scala:69) | |
recfun.BalanceSuite.runWithoutPrivileges(BalanceSuite.scala:10) | |
grading.GradingSuite$$anonfun$test$1.apply$mcV$sp(GradingSuite.scala:78) | |
grading.GradingSuite$$anonfun$test$1.apply(GradingSuite.scala:78) | |
grading.GradingSuite$$anonfun$test$1.apply(GradingSuite.scala:78) | |
org.scalatest.FunSuite$$anon$1.apply(FunSuite.scala:1265) | |
org.scalatest.Suite$class.withFixture(Suite.scala:1974) | |
recfun.BalanceSuite.withFixture(BalanceSuite.scala:10) | |
org.scalatest.FunSuite$class.invokeWithFixture$1(FunSuite.scala:1262) | |
org.scalatest.FunSuite$$anonfun$runTest$1.apply(FunSuite.scala:1271) | |
org.scalatest.FunSuite$$anonfun$runTest$1.apply(FunSuite.scala:1271) | |
org.scalatest.SuperEngine.runTestImpl(Engine.scala:198) | |
org.scalatest.FunSuite$class.runTest(FunSuite.scala:1271) | |
recfun.BalanceSuite.runTest(BalanceSuite.scala:10) | |
org.scalatest.FunSuite$$anonfun$runTests$1.apply(FunSuite.scala:1304) | |
org.scalatest.FunSuite$$anonfun$runTests$1.apply(FunSuite.scala:1304) | |
org.scalatest.SuperEngine$$anonfun$org$scalatest$SuperEngine$$runTestsInBranch$1.apply(Engine.scala:260) | |
org.scalatest.SuperEngine$$anonfun$org$scalatest$SuperEngine$$runTestsInBranch$1.apply(Engine.scala:249) | |
scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59) | |
scala.collection.immutable.List.foreach(List.scala:76) | |
org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:249) | |
[test failure log] test name: pascal: base cases | |
java.util.concurrent.ExecutionException: org.scalatest.exceptions.TestFailedException: 1024 did not equal 1 | |
java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:262) | |
java.util.concurrent.FutureTask.get(FutureTask.java:119) | |
grading.GradingSuite$class.timeoutTask(GradingSuite.scala:30) | |
recfun.PascalSuite.timeoutTask(PascalSuite.scala:10) | |
grading.GradingSuite$class.runWithoutPrivileges(GradingSuite.scala:69) | |
recfun.PascalSuite.runWithoutPrivileges(PascalSuite.scala:10) | |
grading.GradingSuite$$anonfun$test$1.apply$mcV$sp(GradingSuite.scala:78) | |
grading.GradingSuite$$anonfun$test$1.apply(GradingSuite.scala:78) | |
grading.GradingSuite$$anonfun$test$1.apply(GradingSuite.scala:78) | |
org.scalatest.FunSuite$$anon$1.apply(FunSuite.scala:1265) | |
org.scalatest.Suite$class.withFixture(Suite.scala:1974) | |
recfun.PascalSuite.withFixture(PascalSuite.scala:10) | |
org.scalatest.FunSuite$class.invokeWithFixture$1(FunSuite.scala:1262) | |
org.scalatest.FunSuite$$anonfun$runTest$1.apply(FunSuite.scala:1271) | |
org.scalatest.FunSuite$$anonfun$runTest$1.apply(FunSuite.scala:1271) | |
org.scalatest.SuperEngine.runTestImpl(Engine.scala:198) | |
org.scalatest.FunSuite$class.runTest(FunSuite.scala:1271) | |
recfun.PascalSuite.runTest(PascalSuite.scala:10) | |
org.scalatest.FunSuite$$anonfun$runTests$1.apply(FunSuite.scala:1304) | |
org.scalatest.FunSuite$$anonfun$runTests$1.apply(FunSuite.scala:1304) | |
org.scalatest.SuperEngine$$anonfun$org$scalatest$SuperEngine$$runTestsInBranch$1.apply(Engine.scala:260) | |
org.scalatest.SuperEngine$$anonfun$org$scalatest$SuperEngine$$runTestsInBranch$1.apply(Engine.scala:249) | |
scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59) | |
scala.collection.immutable.List.foreach(List.scala:76) | |
org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:249) | |
[test failure log] test name: pascal: symmetry | |
java.util.concurrent.ExecutionException: org.scalatest.exceptions.TestFailedException: 1 did not equal 2097152 | |
java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:262) | |
java.util.concurrent.FutureTask.get(FutureTask.java:119) | |
grading.GradingSuite$class.timeoutTask(GradingSuite.scala:30) | |
recfun.PascalSuite.timeoutTask(PascalSuite.scala:10) | |
grading.GradingSuite$class.runWithoutPrivileges(GradingSuite.scala:69) | |
recfun.PascalSuite.runWithoutPrivileges(PascalSuite.scala:10) | |
grading.GradingSuite$$anonfun$test$1.apply$mcV$sp(GradingSuite.scala:78) | |
grading.GradingSuite$$anonfun$test$1.apply(GradingSuite.scala:78) | |
grading.GradingSuite$$anonfun$test$1.apply(GradingSuite.scala:78) | |
org.scalatest.FunSuite$$anon$1.apply(FunSuite.scala:1265) | |
org.scalatest.Suite$class.withFixture(Suite.scala:1974) | |
recfun.PascalSuite.withFixture(PascalSuite.scala:10) | |
org.scalatest.FunSuite$class.invokeWithFixture$1(FunSuite.scala:1262) | |
org.scalatest.FunSuite$$anonfun$runTest$1.apply(FunSuite.scala:1271) | |
org.scalatest.FunSuite$$anonfun$runTest$1.apply(FunSuite.scala:1271) | |
org.scalatest.SuperEngine.runTestImpl(Engine.scala:198) | |
org.scalatest.FunSuite$class.runTest(FunSuite.scala:1271) | |
recfun.PascalSuite.runTest(PascalSuite.scala:10) | |
org.scalatest.FunSuite$$anonfun$runTests$1.apply(FunSuite.scala:1304) | |
org.scalatest.FunSuite$$anonfun$runTests$1.apply(FunSuite.scala:1304) | |
org.scalatest.SuperEngine$$anonfun$org$scalatest$SuperEngine$$runTestsInBranch$1.apply(Engine.scala:260) | |
org.scalatest.SuperEngine$$anonfun$org$scalatest$SuperEngine$$runTestsInBranch$1.apply(Engine.scala:249) | |
scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59) | |
scala.collection.immutable.List.foreach(List.scala:76) | |
org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:249) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment