assume-framework / assume

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

Improve data_dict usage #274

Closed maurerle closed 9 months ago

maurerle commented 9 months ago

I did not like to create an empty data_dict for every new agent - so I decided to move this functionality into mango and add what we need there.

Users need to update the dependencies using pip install -e . for ASSUME to work afterward, which should not be a problem.

I also fixed parts of the documentation

codecov[bot] commented 9 months ago

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (09634f3) 81.92% compared to head (bda90e1) 81.90%.

Files Patch % Lines
assume/common/outputs.py 57.14% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #274 +/- ## ========================================== - Coverage 81.92% 81.90% -0.03% ========================================== Files 38 38 Lines 4156 4161 +5 ========================================== + Hits 3405 3408 +3 - Misses 751 753 +2 ``` | [Flag](https://app.codecov.io/gh/assume-framework/assume/pull/274/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/274/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework) | `81.90% <86.95%> (-0.03%)` | :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.