Skip to content

fix(personalization): raise recommendation confidence threshold to 40% - #23

Draft
Yukon163 wants to merge 1 commit into
masterfrom
p/Yukon163/fix/prediction-confidence-threshold
Draft

Yukon163 wants to merge 1 commit into
masterfrom
p/Yukon163/fix/prediction-confidence-threshold

Conversation

@Yukon163

@Yukon163 Yukon163 commented Oct 3, 2026

Copy link
Copy Markdown
Collaborator

普通下一步推荐目前在置信度达到 30% 时即可展示,将门槛提高到 40%,减少低确信度推荐。候选仍需领先其他输出至少 8 个百分点;调试拒绝原因改为读取同一个阈值常量。

验证:33 个相关单元测试全部通过,覆盖低于 40% 的拒绝、40% 边界的接受、竞争结果和展示策略;:app:assembleDebug 与 git diff --check 通过。adb devices 未检测到可用设备,未进行设备安装运行验证。

执行命令:./gradlew.bat :app:testDebugUnitTest --tests 'com.ahu.ahutong.personalization.SuggestionPolicyTest' --tests 'com.ahu.ahutong.personalization.SuggestionDeliveryPolicyTest' --tests 'com.ahu.ahutong.personalization.JourneyAndArbiterPolicyTest' :app:assembleDebug --console=plain。

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.

1 participant