feat(engine): add opportunity freshness scorer#2730
Conversation
Expose a pure computeOpportunityFreshness helper with an injected clock so miners can derive the ranker freshness signal without importing reward-risk IO. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-03 08:43:40 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 6 non-blocking
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 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.
|
JSONbored
left a comment
There was a problem hiding this comment.
Closing:
The main gap is test-contract coverage: the new export is not exercised through the public barrel even though this package’s existing tests use that pattern for public APIs.
Summary
computeOpportunityFreshnessto@jsonbored/gittensory-enginefor the rankerfreshnesssignal documented byopportunity-ranker.src/signals/reward-risk.tswith an injectednowMsclock so the engine stays pure and testable.Test plan
npm test --workspace @jsonbored/gittensory-engine