problems icon indicating copy to clipboard operation
problems copied to clipboard

Checks for check50

Results 61 problems issues
Sort by recently updated
recently updated
newest added

Additional tests to ensure students check length and identifying digits combined, rather than separately leading to false positives when identifying digits are found and the length is valid, but valid...

For each of the command line checks, we are looking for a non-zero exit code, but that will happen if the program crashes with an IndexError when it tries to...

CS50P

I've written code for the function `find_min` that is illogical and prone to segmentation faults and yet `check50` still lets it pass. ![Capture](https://user-images.githubusercontent.com/77232129/188548441-43870ad4-484b-4e77-9fcd-04a178afbf93.JPG)

CS50x

Fixed the `no_output` test to properly check if the output is empty. Changed the input of `no_output` to `8:01` because the previous tests didn't check any value that went over...

CS50P

Added missing `random` test, as per the [spec](https://cs50.harvard.edu/python/2022/psets/4/figlet/): ``` Expects zero or two command-line arguments: Zero if the user would like to output text in a *random* font. ``` Check50...

CS50P

Updated the level check to check for the lowest valid value. A student used `random.randrange(level)` which starts from 0. Later in the ```py def test_integer_guess(): """game.py rejects out-of-range guess""" ```...

CS50P

The tests for professor are currently relying and expecting students' solutions to generate x and y values in a certain order; specifically, x0, y0, x1, ect. In this case the...

CS50P

I realized that I am able to write code that would give me a wrong output or even cause an overflow. Changing the code in line 147 to `if (n...

CS50x