Skip to content

Create helper functions and use them within the karma function #3

@cjaiello

Description

@cjaiello

The karma function in app.py is huge and should be broken down into helper functions. Note that there are also issues open where we need a slack_client.py file and a logger file, so for this issue, create helper functions in app.py for things not related to talking to slack or logging.

For example, the "karma math" could be its own helper function(s):
Screen Shot 2020-09-21 at 9 36 44 PM
You could maybe even make a Karma class, with value and was_corrected attributes, potentially!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions