pythonwhat icon indicating copy to clipboard operation
pythonwhat copied to clipboard

Verify Python code submissions and auto-generate meaningful feedback messages.

Results 40 pythonwhat issues
Sort by recently updated
recently updated
newest added

Instead of `has_output('some string', pattern=True)`, how about `has_output(re.compile('some string'))`, i.e., use a type test inside `has_output` and apply the regex if one is given (match strings if not). This gets...

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

There will be situations where we want the solution code to generate an error. However, the exercise validator won't pass for these exercises. Similar to R exercises, Python exercises should...

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

The 'trust' in these examples is low, as they are not being actually run. Running the examples is pretty hard to do, as well. Investigate whether we can actually run...

docs

`test_with()` is responsible for _a lot_ of code in `pythonwhat`. If we get rid of this function, we can remove a lines of code that work but are very ugly....

tech-debt

Up till now, `pythonwhat` does not bother with 'package specific' support for testing python scripts. The `pandas` package, however, is extremely commonly used across a wide range of Python courses,...

enhancement

`test_function_definition()` is responsible for _a lot_ of code in `pythonwhat`. If we get rid of this function, we can remove `call()` and `test_function_definition()` from the API. This would involve rewriting...

tech-debt

Back in the days, we coded in the ability to define 'converters', functions that are executed on a value before fetching the value from the process, for values that could...

tech-debt

When using `has_equal_value()`, the default message gives the student the expected answer. For example, Or Either way, it would be helpful if the feedback message ended at: - Did you...

enhancement