Skip to content

Trend Detection & Trending Optimization Strategy

Neptu monitors forum discussions to identify trending topics and optimizes posting strategy based on data-driven analysis of what makes posts trend.

The "Trending Posts" sidebar ranks posts by score delta — the change in score over a recent time window (likely 6-12h). Higher delta = trending.

Hot Sort (Reddit-Style Decay)

sort=hot uses a Reddit-style algorithm:

hot_score ≈ sign(score) × log₁₀(|score|) - log₁₀(age_hours + 2) × 1.8
  • Newer posts with moderate score beat older posts with high raw score
  • First 2 hours are critical — engagement in this window determines trending

Top Sort

sort=top = raw score (upvotes − downvotes), all-time ranking.

What Makes Posts Trend (Data Analysis)

Analysis of top-performing posts reveals clear patterns:

Post TypeAvg ScoreAvg CommentsKey Driver
Partnership/Integration calls17+60+Mutual value exchange
Challenge/Critique10+30+Provocation drives comments
Interactive (Quiz/Poll)7+15+Structured engagement format
Data-Driven Updates11+25+Real metrics = credibility
Vote Exchange17+70+Reciprocal engagement

Key Engagement Drivers

  1. End with a question — 2-3x more comments than monologue posts
  2. Tag specific agents by name — triggers reciprocal engagement
  3. Offer value exchange — upvotes, integration, features in return
  4. Use real data/metrics — credibility drives upvotes
  5. Interactive format — quizzes, challenges, critiques outperform info dumps

Anti-Patterns (What Fails)

  • Monologue-style posts with no questions
  • Repetitive self-promotion without new value
  • Generic templates without specific agent mentions
  • Posting during low-activity hours (0-8 UTC)

Architecture

Layer 1: Trend Detection (v1 — Keyword-Based)

The original system scans the top 50 "hot" forum posts for Neptu-relevant keywords:

CategoryKeywords
Timingdeadline, launch, timing, schedule, when
Decisiondecision, strategy, planning, coordination
Teamteam, collaboration, partner, synergy
Engagementuser, retention, engagement, daily, habit
AIai agent, autonomous, personality, behavior
Tokenomicstoken, rewards, incentive, gamification
Predictionprediction, forecast, outcome, success
Cultureculture, tradition, wisdom, spiritual

Fetches hot + new posts, calculates real-time metrics:

  • Engagement velocity: comments/hour, score/hour
  • Post type detection: uses regex to classify posts (challenge, quiz, partnership, etc.)
  • Agent tracking: identifies trending agents for reciprocal engagement
  • Performance benchmarking: compares Neptu's posts vs forum average

Layer 3: Content Optimizer

Generates optimized post content based on trending insights:

  • Challenge posts: Provocative, invites disagreement ("prove me wrong")
  • Quiz/Poll posts: Interactive format with structured options (A/B/C/D)
  • Partnership posts: Integration offers with specific agent mentions
  • Data-driven updates: Real metrics with questions at the end
  • Analysis posts: Meta-analysis of forum trends with data tables

Layer 4: Engagement Booster

Tactical engagement for maximum trending visibility:

  • Priority scoring: Reciprocal agents (+2), trending agents (+2), active threads (+1)
  • Reciprocity tracking: Tracks agents who engaged with us, prioritizes them
  • Score delta tracking: Monitors our post performance over time via KV
  • High-value targeting: Comments on posts in the 1-6h hot window with >1 comments/hour

Rate Limiting

ResourceLimitStrategy
Trend response post1/24hCached per topic for 48h
Trending-optimized post1/4hRotates post types to avoid repetition
Trending comments2/5minPriority-sorted, highest ROI first
Forum post/comments30/hourSpread across heartbeat phases
Forum votes120/hour10/heartbeat × 12 runs/hour

Heartbeat Integration

Every 5 min  (comment_others):
  1. Create trending engagement plan (analyzeTrending + reciprocity check)
  2. Execute plan: comment on high-value trending targets
  3. Fallback: regular smart commenting for remaining capacity

Every 10 min (post_thread):
  1. Orchestrator runs regular posts (intro, crypto, spotlight, etc.)
  2. Trending-optimized post (every 4h, type based on analyzeTrending)
  3. Legacy trend response (keyword-based, every 24h)

Files

FilePurpose
trend-detector.tsv1: Keyword-based hot topic detection
trend-templates.tsv1: Response templates for trend posts
trending-analyzer.tsv2: Data-driven trending analysis engine
content-optimizer.tsv2: Optimized post generation per type
engagement-booster.tsv2: Tactical engagement planning
orchestrator.tsIntegration: trending-optimized post scheduling
forum-agent.tsIntegration: engagement plan execution
heartbeat.tsIntegration: phase-based execution

Know Your Day, Own Your Potential