-
Notifications
You must be signed in to change notification settings - Fork 94
Question about exercise 4.9 #14
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
Comments
Hi @edsml-4c29515f, thank you for your question and we are sorry you encountered this problem. Could you please send us the code you are testing so that we can investigate further? |
Hope you help me check it. Thanks a lot!
|
Hi @edsml-4c29515f, thank you very much for the clarification. Your solution is correct, and it passed the The reason you receive errors from PyBryt is due to the bug we discovered recently. More precisely, tolerances for iterable data types (lists, tuples, NumPy arrays, etc.) were not implemented in PyBryt correctly. A similar issue has been reported in #12. Since then, this bug has been fixed (microsoft/pybryt#103) and the new PyBryt version released. Depending on how you are running notebooks, there are several solutions:
Before running this command, please make sure you are in the correct conda environment. Finally, although we did not cover this in the lecture notebooks, when a function returns more than one result, it is common to return a tuple
We will clarify this in the notebook. I will keep this issue open until PyBryt on JupyterHub is updated, and we receive your confirmation that the issue is resolved. Again, thank you very much for your valuable feedback, and please do not hesitate to raise further issues. |
For reference, return type clarification has been addressed in #15. Merged to master. |
Hi @edsml-4c29515f, I can confirm that the PyBryt version has been upgraded to 0.1.9 on JupyterHub. Therefore, I am closing this issue now. Thank you very much for your valuable feedback, and please do not hesitate to raise further issues. |
Hi @marijanbeg - I hope you don't mind but I wanted to re-open this issue as I think I am having the same problem.... And I am erroring on the root calculations. The assertion cell below all passes and I have manually calculated the roots and I get the correct values (I think!) |
Hi @edsml-8eb3e724, thank you for your question. If
|
@marijanbeg - thanks! |
Hi, could you please check the result of the 4.9 cuz I really don't know what's wrong with it. I passed the test case but not for the pybryt check. I don't think I get the wrong roots for the question. Could you please help me check it?

The text was updated successfully, but these errors were encountered: