Coder Social home page Coder Social logo

parameterfiddler's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

parameterfiddler's Issues

Config

Save settings to config, restore on next load

ArrayIndexOutOfBoundsException

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%

Cancel run

Allow to cancel the run without killing the program

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.