Skip to content

the naming of function PolicyFlowDefault.underwrite() is misleading #109

@matthiaszimmermann

Description

@matthiaszimmermann

what one might expect the function does:

  • check if there is sufficient risk capital in the risk pool
  • block the right amount of risk capital
  • set application to underwritten
  • create a policy

what the function does:

  • all the above
  • collect premiums if possible

possible ways to improve over current state

  • rename function to something less misleading
  • remove premium collection from function scope
  • ... ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions