Skip to content
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

new Rank Point (RP) system #176

Open
kani3camp opened this issue Apr 15, 2022 · 3 comments · Fixed by #186
Open

new Rank Point (RP) system #176

kani3camp opened this issue Apr 15, 2022 · 3 comments · Fixed by #186

Comments

@kani3camp
Copy link
Owner

kani3camp commented Apr 15, 2022

https://www.youtube.com/channel/UCXuD2XmPTdpVy7zmwbFVZWg/community?lb=Ugkx5pely2K2xobWEtEUkr-9GmtfTSBM5Sds

image
image
image

@kani3camp kani3camp added this to To do in youtube-study-space road map via automation Apr 15, 2022
@kani3camp kani3camp added bug Something isn't working high priority labels Apr 15, 2022
@kani3camp kani3camp changed the title ピンク色ランクが10000時間以上のみになった 新ランクシステム(ランクポイント) May 2, 2022
@kani3camp kani3camp added new feature Next.js Go and removed bug Something isn't working labels May 2, 2022
@kani3camp kani3camp added this to the v4.0.0リリース milestone May 2, 2022
@kani3camp kani3camp self-assigned this May 2, 2022
@kani3camp
Copy link
Owner Author

本当はissueを分けるべきかもだが、!myの機能として「各ユーザーごとにデフォルトの作業時間を設定できる」を追加したい

@kani3camp
Copy link
Owner Author

kani3camp commented May 6, 2022

連続アクティブ日数のカウント方法について

連続アクティブ日数の定義:

1日(0時~24時)の間に入室していたらその日はアクティブとみなす。
アクティブの連続日数を連続アクティブ日数という。

カウント方法

userドキュメントにて次のフィールドを追加する。

  • 昨日までで、連続日数でアクティブか:bool
  • 昨日までの状態(アクティブor非アクティブ)が始まった日付:timestamp

これで、連続アクティブ日数による獲得RP倍率が求められる。

連続非アクティブ日数によるペナルティ処理の重複防止

  • 前回の連続非アクティブ日数によるRPペナルティ処理が行われたときの、該当非アクティブ連続日数:int

連続非アクティブ日数によるペナルティ処理の重複を防ぐことができる。

@kani3camp kani3camp linked a pull request May 7, 2022 that will close this issue
youtube-study-space road map automation moved this from To do to Done May 7, 2022
@kani3camp kani3camp reopened this Sep 8, 2022
youtube-study-space road map automation moved this from Done to In progress Sep 8, 2022
@kani3camp
Copy link
Owner Author

新ランクシステムの仕様が複雑すぎるので、考え直す。

@kani3camp kani3camp changed the title 新ランクシステム(ランクポイント) new rank point (RP) system Sep 17, 2022
@kani3camp kani3camp changed the title new rank point (RP) system new rank point (RP) system Sep 17, 2022
@kani3camp kani3camp changed the title new rank point (RP) system new Rank Point (RP) system May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

1 participant