Closed wellsonah2019 closed 2 years ago
Thank you for the bug report! Indeed, I can reproduce this issue - the exception handling I implemented for the cover command did not properly realize the inputs, causing this failure. The fix is straightforward, however. I expect to be able to cut a release later today - I'll update this issue then.
The cover command doesn't have as many users as the contract-related logic; I hope you'll continue to let me know how it goes and file issues, etc. Thank you!
That's great to know! I'll try to run it again once the fix is out. Thanks a lot!
Ok! Fix and new regression test was committed in e782601859860fa25d2113cb56db2e023f9ec27e, and released in v0.0.26. Thanks in advance for trying it again and circling back!
I installed the new version and tested it again. It works just like the documentation now.
Thanks!
I ran into an assertion error when running the examples (in particular, the average example) in the documentation (https://crosshair.readthedocs.io/en/latest/cover.html).
In the documentation, it is supposed to show the final input (which would then raise a ValueError), however as you can see, it gave an error instead. I am running this on Ubuntu 20.04 using Python 3.8. May I know if this is intended or if I am missing something?
Note: removing the "raise ValueError" line allowed me to get the same output as the documentation.
Thanks!