Finding smarter matchups in Marvel Legendary board game

Marvel Legendary is fun thematic deck building tabletop game, with plenty of expansions. While the game says the different types of cards should be selected by random during setup, this can create games that are very unbalanced. The extreme being that they are completely unbeatable.

I've been working on an app that will hopefully help in setting up more balanced games for a range of difficulties. The first major step has been to identify a method for finding the best and worst hero matchup for a given scenario. 

Here are two examples of the app trying to make the best combination:

And here the worst:

While these type of setups are still being tested, the goal is that once I identify these two extremes I can then rank other teams compared to these.