-
Notifications
You must be signed in to change notification settings - Fork 1
recommender を更新する #575
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
recommender を更新する #575
Conversation
| test("recommendation engine", async () => { | ||
| const usersFor101 = await recommendedTo(101, 5, 0); | ||
| if (!usersFor101.ok) throw new Error(); | ||
| if (!usersFor101.ok) throw console.error(usersFor101.error); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
これ undefined が throw されません?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
テストなので失敗すればなんでもいいかなと思ってこうしました
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
前のだとエラーの情報が消えるので
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
なるほど🧐
ルール:
タグと授業のかぶっている数それぞれを合計して、それの降順で並べる。
## 具体的な変更内容
## 影響範囲
## 動作要件
## 補足
## レビューリクエストを出す前にチェック!
- [ ] 改めてセルフレビューしたか
- [ ] 手動での動作検証を行ったか
- [ ] server の機能追加ならば、テストを書いたか
- 理由: 書いた | server の機能追加ではない
- [ ] 間違った使い方が存在するならば、それのドキュメントをコメントで書いたか
- 理由: 書いた | 間違った使い方は存在しない
- [ ] わかりやすいPRになっているか
<!-- レビューリクエスト後は、Slackでもメンションしてお願いすることを推奨します。 -->
ルール:
タグと授業のかぶっている数それぞれを合計して、それの降順で並べる。
具体的な変更内容
影響範囲
動作要件
補足
レビューリクエストを出す前にチェック!