Filip Schouwenaars

Results 39 issues of Filip Schouwenaars

Since `pythonwhat v2.16.0`, different SCT functions do some assertions and verifications to figure out whether the function is appropriately used. You can see it in the CHANGELOG [here](https://github.com/datacamp/pythonwhat/blob/master/CHANGELOG.md#2160). Some of...

enhancement
tech-debt

Currently, the context variable values or environment variable values are not included in the automatically generated message, which can be confusing.

enhancement
messages

As you write chains of SCTs, every function 'contributes' to the feedback message that is generated in case the student made a mistake. All of these 'chunks' of feedback can...

enhancement
docs

If you look at the examples in the reference documentation of `check_function_def()`, you'll see that it's currently rather clunky to verify the signature of a function definition: - A lot...

enhancement

When checking whether an object is correctly created and the exercise only contains a single `=` operator in addition to other 'object-mutating' operations that don't use `=`, highlighting trips up....

bug

Suppose the following solution and SCT: ```python # solution round(1.1234) # sct Ex().check_function('round').check_args('number').has_equal_value() ``` Depending on how the student called the function, the feedback should be different: ```python round(2.345) #...

enhancement
messages

The following works fine: ```python # solution import numpy as np np.random.randint(1, 7) # sct Ex().check_function('numpy.random.randint') ``` The following does not: ```python # solution import numpy as np for x...

bug

`testwhat` has `override_solution()`, where you can override solution code and solution environment variables. `pythonwhat` only allows you to override solution code (with `override()`). In addition, this is not parsed with...

enhancement

With `check_function()` and `check_args()`, it is possible whether some arguments are specified, and whether they are correct (with `has_equal_ast()`), but it is not possible to check if some arguments are...

enhancement

test_object_accessed is the last function that doesn't have a check_ counterpart. The alternative is to get rid of it. The function is used in 40 exercises, it is no longer...

tech-debt