Skip to content

feat: include feedback labels in CTR dataset - #1291

Open
zhangzhenghao wants to merge 1 commit into
gorse-io:masterfrom
zhangzhenghao:feat/feedback-labels-ctr-dataset
Open

feat: include feedback labels in CTR dataset#1291
zhangzhenghao wants to merge 1 commit into
gorse-io:masterfrom
zhangzhenghao:feat/feedback-labels-ctr-dataset

Conversation

@zhangzhenghao

Copy link
Copy Markdown
Contributor

Summary

  • Add feedback labels as CTR/FM context labels when loading datasets from the data store
  • Preserve labels from the latest feedback for each user-item sample across positive, explicit negative, and read feedback
  • Cover feedback context labels in master dataset loading tests

Test Plan

  • go test ./master -run 'TestMaster/TestLoadDataFromDatabase$' -count=1
  • go test ./model/ctr -run 'TestDataset|TestSplit|TestLoad' -count=1
  • git diff --check

@codecov

codecov Bot commented Jun 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.78%. Comparing base (080092c) to head (a805c47).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1291      +/-   ##
==========================================
- Coverage   74.16%   73.78%   -0.39%     
==========================================
  Files          92       92              
  Lines       17257    17278      +21     
==========================================
- Hits        12799    12748      -51     
- Misses       3148     3185      +37     
- Partials     1310     1345      +35     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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