Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: build runner handles gas steal #187

Merged
merged 2 commits into from
Nov 16, 2024
Merged

feat: build runner handles gas steal #187

merged 2 commits into from
Nov 16, 2024

Conversation

raspersc2
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Nov 16, 2024

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/ares
   __init__.py20100% 
   behavior_exectioner.py15847%30–33, 47, 56–59
   cache.py160100% 
   config_parser.py301937%36–52, 74–84
   consts.py382499%166, 188, 192–193
   custom_bot_ai.py1005347%82–83, 105, 127–140, 143–160, 186, 206–226, 240–287, 304–310, 318–331, 337, 361–362
   main.py40032319%79–115, 123, 126, 129, 140–230, 242–258, 270–302, 356, 365–378, 381–392, 408, 440–449, 463, 477–488, 502, 518, 531–532, 563–589, 611–627, 648–694, 703–719, 733–755, 764–766, 777–812, 830–839, 853–861, 892–977, 993, 1012, 1028–1046
src/ares/behaviors
   __init__.py10100% 
   behavior.py5180%41
src/ares/behaviors/combat
   __init__.py10100% 
   combat_maneuver.py14564%103, 106–111
src/ares/behaviors/combat/group
   __init__.py70100% 
   a_move_group.py21767%42–54
   combat_group_behavior.py281739%35, 44–64, 69–79
   group_use_ability.py24962%54–67
   keep_group_safe.py251060%45–58
   path_group_to_target.py391464%83–121
   stutter_group_back.py573833%54–101, 115–139
   stutter_group_forward.py422540%43–87
src/ares/behaviors/combat/individual
   __init__.py120100% 
   a_move.py13285%39–40
   attack_target.py13285%43–44
   combat_individual_behavior.py6183%34
   drop_cargo.py15473%45–49
   keep_unit_safe.py19574%45–57
   path_unit_to_target.py26677%68–84
   pick_up_cargo.py291066%58–77
   place_predictive_aoe.py61610%1–227
   shoot_target_in_range.py261350%51–82
   stutter_unit_back.py261062%52–64
   stutter_unit_forward.py18667%44–50
   use_ability.py19668%52–60
   worker_kite_back.py18667%51–56
src/ares/behaviors/macro
   __init__.py140100% 
   addon_swap.py261254%50–91
   auto_supply.py563832%49–62, 71–133
   build_structure.py21767%50–75
   build_workers.py14471%37–49
   expansion_controller.py392049%55–71, 76–86, 104–123
   gas_building_controller.py251252%45–88
   macro_behavior.py6183%33
   macro_plan.py15567%48, 51–56
   mining.py21217318%90–252, 283, 288–318, 349–429, 469–544, 565–603, 609–616
   production_controller.py1299824%93–224, 237–257, 260–276, 281–298, 303–319
   restore_power.py432444%43–61, 78–89, 107–135
   spawn_controller.py1208529%83–230, 261–265, 292–301, 305–307, 313–323, 326–344
   tech_up.py775627%63–153, 174–219
   upgrade_controller.py402148%64–112
src/ares/build_runner
   __init__.py00100% 
   build_order_parser.py23118918%60–70, 163–164, 186–192, 218–219, 252–259, 264–333, 338–391, 396–401, 406–414, 433–450, 455–484, 487–532, 549–608
   build_order_runner.py32124324%115–119, 125–171, 174–179, 182–183, 186–188, 210, 217, 228–256, 269–449, 475–515, 533–537, 544–551, 554–567, 570–615, 628–638, 669–722
   build_order_step.py140100% 
src/ares/dicts
   __init__.py00100% 
   ability_cooldowns.py30100% 
   cost_dict.py30100% 
   does_not_use_larva.py30100% 
   enemy_detector_ranges.py40100% 
   enemy_vs_ground_static_defense_ranges.py30100% 
   pickup_range.py20100% 
   structure_to_building_size.py30100% 
   turn_rate.py440%1–7
   unit_alias.py20100% 
   unit_data.py30100% 
   unit_tech_requirement.py20100% 
   weight_costs.py30100% 
