Skip to content

Optimizer does not operate #1

@RedViper9

Description

@RedViper9

Looks like the board was wiped completely clean but I'm still having an issue with this sooooo repost!

Expected Behavior

PokemonOptimizer transfers pokemon that do not meet the criteria given in "rules"

"rules": [
                    {
                        "mode": "by_family",
                        "top": 2,
                        "sort": ["ivcp"],
                        "evolve": true,
                        "upgrade": false
                    },
                    {
                        "mode": "by_pokemon",
                        "top": 2,
                        "sort": ["attack_perfection"],
                        "evolve": false,
                        "upgrade": {"ivcp": 0.8}
                    },
                    {
                        "mode": "by_pokemon",
                        "top": 2,
                        "sort": ["defense_perfection"],
                        "evolve": false,
                        "upgrade": {"ivcp": 0.8}
                    }
                ]

Actual Behavior

No pokemon are being transferred.

Config

http://pastebin.com/rW7vStGC

Output

http://pastebin.com/GeFgfaqG

Other Information

OS: Mint 18

Branch: Dev

Git Commit: fbe0507
Python Version: 2.7.12

Workaround

Replacing attack_perfection and defense_perfection with dps_attack and dps_defense, respectively, lets the task run.

                "rules": [
                    {
                        "mode": "by_family",
                        "top": 2,
                        "sort": ["ivcp"],
                        "evolve": true,
                        "upgrade": false
                    },
                    {
                        "mode": "by_family",
                        "top": 1,
                        "sort": ["dps_attack"],
                        "evolve": false,
                        "upgrade": true
                    },
                    {
                        "mode": "by_family",
                        "top": 1,
                        "sort": ["dps_defense"],
                        "evolve": false,
                        "upgrade": true
                    }
                ]

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