Prevent duplicate questions within a drill (unique until the pool is exhausted)

クローズ
#263 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript
領域
backend

調査の方向性

まず質問セレクターとクォーラムの構築箇所を見つけ、既存の前の質問のチェックと重み付けロジックを読んでください。利用可能な質問を使い果たした後に再補充され、可能な限り重複を避け、重複除去された範囲を通じて重み付き選択を維持する集合になれば、作業は完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement

Currently the "question selector" will check that the problem is not the same as the previous one and pick a new one if that's the case.

Need to improve this that in any set of questions we don't get duplicates if at all possible. If we create a collection of all possible questions and then remove them from the quorum once they are asked this should work. There are some nuances here though:

  • What if there are few questions available in the quorum than questions that are going to be asked. If this is the case then once the last question from the quorum is asked then the quorum should be repopulated with the full set of questions to start again.
  • What about question weighting. In higher letters we increase the probability of those questions being asked by increasing their number in the quorum. We'll need to deduplicate the questions and provide them ranges of values in which to be selected.
主要言語
TypeScript
スター
46
フォーク
8
平均マージ
2時間 18分
マージ済み PR(30日)
58

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。