Skip to content

Commit

Permalink
Smaller quiz infinite files (#878)
Browse files Browse the repository at this point in the history
  • Loading branch information
kavigupta authored Jan 19, 2025
1 parent ff310dd commit e6265b8
Show file tree
Hide file tree
Showing 13 changed files with 211 additions and 695 deletions.
3 changes: 2 additions & 1 deletion data_files.proto
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,6 @@ message QuizQuestionTronche {
repeated int32 geography_b = 2;
repeated int32 stat = 3;
// probability within tronche
repeated int32 neg_log_prob_x100 = 4;
int32 neg_log_prob_x10_basis = 4;
repeated int32 neg_log_prob_x10_minus_basis = 5;
}
2 changes: 1 addition & 1 deletion juxtastat_version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[["233aac30904fe0c4907b18f22929c861a16df196d8f4db7088d26b551d5a2d13", 0]]
[["233aac30904fe0c4907b18f22929c861a16df196d8f4db7088d26b551d5a2d13", 0], ["35134d491aa5dd59abcc70973e69c58562dae1cb7a900fd885304c6e21654f3a", 1]]
2 changes: 1 addition & 1 deletion react/src/components/quiz-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function QuizPanelNoResets(props: { quizDescriptor: QuizDescriptor, todayName?:
setQuestions([...questions, ...newQuestions.filter((question): question is QuizQuestion => question !== undefined)])
}).catch((err: unknown) => {
console.error('Error fetching questions', err)
setWaitingForNextQuestion(false)
// setWaitingForNextQuestion(false)
})
}

Expand Down
Loading

0 comments on commit e6265b8

Please sign in to comment.