delvtech / agent0

Analysis & simulation repo for Delv
https://agent0.readthedocs.io/en/latest/
Apache License 2.0
52 stars 21 forks source link

Fixing a bug with coerce_float in calc pnl #1600

Closed slundqui closed 4 months ago

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 81.19%. Comparing base (29633e4) to head (8b37b7a). Report is 89 commits behind head on main.

Files with missing lines Patch % Lines
...c/agent0/chainsync/analysis/calc_position_value.py 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1600 +/- ## ========================================== - Coverage 81.45% 81.19% -0.26% ========================================== Files 98 98 Lines 7273 7275 +2 ========================================== - Hits 5924 5907 -17 - Misses 1349 1368 +19 ``` | [Flag](https://app.codecov.io/gh/delvtech/agent0/pull/1600/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=delvtech) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/delvtech/agent0/pull/1600/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=delvtech) | `81.19% <50.00%> (-0.26%)` | :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=delvtech#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.