assume-framework / assume

ASSUME - Agent-based Simulation for Studying and Understanding Market Evolution
https://assume.readthedocs.io
20 stars 5 forks source link

Fix the error that exploration mode is used during evaluation #359

Closed nick-harder closed 1 month ago

nick-harder commented 1 month ago

-check if eval_mode is active when formulating action -correct paths for the loading of policies -remove redundant code

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.95%. Comparing base (8b6addb) to head (81d39a3).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #359 +/- ## ========================================== - Coverage 77.95% 77.95% -0.01% ========================================== Files 43 43 Lines 5145 5143 -2 ========================================== - Hits 4011 4009 -2 Misses 1134 1134 ``` | [Flag](https://app.codecov.io/gh/assume-framework/assume/pull/359/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework) | Coverage Δ | | |---|---|---| | [pytest](https://app.codecov.io/gh/assume-framework/assume/pull/359/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework) | `77.95% <100.00%> (-0.01%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.