lewisfogden / heavylight

A lightweight actuarial modelling framework for Python
https://lewisfogden.github.io/heavylight/
MIT License
5 stars 2 forks source link

API for presenting results #22

Closed MatthewCaseres closed 5 months ago

MatthewCaseres commented 5 months ago

Gives models and methods .df, .df_agg, .cache and .cache_agg attributes. Also implement granular aggregation controls via decorators. See example.ipynb.

A lot of the lines changed are due to running black code formatter, may want that enforced in CI, IDK.

Some change to the vscode settings.json, there is a lot of testing functionality in vscode, basically just setting that up https://code.visualstudio.com/docs/python/testing#_test-discovery

codecov[bot] commented 5 months ago

Codecov Report

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

Project coverage is 78.68%. Comparing base (5bd120f) to head (a44c78b).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #22 +/- ## ========================================== + Coverage 74.65% 78.68% +4.03% ========================================== Files 5 5 Lines 359 427 +68 ========================================== + Hits 268 336 +68 Misses 91 91 ```

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

lewisfogden commented 5 months ago

All good - merged!