Introducing CG Spunk


#21

The latest version (v0.2.4) released today, adds tracking for average position (ranking? can someone think of a better name for this?) and also for average score (in Hypersonic only).

For example, in this run, I was able to see that the changes I made (IDE code) to improve my Hypersonic score (boxes destroyed) did have a very slight score improvement, and also a slight beneficial impact on my average position in each game:

  • danBhentschel

#22

Thanks! I’ve been looking for something like this. I use FF, though, so I’ll have to stick to the greasemonkey script.


#23

Thanks a lot for working out the issue wit more than 2 players ! Gonna be really useful !


#24

Just an FYI, CG slightly changed the format of their URLs, and CG Spunk wasn’t correctly detecting when you navigate to the IDE. Version 0.2.6 has been published to fix this problem. Thanks to the multiple users who have pointed this problem out to me.

  • danBhentschel

#25

sorry about that. It was a recent idea to make the urls of the ide more readable and sharable. GG @_CG_Nonofr

EDIT: they will change again.


#26

No problem! It’s to be expected when you try to hack something into a living, evolving web site. Comes with the territory. :slight_smile:

  • danBhentschel

#27

Amazing tool, thanks for this!


#28

Could you please add support for custom opponent ranking range (i.e. two inputs “rank from” and “rank to”)?
My use case is that even though my bot is able to win in his range, he might actually score poorly in lower ranks (say, 200 below him), which is very important when re-submitting.


#29

Project forked. Prepare to receive pull requets ! (but not until fantastic bits is finished of course :stuck_out_tongue: )


#30

Sounds great! I look forward to your contribution.

  • danBhentschel

#31

Great Tool,

I found about it late in the last Contest, but, I will use it in my future challenges
Thanks


#32

Is it possible also to see full info? Not only STDERR Debug (Errors Stream)
How change script to see all information:
Game information
Action (Output Stream)
Debug (Errors Stream)
Just same with IDE giving us.


#33

Thanks for the feedback. I have submitted this as Issue #46. Hopefully I’ll have time to work on it soon. :slight_smile:

  • danBhentschel

#34

Sorry, @inoryy. I forgot to add this to the issue list. It’s there now: #48. I will hopefully start working on it tonight.

  • danBhentschel

#35

Version 0.2.7 has been published and is rolling out to clients. It fixes a few small bugs, and also incorporates Issue #48, requested by @inoryy. Enjoy!

  • danBhentschel

#36

Hi, I don’t know if it’s exactly the point of #49, but adding the score plus the reason for a loss (regular loss / timeout / invalid action) would be amazing :slight_smile:


#37

I have added issue #52 and issue #53 for detecting timeout and invalid output… and… be amazed… they’re done already! :slight_smile:

Version 0.2.9 is available in the Chrome Web Store, and should be rolling out to clients now. It includes score tracking for CodeBusters, Hypersonic, and Fantastic Bits. It also has timeout and invalid output detection (in addition to the preexistent crash detection).

Also, I have changed the Average Score (in the summary info) from an average of scores into a weighted average of score percentages:

  • HS: <boxes destroyed> / <total boxes>
  • CB: <ghosts captured> / <total ghosts>
  • FB: <score> / <num snaffles>

Take the average with a grain of salt, though. If the game ends prematurely (not a score-based win) then those incomplete scores will still be averaged in. To do anything different is more work than I’m willing to invest at the moment, and I’m not even sure how that should be handled. Any suggestions?

  • danBhentschel

#38

Well, I’m completely amazed. So useful to quickly find the games you’re looking for :slight_smile:
Well done !!!


#39

Version 0.2.10 has been published to the Chrome Web Store and should be rolling out to clients now. There’s not much of a visible change other than the fact that you can now pit your IDE code against your Arena code, a very annoying bug (issue #55).

The changes required for this were, unfortunately, pretty extensive. I did quite a bit of testing, but I wouldn’t be too surprised if there are new bugs introduced as a result. With GitC only 9 days away, I’d like to stomp any bugs ASAP, so please let me know if you see quirky behavior.

  • danBhentschel

#40

The result comparison between IDE and arena seems broken.