Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

Commit

Permalink
add qualification candidate config
Browse files Browse the repository at this point in the history
  • Loading branch information
t-ah committed Aug 4, 2020
1 parent a39ab66 commit 16ef714
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 0 deletions.
25 changes: 25 additions & 0 deletions server/conf/SampleQualification.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"server" : {
"tournamentMode" : "round-robin",
"teamsPerMatch" : 1,
"launch" : "key",
"port" : 12300,
"backlog" : 10000,
"agentTimeout" : 4000,
"resultPath" : "results",
"logLevel" : "normal",
"logPath" : "logs",
"replayPath" : "replays",
"maxPacketLength" : 65536,
"waitBetweenSimulations" : 5000
},

"match" : [
"$(sim/sim-q1.json)",
"$(sim/sim-q2.json)"
],

"teams" : {
"A" : {"prefix" : "agent", "password" : "1"}
}
}
48 changes: 48 additions & 0 deletions server/conf/sim/sim-q1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"description" : "qualification round 1 (candidate) config. goal: complete 1 task.",

"steps" : 300,
"randomSeed" : 17,
"randomFail" : 1,
"entities" : {"standard" : 15},
"clusterBounds" : [1,3],

"clearSteps" : 3,
"clearEnergyCost" : 30,
"disableDuration" : 4,
"maxEnergy" : 300,
"attachLimit" : 10,

"grid" : {
"height" : 70,
"width" : 70,
"instructions": [
["cave", 0.45, 9, 5, 4]
],
"goals": {
"number" : 3,
"size" : [1,2]
}
},

"blockTypes" : [3, 3],
"dispensers" : [5, 10],

"tasks" : {
"size" : [2, 3],
"duration" : [100, 200],
"probability" : 0.1,
"taskboards" : 3,
"rewardDecay" : [1, 2],
"lowerRewardLimit" : 10,
"distanceToTaskboards" : 8
},

"events" : {
"chance" : 15,
"radius" : [3, 5],
"warning" : 5,
"create" : [-3, 1],
"perimeter" : 2
}
}
48 changes: 48 additions & 0 deletions server/conf/sim/sim-q2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"description" : "qualification round 2 (candidate) config. goal: complete 1 task.",

"steps" : 300,
"randomSeed" : 17,
"randomFail" : 1,
"entities" : {"standard" : 50},
"clusterBounds" : [3,10],

"clearSteps" : 3,
"clearEnergyCost" : 30,
"disableDuration" : 4,
"maxEnergy" : 300,
"attachLimit" : 10,

"grid" : {
"height" : 60,
"width" : 100,
"instructions": [
["cave", 0.45, 9, 5, 4]
],
"goals": {
"number" : 4,
"size" : [1,2]
}
},

"blockTypes" : [3, 3],
"dispensers" : [5, 10],

"tasks" : {
"size" : [2, 3],
"duration" : [100, 200],
"taskboards" : 5,
"probability" : 0.1,
"rewardDecay" : [1, 2],
"lowerRewardLimit" : 10,
"distanceToTaskboards" : 10
},

"events" : {
"chance" : 15,
"radius" : [3, 5],
"warning" : 5,
"create" : [-3, 1],
"perimeter" : 2
}
}

0 comments on commit 16ef714

Please sign in to comment.