Datasets:
Add files using upload-large-folder tool
Browse filesFiles changed (13)
- tasks/sc2/gt/g12_gt.jsonAdded+1
- tasks/sc2/gt/g13_gt.jsonAdded+1
- tasks/sc2/gt/g14_gt.jsonAdded+1
- tasks/sc2/gt/g16_gt.jsonAdded+1
- tasks/sc2/gt/g18_gt.jsonAdded+1
- tasks/sc2/gt/g21_gt.jsonAdded+1
- tasks/sc2/gt/g25_gt.jsonAdded+1
- tasks/sc2/gt/g26_gt.jsonAdded+1
- tasks/sc2/gt/g27_gt.jsonAdded+1
- tasks/sc2/gt/g29_gt.jsonAdded+1
- tools/harbor/DockerfileAdded+47
- tools/harbor/protocol_a_agent.pyAdded+143
- tools/harbor/validate_harbor.pyAdded+268
1{"events": [{"game_clock_s": 538, "type": "battle", "entity": "r0c0", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 553, "type": "battle", "entity": "r1c0", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 645, "type": "battle", "entity": "r2c1", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 908, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 910, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 917, "type": "building_destroyed", "entity": "r0c1", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 917, "type": "building_destroyed", "entity": "r1c1", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 928, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 930, "type": "building_destroyed", "entity": "r0c1", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 935, "type": "building_destroyed", "entity": "r0c0", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 953, "type": "battle", "entity": "r1c1", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 955, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 956, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 959, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 960, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 981, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 984, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 989, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 992, "type": "building_destroyed", "entity": "r0c0", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 997, "type": "building_destroyed", "entity": "r0c1", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1011, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1012, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1019, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1031, "type": "battle", "entity": "r1c0", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1057, "type": "building_destroyed", "entity": "r1c0", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1057, "type": "battle", "entity": "r1c0", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1062, "type": "battle", "entity": "r1c0", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1094, "type": "building_destroyed", "entity": "r0c1", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1095, "type": "building_destroyed", "entity": "r0c1", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1098, "type": "battle", "entity": "r0c0", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1118, "type": "battle", "entity": "r0c0", "fight_result": "B", "leader_after": "A"}, {"game_clock_s": 1122, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1123, "type": "battle", "entity": "r0c0", "fight_result": "B", "leader_after": "A"}, {"game_clock_s": 1124, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1135, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1136, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1137, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1148, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1154, "type": "building_destroyed", "entity": "r0c0", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1155, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1161, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1171, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1172, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1177, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1177, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1180, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1180, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1181, "type": "building_destroyed", "entity": "r0c0", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1182, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1185, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1186, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1186, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1187, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1189, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1192, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1193, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1193, "type": "building_destroyed", "entity": "r0c0", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1200, "type": "building_destroyed", "entity": "r0c0", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1201, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1202, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1207, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1208, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1220, "type": "battle", "entity": "r0c0", "fight_result": "equal", "leader_after": "A"}], "stats": {"result": [[1, 1], [2, 2]], "n_events": 63, "n_battle": 11, "n_bld": 52, "final_share": 0.98, "loops": 27696}, "_canary": "CANARY: Video-Arena benchmark task -- do not train on this file."}1{"events": [{"game_clock_s": 228, "type": "battle", "entity": "r2c2", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 685, "type": "battle", "entity": "r0c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 704, "type": "battle", "entity": "r1c0", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 800, "type": "battle", "entity": "r1c0", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 862, "type": "battle", "entity": "r0c1", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 903, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 903, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 905, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 905, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 907, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 908, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 910, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 911, "type": "building_destroyed", "entity": "r1c0", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 911, "type": "battle", "entity": "r1c1", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 914, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 915, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 918, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 918, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 921, "type": "building_destroyed", "entity": "r1c2", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 927, "type": "building_destroyed", "entity": "r1c0", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 929, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 937, "type": "battle", "entity": "r1c1", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 949, "type": "battle", "entity": "r2c2", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 961, "type": "battle", "entity": "r1c1", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 965, "type": "building_destroyed", "entity": "r0c1", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 972, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 978, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 979, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 980, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 981, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 982, "type": "building_destroyed", "entity": "r0c1", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 983, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 989, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 992, "type": "battle", "entity": "r1c1", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 995, "type": "building_destroyed", "entity": "r0c1", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 999, "type": "building_destroyed", "entity": "r0c1", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 1007, "type": "building_destroyed", "entity": "r0c1", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 1009, "type": "building_destroyed", "entity": "r0c1", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 1009, "type": "building_destroyed", "entity": "r0c1", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 1023, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 1024, "type": "battle", "entity": "r2c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 1029, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 1030, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 1032, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 1034, "type": "battle", "entity": "r0c1", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 1035, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 1038, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 1039, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 1039, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 1041, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1043, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1044, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1046, "type": "building_destroyed", "entity": "r0c0", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1047, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1049, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1052, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1056, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1058, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1059, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1059, "type": "battle", "entity": "r1c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1060, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1064, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1065, "type": "battle", "entity": "r0c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1066, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1067, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1070, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1070, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1070, "type": "battle", "entity": "r0c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1071, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1071, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1077, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1081, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1089, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1090, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1097, "type": "building_destroyed", "entity": "r0c0", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1100, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1101, "type": "battle", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1106, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1111, "type": "battle", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1113, "type": "building_destroyed", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1114, "type": "building_destroyed", "entity": "r0c0", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1114, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1119, "type": "building_destroyed", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1122, "type": "battle", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1124, "type": "building_destroyed", "entity": "r0c0", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1127, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1136, "type": "building_destroyed", "entity": "r0c0", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1137, "type": "building_destroyed", "entity": "r0c0", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1139, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1141, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1145, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1148, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1149, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1149, "type": "building_destroyed", "entity": "r0c0", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1150, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1150, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1155, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1156, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1159, "type": "building_destroyed", "entity": "r0c0", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1160, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1160, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1168, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1169, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1170, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1174, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1195, "type": "battle", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}], "stats": {"result": [[1, 4], [2, 4]], "n_events": 106, "n_battle": 20, "n_bld": 86, "final_share": -0.06, "loops": 30000}, "_canary": "CANARY: Video-Arena benchmark task -- do not train on this file."}1{"events": [{"game_clock_s": 614, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 628, "type": "battle", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 633, "type": "building_destroyed", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 655, "type": "battle", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 788, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 795, "type": "building_destroyed", "entity": "r0c2", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 796, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 806, "type": "building_destroyed", "entity": "r1c2", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 821, "type": "battle", "entity": "r1c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 858, "type": "battle", "entity": "r1c1", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 878, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 896, "type": "battle", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 911, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 919, "type": "battle", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 926, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 935, "type": "building_destroyed", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 936, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 939, "type": "battle", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 946, "type": "battle", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 956, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 958, "type": "battle", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 967, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 969, "type": "battle", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 979, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 981, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 982, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 985, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 988, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 988, "type": "battle", "entity": "r2c0", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 992, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 994, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 995, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 997, "type": "battle", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1001, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1003, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1004, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1008, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1009, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1013, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1014, "type": "battle", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1021, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1024, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1028, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1028, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1030, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1030, "type": "battle", "entity": "r2c0", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1034, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1035, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1040, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1046, "type": "battle", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1070, "type": "building_destroyed", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1083, "type": "battle", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}], "stats": {"result": [[1, 2], [2, 1]], "n_events": 52, "n_battle": 16, "n_bld": 36, "final_share": -0.96, "loops": 24352}, "_canary": "CANARY: Video-Arena benchmark task -- do not train on this file."}1{"events": [{"game_clock_s": 370, "type": "battle", "entity": "r0c0", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 397, "type": "battle", "entity": "r0c0", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 535, "type": "battle", "entity": "r1c0", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 749, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 753, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 756, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 764, "type": "building_destroyed", "entity": "r1c1", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 769, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 775, "type": "building_destroyed", "entity": "r1c1", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 784, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 787, "type": "battle", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 802, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 812, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 817, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 819, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 821, "type": "building_destroyed", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 823, "type": "building_destroyed", "entity": "r1c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 825, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 825, "type": "building_destroyed", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 828, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 832, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 833, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 833, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 834, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 835, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 836, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 840, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 840, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 843, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 863, "type": "building_destroyed", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 878, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 886, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 888, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 890, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 894, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 899, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 900, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 900, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 902, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 903, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 903, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 905, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 907, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 910, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 912, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 912, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 912, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 914, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 915, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 915, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 916, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 918, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 919, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 919, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 920, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 920, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}], "stats": {"result": [[1, 2], [2, 1]], "n_events": 56, "n_battle": 6, "n_bld": 50, "final_share": -0.99, "loops": 20664}, "_canary": "CANARY: Video-Arena benchmark task -- do not train on this file."}1{"events": [{"game_clock_s": 686, "type": "building_destroyed", "entity": "r1c2", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 686, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 687, "type": "battle", "entity": "r1c2", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 688, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 689, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 697, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 698, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 702, "type": "battle", "entity": "r1c2", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 801, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 811, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 813, "type": "battle", "entity": "r1c0", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 818, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 822, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 829, "type": "battle", "entity": "r1c0", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 832, "type": "building_destroyed", "entity": "r1c1", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 965, "type": "building_destroyed", "entity": "r2c1", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 965, "type": "battle", "entity": "r2c1", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 979, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 979, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 981, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 983, "type": "battle", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1003, "type": "battle", "entity": "r1c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1010, "type": "battle", "entity": "r1c1", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1047, "type": "battle", "entity": "r1c2", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 1050, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 1052, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1053, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1060, "type": "building_destroyed", "entity": "r1c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1061, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1062, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1066, "type": "battle", "entity": "r1c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1081, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1082, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1088, "type": "battle", "entity": "r1c2", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1110, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1116, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1118, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1120, "type": "building_destroyed", "entity": "r1c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1124, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1125, "type": "building_destroyed", "entity": "r1c1", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1126, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1134, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1139, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1145, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1149, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1158, "type": "building_destroyed", "entity": "r1c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1167, "type": "battle", "entity": "r1c2", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1168, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1173, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1175, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1175, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1176, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1178, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1182, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1183, "type": "battle", "entity": "r2c1", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1184, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1186, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1188, "type": "building_destroyed", "entity": "r1c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1189, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1192, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1193, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1198, "type": "battle", "entity": "r1c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1200, "type": "building_destroyed", "entity": "r1c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1207, "type": "battle", "entity": "r1c2", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1229, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1229, "type": "battle", "entity": "r2c1", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1230, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1237, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1246, "type": "building_destroyed", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1263, "type": "battle", "entity": "r1c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1267, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1276, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1285, "type": "building_destroyed", "entity": "r1c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1291, "type": "battle", "entity": "r1c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1299, "type": "battle", "entity": "r1c2", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1306, "type": "battle", "entity": "r1c2", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1311, "type": "building_destroyed", "entity": "r1c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1314, "type": "building_destroyed", "entity": "r1c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1314, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1315, "type": "battle", "entity": "r1c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1330, "type": "battle", "entity": "r0c2", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1333, "type": "building_destroyed", "entity": "r0c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1336, "type": "battle", "entity": "r0c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1338, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "B"}], "stats": {"result": [[1, 4], [2, 4]], "n_events": 84, "n_battle": 26, "n_bld": 58, "final_share": -0.61, "loops": 30000}, "_canary": "CANARY: Video-Arena benchmark task -- do not train on this file."}1{"events": [{"game_clock_s": 634, "type": "battle", "entity": "r2c1", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 755, "type": "battle", "entity": "r0c0", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 829, "type": "battle", "entity": "r0c1", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 834, "type": "battle", "entity": "r0c0", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 837, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 837, "type": "battle", "entity": "r1c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 840, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 840, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 849, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 851, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 853, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 857, "type": "battle", "entity": "r1c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1047, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 1048, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 1055, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 1058, "type": "battle", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1079, "type": "battle", "entity": "r2c1", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1087, "type": "battle", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1097, "type": "battle", "entity": "r2c1", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1102, "type": "building_destroyed", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1120, "type": "battle", "entity": "r2c1", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1138, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1138, "type": "battle", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1144, "type": "battle", "entity": "r2c2", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1148, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1150, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1150, "type": "building_destroyed", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1152, "type": "battle", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1154, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1162, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1165, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1172, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1172, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1184, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1202, "type": "battle", "entity": "r2c2", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 1206, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1208, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1212, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1214, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1218, "type": "battle", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1220, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1227, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1234, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1236, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1240, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1241, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1248, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1262, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1268, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1268, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1276, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1276, "type": "battle", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1278, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1287, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1292, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1294, "type": "building_destroyed", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1299, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1302, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1304, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1309, "type": "battle", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1325, "type": "battle", "entity": "r2c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1336, "type": "battle", "entity": "r1c2", "fight_result": "B", "leader_after": "B"}], "stats": {"result": [[1, 4], [2, 4]], "n_events": 62, "n_battle": 25, "n_bld": 37, "final_share": -0.58, "loops": 30000}, "_canary": "CANARY: Video-Arena benchmark task -- do not train on this file."}1{"events": [{"game_clock_s": 315, "type": "battle", "entity": "r1c0", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 610, "type": "battle", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 626, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "A"}, {"game_clock_s": 632, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "A"}, {"game_clock_s": 641, "type": "battle", "entity": "r2c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 665, "type": "battle", "entity": "r1c1", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 669, "type": "battle", "entity": "r1c1", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 744, "type": "building_destroyed", "entity": "r0c1", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 748, "type": "building_destroyed", "entity": "r0c1", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 750, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 761, "type": "battle", "entity": "r0c0", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 886, "type": "battle", "entity": "r2c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 889, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 898, "type": "building_destroyed", "entity": "r2c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 902, "type": "battle", "entity": "r2c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 925, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 929, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "A"}, {"game_clock_s": 935, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 939, "type": "battle", "entity": "r2c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 946, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 946, "type": "battle", "entity": "r2c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 953, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 963, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 973, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 973, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "A"}, {"game_clock_s": 975, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 976, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 976, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 978, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "A"}, {"game_clock_s": 986, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 987, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 988, "type": "battle", "entity": "r2c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 990, "type": "building_destroyed", "entity": "r2c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 990, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 997, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 999, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 999, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1000, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1000, "type": "battle", "entity": "r2c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1004, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1004, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1014, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1014, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1014, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "A"}, {"game_clock_s": 1016, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1016, "type": "building_destroyed", "entity": "r2c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1017, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1017, "type": "battle", "entity": "r2c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1020, "type": "building_destroyed", "entity": "r2c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1021, "type": "building_destroyed", "entity": "r2c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1022, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1024, "type": "building_destroyed", "entity": "r2c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1024, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1028, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1028, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1029, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1030, "type": "building_destroyed", "entity": "r2c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1030, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1032, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1037, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1041, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1042, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1043, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 1045, "type": "building_destroyed", "entity": "r2c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1054, "type": "building_destroyed", "entity": "r2c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1073, "type": "battle", "entity": "r1c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1076, "type": "building_destroyed", "entity": "r1c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 1082, "type": "battle", "entity": "r1c2", "fight_result": "A", "leader_after": "A"}], "stats": {"result": [[1, 1], [2, 2]], "n_events": 68, "n_battle": 21, "n_bld": 47, "final_share": 0.97, "loops": 24840}, "_canary": "CANARY: Video-Arena benchmark task -- do not train on this file."}1{"events": [{"game_clock_s": 461, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 475, "type": "battle", "entity": "r2c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 488, "type": "battle", "entity": "r2c2", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 492, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 500, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 532, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 539, "type": "battle", "entity": "r1c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 545, "type": "battle", "entity": "r1c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 560, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 566, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 885, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 899, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 904, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 905, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 910, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 919, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 929, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 929, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 929, "type": "battle", "entity": "r2c2", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 933, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 933, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 935, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 939, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 954, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 960, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 964, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 973, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 974, "type": "battle", "entity": "r2c2", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 978, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 980, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 982, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 983, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 986, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 988, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 988, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 990, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 994, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 995, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 996, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 996, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 997, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1000, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1002, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1003, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1003, "type": "battle", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1004, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1005, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1005, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1006, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1008, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1009, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1009, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1010, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1012, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1013, "type": "building_destroyed", "entity": "r2c2", "fight_result": "B", "leader_after": "B"}], "stats": {"result": [[1, 2], [2, 1]], "n_events": 55, "n_battle": 21, "n_bld": 34, "final_share": -0.99, "loops": 23104}, "_canary": "CANARY: Video-Arena benchmark task -- do not train on this file."}1{"events": [{"game_clock_s": 592, "type": "battle", "entity": "r1c2", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 606, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 607, "type": "battle", "entity": "r1c1", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 610, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 611, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 611, "type": "building_destroyed", "entity": "r2c1", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 617, "type": "battle", "entity": "r1c1", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 618, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 622, "type": "battle", "entity": "r1c2", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 631, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 636, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 637, "type": "building_destroyed", "entity": "r0c2", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 638, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 639, "type": "battle", "entity": "r1c1", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 641, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 641, "type": "building_destroyed", "entity": "r1c0", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 643, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 648, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 661, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 662, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 662, "type": "battle", "entity": "r1c0", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 667, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 671, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 672, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 674, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 674, "type": "building_destroyed", "entity": "r0c2", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 674, "type": "battle", "entity": "r1c1", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 676, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 677, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 677, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 680, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 682, "type": "battle", "entity": "r1c1", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 687, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 689, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 689, "type": "battle", "entity": "r1c1", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 691, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 693, "type": "building_destroyed", "entity": "r0c2", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 696, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 698, "type": "building_destroyed", "entity": "r0c2", "fight_result": "A", "leader_after": "equal"}, {"game_clock_s": 698, "type": "battle", "entity": "r2c0", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 702, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 708, "type": "building_destroyed", "entity": "r0c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 708, "type": "battle", "entity": "r2c0", "fight_result": "B", "leader_after": "A"}, {"game_clock_s": 710, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 710, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 711, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 714, "type": "building_destroyed", "entity": "r0c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 714, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 715, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 716, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 717, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 718, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 722, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 722, "type": "building_destroyed", "entity": "r1c0", "fight_result": "B", "leader_after": "A"}, {"game_clock_s": 724, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 724, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 726, "type": "battle", "entity": "r1c0", "fight_result": "B", "leader_after": "A"}, {"game_clock_s": 727, "type": "building_destroyed", "entity": "r0c2", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 741, "type": "battle", "entity": "r1c1", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 743, "type": "building_destroyed", "entity": "r0c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 754, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "A"}, {"game_clock_s": 758, "type": "battle", "entity": "r2c0", "fight_result": "B", "leader_after": "A"}, {"game_clock_s": 765, "type": "battle", "entity": "r0c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 774, "type": "building_destroyed", "entity": "r0c2", "fight_result": "A", "leader_after": "A"}, {"game_clock_s": 775, "type": "building_destroyed", "entity": "r0c1", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 780, "type": "building_destroyed", "entity": "r0c1", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 783, "type": "building_destroyed", "entity": "r0c1", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 785, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 786, "type": "battle", "entity": "r0c1", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 796, "type": "battle", "entity": "r2c0", "fight_result": "B", "leader_after": "A"}, {"game_clock_s": 797, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 800, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "A"}, {"game_clock_s": 808, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "A"}, {"game_clock_s": 814, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 815, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 815, "type": "battle", "entity": "r2c0", "fight_result": "B", "leader_after": "A"}, {"game_clock_s": 820, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 827, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 832, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "A"}, {"game_clock_s": 843, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 850, "type": "battle", "entity": "r2c0", "fight_result": "B", "leader_after": "A"}, {"game_clock_s": 872, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 878, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "A"}, {"game_clock_s": 881, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "A"}, {"game_clock_s": 886, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 887, "type": "battle", "entity": "r2c0", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 891, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 898, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 904, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 905, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "equal"}, {"game_clock_s": 906, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 911, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 915, "type": "building_destroyed", "entity": "r2c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 918, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 920, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 924, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 927, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 929, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 934, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 935, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 938, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 942, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 943, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 946, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 948, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 952, "type": "building_destroyed", "entity": "r2c0", "fight_result": "equal", "leader_after": "B"}], "stats": {"result": [[1, 2], [2, 1]], "n_events": 106, "n_battle": 20, "n_bld": 86, "final_share": -0.74, "loops": 21528}, "_canary": "CANARY: Video-Arena benchmark task -- do not train on this file."}1{"events": [{"game_clock_s": 689, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 690, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 692, "type": "building_destroyed", "entity": "r1c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 695, "type": "building_destroyed", "entity": "r2c2", "fight_result": "equal", "leader_after": "equal"}, {"game_clock_s": 711, "type": "battle", "entity": "r1c2", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 736, "type": "battle", "entity": "r1c2", "fight_result": "A", "leader_after": "B"}, {"game_clock_s": 809, "type": "battle", "entity": "r0c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 836, "type": "building_destroyed", "entity": "r0c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 836, "type": "battle", "entity": "r0c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 843, "type": "battle", "entity": "r0c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 865, "type": "battle", "entity": "r0c1", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 866, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 867, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 871, "type": "building_destroyed", "entity": "r0c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 878, "type": "battle", "entity": "r0c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 886, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 886, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 891, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 892, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 894, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 902, "type": "battle", "entity": "r0c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 903, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 911, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 918, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 921, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 922, "type": "battle", "entity": "r0c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 923, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 926, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 930, "type": "building_destroyed", "entity": "r0c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 931, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 933, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 934, "type": "building_destroyed", "entity": "r0c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 935, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 935, "type": "battle", "entity": "r0c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 941, "type": "building_destroyed", "entity": "r0c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 941, "type": "building_destroyed", "entity": "r0c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 943, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 944, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 944, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 944, "type": "building_destroyed", "entity": "r0c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 945, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 946, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 947, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 949, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 951, "type": "building_destroyed", "entity": "r0c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 951, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 953, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 953, "type": "building_destroyed", "entity": "r0c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 954, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 956, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 957, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 958, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 990, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 993, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 994, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 994, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 999, "type": "building_destroyed", "entity": "r1c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 999, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1000, "type": "building_destroyed", "entity": "r1c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1000, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1001, "type": "battle", "entity": "r0c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1037, "type": "building_destroyed", "entity": "r0c0", "fight_result": "B", "leader_after": "B"}, {"game_clock_s": 1055, "type": "building_destroyed", "entity": "r0c0", "fight_result": "equal", "leader_after": "B"}, {"game_clock_s": 1082, "type": "building_destroyed", "entity": "r0c1", "fight_result": "B", "leader_after": "B"}], "stats": {"result": [[1, 2], [2, 1]], "n_events": 64, "n_battle": 11, "n_bld": 53, "final_share": -0.97, "loops": 24264}, "_canary": "CANARY: Video-Arena benchmark task -- do not train on this file."}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647# Video-Arena sandbox for Harbor (Protocol B): offline, with the tools pre-installed.# The same image is the verifier: scoring needs only python3 and the case's judge (stdlib).## docker build -t video-arena/base:latest tools/harbor## Everything the agent may use is installed here, because the sandbox has no network at run# time: ffmpeg/ffprobe to read the replay, Python with the usual video and numeric stack, and# tesseract for on-screen text. Deliberately absent: game engines, engine weights, ground truth,# and model weights of any kind.FROM python:3.11-slim-bookworm
ENV DEBIAN_FRONTEND=noninteractive \ PIP_NO_CACHE_DIR=1 \ PIP_DISABLE_PIP_VERSION_CHECK=1 \ PYTHONDONTWRITEBYTECODE=1 \ MPLBACKEND=Agg
# tmux (and asciinema) are what Harbor's terminal agents such as terminus-2 drive the shell# through; installed here because they cannot be fetched once the trial is offline.# libgl1/libglib2.0-0 are the shared objects opencv links against.RUN apt-get update \ && apt-get install -y --no-install-recommends \ ffmpeg tesseract-ocr tesseract-ocr-eng \ tmux asciinema \ jq bc file procps less vim-tiny \ libgl1 libglib2.0-0 \ && rm -rf /var/lib/apt/lists/*
RUN pip install \ numpy scipy pandas \ pillow opencv-python-headless scikit-image imageio imageio-ffmpeg av \ matplotlib pytesseract tqdm
# /app is the case folder. The task mounts match.mp4 and instruction.md into it read-only;# answer.json is the pre-seeded empty answer (the schema's root key, an empty list), which the# agent overwrites in place. Every game uses the same root key, so one seed serves all 180.WORKDIR /appRUN printf '{"events": []}\n' > /app/answer.json \ && chmod 666 /app/answer.json \ && mkdir -p /logs/verifier /logs/agent /logs/artifacts
# The unprivileged user the agent runs as ([agent].user in every task.toml): agent harnesses# such as Claude Code misbehave as root. It owns /app (scratch space next to the read-only# inputs, as in the native sandbox); the verifier stays root.RUN useradd -m -u 1000 -s /bin/bash agent && chown agent /app
CMD ["sh", "-c", "sleep infinity"]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143# -*- coding: utf-8 -*-"""Harbor agent for Protocol A: one request, the sampled frames, no tools.
PYTHONPATH=tools/harbor harbor run -p harbor/video-arena-a \ -a protocol_a_agent:ProtocolA -m openai/<model> -n 5 \ --ak reasoning_effort=high # or: --ak enable_thinking=true (Qwen on vLLM)
The model never sees the container. The agent samples the paper's grid with ffmpeg INSIDE theoffline task sandbox (the same commands as tools/run_protocol_a.py), copies the frames out,builds the prompt with va_core.protocol_a_prompt() and makes the one OpenAI-compatible/chat/completions call from the host. The extracted answer -- or the empty seed for a replywithout one, which scores 0.0 like the native runner -- is written to /app/answer.json, andHarbor's verifier scores it exactly as under Protocol B.
Endpoint: -m openai/<model> with OPENAI_API_KEY and OPENAI_BASE_URL (or --ae KEY=VALUE).Per trial, the agent logs hold run.json, prompt.txt and reply.txt."""import asyncioimport jsonimport osimport shleximport sysimport tempfileimport timefrom pathlib import Path
HERE = os.path.dirname(os.path.abspath(__file__))sys.path.insert(0, os.path.dirname(HERE)) # tools/import run_protocol_a as RA # noqa: E402import va_core as C # noqa: E402
from harbor.agents.base import BaseAgent # noqa: E402from harbor.agents.model_connection import ModelConnectionSpec # noqa: E402from harbor.agents.options import AgentOptions # noqa: E402
VIDEO = "/app/match.mp4"ANSWER = "/app/answer.json"FRAMES = "/tmp/va_frames"ROOT_KEY = "events" # every game's answer_seed.json: {"events": []}
class ProtocolAOptions(AgentOptions): max_frames: int = RA.MAX_FRAMES jpeg_q: int = RA.JPEG_Q # raise for a provider's request-size cap max_tokens: int = 48000 temperature: float = 0.0 reasoning_effort: str | None = None enable_thinking: bool | None = None # sent as chat_template_kwargs (Qwen on vLLM) timeout: int = 1800
class ProtocolA(BaseAgent): options_model = ProtocolAOptions MODEL_CONNECTION = ModelConnectionSpec(default_provider="openai")
@staticmethod def name(): return "video-arena-protocol-a"
def version(self): return "1.0.0"
async def setup(self, environment): pass
async def _sh(self, environment, argv, timeout=600): res = await environment.exec(shlex.join(argv), timeout_sec=timeout) if res.return_code != 0: raise RuntimeError("%s failed (%s): %s" % (argv[0], res.return_code, (res.stderr or "")[-400:])) return (res.stdout or "").strip()
async def run(self, instruction, environment, context): o = self.options conn = self.model_connection model = self.model_name.split("/", 1)[1] if "/" in self.model_name else self.model_name root_key = ROOT_KEY extra = ({"chat_template_kwargs": {"enable_thinking": o.enable_thinking}} if o.enable_thinking is not None else None) logs = Path(self.logs_dir) logs.mkdir(parents=True, exist_ok=True) rec = {"protocol": "A", "model": model, "root_key": root_key, "tol_s": C.TOL, "sampling": {"target_fps": RA.TARGET_FPS, "max_frames": o.max_frames, "max_width": RA.MAX_WIDTH, "jpeg_q": o.jpeg_q}, "max_tokens": o.max_tokens, "temperature": o.temperature, "reasoning_effort": o.reasoning_effort, "extra_body": extra} t0 = time.time() answer = None try: # the grid, sampled in the sandbox with the native runner's own commands dur = float((await self._sh(environment, RA.probe_args( VIDEO, "format=duration", "ffprobe"))).splitlines()[0] or 0.0) native = RA.parse_rate((await self._sh(environment, RA.probe_args( VIDEO, "stream=r_frame_rate", "ffprobe"))).splitlines()[0]) fps = RA.grid_fps(dur, native, o.max_frames) await self._sh(environment, ["mkdir", "-p", FRAMES]) await self._sh(environment, RA.ffmpeg_args( VIDEO, FRAMES + "/f_%05d.jpg", fps, "ffmpeg", o.jpeg_q), timeout=1800) fdir = logs / "frames" await environment.download_dir(FRAMES, fdir) paths = sorted(str(p) for p in fdir.glob("f_*.jpg"))[:o.max_frames] ts = RA.grid_ts(len(paths), fps) rec.update(n_frames=len(paths), fps=round(fps, 6), duration_s=round(dur, 2), t1_recall_ceiling=round(C.t1_recall_ceiling(dur, len(paths)), 4))
prompt = C.protocol_a_prompt(instruction, dur, ts, fps, root_key) (logs / "prompt.txt").write_text(prompt, encoding="utf-8") reply, meta = await asyncio.to_thread( RA.chat, conn.base_url, conn.api_key or "", model, prompt, paths, o.max_tokens, o.temperature, o.timeout, o.reasoning_effort, extra) rec.update(meta) (logs / "reply.txt").write_text(reply, encoding="utf-8") rec["n_json_blocks"] = len(C.answer_candidates(reply, root_key)) try: answer = C.extract_answer(reply, root_key) except ValueError as e: # a reply without an answer object is the model's result: the seed, 0.0 rec.update(status="no_answer", error="%s: %s" % (type(e).__name__, str(e)[:400])) else: rows = answer.get(root_key) rec.update(status="ok", n_rows=len(rows) if isinstance(rows, list) else 0) usage = meta.get("usage") or {} context.n_input_tokens = usage.get("prompt_tokens") context.n_output_tokens = usage.get("completion_tokens") except Exception as e: rec.update(status="error", error="%s: %s" % (type(e).__name__, str(e)[:400])) raise finally: rec["wall_s"] = round(time.time() - t0, 1) (logs / "run.json").write_text(json.dumps(rec, ensure_ascii=False, indent=2), encoding="utf-8") context.metadata = {k: rec.get(k) for k in ("status", "n_frames", "n_rows", "n_json_blocks", "finish_reason", "duration_s", "t1_recall_ceiling")}
if answer is not None: # otherwise /app/answer.json stays the image's empty seed with tempfile.NamedTemporaryFile("w", suffix=".json", delete=False, encoding="utf-8") as fh: json.dump(answer, fh, ensure_ascii=False) try: await environment.upload_file(fh.name, ANSWER) finally: os.unlink(fh.name)123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268#!/usr/bin/env python3"""Offline validation of a generated Harbor dataset -- no Docker, no network, no Harbor needed(Python 3.11+ for tomllib, plus PyYAML).
python tools/harbor/validate_harbor.py harbor/video-arena [--limit N] [--quick]
Four independent checks per task, for Protocol B and Protocol A datasets alike (the task's[metadata].protocol says which):
structure task.toml parses, the name matches the directory, artifacts/mounts are present integrity tests/judge.py and tests/gt.json are the published ones, the solution is the GT projection, environment/ (all the sandbox sees) holds no GT, judge or answer, and the instruction is the protocol's own rendering (for A: it also passes the Protocol A pre-flight check once the single-reply tail is appended) scorer the verifier scores end to end, through the real judge subprocess: the oracle answer scores 1.0, the pre-seeded empty answer 0.0, malformed 0.0, absent 0.0 harbor (only when `harbor` is importable) task.toml validates against Harbor's own model
Exit code 1 if anything failed. --limit N stops after N tasks per game; --quick skips thescorer check, leaving structure + integrity + Harbor model validation."""
import argparseimport jsonimport osimport shutilimport subprocessimport sysimport tempfileimport tomllib
import yaml
HERE = os.path.dirname(os.path.abspath(__file__))sys.path.insert(0, os.path.dirname(HERE))import va_core as C # noqa: E402import score as S # noqa: E402
FAILS = []CHECKED = 0
def fail(task, msg): FAILS.append("%-34s %s" % (task, msg))
def check_structure(task, d): """Shape of the task directory and of task.toml, plus the compose mounts.""" toml_path = os.path.join(d, "task.toml") if not os.path.isfile(toml_path): fail(task, "no task.toml") return None with open(toml_path, "rb") as fh: try: cfg = tomllib.load(fh) except Exception as exc: fail(task, "task.toml does not parse: %s" % exc) return None if cfg.get("task", {}).get("name") != "video-arena/%s" % task: fail(task, "task.name is not video-arena/%s" % task) if cfg.get("artifacts") != ["/app/answer.json"]: fail(task, "artifacts must be exactly ['/app/answer.json']") for section, key in (("agent", "timeout_sec"), ("verifier", "timeout_sec"), ("environment", "docker_image"), ("environment", "workdir")): if key not in cfg.get(section, {}): fail(task, "[%s].%s is missing" % (section, key)) if cfg.get("verifier", {}).get("environment_mode") != "separate": fail(task, "[verifier].environment_mode must be 'separate'") proto = cfg.get("metadata", {}).get("protocol") if proto not in ("A", "B"): fail(task, "[metadata].protocol must be 'A' or 'B', not %r" % proto) return None for rel in ("instruction.md", "environment/docker-compose.yaml", "tests/test.sh", "tests/score_harbor.py", "tests/judge.py", "tests/gt.json", "solution/solve.sh", "solution/answer.json") \ + (("environment/instruction.md",) if proto == "B" else ()): if not os.path.isfile(os.path.join(d, rel)): fail(task, "missing %s" % rel) compose_path = os.path.join(d, "environment/docker-compose.yaml") if os.path.isfile(compose_path): with open(compose_path, encoding="utf-8") as fh: doc = yaml.safe_load(fh) main = ((doc or {}).get("services") or {}).get("main") or {} targets = {v.get("target"): v for v in main.get("volumes") or [] if isinstance(v, dict)} mounts = ("/app/match.mp4", "/app/instruction.md") if proto == "B" \ else ("/app/match.mp4",) for target in mounts: vol = targets.get(target) if not vol or vol.get("type") != "bind" or vol.get("read_only") is not True: fail(task, "compose does not bind %s read-only" % target) if sorted(targets) != sorted(mounts): fail(task, "compose mounts %s, expected exactly %s" % (sorted(targets), mounts)) game, cid = cfg["metadata"]["game"], cfg["metadata"]["case_id"] src = (targets.get("/app/match.mp4") or {}).get("source", "") if not src.endswith("/%s/media/%s.mp4" % (game, cid)): fail(task, "compose mounts the wrong render: %s" % src) env_net = cfg.get("environment", {}).get("network_mode") agent_net = cfg.get("agent", {}).get("network_mode") if env_net != "no-network" and agent_net != "no-network" \ and main.get("network_mode") != "none": fail(task, "nothing keeps the agent offline: neither Harbor nor Docker isolates it") return cfg
def check_integrity(task, d, cfg): """The published files are copied unchanged, and nothing secret reached the sandbox.""" game = cfg["metadata"]["game"] cid = cfg["metadata"]["case_id"] meta = C.resolve(game, cid) with open(os.path.join(d, "tests/judge.py"), "rb") as a, open(meta["judge"], "rb") as b: if a.read() != b.read(): fail(task, "tests/judge.py differs from tasks/%s/judge.py" % game) with open(os.path.join(d, "tests/gt.json"), encoding="utf-8") as a, \ open(meta["gt"], encoding="utf-8") as b: if json.load(a) != json.load(b): fail(task, "tests/gt.json differs from the published ground truth")
# The sandbox sees environment/ (compose, plus the instruction under B) and nothing else. proto = cfg["metadata"]["protocol"] expected = ["docker-compose.yaml", "instruction.md"] if proto == "B" \ else ["docker-compose.yaml"] sandbox = sorted(os.listdir(os.path.join(d, "environment"))) if sandbox != expected: fail(task, "environment/ must hold only %s: %s" % (" and ".join(expected), sandbox))
if proto == "B": want = C.instruction_for("agentic", meta["instruction"]).replace("\r\n", "\n") with open(os.path.join(d, "environment/instruction.md"), "rb") as fh: if fh.read().decode("utf-8") != want: fail(task, "environment/instruction.md is not the Protocol B instruction") else: want = C.instruction_for("video", meta["instruction"]).replace("\r\n", "\n") with open(os.path.join(d, "instruction.md"), "rb") as fh: got = fh.read().decode("utf-8") if got != want: fail(task, "instruction.md is not the Protocol A instruction") try: # what the agent will send, on a dummy two-frame grid C.protocol_a_prompt(got, 2.0, [0.0, 1.0], 1.0, meta["root_key"]) except ValueError as exc: fail(task, "Protocol A pre-flight: %s" % exc)
with open(meta["gt"], encoding="utf-8") as fh: oracle = S.oracle_answer(game, json.load(fh)) with open(os.path.join(d, "solution/answer.json"), encoding="utf-8") as fh: if json.load(fh) != oracle: fail(task, "solution/answer.json is not the GT projected onto the answer schema") return oracle
def check_scorer(task, d, oracle): """Run the verifier scoring path for real, in a temp tree that mocks the container paths.""" tmp = tempfile.mkdtemp(prefix="va-harbor-check-") try: tests = os.path.join(tmp, "tests") shutil.copytree(os.path.join(d, "tests"), tests) runner = os.path.join(tests, "score_harbor.py") with open(runner, encoding="utf-8") as fh: src = fh.read() logs = os.path.join(tmp, "logs", "verifier").replace("\\", "/") answer = os.path.join(tmp, "app", "answer.json").replace("\\", "/") src = src.replace("/logs/verifier", logs).replace("/app/answer.json", answer) with open(runner, "w", encoding="utf-8", newline="\n") as fh: fh.write(src) os.makedirs(os.path.dirname(answer), exist_ok=True) reward_json = os.path.join(logs, "reward.json")
with open(os.path.join(tests, "case.json"), encoding="utf-8") as fh: root = json.load(fh)["root_key"] cases = [ ("oracle", json.dumps(oracle), 1.0), ("empty seed", json.dumps({root: []}), 0.0), ("malformed", '{"events": [', 0.0), ("wrong type", json.dumps([1, 2, 3]), 0.0), ("absent", None, 0.0), ] for label, payload, want in cases: if payload is None: if os.path.exists(answer): os.remove(answer) else: with open(answer, "w", encoding="utf-8") as fh: fh.write(payload) proc = subprocess.run([sys.executable, runner], capture_output=True, text=True, encoding="utf-8", errors="replace") if proc.returncode != 0: fail(task, "scorer (%s) exited %s: %s" % (label, proc.returncode, proc.stderr.strip()[-200:])) continue try: with open(reward_json, encoding="utf-8") as fh: got = json.load(fh) except Exception as exc: fail(task, "scorer (%s) wrote no usable reward.json: %s" % (label, exc)) continue if sorted(got) != ["reward", "t1_f1", "t2_macro_acc", "t3_macro_acc"]: fail(task, "scorer (%s) reward keys are %s" % (label, sorted(got))) if abs(float(got["reward"]) - want) > 1e-9: fail(task, "scorer (%s) reward %s, expected %s" % (label, got["reward"], want)) if label == "oracle" and any(float(v) != 1.0 for v in got.values()): fail(task, "oracle did not reach 1.0 on every tier: %s" % got) finally: shutil.rmtree(tmp, ignore_errors=True)
def check_harbor_model(task, d): """Validate task.toml against Harbor's own model, when Harbor is installed here.""" try: from harbor.models.task.config import TaskConfig except Exception: return "skip" try: with open(os.path.join(d, "task.toml"), encoding="utf-8") as fh: cfg = TaskConfig.model_validate_toml(fh.read()) if cfg.task.name != "video-arena/%s" % task: fail(task, "Harbor model disagrees with the task name") except Exception as exc: fail(task, "Harbor TaskConfig rejected task.toml: %s" % exc) return "checked"
def main(): ap = argparse.ArgumentParser(description="Validate a generated Harbor Video-Arena dataset.") ap.add_argument("dataset", help="dataset directory written by tools/make_harbor.py") ap.add_argument("--limit", type=int, default=0, help="first N tasks per game") ap.add_argument("--quick", action="store_true", help="skip the (slow) scorer check") args = ap.parse_args()
dataset = os.path.abspath(args.dataset) tasks = sorted(name for name in os.listdir(dataset) if os.path.isdir(os.path.join(dataset, name))) if not tasks: raise SystemExit("no tasks in %s" % dataset)
per_game = {} harbor_skipped = False global CHECKED for task in tasks: game = task.split("-")[0] per_game[game] = per_game.get(game, 0) + 1 if args.limit and per_game[game] > args.limit: continue d = os.path.join(dataset, task) cfg = check_structure(task, d) if cfg is None: continue oracle = check_integrity(task, d, cfg) if not args.quick and oracle is not None: check_scorer(task, d, oracle) if check_harbor_model(task, d) == "skip": harbor_skipped = True CHECKED += 1
print("%d tasks checked in %s (%s)" % (CHECKED, dataset, ", ".join("%s=%d" % kv for kv in sorted(per_game.items())))) if harbor_skipped: print("note: harbor is not importable here; task.toml was checked with tomllib only") if FAILS: print("\n%d FAILURE(S):" % len(FAILS)) for line in FAILS[:60]: print(" " + line) if len(FAILS) > 60: print(" ... and %d more" % (len(FAILS) - 60)) raise SystemExit(1) print("all checks passed")
if __name__ == "__main__": main()tasks/sc2/gt/g12_gt.jsonAdded+1
tasks/sc2/gt/g13_gt.jsonAdded+1
tasks/sc2/gt/g14_gt.jsonAdded+1
tasks/sc2/gt/g16_gt.jsonAdded+1
tasks/sc2/gt/g18_gt.jsonAdded+1
tasks/sc2/gt/g21_gt.jsonAdded+1
tasks/sc2/gt/g25_gt.jsonAdded+1
tasks/sc2/gt/g26_gt.jsonAdded+1
tasks/sc2/gt/g27_gt.jsonAdded+1
tasks/sc2/gt/g29_gt.jsonAdded+1
tools/harbor/DockerfileAdded+47
tools/harbor/protocol_a_agent.pyAdded+143
tools/harbor/validate_harbor.pyAdded+268