How omidrahimirad/ran-alarm-correlation-incident-timeline works
This is a synthetic-data RAN incident-analysis prototype. Its principal workflow loads alarm, KPI, and change-event CSVs, detects degradations and correlates events into incident timelines, ranks root-cause candidates, and exports reports. A separate bounded, read-only investigation workflow queries incident evidence, compares hypotheses, verifies citations, and produces advisory reports; offline fixture evaluation measures that workflow. Edges follow the README and source-index references; unsampled implementation details are not assumed.
Main entry points: cli.py CLI Commands · agent_benchmark.py Fixture Benchmark · store.py Incident Evidence Store · correlation.py KPI And Event Correlation
Components 20
Deterministic Analysis
- Incident Models
src/ran_incident_timeline/models.py - KPI And Event Correlation
src/ran_incident_timeline/correlation.py - Timeline Assembly
src/ran_incident_timeline/timeline.py - Candidate Ranking
src/ran_incident_timeline/root_cause.py - Report Export
src/ran_incident_timeline/reporting.py
Read-Only Investigation
- Incident Evidence Store
src/ran_incident_timeline/investigation/store.py - Investigation Models
src/ran_incident_timeline/investigation/models.py - Evidence Tools
src/ran_incident_timeline/investigation/tools.py - Provider Contract
src/ran_incident_timeline/investigation/providers/base.py - Fixture Provider
src/ran_incident_timeline/investigation/providers/fixture.py - Bounded Agent
src/ran_incident_timeline/investigation/agent.py - Evidence Verifier
src/ran_incident_timeline/investigation/verifier.py
Fixture Evaluation
- Fixture Benchmark
src/ran_incident_timeline/evaluation/agent_benchmark.py - Agent Metrics
src/ran_incident_timeline/evaluation/agent_metrics.py - Error Analysis
src/ran_incident_timeline/evaluation/error_analysis.py
CLI And Data
- CLI Commands
src/ran_incident_timeline/cli.py - CSV Loader
src/ran_incident_timeline/data_loader.py - Synthetic Data
src/ran_incident_timeline/synthetic_data.py
Other components
- Operator
- RAN CSV Inputs
Connections 33
- Operator → CLI Commands: runs
README.md - RAN CSV Inputs → CSV Loader: loads
README.md - CLI Commands → CSV Loader: loads inputs
src/ran_incident_timeline/cli.py - CLI Commands → Synthetic Data: generates demo data
src/ran_incident_timeline/cli.py - CSV Loader → Incident Models: validates as
src/ran_incident_timeline/data_loader.py - CLI Commands → KPI And Event Correlation: runs analysis
src/ran_incident_timeline/cli.py - KPI And Event Correlation → Incident Models: builds incidents
src/ran_incident_timeline/correlation.py - KPI And Event Correlation → Timeline Assembly: assembles timeline
src/ran_incident_timeline/correlation.py - KPI And Event Correlation → Candidate Ranking: scores candidates
src/ran_incident_timeline/correlation.py - CLI Commands → Report Export: exports reports
src/ran_incident_timeline/cli.py - Report Export → Incident Models: renders incidents
src/ran_incident_timeline/reporting.py - Report Export → Timeline Assembly: renders timeline
src/ran_incident_timeline/reporting.py - CLI Commands → Incident Evidence Store: creates investigation store
src/ran_incident_timeline/cli.py - Incident Evidence Store → Incident Models: reads incident data
src/ran_incident_timeline/investigation/store.py - Incident Evidence Store → Timeline Assembly: gets time bounds
src/ran_incident_timeline/investigation/store.py - CLI Commands → Evidence Tools: creates tools
src/ran_incident_timeline/cli.py - Evidence Tools → Incident Evidence Store: queries evidence
src/ran_incident_timeline/investigation/tools.py - Bounded Agent → Evidence Tools: dispatches calls
src/ran_incident_timeline/investigation/agent.py - Bounded Agent → Provider Contract: requests decisions
src/ran_incident_timeline/investigation/agent.py - Fixture Provider → Provider Contract: implements
src/ran_incident_timeline/investigation/providers/fixture.py - CLI Commands → Fixture Provider: selects fixture
src/ran_incident_timeline/cli.py - Bounded Agent → Investigation Models: records trajectory
src/ran_incident_timeline/investigation/agent.py - Evidence Verifier → Evidence Tools: rechecks evidence
src/ran_incident_timeline/investigation/verifier.py - Evidence Verifier → Incident Evidence Store: checks observable evidence
src/ran_incident_timeline/investigation/verifier.py - CLI Commands → Bounded Agent: runs investigation
src/ran_incident_timeline/cli.py - Fixture Benchmark → CSV Loader: loads evaluation data
src/ran_incident_timeline/evaluation/agent_benchmark.py - Fixture Benchmark → KPI And Event Correlation: builds incidents
src/ran_incident_timeline/evaluation/agent_benchmark.py - Fixture Benchmark → Incident Evidence Store: creates store
src/ran_incident_timeline/evaluation/agent_benchmark.py - Fixture Benchmark → Evidence Tools: creates tools
src/ran_incident_timeline/evaluation/agent_benchmark.py - Fixture Benchmark → Fixture Provider: runs fixture
src/ran_incident_timeline/evaluation/agent_benchmark.py - Fixture Benchmark → Bounded Agent: runs investigations
src/ran_incident_timeline/evaluation/agent_benchmark.py - Fixture Benchmark → Agent Metrics: scores results
src/ran_incident_timeline/evaluation/agent_benchmark.py - Error Analysis → Agent Metrics: uses metrics
src/ran_incident_timeline/evaluation/error_analysis.py