openpredictionmarkets / socialpredict

Easy to Deploy Prediction Market Platform
https://github.com/openpredictionmarkets/socialpredict
MIT License
55 stars 10 forks source link

Admin Dashboard Layout Discussion #104

Open pwdel opened 8 months ago

pwdel commented 8 months ago

Image

pwdel commented 8 months ago
pwdel commented 8 months ago
jg-you commented 8 months ago

Other

Unresolve, re-resolve, etc would all be on the question page itself I think.

pwdel commented 8 months ago

How about:

  1. Sandbox Users ... because if a user creates bets, that messes with the history if you, "delete it." Is your concern people creating offensive/toxic user display names? Or not wanting erroneously created users which open up for accidental, non-controlled betting...for example you, create 101 users instead of 100 and the last one somehow gets emailed to someone twice, allowing them to double bet?
  2. Theming is no problem.
  3. Economic Controls: What needs to be part of a dashboard, meaning it gets changed on the fly, vs. what needs to be set at the start of the game and not changed?

Currently everything is configurable at the start of the game/server and all calculations depend upon these constants.

https://github.com/openpredictionmarkets/socialpredict/blob/main/backend/setup/setup.yaml

Another question...what about exporting data (apart from backups)?

One would think you would want to be able to export all markets with a button, bets, users at any time so you have a record in .csv format?

What about a, "Halt Game," ... "Halt Betting" "Halt Market Creation" button(s) for the end of a tournament/semester? Perhaps Halt Game would halt everything, whereas the other two options would halt the requisite items. E.g. sometimes stock markets have trading holidays?

Backups...I see this as a different problem than exporting data. I think there needs to be backups of the database on a regular basis in case something happens, e.g. if the game is lost, it can be recovered. Backups should just be a given and ideally there should be an optional plugin to S3. Whereas exports I see more as, "it's in CSV format, for ease of research and data analytics usage."

There's CSV, or a flatfile with json, whatever format that could be exports whereas backups would be a dump file compatible with postgres.

pwdel commented 7 months ago

We had a couple of questions come in about what the, "Send Bailout," and "Change Debt Limit" features are, or just more clarity around those.

pwdel commented 1 month ago

Started forum style discussion. https://github.com/orgs/openpredictionmarkets/discussions/321

pwdel commented 1 month ago

Over time, the notion of creating a more robust user model has come up, with the concept perhaps of creating MODERATOR type user accounts rather than just ADMIN.

MODERATORS may have different tiers, there could be an ECONOMIC_MODERATOR and a USER_MODERATOR.

The USER_MODERATOR could be responsible for content and user conduct, e.g. preventing or flagging toxic content. The ECONOMIC_MODERATOR could have more to do with actual economic decision making, such as raising the debt level or sending bailouts, which might be considered much more drastic, non-every-day decisions.

Whereas the ADMIN user type might be a more secure level, that is really in charge of adding users and setting permissions, fundamental application level stuff. Hypothetically there should only be one ADMIN level account and its access should be very secure, and it controls all other user types, including the USER_MODERATOR and ECONOMIC_MODERATOR, however it doesn't have the powers of the moderators, to keep a separation of concerns.

There might be also a, MARKET_MAKER user type which is not a MODERATOR but is designed to play the functions of a traditional market maker, e.g. take positions in exchange for liquidity. Hypothetically the ECONOMIC_MODERATOR can send continual bailouts to the MARKET_MAKER which would be one way of increasing the supply of points into the system beyond just changing the debt level.

If the application were designed this way, then bailouts paid to the MARKET_MAKER could be more transparent and be reported on the /Stats page.