-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(reward): optimize RNFailReward and enhance tests
- Improved the `RNFailReward` evaluation logic by directly iterating over detection ranks, reducing memory usage. - Updated `RNFailReward` to assign rewards directly, improving performance for large datasets. - Added performance tests for `TimeRankReward` and `RNFailReward` to ensure scalability and efficiency. - Enhanced unit test coverage for edge cases and performance scenarios. - Adjusted benchmark settings to validate the performance improvements.
- Loading branch information
1 parent
c7a1253
commit 88842a8
Showing
2 changed files
with
71 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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