How eddie-dk1/argus works
Argus is a research prototype for reproducible anomaly-detection experiments, not a production IDS. Its main workflow generates synthetic events, splits data chronologically before fitting causal features, trains tabular and sequence models, selects thresholds on validation data, and compares results on a shared test cohort. Separate dataset contracts, inspection, and chunked loading prepare support for public datasets; storage-path handling and experiment tracking support reproducibility. The graph combines sampled source relationships with capabilities and flow documented in the README; some unsampled links are therefore documented rather than code-verified.
Main entry points: preprocessing.py Preprocessing and splits · train_baseline.py Forest models · train_lstm_autoencoder.py LSTM autoencoder · evaluate.py Evaluation and metrics
Components 17
Data preparation
- Synthetic generator
src/generate_data.py - Raw event data
- Preprocessing and splits
src/preprocessing.py - Causal features
src/features.py
Modeling
- Forest models
src/train_baseline.py - LSTM autoencoder
src/train_lstm_autoencoder.py - Validation thresholding
src/utils.py
Evaluation and records
- Evaluation and metrics
src/evaluate.py - Anomaly explanations
src/explain_anomalies.py - Run manifests and outputs
src/experiment_tracking.py
Dataset support
- Dataset contracts
src/datasets/contracts.py - Schema inspection
src/datasets/inspection.py - Chunked CSV loading
src/datasets/loading.py
Storage foundations
- Data-root resolution
src/data_paths.py - Scenario storage check
src/check_data_storage.py
Other components
- Researcher
- Experiment config
configs/synthetic_v0.2.json
Connections 21
- Researcher → Experiment config: configures
README.md - Experiment config → Synthetic generator: configures
README.md - Synthetic generator → Raw event data: writes events
README.md - Raw event data → Preprocessing and splits: split and transform
- Preprocessing and splits → Causal features: builds features
src/preprocessing.py - Preprocessing and splits → Forest models: provides dataset
README.md - Preprocessing and splits → LSTM autoencoder: provides sequences
- Forest models → Validation thresholding: selects on validation
src/train_baseline.py - LSTM autoencoder → Validation thresholding: selects on validation
src/train_lstm_autoencoder.py - Forest models → Evaluation and metrics: produces scores
- LSTM autoencoder → Evaluation and metrics: produces scores
- Evaluation and metrics → Anomaly explanations: supports explanations
- Forest models → Run manifests and outputs: records runs
src/train_baseline.py - LSTM autoencoder → Run manifests and outputs: records runs
src/train_lstm_autoencoder.py - Dataset contracts → Schema inspection: defines schemas
src/datasets/inspection.py - Dataset contracts → Chunked CSV loading: defines sources
src/datasets/loading.py - Schema inspection → Chunked CSV loading: resolves columns
src/datasets/loading.py - Researcher → Schema inspection: inspects datasets
README.md - Researcher → Chunked CSV loading: loads datasets
- Data-root resolution → Scenario storage check: resolves paths
src/check_data_storage.py - Researcher → Scenario storage check: checks capacity
README.md