Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logenc_test.py #18

Open
chhenning opened this issue Jan 16, 2018 · 3 comments
Open

logenc_test.py #18

chhenning opened this issue Jan 16, 2018 · 3 comments

Comments

@chhenning
Copy link
Owner

...F.s
======================================================================
FAIL: testLogEncoder (__main__.LogEncoderTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "logenc_test.py", line 107, in testLogEncoder
    self.assertTrue(numpy.array_equal(ranges[0], [1, 1]))
AssertionError: False is not true

----------------------------------------------------------------------
Ran 6 tests in 0.015s
@chhenning
Copy link
Owner Author

Same for multi_test.py

@chhenning
Copy link
Owner Author

Similar for random_distributed_scalar_test.py

.........New seed generated as: 73305 called by run line 605 -> testOverlapStatistics
..F..s
======================================================================
FAIL: testResolution (__main__.RandomDistributedScalarEncoderTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "random_distributed_scalar_test.py", line 162, in testResolution
    "Numbers outside resolution have the same encoding")
AssertionError: 400 == 400 : Numbers outside resolution have the same encoding

----------------------------------------------------------------------
Ran 15 tests in 2.509s

FAILED (failures=1, skipped=1)

@chhenning
Copy link
Owner Author

Similar for scalar_test.py

...F...Fs....
======================================================================
FAIL: testDecodeAndResolution (__main__.ScalarEncoderTest)
Test the input description generation, top-down compute, and bucket
----------------------------------------------------------------------
Traceback (most recent call last):
  File "scalar_test.py", line 181, in testDecodeAndResolution
    self.assertTrue(numpy.array_equal(ranges[0], [7.5, 7.5]))
AssertionError: False is not true

======================================================================
FAIL: testNonPeriodicBottomUp (__main__.ScalarEncoderTest)
Test Non-periodic encoder bottom-up
----------------------------------------------------------------------
Traceback (most recent call last):
  File "scalar_test.py", line 272, in testNonPeriodicBottomUp
    self.assertLess(abs(rangeMin - v), l.resolution)
AssertionError: 1.0 not less than 1.0

----------------------------------------------------------------------
Ran 13 tests in 0.034s

FAILED (failures=2, skipped=1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant