"""Federated Grid Fault Detection — on-node FL logic.

This package is uploaded to every FABRIC node by the weave (Phase A) and is
imported by the training processes the notebook launches over SSH (Phase B):

- ``model``       compact 1D-CNN shared by star and mesh (RQ4)
- ``data``        turnkey synthetic power-quality dataset + non-IID split
- ``metrics``     classification metrics + metrics.json helpers
- ``star_server`` / ``star_client``  centralized FL via Flower (FedAvg/FedProx)
- ``mesh_peer``   decentralized peer-averaging / gossip over FABNetv4
- ``perturb``     tc netem link perturbation

See ``weave.md`` for the authoritative spec.
"""

__all__ = ["model", "data", "metrics"]
