We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 612bbb5 commit a608c79Copy full SHA for a608c79
apps/server/src/room/interaction/db/questions.ts
@@ -112,7 +112,11 @@ function mapDbQuestionData(question: DbQuestionData): RoomQuestion {
112
},
113
);
114
115
- throw new Error("STV Election not implemented"); // TODO: Implement STV counting and results formatting
+ return {
116
+ type: "PreferentialVote",
117
+ results: [],
118
+ abstained: abstainCount,
119
+ }
120
}
121
default:
122
throw new UnreachableError(question.format);
0 commit comments