gnosis / prediction-market-agent-tooling

Tools to benchmark, deploy and monitor prediction market agents.
GNU Lesser General Public License v3.0
21 stars 4 forks source link

Support for arbitrary categorical outcomes #510

Open kongzii opened 1 month ago

kongzii commented 1 month ago

Currently, all markets on Omen (created by Olas or our Replicator) are categorical, but the categories are [Yes, No], so we consider them as binary markets (True, False outcomes).

However, most markets on Seer are truly categorical:

Screenshot by Dropbox Capture

But there are also some binary (although in a different order of outcomes, pay attention to indexes there! 😄 ):

Screenshot by Dropbox Capture

If we truly want to support Seer and make Presagio a bit more fancy, we need to add support for truly categorical markets at least (and later on also scalar markets...)

This is harder than it looks like because at many places in code we do stuff like from_bool, outcome: bool, or all agents are producing p_yes instead of the outcome: probability pairs... so it needs a lot of thinking about how to structure PMAT and how to make current agents still usable and at least one new agent to test this out.