Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
普通下一步推荐目前在置信度达到 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。