Skip to content

feat: keep conflict alerts useful and fresh - #9

Merged
svg8bit merged 1 commit into
mainfrom
codex/activity-signals
Aug 11, 2026
Merged

feat: keep conflict alerts useful and fresh#9
svg8bit merged 1 commit into
mainfrom
codex/activity-signals

Conversation

@svg8bit

@svg8bit svg8bit commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • keep the activity rail populated from real 1h/24h odds and 24h volume data
  • prioritize fresh Polymarket trades and newly observed live moves
  • extend the useful trade window to 60 minutes with a $5K notional floor
  • deduplicate by event, cap the rail at three cards, and reject stale or illiquid movers
  • preserve exact Track CTA and ?via=drops1 referral contracts

Alert gates

  • 1h odds: >= 1.0 pp, >= $100K total volume, >= $5K 24h volume
  • 24h odds: >= 3.0 pp with the same liquidity gates
  • volume: >= $1M total volume and >= $25K 24h volume
  • rolling feed freshness: <= 30 minutes (or three refresh intervals)
  • no 7d values are used for activity cards

Verification

  • npm run check (Node 24.19.0)
  • npm audit --audit-level=moderate (0 vulnerabilities)
  • npm run test:e2e (24 passed)
  • production-like browser probe against current live Polymarket data: 153 events, 3 activity cards, activity API 200

@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
oddsfront Building Building Preview Aug 11, 2026 9:29am

Request Review

@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@svg8bit, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 12 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 0b3fdaa6-9f2d-4a1b-8874-fb245a2bcf8e

📥 Commits

Reviewing files that changed from the base of the PR and between 0e1c3fb and ddd406b.

📒 Files selected for processing (8)
  • README.md
  • app/api/global-conflict-activity/route.ts
  • features/global-conflict-map/preview/activity-rail.tsx
  • lib/conflict-activity-signals.ts
  • lib/polymarket-activity-query.ts
  • tests/conflict-activity-signals.spec.ts
  • tests/global-conflict-map-preview.spec.ts
  • tests/polymarket-activity-query.spec.ts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@svg8bit
svg8bit merged commit 2880faa into main Aug 11, 2026
6 checks passed
@svg8bit
svg8bit deleted the codex/activity-signals branch August 11, 2026 09:33
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.

1 participant