feat(看板娘): 做对的题越多,她说话越软、也越耐烦;点她多少次不算
Deploy / deploy (push) Successful in 57s

好感按一共做对几道分五档(不到 10 / 10 / 25 / 40 / 100 道,含比赛题,和成就同一个数),
档位不显示。门槛按最近 60 天交过题的 378 个学生定的:前四档大约各占四分之一,最高一档是前一成。
- 每档多一组自己的话,越往上越软,高档也抽得到低档的;只掺进闲聊、夸人、空白题目页、
  题目列表这几类情况,现有台词不改。
- 越熟越耐烦:最低档点到第 7 次背过身,最高档到第 10 次。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
xuyueandClaude Opus 5.5 committed 2026-11-04 18:26:56 +08:00
1 parent 3987b83220
commit 47c0b5464d
5 files changed
+93 -8

No files matched your search

+5
View File
@@ -39,6 +39,11 @@ export type MascotEventInput = z.infer<typeof mascotEventSchema>
export const mascotProfileSchema = z.object({
/** 一共点开过她几次(open 事件数),按账号算 */
pokes: z.number().int(),
/**
* 一共做对了几道不同的题,含比赛题(就是成就的 accepted_count,user_stat 里存着的那个数)。
* 看板娘的好感按它分档,点她多少次不算
*/
solved: z.number().int(),
/** 今天(东八区)做对了几道不同的题 */
todaySolved: z.number().int(),
/** 一共点过几次「太难了」(做对后的点评) */