StanfordHCI / bang

💥 Helping people meet for the first time, more than once 💥
MIT License
2 stars 1 forks source link

Random 'hung jury' messages appear #452

Closed xehu closed 4 years ago

xehu commented 4 years ago

Even though the polls never appeared, I got ‘hung’ jury messages at really random points throughout the flow:

bug - hung jury again bug - more random hung jury 2 bugs - polls never appeared, and 'hung jury' appeared even though there was no poll; also appeared very late

Moreover, the 'hung jury' message itself was cut off. The format for this may not be ideal for a small pop-up; perhaps consider briefly redirecting the user to a page that says "hung jury!" instead.

My questions to this end are:

  1. What is the underlying data structure being checked, to determine when these "hung jury" messages are being sent out?
  2. How is that data structure populated?
  3. If there is a hung jury, can we communicate the hung jury in a more clear way, instead of just a small corner pop-up?
deliveryweb commented 4 years ago

The timings will be fixed.

I don't really have any ideas about a more clear way of communication since we don't really have any other tools @xehu

deliveryweb commented 4 years ago

The 'hung jury' messages now appear if the poll has foreperson type and is not completed (teamSize - 1 votes are on the same person):

  1. 5 minutes before round end
  2. 2.5 minutes before round end
  3. 10 seconds before round end @xehu
xehu commented 4 years ago

Hey, looks like we have a bit of a misunderstanding on what a 'hung jury' is. This is my fault - I didn't explain how polls work 100% clearly.

So, there are 2 kinds of polls:

  1. Foreperson polls are meant to determine who the leader is. Foreperson polls are not by consensus. Whoever gets the most votes wins. There should never be a hung jury as a result of a foreperson poll.

  2. The second type of poll determines the result of the deliberation. Here, there should be the option to force everyone to agree. In fact, more generally, there should be the ability to set a threshold of what percent of people need to vote for an option in order for the poll to pass. (The default for the result-type poll should be changeable. For now, let's set the default at 100%---but again, there should be the option to set a custom threshold.) If that threshold is set at a certain percentage, and we do not meet that percentage, then we get a hung jury.

Does this clear up what a hung jury means?

deliveryweb commented 4 years ago

@xehu right now we have a foreperson poll and a casual poll where we can set the answer options. Do I understand you correctly, you want to move the hung jury notifications from the foreperson poll to the casual one?

xehu commented 4 years ago

@deliveryweb yes. The hung jury notifications should be moved from foreperson to causal!

xehu commented 4 years ago

I put this information in the Slack channel, but always good to document it here as well! Here is, just for reference, a more detailed description of the two polls:

In a foreperson poll, the goal is to choose the leader of the team.

In a verdict, or result poll, the goal is to decide the result of the discussion. Generally, this will be used in a case where the group is meant to decide some outcome.

Each poll can have multiple questions. Questions can either be of multiple choice or text input. For now, the decision threshold should only be applied to multiple choice questions. In the future, we should come up with a way for people to agree on text input options.

dtatarenkov commented 4 years ago

fixed, in dev