fix: per-slab single-source counter, per-scan ADL errors (M8+M14)#96
fix: per-slab single-source counter, per-scan ADL errors (M8+M14)#960x-SquidSol wants to merge 1 commit intodcccrypto:mainfrom
Conversation
…M14) M8: The oracle _consecutiveSingleSource counter was a single global scalar. Any market getting dual-source reset the counter, masking degradation for markets stuck on single-source. Now uses a per-slab Map so each market tracks its own cross-validation coverage. M14: ADL consecutiveErrors was incremented per-position failure inside the position loop. 3 failed positions in one scan fired the alert meant for 3 consecutive failed scans. Now tracks at scan level: a scan with any error increments the counter only once, and any successful send resets it. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 18 minutes and 19 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
M8 — Oracle single-source counter was global:
_consecutiveSingleSourcewas a scalar shared across all marketsMap— each market tracks its own cross-validation coverage independentlyM14 — ADL errors counted per-position instead of per-scan:
consecutiveErrorswas incremented for each individual position tx failure inside the loopscanHadErrorflag — counter increments once per failed scan, not per positionTest plan
🤖 Generated with Claude Code