Author | Message |
---|---|
ytsai8
Posts: 47
|
Posted 19:50 Mar 10, 2014 |
Why do the scores change even when I submitted the same set of codes??? And some weird code like "return 5" (without any other logic) can get the score range from 31-49 points... |
Eric Liao
Posts: 158
|
Posted 22:11 Mar 10, 2014 |
Please refer to the scoring page they provide. Anyway to sum up, they used the 100-200 games to determine how much you improve from last score. So if your last score is about 40, next time if you got about 50% win ratio, your score probably will not change by a lot. |
lakerfan94
Posts: 143
|
Posted 22:54 Mar 10, 2014 |
You can submit to HackerRank multiple times right? Because I don't think you can edit a previous submission right? |
Eric Liao
Posts: 158
|
Posted 23:04 Mar 10, 2014 |
You can edit the code according to the previous submission. The score will get recorded every time you submit. |
lakerfan94
Posts: 143
|
Posted 23:14 Mar 10, 2014 |
Oops. I went to my previous submission and clicked on "open in editor" but when I clicked submit, it submitted a new bidding game. |
Eric Liao
Posts: 158
|
Posted 23:30 Mar 10, 2014 |
Yeah, it will create a new submission every time you submit a new one. What i meant by continuing the code is that you can click on edit the code. And they will have your code there. |
lakerfan94
Posts: 143
|
Posted 21:24 Mar 11, 2014 |
Eric, where does it say "edit my code"? Because I looked at one of the previous submissions I had but it says there "open in editor" but it opens the recent code I'm testing but not the code of the previous submission. |
Eric Liao
Posts: 158
|
Posted 21:30 Mar 11, 2014 |
Hmm, I think they probably have some bug displaying the previous code you submitted. If you are having this issue, just copy and paste the code from the previous code manually. |
lakerfan94
Posts: 143
|
Posted 21:57 Mar 11, 2014 |
Ok. Is it alright to test our bots against yours and Dr Abbott's on HackerRank? Cuz I've tested them already for yours and Dr Abbott's |
Eric Liao
Posts: 158
|
Posted 21:59 Mar 11, 2014 |
That is your choice. You don't need to ask our permission. For my bot, however, is the dummy I present in class. The one that always bid 20 :p. You don't need to use me as testing objective. I will reveal my old code tomorrow. |
ytsai8
Posts: 47
|
Posted 22:30 Mar 11, 2014 |
Dr.Abbott's bot is top 9 on the Leaderboard XD. He is sitting around page 12, I cant even get passed page 6. |
lakerfan94
Posts: 143
|
Posted 22:30 Mar 11, 2014 |
I know Dr Abbott told us that we should submit our bots to HackerRank but what if the version we submit for class is not the same as the one in HackerRank? The reason I ask is that the aiStrategy I want to make involves comparing the two bids of the two players but I had to instantiate a BiddingGame object. But when I compiled and tested the code on HackerRank(I also included the BiddingGame class code), it gave me an error message saying something that BiddingGame was public, something like that. So I changed the name of the BiddingGame class to "Solution2", assuming that if it read something that said "solution", it would run based on what I heard how the compiler runs . I also changed in aiStrategy anything that initially said BiddingGame, I changed it to Solution2. However, the code did not work. The last version I submitted, without the BiddingGame instantiation in aiStrategy, got me 53.8 points so I'm pretty much satisfied but just wondering if it's ok that what I last submitted on HackerRank is not the same version as the one I submit to CSNS. |
Eric Liao
Posts: 158
|
Posted 22:33 Mar 11, 2014 |
It's fine that you don't have the same version from CSNS and on HackerRank. However, I do recommend not using any code from the game engine. Try to create more method in your AI code is more preferred. Why? In term of reality, the bot will have no idea to know anything other than the text game engine provide to the bot. Therefore, the bot should be able to calculate the information bot need by itself (aka by its method). |
lakerfan94
Posts: 143
|
Posted 22:39 Mar 11, 2014 |
Oh no, I didn't use any code from the GameEngine. It was just from BiddingGame, but even without using the BiddingGame object, I still got 53.81 so I feel somewhat satisfied |
Eric Liao
Posts: 158
|
Posted 22:43 Mar 11, 2014 |
Keep going! You can do better than that! |
lakerfan94
Posts: 143
|
Posted 23:23 Mar 11, 2014 |
I would want to put more but it's kinda late and I need some sleep |
Eric Liao
Posts: 158
|
Posted 23:29 Mar 11, 2014 |
Just kidding, good night. Last edited by Eric Liao at
23:30 Mar 11, 2014.
|
lakerfan94
Posts: 143
|
Posted 23:35 Mar 11, 2014 |
HAHAHAHA thanks Eric, see you tomorrow |
Unleashdragonz10
Posts: 19
|
Posted 23:55 Mar 11, 2014 |
LOLOL...... Last edited by Unleashdragonz10 at
23:56 Mar 11, 2014.
|
Anonymous
Posts: 166
|
Posted 00:34 Mar 12, 2014 |
am i the only one? |