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

feat(game): add result tier algorithm #53

Merged
merged 1 commit into from
Oct 20, 2023
Merged

feat(game): add result tier algorithm #53

merged 1 commit into from
Oct 20, 2023

Conversation

jsun969
Copy link
Contributor

@jsun969 jsun969 commented Oct 20, 2023

No description provided.

@jsun969 jsun969 requested a review from CaliCastle October 20, 2023 14:22
@linear
Copy link

linear bot commented Oct 20, 2023

LB-34 Story: 分数算法

背景

分数的计算如果简单地通过正确的题数百分比的话有点过于“无聊”了,我们需要合理运用一些其他的指标来更好的权衡最后的分数计算。

需求

**触发条件:**计算分数时

影响指标:

  • 完成所有题目的总时长
  • 正确题数的百分比

最终还是以 100 分制为基础进行计算,四舍五入不取小数点。

最后需要分别设置一个最大与最小临界值确保分数在合理的区间范围内。

  • getResultTier 参数改为 object

@vercel
Copy link

vercel bot commented Oct 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
isthat-ai ✅ Ready (Inspect) Visit Preview Oct 20, 2023 2:22pm

@jsun969 jsun969 merged commit b473dbd into dev Oct 20, 2023
1 check passed
@CaliCastle CaliCastle deleted the justin/lb-34 branch October 20, 2023 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants