Skip to content

Penalties Out of Date #70

Description

@PoofyEnigma

I think I've found a new problem in your package. Updating the penalties no longer works. I assume this is because you can now define intervals. In any case, there is now `i.params.regularityRule = namespace(interval=1, intervalType='day') and this is not used anywhere in your sources. Can you take a look at it?
This solves it:

$ diff extensions.py.org extensions.py
553a554

    self.regularityRule: dict = {'interval': 1, 'intervalType': 'day'}

556c557,559
< return self.dict.copy()

    obj = self.__dict__.copy()
    obj['regularityRule'] = self.regularityRule.__dict__.copy()
    return obj

561d563
<

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions