I have an issue with the deck finder feature of RoyaleAPI.
I don’t know if that’s a bug or an intended feature, but the result is confusing in any case.
When looking for the “best” deck with a given card (eg. deck with best win%), I get a first list of decks. Then if I ask to include also a second card, I get another list, but oftentimes, the best deck of that second list is BETTER than the best deck of the first list. This doesn’t seem logical since the decks in the second list should be part of the first list as well.
As an example, I look for the best deck (Normal battle, 1 day, sort by win%) with GRAVEYARD. The best deck is
The win% is said to be 59.1% (in the list, we have slightly different figures in the deck stats page).
If I know ask for the best decks with GRAVEYARD + FREEZE, the best deck is
The win% is said to be 78.1% (again slightly different value in deck stats page). This deck is not proposed in the first list, although it is much better than the decks in that first list.
So I don’t understand why this GRAVEYARD + FREEZE deck is not proposed when simply looking for GRAVEYARD decks?
It seems that increasing the search period gives slightly more consistent results. For instance, looking over 14 days, the 2nd best GY deck is a GY FREEZE deck. However, looking for GY + FREEZE decks, this deck is only the 2nd best GY FREEZE deck, and we miss actually the supposedly better GY FREEZE deck (which is not reported in the GY decks).
The only reason I see is that these “better” decks would be filtered out (eg. based on usage%), but this is confusing. If so, it would be nice that this filter appears as an option that we could enable / disable.