Questions tagged [check50]

Questions about using check50 to validate the output of your problem set solutions. When using this tag, please provide the command you used to run check50 and the full output of the program in the body of the question.

Filter by
Sorted by
Tagged with
0
votes
1answer
14 views

Finance DepricationWarning on Check50

My code is failing (or at least not parsing properly) when I run check50. :| quote handles valid ticker symbol check50 ran into an error while running checks! DeprecationWarning: Using or importing ...
0
votes
0answers
36 views

Submit50 & Check50 not submitting most upto date version of pset

I've been attempting to submit my Caesar cipher solution to no avail; my first submit worked fine but then I noticed that my code was well full of bugs. So, I fixed it, and submitted again. Following ...
0
votes
1answer
32 views

Pset 8 Finance - check50 error

pset8:finance iam tired of trying what now??
0
votes
1answer
22 views

problem with check50 in speller

I have a problem when I use check50 in speller pset It give me errors in all checks But when i tried my code in cs50 ide and compare my result to the staff or key result it gives no errors and ...
0
votes
1answer
13 views

check50 finance button not found

For pset8 finance check 50 is showing errors stating :( quote page has all required elements expected button to submit form, but none was found The html template and source have a button ...
0
votes
1answer
25 views

speller check50 fails trying to check for memory errors but valgrind reports none

All tests pass except for the memory one saying it cannot find the misspelled words. Comparison with keys/ is perfect for multiple large texts. :) handles substrings properly running ./speller ...
0
votes
1answer
38 views

what just happened after check50 update

now i am getting this error when i use check50: File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master ws.require(__requires__) File "/usr/local/...
0
votes
1answer
74 views

old version of submit50 preventing check50?

running check50 gives the following error : You have an old version of submit50. Please update your version of submit50, then re-run check50!
0
votes
1answer
53 views

pset4 speller - Check50 constantly returning errors

I am trying to submit my code for pset4 (speller) but Check50 seems to return an errors for most of the tests. I have tested my own code with the staff's solution and it seems to work fine there. Can ...
0
votes
1answer
42 views

Speller(hashtable method), long delay in output, and check50 not working

I finished all the TODO functions and fixed all the errors, but the program takes 20-25 seconds to output anything, the dictionary load time is 4.3 seconds in the output, the total time is 4.6 seconds,...
0
votes
1answer
74 views

pset 8 finance: :( sell handles valid sale

:) Struggle with the last check. Get this error message: expected to find "56.00" in page, but it wasn't found Tried the same approach like I used for the buy-function. Create an extra template to ...
0
votes
1answer
58 views

pset 8 finance: “:( buy handles valid purchase” fails

I`am bug fixing my application and can't find a solution for the ":( buy handles valid purchase" test. Here is Log: expected to find "112.00" in page, but it wasn't found Log sending POST ...
0
votes
1answer
41 views

Valgrind passed (no leaks) but CS50 check fail

Hi~ Could you please tell me the reason I can’t pass CS50 check? It seems there is no error when I run valgrind ./speller texts/lalaland.txt (I count the nodecount q’ty during LOAD and confirmed the ...
0
votes
1answer
78 views

Help with weird bug in pset2 vigenere

After finishing most of the program, for some reason when check50 attempts to encrypt BaRFoo using keyword BaZ as well as the other attempts for the variations of barfoo and "hello, world", my code ...
0
votes
1answer
32 views

PSET 6: Sentimental [Mario.py(less)]: How exactly do I “reject input” in Python as specified in check50?

this is my first time posting on here and I'm trying to not break any rules but sorry if I do. So, I followed the specification to make mario.py ( they are the same ones for mario.c ) in Sentimental ...
0
votes
0answers
59 views

PSET3 Resize -resizes correctly Byte… doesn't match

I don't understand what I did wrong... Here's my code : // Copies a BMP file #include <stdio.h> #include <stdlib.h> #include "bmp.h" int main(int argc, char *argv[]) { int n = ...
0
votes
1answer
22 views

Check50 has Blank Output

I am trying to run check50 on my code, but it does not return anything; the output is blank, and it only returns a link to a check on https://cs50.me. Anyone know how to fix this problem
0
votes
1answer
43 views

Installing check50 gives error - check50: command not found

I am currently using a Windows Subsystem with Ubuntu 18.04 LTS, and I was trying to install check50 and submit50 following the instructions under https://cs50.readthedocs.io/. However, when I attempt ...
0
votes
1answer
53 views

Is there any way to use Check50 and Submit50 from CLion IDE?

I often use CLion for programming, and to complete my CS50 assignments, I would like to use CLion as well. At present, I know how to import CS50.h for using in CLion, but I couldn't find a way of ...
0
votes
1answer
73 views

Problem with Pset2 submission vigenere

I just wrote the program for cs50 pset2 vigenere problem. It ran perfectly when I tried to run it, with expected output. But on submitting, cs50.me check50 shows that my program does not show the ...
1
vote
2answers
100 views

PSET8: Finance - “check50 ran into an error while running checks!” Contact sysadmins@cs50.harvard.edu with the URL of this check!

While checking my code for PSET8 (Finance) with check50 I ran into the error "check50 ran into an error while running checks!" and with a note in the end stating "Contact sysadmins@cs50.harvard.edu ...
0
votes
1answer
59 views

Pset4, matching with staff solutions,but doesnt pass check50

I compared my output with all keys for every text, and it seems right, but when I use check50 all test cases fail for some reason. My code :https://gist.github.com/Praful932/...
1
vote
1answer
923 views

Pset8 Finance Check error

I consistently get this error when running check50 on pset8 Finance problem from CS50 when I assume it tries to add a new user that isn't in the user database. However when I enter a new user myself, ...
0
votes
1answer
48 views

Pset5 Speller returning one less word in text

So I have been at this problem for some time. I’m glad I have gotten as far as I have. I believe I just have a small step to go before I finish the problem set. (or maybe not). My trie seems to be ...
0
votes
1answer
78 views

pset3 resize(less) working correctly, but check50 show a bunch of "image has more bytes than expected

I'm not sure where I went wrong that is causing it to add too many bytes. When I test the program, it seems to resize everything correctly. Code: #include <stdio.h> #include <stdlib.h> ...
0
votes
1answer
34 views

Code runs fine until Check50 then it cannot load dictionary

Code runs as intended (other than some memory leaks that need to be fixed). But when I run check 50 my load function throws a "couldn't load file" error for whatever dictionary is being passed into ...
0
votes
1answer
72 views

check50 not approving my code but it looks like it's working

Check50 is telling me that none of the expected ciphers are working, however running each of them appears to give the exact same output it expects. I cannot see where the failure is coming from. ...
1
vote
2answers
691 views

Problems with check50 for pset2 caesar 2019

Hello! I have two questions that I hope someone can help out with! Q1) I just finished writing my solution for pset2-Caesar in CS50 Lab- When I try to check it with check50 I get an error message as ...
3
votes
2answers
2k views

pset6 python bleep

i have this failed test when i use check50 in pset6 bleep :( handles banned words lists with arbitrary words in them Log running python bleep.py banned2.txt... sending input My cat and dog ...
1
vote
1answer
25 views

pset 3 fifteen - check50 failure last 3x3, 4x4

I was going to check my solution to pset3 fifteen with check50 while I received two failure errors on the console (on the last 3x3 and 4x4 checks). :) fifteen.c exists. :) fifteen.c compiles. :) ...
0
votes
1answer
24 views

Why does check50 upload?

I'm just wondering why check50 has an upload stage to begin with? What is it uploading? $ check50 cs50/2018/ap/pennies Connecting......... Authenticating...... Preparing................ Uploading........
0
votes
0answers
51 views

CS50's Mobile App Development: Cannot evaluate or check50

Is there a way to test or evaluate my CS50m project0 and future projects? There are no instructions regarding evaluation. I have already pushed my code to the cs50/mobile/2018/x/projects/0 branch of ...
1
vote
1answer
89 views

pset 6 - similarities, check50 error

Getting an error on Check50 for Similarities, Pset6. When I run Check50 the log file states: :( helpers.py compiles No module named 'numpy' I'm using the numpy package for setting up the 2D matrix. ...
0
votes
1answer
52 views

Pset 7 - check50 error on buy

Almost finished Pset7 but I'm getting an error on Check50 that I don't understand. The log file says: :( buy handles valid purchase Log sending POST request to /login sending POST request to /buy ...
0
votes
2answers
62 views

Pset1: Problem: expected “##\n”, not “ ##\n”

Program works like a charm but still get these errors in the end when running the check. Could not figure out the issue. Why ? Thanks
0
votes
1answer
102 views

pset4 recover - my implementation recovers 50 jpegs but check50 rejects

I am having trouble with recover from pset4 - when I run it, it creates 50 images, apparently correctly formatted (000.jpg-049.jpg). However, check50 rejects it: :) recover.c exists. :) recover.c ...
0
votes
1answer
230 views

PSET7: Finance: check50 errors

I have implemented all pages except the default homepage. Every functionality is working fine. But, check50 shows some errors which never goes. I don't know which frown is turning upside down. Help ...
0
votes
1answer
109 views

pset5 speller program is free of memory errors

I have search around alot of places and even looked at others code but I dont find my code is that much different. I keep getting program is free of memory errors if I check with cs50. I can run my ...
0
votes
1answer
104 views

Style50 not working for pset5 speller

My code just works here for speller. I am receiving 4 out of 5 in style. A 5 over 5 will make me pass this pset by crossing 70% threshold. Can you Please spot errors in style? // Implements a ...
0
votes
1answer
154 views

pset3 check50 error message: “ :( bday.txt is correct ”

In pset3 (music), while checking my version of helpers.c and bday.txt for correctness, I get the error message :( bday.txt is correct - Expected 25 lines in bday.txt, but yours has 0 As far as I ...
0
votes
1answer
29 views

Trouble with the hacker edition of mario.c

I have been struggling with the hacker edition of mario.c for over 2 hours. If I give a height of 5 I only get 4 rows as shown in the attached image. /* C Program which prints mario's right aligned * ...
0
votes
1answer
23 views

pset4 recover - jpgs in place, 0 is returned, but Check50 fails - segfault

My "recovery" programm works - all 50 jpg files are recovered and pictures are visible. The programm terminates with returned 0. But as I run check50 it tells ":( recovers 000.jpg correctly - failed ...
1
vote
1answer
341 views

pset7 finance check50 doesn't detect a valid sale despite portfolio updating correctly

I'm puzzled why check50 shows me this error despite my portfolio and SQLite database correctly reflecting the sold shares :( sell handles valid sale expected to find "56.00" in page, but it ...
0
votes
1answer
428 views

pset7 finance register function check 50

after I run check50 I get following comments: Below are my code for register: @app.route("/register", methods=["GET", "POST"]) def register(): """Register user""" session.clear() if request.method =...
0
votes
0answers
35 views

Mario.py works but gets different check50 results each time without changing a thing in the source code

Can someone please point out what's wrong with my code? from cs50 import get_int def main(): print("Height should be a positive integer between 0 and 23.") # a "do-while" loop to recieve a ...
0
votes
1answer
168 views

Pset7 check50 buy error :( buy handles valid purchase

:( buy handles valid purchase expected to find "112.00" in page, but it wasn't found Log sending POST request to /login sending POST request to /buy checking that "112.00" is in page ...
0
votes
1answer
211 views

pset5 :( speller compiles expected exit code 0, not 2

I was able to compile speller locally, but I keep failing check50. When I run my program I get the same output as the staff solution and it does not leak any memory. I have not altered speller.c or ...
0
votes
1answer
91 views

check50 cs50/2018/x/music Failing

https://cs50.me/submit50/results/ramynasr/2da60275db4805137478dc9b9dd4d649c3484355 I keep getting: :( helpers.c compiles expected exit code 0, not 1 Log running clang -std=c11 -o is_rest is_rest....
0
votes
1answer
84 views

Multiple errors on pset4 resize, less comfortable

I have multiple errors when using check50 and I am not sure why. I realize that multiple people already addressed similar error as mine, but I do not understand the explanations. I would appreciate if ...
1
vote
2answers
65 views

pset 4 - recover: undefined behavior?

I got a question regarding check50 on pset4 - recover. If i run check50 a couple times in a row, without even compiling my code in between I get different results (might be all green smileys or ...