src/ares/managers
   __init__.py00100% 
   ability_tracker_manager.py301163%99, 139–144, 232, 253–255
   building_manager.py17813723%145, 165–170, 192–321, 324–327, 330–335, 341–359, 369–373, 390–464, 492–497, 521–527, 561–578, 589–594
   combat_sim_manager.py443032%83, 131–171
   data_manager.py804840%125, 129–134, 152–167, 171, 178–184, 189–194, 205–226, 229–235
   enemy_to_base_manager.py1004456%132, 168, 175, 194, 199, 217–222, 251–277, 292–295, 317–326, 335–349
   flying_structure_manager.py442152%62, 92, 128, 136–156, 159
   hub.py65986%190–191, 222–227, 242, 289
   intel_manager.py1156147%130–136, 146, 169, 196–215, 225–243, 253–286, 296–302, 312–331, 335, 344, 363–364, 367–368, 371–372, 389–390, 396–397, 406–407
   manager.py160100% 
   manager_mediator.py3279671%153, 178, 211, 234, 252, 274, 306, 327, 345, 362, 378, 399, 422, 440, 458, 477, 495, 513, 531, 549, 567, 585, 603, 621, 639, 657, 675, 694, 717, 739, 757, 774, 793, 811, 830, 860, 892, 918, 957, 984, 1007, 1030, 1055, 1105, 1128, 1145, 1177, 1209, 1230, 1246, 1270, 1301, 1363, 1397, 1416, 1441, 1462, 1499, 1520, 1544, 1572, 1612, 1636, 1658, 1676, 1694, 1710, 1726, 1742, 1758, 1801, 1817, 1833, 1850, 1867, 1886, 1918, 1939, 1955, 1988, 2004, 2058, 2078, 2096, 2116, 2132, 2148, 2164, 2213, 2263, 2283, 2305, 2323, 2377, 2397, 2419
   path_manager.py23411949%243, 254–273, 308–315, 376–384, 406–411, 442–453, 498–543, 568, 593, 607–622, 641, 659–662, 675–774, 777, 807–884, 909, 926, 944–946, 953, 969–976, 1008, 1094–1095, 1115–1116, 1119, 1147–1149
   placement_manager.py43627537%171, 185, 191, 194, 199, 242–247, 284–287, 290–363, 407–578, 588–611, 619–646, 658–674, 687–707, 731–740, 760–769, 906–1038, 1041–1065, 1107–1140, 1185–1223, 1232–1265
   resource_manager.py28815646%136, 153, 185–191, 226, 255–258, 263, 279–287, 304–312, 355–452, 467, 471, 497–543, 566, 575–610, 686–693, 701–705, 720–723, 737–749, 763–765, 783–785, 812–828, 902, 905, 908, 934–940
   squad_manager.py18413228%51, 57, 60, 63, 66, 69–70, 168–170, 176–189, 216–241, 255, 281–293, 316–331, 346–360, 379–399, 402–406, 411–430, 436–447, 474–489, 503–525, 528–537
   terrain_manager.py1799249%190, 204–218, 234, 251–260, 272–275, 287, 302–305, 317, 329, 353, 365, 381–392, 443–469, 489–507, 563–583, 598–612, 625–639, 646–656
   unit_cache_manager.py1458641%160–166, 180–219, 232–238, 254–264, 275–281, 297–329, 342–351, 367–370, 386–390, 421, 459–469
   unit_memory_manager.py1778751%112–124, 172–211, 214, 239, 256–277, 293–294, 312–313, 333–337, 353–354, 370–372, 388–390, 412, 449, 492, 497–500, 521–523, 540–548, 569–589
   unit_role_manager.py863658%144–147, 161–165, 213–214, 230, 248–249, 291–298, 302, 338–341, 357, 377–392, 436
TOTAL5676309745% 

Tests Skipped Failures Errors Time
198 0 💤 0 ❌ 198 🔥 2m 53s ⏱️

@raspersc2 raspersc2 merged commit 91581ff into main Nov 16, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant