Why Did Module 01 Pass Tests Despite a Syntax Error in tensor.py? #1827
Chufeng-Jiang
started this conversation in
General
Replies: 1 comment
|
Hey ! yes, The software missed the Syntax Error in Python and proceeded to pass with the work. I think this is likely an error on the error handling side of TinyTorch and we can correct it. I'll do a deep dive in the code to see the exact conditions and correct it if needed. Thanks !
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I recently completed Module 01 and successfully passed all of the provided tests. However, when I started working on Module 02, the testing process reported bugs originating from my Module 01 implementation.
Upon investigation, I discovered a syntax error in my Module 01 code. For example, I had written:
if len(shape) == 1 and isinstance(shape[0], (tuple, list):when it should have been:
if len(shape) == 1 and isinstance(shape[0], (tuple, list)):In other words, I had accidentally omitted a closing parenthesis. What confuses me is that Module 01 passed all the provided tests under command
tito module complete 01despite this syntax error.Best,
Chufeng
All reactions