Skip to main content

topology-anomaly-detector — extracted from SuperInstance oracle1-workspace

Project description

topology-anomaly-detector

Real-time anomaly detection on fleet coordination topology. Computes running TE, CSD, source counts, null multiplier against PLATO data and alerts on coordination failures.

Dependencies

coordination-topology (algorithm dependency)

Usage

python3 topology_anomaly_detector.py

Listens on port 8080 by default.

Anomaly Types Detected

Type Threshold What It Means
TE collapse SI-TE < 0.1 bits Coordination structure lost
TE spike SI-TE > 5.0 bits Suspicious surge in predictability
CSD anomaly τ
Null multiplier spike null_mult > 3.0 Structure far beyond random chance
Source burst >2 new sources in 5 min Fleet composition changing
TE shock ΔTE > 0.5 in 30s Coordination topology regime shift

Alerts

Publishes anomaly events to PLATO room topology-anomalies as tiles with:

  • type: anomaly type string
  • value: current metric value
  • threshold: threshold exceeded
  • sources: active sources at time of event
  • confidence: statistical confidence (1 - p-value)

API

  • GET /health — server status
  • GET /anomalies — recent anomaly history
  • GET /status — current coordination metrics

Shell Loading

from plato_shell_bridge import PlatoShell
shell = PlatoShell("agent-shell")
shell.load_tool("topology-anomaly-detector")

License

MIT — Part of the Cocapn Fleet Intelligence System

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

topology_anomaly_detector-0.1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

topology_anomaly_detector-0.1.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file topology_anomaly_detector-0.1.0.tar.gz.

File metadata

File hashes

Hashes for topology_anomaly_detector-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d33bf614925bdf613f2b6b44908346b6a23988ed875dce8899c9b6b3217dca37
MD5 efabaf8f6321983b7caa4f886ec663de
BLAKE2b-256 9f5943a9c706a4d7fafb84cc0efb0d083f0f8fa20b11d6cafab8bc5df87176b4

See more details on using hashes here.

File details

Details for the file topology_anomaly_detector-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for topology_anomaly_detector-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 081b65d1bfb78eaa620ba983edc60bc64ba25ddc9690ee3943dc256e2f669573
MD5 10facd22b0f8ced620cee95e514fff33
BLAKE2b-256 85af9807d2af0fb99ee4cf8fc4a6fea28acc04e3a3fc3d3c1c1c512d88c3ffac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page