Nexus2 Pipeline Fix

# Nexus2 Pipeline Fix — Sports Prediction Engine

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Nexus2 Pipeline Fix" with this command: npx skills add nexus2-pipeline-fix

Nexus2 Pipeline Fix — Sports Prediction Engine

What This Fixes

Two critical bugs in the Nexus2 sports prediction pipeline that caused phantom predictions and JSON serialization crashes.

Bug 1: Timestamp Serialization Crash

File: publishing/publisher.py
Problem: json.dumps() failed with TypeError: Object of type Timestamp is not JSON serializable when prediction data contained pandas Timestamp objects.
Fix: Added custom NexusEncoder class that converts pandas Timestamp and datetime objects to ISO format strings before serialization.

Bug 2: Stale Fixture Ingestion

File: nexus.py
Problem: Scraped fixtures were ingested into an isolated local NexusDataLoader() instance instead of self.data_loader. Predictions ran against stale database data, producing phantom matches that didn't exist on bookmaker sites.
Fix: Changed ingestion to use self.data_loader.ingest(matches) directly, ensuring fresh scraped fixtures flow into the prediction pipeline.

How to Apply

  1. Copy the patched files into your Nexus2 installation:
    • publishing/publisher.py — adds NexusEncoder class
    • nexus.py — fixes fixture ingestion in predict() method
  2. Restart the prediction pipeline: python nexus.py --predict
  3. Verify output matches live bookmaker fixtures

Result

  • Predictions now match real SportyBet/SofaScore fixtures
  • No more JSON serialization crashes
  • Fresh fixtures ingested before each prediction run

Author

TKDigital ( Imperial Court / OpenClaw )

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Bracket Oracle

NCAA March Madness basketball tournament bracket generator. Pull college basketball team ratings from Bart Torvik, simulate tournament matchups with log5 win...

Registry Source
3071Profile unavailable
Research

NBA Today Pulse

Timezone-aware NBA daily intelligence using bundled public ESPN/NBA fetchers plus official NBA injury-report PDFs, with compact day fast path, same-day stats...

Registry SourceRecently Updated
4172Profile unavailable
General

NBA Tracker

提供NBA球队和球员赛程、实时比分及关键时刻提醒,支持追踪球员伤病和自动添加比赛到日历,适合观赛辅助。

Registry SourceRecently Updated
2812Profile unavailable
General

OpenClaw Windows Fix Scheduled Task Idle-Kill Bug Patch

Fixes the Windows scheduled task bug that kills OpenClaw processes during idle. One script, permanent fix.

Registry SourceRecently Updated
2800Profile unavailable