-
Notifications
You must be signed in to change notification settings - Fork 31
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
SCT somehow creates error when correct code submitted #10
Comments
So these are issues of scoping. The problem is that In
This test will test the object You can also use If you use I'm thinking of ways to make this less complex and more intuitive. I think it might be easier to use the |
@vincentvankrunkelsven thank you! this workaround doesn't look as complex as some that were used during the dev of @franciscastro try this out (should work for both problems that we had) and we'll let @vincentvankrunkelsven know how it goes asap |
@franciscastro about to try this now |
@vincentvankrunkelsven the In the case that the function we're defining takes no arguments we have tried
this occurs in https://campus.datacamp.com/courses/1113/2464?ex=3 Also, in https://campus.datacamp.com/courses/1113/2464?ex=4 , the function in which takes an argument, using any other workarounds? It looks like @franciscastro 's SCTs are written correctly but maybe you want to take a quick look also |
Seems like it doesn't work as I expected, I'll have a look and it'll be fixed in the next patch. That will probably be put live Monday evening my time, so that would be Monday around noon for you. |
Ok so I had a look at your problems:
|
@vincentvankrunkelsven neither of these seem to be working still. perhaps you and I should speak for 5min and/or you could write an example SCT that you think should work? |
They are fixed |
In https://campus.datacamp.com/courses/1113/2464?ex=3 ,
when we submit the solution code, python throws an error. this did not happen when SCT wasn't present.
see screenshot:
The text was updated successfully, but these errors were encountered: