#we have test.py at home š¤
Explore tagged Tumblr posts
Text
thereās a written portion thatās submitted on gradescope, do we also submit our code on gradescope to use their autograder feature, like every other course does? no, thereās an autograder using github actions, meaning thereās tons of files in here i canāt touch because they configure the autograder. i do have to admit running the autograder immediately every time you push a change is kind of cool but i still feel like this is ridiculous
professors who just got their phds will be like āiāve provided a test.pyā and youāll be like āis it tests that will help me check my progress during developmentā and theyāll be like āitās testsā and you run it and get a couple contextless outputs and then it crashes, and you check it out and itās like
a = f()
# your function should make a grid
print(a)
# checking if b and c are equal
print(b==c)
and this continues into calls to functions you havenāt implemented yet. also b and c arenāt supposed to be equal, so if you ran the script and saw a random ass False print out after the grid, youāre doing alright. literally just False by itself im going to scream
#post tag#and again theyāre not even tests#they run ātestā files and hardcode all of the output theyāre supposed to get from them#whatever happened to testing! pass if the tests pass fail if the tests fail!#iām so fucking serious it runs some things in a couple files and compares the output of each ENTIRE FILE to a STRING#i havenāt run it yet. no idea what happens if you fail#presumably no useful output can come from this#although i guess a lot of autograders dont give real output. we have local tests for that#we have test.py at home š¤ #althoughhhhhh ok to be fair this is not a programming class. this is a concepts class. weāre implementing bfs and shit#so we just have to see that our simpleish functions basically work#and again the coding part is only like half the assignment#still gonna complain :)
2 notes
Ā·
View notes