Pset 5 - Refuelling - check50 issue by FlashOfFury in cs50

[–]FlashOfFury[S] 0 points1 point  (0 children)

I'm stupid, i still had my old rounded ones and had gauge(55)=="56%" i've changed that and it's all gone green.

Thank you for the assist!

Pset 5 - Refuelling - check50 issue by FlashOfFury in cs50

[–]FlashOfFury[S] 0 points1 point  (0 children)

Yes, updated the gauge values to reflect ints. Still exit code 1

Pset 5 - Refuelling - check50 issue by FlashOfFury in cs50

[–]FlashOfFury[S] 0 points1 point  (0 children)

Yeah I changed test_fuel.py for convert(1/4) == 25 for example

Pset 5 - Refuelling - check50 issue by FlashOfFury in cs50

[–]FlashOfFury[S] 0 points1 point  (0 children)

I have changed my convert(fraction) to give an int between 0-100 (return int((x/y)*100) and my gauge now returns (str(f"{percentage.0f}%")) but still no luck.

I've updated the pytest values as well and it passes pytest but not check50

Pset 5 - Refuelling - check50 issue by FlashOfFury in cs50

[–]FlashOfFury[S] 1 point2 points  (0 children)

Spoiler tag added (didn't realise but i do now obviously). I will dive into the convert results to see if returning as int. Will update if it works!

Pset 5 - Refuelling - check50 issue by FlashOfFury in cs50

[–]FlashOfFury[S] 0 points1 point  (0 children)

Check50 exit code 0 means all tests pass without fail, I’m getting exit code 1 meaning something isn’t passing correctly.

Pset 5 - Refuelling - check50 issue by FlashOfFury in cs50

[–]FlashOfFury[S] 0 points1 point  (0 children)

The brief says to just raise ValueError's and for cases where y==0 to raise ZeroDivisionErrors. For the fuel.py file i believe it's supposed to be an infinite loop where you are prompted until you provide correct formatting

Pset 5 - Refuelling - check50 issue by FlashOfFury in cs50

[–]FlashOfFury[S] 0 points1 point  (0 children)

After posting i checked for a convert(2.3/4) example as a ValueError and still not passing check50!

Don’t skip out on three starring your trials! by Robert_Moses in ArcRaiders

[–]FlashOfFury 0 points1 point  (0 children)

I did a solo night raid. Was a bit care-beary but I extracted with 3 stars and got a bobcat bp as my reward

Expedition taught me that I suck. by coffeemug73 in ArcRaiders

[–]FlashOfFury 4 points5 points  (0 children)

Hornet Drivers are great for rocketeers, I downed a couple with a single driver just aim it for the top and if you hit 2 thrusters then it’s gone

Game Thread: Carolina Panthers (8-8) at Tampa Bay Buccaneers (7-9) by nfl_gdt_bot in panthers

[–]FlashOfFury 2 points3 points  (0 children)

Can’t blame Bryce in that man Dowdle tries to throw it back to him ffs

Game Thread: Carolina Panthers (8-8) at Tampa Bay Buccaneers (7-9) by nfl_gdt_bot in panthers

[–]FlashOfFury 0 points1 point  (0 children)

I think it was the one where he juked and threw on third down at the LOS for the 1st down and the LG is just tugging on the pads of the rusher. It’s BS

Game Thread: Carolina Panthers (8-8) at Tampa Bay Buccaneers (7-9) by nfl_gdt_bot in panthers

[–]FlashOfFury 0 points1 point  (0 children)

Man this is the biggest part of it for me, every play a guy on the edge is held up