mitrefireline / simfire

An open-source wildfire simulator written in Python and meant to be used to train reinforcement learning (RL) agents.
https://mitrefireline.github.io/simfire/
Apache License 2.0
30 stars 2 forks source link

Add geopy and fix tests #34

Closed doyled-it closed 4 months ago

doyled-it commented 4 months ago

The pyproject.toml and poetry.lock were missing geopy and some tests were failing because of it (and, as discovered, because of other reasons too).

github-actions[bot] commented 4 months ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
simfire/game
   game.py1982587%50, 76–80, 250–251, 292–293, 311–315, 344, 346, 348, 353, 356–363, 389, 402–403, 406–407
   image.py19289%20, 31
   sprites.py178697%81, 87, 92, 98, 341, 447
simfire/game/managers
   fire.py204598%223, 265–269, 643, 782
   mitigation.py44198%73
simfire/sim
   simulation.py41912271%73, 83, 93, 103, 113, 129, 140, 150, 170, 181, 324, 416–423, 457–478, 549, 615–628, 648–661, 679, 696, 768, 805–806, 808–809, 839, 858, 871, 892–959, 1020–1024, 1043–1054, 1068–1106
simfire/utils
   config.py50114771%70–83, 112, 225, 235–236, 251, 265–272, 297–317, 328–335, 348, 386–388, 406–408, 410–412, 431–442, 564, 579, 583, 587, 597–599, 630–681, 700, 711–712, 715, 719, 728–733, 746–754, 775, 781, 785, 795–803, 814, 849–874, 897, 904, 912, 930–954, 1048, 1061, 1084, 1093–1114
   decorators.py13838%15–23
   generate_cfd_wind_layer.py816816%23–32, 36–54, 58–66, 70–80, 86–120
   graph.py67691%107–108, 113, 119, 227, 252
   layers.py45722351%89, 93–94, 141–146, 187, 205, 212, 289–299, 383–392, 395–436, 442–449, 630, 659, 813–845, 850–881, 890–910, 919–923, 940–1035, 1042–1048, 1062–1073, 1084, 1093–1126, 1138–1159, 1178–1186
   log.py321069%11–12, 15–16, 21, 27, 36–38, 41
   terrain.py38879%127–136
   units.py27485%15–16, 29–31
simfire/utils/_tests
   test_layers.py89397%102, 131, 192
simfire/world
   elevation_functions.py24196%100
simfire/world/wind_mechanics
   cfd_wind.py1503974%63–73, 76–95, 130–134, 140–144, 188, 272, 274, 279, 281
   perlin_wind.py35197%42
   wind_controller.py663744%119–146, 157–170, 173, 176, 179, 182, 185
TOTAL386471681% 

Tests Skipped Failures Errors Time
97 0 :zzz: 0 :x: 0 :fire: 8m 14s :stopwatch: