Skip to content

category loading fails, but selection can continue, but lacks some categories in the output #29

@foobacca

Description

@foobacca

This was observed using version 1.0.2

Had the message:

Error loading categories: inconsistent values in min_flex and max_flex in the categories input for No qualification/ none yet: the flex values must be equal or outside the max and min values.

And then it ignored a number of categories. It also, in step 3, suggested the range of people was (0-0). But it did let selection continue.

Rich deleted the min_flex and max_flex columns in the spreadsheet and then the selection worked as expected.

Looking at code:

I have tested the code using the sortition-algorithms library - at this commit - and it shows the same error. But you cannot then run a selection, so you can't end up with a half done selection. So I recommend we just get the new version out there and we can then close this.

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