Skip to content

Conversation

@crh23
Copy link

@crh23 crh23 commented Jul 16, 2019

Cleaned up most places (including applying black, which I think might be a good thing to do going forward). I have included most of the additions by @KloskaT, where they didn't conflict.

crh23 and others added 30 commits July 3, 2019 14:45
Also added LRU caching to DistributionTruncated.ppf for a speed boost.
…essary parameter assignments (they were immediately overwritten)
… for a general loop to initialise agent parameters.
…e now as a result, especially in insurancesimulation.py
…ital_entry, count_underwritten_risks_by_category

Removed redundant functions from metainsuranceorg: adjust_dividend, adjust_capacity_target.
…nction (get_newrisks_by_type) for organising new risks (start to cleaning up iterate function). Removed some imports from start.py.
…caching (since tuples are hashable). Tested, lead to a small performance increase. Also did misc cleanup etc.
…urance_non_proportional_by_category as they were almost the same.
…e to compiled bytecode.

Done so simplify diffs with future commits.
the category each reinsurance firm is insuring on the edge labels.
@crh23 crh23 changed the title Cleanup, move some things around Cleanup, move some things around, add functionality Sep 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants