danbhentschel / cgspunk Goto Github PK
View Code? Open in Web Editor NEWCG enhancement toolset
CG enhancement toolset
After running full batch with for example 10 games plugin open new window and output stats there.
Then if we run new batch of games to proceed it opens new popup but update both of windows where ihmo first window should not be updated at all but kept untouched for comparing purpouses.
http://i.imgur.com/ijRcGll.png
as on screen it does increment counter for both windows and overwrite win/lost/ties stats on first one.
When running a batch with random opponents, it would be nice to occasionally toss in the league boss as an opponent.
After the fix to #24, the buttons don't appear when the browser's reload button is clicked and the IDE is open.
This will need to be a game-specific feature. The scores are communicated in a different way per-game. This is the feature request for the HyperSonic game.
Self-explanatory.
For batch runs with more than one opponent, it would be nice to summarize the average position of the player's AI across all runs.
For multiplayer games with > 1 opponent, it would be nice to allow the batch runner to select a random number of opponents.
It would be nice to be able to parse the STDERR and report on changes in the code based on that. For example, in CB, it could determine the final score. In CSB, it could contain some sort of determination of how far ahead or behind the opponent is, etc.
This is in preparation for #1. The glyphicon-share-alt icon is better suited for the Send to IDE feature.
The boss shows up as "Default" bot, and results aren't reported. (#35)
Broken by the fix for #26.
For example, if I'm ranked 103rd, and I select a range of 1, then it will pick opponents 104 and 105. Should be 102 and 104.
It would be nice to play matches in "arena style", every match gets replayed with reversed positions. The statistics would be more relevant.
Not sure if this is just an issue when debugging the extension or if it can happen in regular use, but I sometimes have multiple copies of the added buttons (SWAP, RUN_BATCH). The code should check for existence and only add if not already there.
The ZIP file is missing the HTML pages. Need a fix ASAP. Currently broken.
If you have less enemys under your current position than set spread, it is picking players from top positions.
For example if you are 1644/1645 and you set spread to 10 it will pick player ranked 1645 then loop around and pick players with rank 1-5
Adding a replay button next to each run in the run results window, that links to the match replay player.
Based on this request:
https://www.codingame.com/forum/t/give-a-starting-frame-for-a-replay/1924
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.
https://forum.codingame.com/t/introducing-cg-spunk/1895/28?u=player_one
It would be nice if CG Spunk could vary the opponents during a batch run.
CG Spunk should detect crashes during a batch run.
Sometimes the script waits for the entire playback of the match (in the IDE window) to complete before continuing to the next match.
It would be nice to be able to send the parameters for a given match to the IDE with a single button click.
Not sure what in the CG universe causes this situation, but here is the crash info, and the fix should be easy.
Injected.js:289 Uncaught (in promise) TypeError: Cannot read property 'divisionIndex' of undefined(…)waitForLeaderboardToBePopulated.then.allAgents.filter._ @ Injected.js:289waitForLeaderboardToBePopulated.then.allAgents @ Injected.js:289
Injected.js:289 Uncaught (in promise) TypeError: Cannot read property 'divisionIndex' of undefined(…)allAgents.filter._ @ Injected.js:289waitForLeaderboardToBePopulated.then.allAgents @ Injected.js:289
If you close the Batch Run Options window, rather than starting the run, then CG Spunk behaves strangely, and doesn't recover gracefully.
Regression from fix to #27.
CG Spunk reloads the page when first entering the CodinGame website. This is annoying.
The SWAP action sometimes fails, and is very slow. It can be improved by calling the CG JavaScript environment directly, rather than trying to click on, and otherwise manipulate, DOM objects.
Need to learn gulp better!
I think this is my fault, but it's hard to debug because the Chrome tab hard locks, and is completely unresponsive, even the developer console.
It would be cool if I could play a set of N matches against an opponent with both my IDE code and my Arena code. Then I could get a sense of how well my new code performs compared to my Arena code.
The messages get crossed, and the two results windows end up with a jumble of matches in them.
It would be nice to be able to completely replicate a batch run on at will, with a different codeset.
The batch run options form doesn't have a label for the number of iterations! Huh?!?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.