mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
Remove Ranked Choice Polls
This commit is contained in:
parent
5ff355b46a
commit
83f78a31fe
5
88.md
5
88.md
|
@ -18,7 +18,7 @@ Major tags in the poll event are:
|
||||||
|
|
||||||
- **option**: The option tags contain an OptionId(any alphanumeric) field, followed by an option label field.
|
- **option**: The option tags contain an OptionId(any alphanumeric) field, followed by an option label field.
|
||||||
- **relay**: One or multiple tags that the poll is expecting respondents to respond on.
|
- **relay**: One or multiple tags that the poll is expecting respondents to respond on.
|
||||||
- **polltype**: can be "singlechoice", "multiplechoice", or "rankedchoice". Polls that do not have a polltype should be considered a "singlechoice" poll.
|
- **polltype**: can be "singlechoice" or "multiplechoice". Polls that do not have a polltype should be considered a "singlechoice" poll.
|
||||||
- **endsAt**: signifying at which unix timestamp the poll is meant to end.
|
- **endsAt**: signifying at which unix timestamp the poll is meant to end.
|
||||||
|
|
||||||
Example Event
|
Example Event
|
||||||
|
@ -74,7 +74,6 @@ The polltype setting dictates how multiple response tags are handled in the `kin
|
||||||
|
|
||||||
- **polltype: singlechoice**: The first response tag is to be considered the actual response.
|
- **polltype: singlechoice**: The first response tag is to be considered the actual response.
|
||||||
- **polltype: multiplechoice**: The first response tag pointing to each id is considered the actual response, without considering the order of the response tags.
|
- **polltype: multiplechoice**: The first response tag pointing to each id is considered the actual response, without considering the order of the response tags.
|
||||||
- **polltype: rankedchoice**: The first response tag pointing to each id is the considered the actual response, while also taking into account the order of the response tags.
|
|
||||||
|
|
||||||
### Counting Results
|
### Counting Results
|
||||||
|
|
||||||
|
@ -123,7 +122,7 @@ const oneVotePerPubkey = (events: Event[]) => {
|
||||||
|
|
||||||
### Relays
|
### Relays
|
||||||
|
|
||||||
It is advisable for poll authors to use relays that do not allow backdated events and do not honor kind:5 (delete) requests for vote events to maintain the integrity of poll results after the poll has ended.
|
It is advisable for poll authors to use relays that do not allow backdated events and do not honor kind:5 (delete) requests for vote events in order to maintain the integrity of poll results after the poll has ended.
|
||||||
|
|
||||||
### Curation
|
### Curation
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user