eulerschezahl / parameterfiddler Goto Github PK
View Code? Open in Web Editor NEWtweak parameters for CodinGame bots
tweak parameters for CodinGame bots
Save settings to config, restore on next load
I get the following error message in the command window after it made a few rounds:
Exception in thread "Thread-2" java.lang.ArrayIndexOutOfBoundsException: 7
at parameterfiddler.Runner.runBot(Runner.java:136)
at parameterfiddler.Runner.mutateBot(Runner.java:219)
at parameterfiddler.Runner.run(Runner.java:188)
at java.lang.Thread.run(Unknown Source)
I started the fiddler with D:\CG BrutalTester\Seabed Security>java -jar ../uber-parameterfiddler-1.0.jar -gui
And this is the config file:
#Thu Jan 04 21:21:57 CET 2024
rounds=10
brutaltester=../cg-brutaltester.jar
players=2
threads=2
swap=true
delta=0.3
refereeCommand=java -jar fall-2023-fish.jar
This is my parameters.txt:
public static int ScareCreatureEdgeDist { get; set; } = 2000;
Parameter Changes Output Console:
Thu Jan 04 21:37:16 CET 2024: set parameter: public static int ScareCreatureEdgeDist { get; set; } = 2000;
Thu Jan 04 21:37:16 CET 2024: executing: [java, -jar, ../cg-brutaltester.jar, -r, "java -jar fall-2023-fish.jar", -p1, "D:\GoogleDrive\Eigene Programme\CSharp\CodingGame\FallChallenge2023\bin\Debug\net6.0\FallChallenge2023.exe mutatedParameters.txt", -p2, "D:\GoogleDrive\Eigene Programme\CSharp\CodingGame\FallChallenge2023\bin\Debug\net6.0\FallChallenge2023.exe parameters.txt", -t2, -n100, -s]
Brutaltester Output Console:
21:37:16,941 INFO [com.magusgeek.brutaltester.Main] Referee command line: java -jar fall-2023-fish.jar
21:37:16,942 INFO [com.magusgeek.brutaltester.Main] Player 1 command line: D:\GoogleDrive\Eigene Programme\CSharp\CodingGame\FallChallenge2023\bin\Debug\net6.0\FallChallenge2023.exe mutatedParameters.txt
21:37:16,942 INFO [com.magusgeek.brutaltester.Main] Player 2 command line: D:\GoogleDrive\Eigene Programme\CSharp\CodingGame\FallChallenge2023\bin\Debug\net6.0\FallChallenge2023.exe parameters.txt
21:37:16,942 INFO [com.magusgeek.brutaltester.Main] Number of games to play: 100
21:37:16,942 INFO [com.magusgeek.brutaltester.Main] Number of threads to spawn: 2
21:37:17,791 INFO [com.magusgeek.brutaltester.GameThread] End of game 1 0,00% 0,00%
21:37:17,805 INFO [com.magusgeek.brutaltester.GameThread] End of game 2 0,00% 0,00%
21:37:18,461 INFO [com.magusgeek.brutaltester.GameThread] End of game 4 0,00% 0,00%
21:37:18,461 INFO [com.magusgeek.brutaltester.GameThread] End of game 3 0,00% 0,00%
21:37:19,328 INFO [com.magusgeek.brutaltester.GameThread] End of game 5 0,00% 0,00%
21:37:19,332 INFO [com.magusgeek.brutaltester.GameThread] End of game 6 0,00% 0,00%
21:37:20,191 INFO [com.magusgeek.brutaltester.GameThread] End of game 8 0,00% 0,00%
21:37:20,192 INFO [com.magusgeek.brutaltester.GameThread] End of game 7 0,00% 0,00%
21:37:20,994 INFO [com.magusgeek.brutaltester.GameThread] End of game 10 0,00% 0,00%
21:37:20,996 INFO [com.magusgeek.brutaltester.GameThread] End of game 9 0,00% 0,00%
21:37:21,659 INFO [com.magusgeek.brutaltester.GameThread] End of game 11 0,00% 0,00%
21:37:21,659 INFO [com.magusgeek.brutaltester.GameThread] End of game 12 0,00% 0,00%
21:37:22,479 INFO [com.magusgeek.brutaltester.GameThread] End of game 13 0,00% 0,00%
21:37:22,479 INFO [com.magusgeek.brutaltester.GameThread] End of game 14 0,00% 0,00%
21:37:23,461 INFO [com.magusgeek.brutaltester.GameThread] End of game 15 0,00% 0,00%
21:37:23,462 INFO [com.magusgeek.brutaltester.GameThread] End of game 16 0,00% 0,00%
21:37:24,261 INFO [com.magusgeek.brutaltester.GameThread] End of game 17 0,00% 0,00%
21:37:24,263 INFO [com.magusgeek.brutaltester.GameThread] End of game 18 0,00% 0,00%
21:37:25,075 INFO [com.magusgeek.brutaltester.GameThread] End of game 19 0,00% 0,00%
21:37:25,081 INFO [com.magusgeek.brutaltester.GameThread] End of game 20 0,00% 0,00%
21:37:25,817 INFO [com.magusgeek.brutaltester.GameThread] End of game 21 0,00% 0,00%
21:37:25,821 INFO [com.magusgeek.brutaltester.GameThread] End of game 22 0,00% 0,00%
21:37:26,522 INFO [com.magusgeek.brutaltester.GameThread] End of game 24 0,00% 0,00%
21:37:26,522 INFO [com.magusgeek.brutaltester.GameThread] End of game 23 0,00% 0,00%
21:37:27,382 INFO [com.magusgeek.brutaltester.GameThread] End of game 25 4,00% 3,85%
Allow to cancel the run without killing the program
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.