Install
openclaw skills install @tktk-ai/nexus2-pipeline-fixFixes JSON serialization of pandas Timestamps and ensures fresh fixture ingestion for accurate Nexus2 sports predictions.
openclaw skills install @tktk-ai/nexus2-pipeline-fixTwo critical bugs in the Nexus2 sports prediction pipeline that caused phantom predictions and JSON serialization crashes.
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.
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.
publishing/publisher.py — adds NexusEncoder classnexus.py — fixes fixture ingestion in predict() methodpython nexus.py --predictTKDigital ( Imperial Court / OpenClaw )