It's UWAweek 47

help2200

This forum is provided to promote discussion amongst students enrolled in CITS2200 Data Structures and Algorithms.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
Displaying selected article
Showing 1 of 176 articles.
Currently 13 other people reading this forum.


 UWA week 13 (1st semester, week 5) ↓
SVG not supported

Login to reply

👍?
helpful
2:19pm Mon 25th Mar, Amitava D.

ANONYMOUS wrote:
> I seem to fix one issue and another pops up, not really sure where to go anymore. I seem to always be getting these fails. Have I missed something with these calculations, if so let know if you can point me in a direction that might help solve these issues. > > One more thing. I am not sure if this will actually get any responses since I have seen that not many other students seem to get responses on their questions either, which is concerning. I thought that the teacher answers question on this forum, it seems this might not be the case. Is there anywhere I can get help from, when the labs aren't on > > Thank you! > > > > FAIL: test_get_possible_rank (__main__.TestSpeedrunning) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "C:\Users\use\Downloads\test_speedrunning.py", line 125, in test_get_possible_rank > self.assertEqual(rank, nlt+1, msg=msg) > AssertionError: 139 != 145 : get_possible_rank() gave 139 but there are 144 runs faster than 81 > > ====================================================================== > FAIL: test_get_rank_time (__main__.TestSpeedrunning) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "C:\Users\use\Downloads\test_speedrunning.py", line 110, in test_get_rank_time > self.assertGreater(rank, nlt, msg=msg) > AssertionError: 163 not greater than 172 : Wanted rank 163 but there are 172 runs faster than 100 > > ====================================================================== > FAIL: test_leaderboard_example (__main__.TestSpeedrunning) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "C:\Users\olive\Downloads\test_speedrunning.py", line 43, in test_leaderboard_example > self.assertEqual(board.get_rank_time(5), 903) > AssertionError: 913 != 903 > > > And if try and fix get_rank_time, I get. > TypeError: '<' not supported between instances of 'int' and 'NoneType'
I do not reply to every question. I wait for others to answer, and also there are labs and lab facilitators for answering lab related questions. You should attend labs and ask questions.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy