Update crs_arena/battle_manager.py
Browse files- crs_arena/battle_manager.py +17 -4
crs_arena/battle_manager.py
CHANGED
@@ -14,21 +14,34 @@ from utils import get_crs_model
|
|
14 |
|
15 |
# CRS models with their configuration files.
|
16 |
CRS_MODELS = {
|
|
|
17 |
"kbrd_redial": "data/arena/crs_config/KBRD/kbrd_redial.yaml",
|
18 |
-
"kbrd_opendialkg": "data/arena/crs_config/KBRD/kbrd_opendialkg.yaml",
|
19 |
"unicrs_redial": "data/arena/crs_config/UniCRS/unicrs_redial.yaml",
|
|
|
|
|
|
|
20 |
"unicrs_opendialkg": "data/arena/crs_config/UniCRS/unicrs_opendialkg.yaml",
|
21 |
"barcor_redial": "data/arena/crs_config/BARCOR/barcor_redial.yaml",
|
22 |
-
"barcor_opendialkg": "data/arena/crs_config/BARCOR/barcor_opendialkg.yaml",
|
23 |
-
"chatgpt_redial": "data/arena/crs_config/ChatGPT/chatgpt_redial.yaml",
|
24 |
"chatgpt_opendialkg": (
|
25 |
"data/arena/crs_config/ChatGPT/chatgpt_opendialkg.yaml"
|
26 |
),
|
27 |
-
"crbcrs_redial": "data/arena/crs_config/CRB_CRS/crb_crs_redial.yaml",
|
28 |
}
|
29 |
|
30 |
CONVERSATION_COUNTS = defaultdict(int).fromkeys(CRS_MODELS.keys(), 0)
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
def get_crs_fighters() -> Tuple[CRSFighter, CRSFighter]:
|
34 |
"""Selects two CRS models for a battle.
|
|
|
14 |
|
15 |
# CRS models with their configuration files.
|
16 |
CRS_MODELS = {
|
17 |
+
"crbcrs_redial": "data/arena/crs_config/CRB_CRS/crb_crs_redial.yaml",
|
18 |
"kbrd_redial": "data/arena/crs_config/KBRD/kbrd_redial.yaml",
|
|
|
19 |
"unicrs_redial": "data/arena/crs_config/UniCRS/unicrs_redial.yaml",
|
20 |
+
"kbrd_opendialkg": "data/arena/crs_config/KBRD/kbrd_opendialkg.yaml",
|
21 |
+
"chatgpt_redial": "data/arena/crs_config/ChatGPT/chatgpt_redial.yaml",
|
22 |
+
"barcor_opendialkg": "data/arena/crs_config/BARCOR/barcor_opendialkg.yaml",
|
23 |
"unicrs_opendialkg": "data/arena/crs_config/UniCRS/unicrs_opendialkg.yaml",
|
24 |
"barcor_redial": "data/arena/crs_config/BARCOR/barcor_redial.yaml",
|
|
|
|
|
25 |
"chatgpt_opendialkg": (
|
26 |
"data/arena/crs_config/ChatGPT/chatgpt_opendialkg.yaml"
|
27 |
),
|
|
|
28 |
}
|
29 |
|
30 |
CONVERSATION_COUNTS = defaultdict(int).fromkeys(CRS_MODELS.keys(), 0)
|
31 |
|
32 |
+
# Temporary
|
33 |
+
CONVERSATION_COUNTS.update(
|
34 |
+
{
|
35 |
+
"kbrd_redial": 7,
|
36 |
+
"kbrd_opendialkg": 7,
|
37 |
+
"unicrs_redial": 4,
|
38 |
+
"unicrs_opendialkg": 3,
|
39 |
+
"barcor_redial": 2,
|
40 |
+
"barcor_opendialkg": 2,
|
41 |
+
}
|
42 |
+
)
|
43 |
+
|
44 |
+
|
45 |
|
46 |
def get_crs_fighters() -> Tuple[CRSFighter, CRSFighter]:
|
47 |
"""Selects two CRS models for a battle.
|