You're seeing just the function equity, go back to Mola module for more information.
Link to this function

equity(hands, community \\ [], seen \\ [], opts \\ [])

View Source

Enumerates possible wins going word and returns a winner percentage for each supplied hand Supply community for board games and seen for any additional exposed cards

This does not enforce any rules on board or hand size.

Options are as per ranked_high_hands with an additional keyword list. Defaults to:

  • deal: [community: 0, personal: 0]

Note that dealing additional personal cards is not yet implemented.


iex> Mola.equity([{"BB", "Ah Kh"}, {"CO", "Jd Td"}], "Ad Kd Ts", [], deal: [community: 2])
[{"BB", 51.92}, {"CO", 47.17}, {"BB=CO", 0.91}]