fix(decision-pack): include rejected recommendation feedback - #914
Conversation
|
Note Gittensory Gate skippedPR closed before full evaluation. No late first comment was created.
💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers. |
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #914 +/- ##
=======================================
Coverage 96.71% 96.71%
=======================================
Files 108 108
Lines 14641 14641
Branches 5298 5298
=======================================
Hits 14160 14160
Misses 102 102
Partials 379 379 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
gittensory · advisory review Reviewed 2 changed file(s) — two independent AI reviewers. Changed files: Suggested action: ✅ Safe to merge — both reviewers found no blocking issues. Reviewer A · Suggestions
Worth double-checking
Reviewer B · Suggestions
Worth double-checking
|
Motivation
rejectedoutcome but the decision-pack projection omitted it, causing negative totals to list counts without the rejected breakdown and producing misleading private guidance.Description
rejected: numberfield to theRepoRecommendationOutcomeFeedbackprojection so consumers receive the rejected count.feedback.rejectedthroughsummarizeRecommendationOutcomeFeedbackso repo summaries preserve the rejected value.rejectedin the private negative feedback explanation text so the risk message lists rejected along with closed/stale/ignored counts.test/unit/decision-pack.test.tsto assert the rejected count is preserved and appears in the risk explanation.Testing
git diff --checkto verify no whitespace/errors were introduced and it succeeded.npx vitest run test/unit/decision-pack.test.ts test/unit/recommendation-outcomes.test.ts --reporter=dotand all tests passed (Test Files 2 passed,Tests 56 passed).Codex Task