Architecture
This document describes the intended package/module separation for the research-focused, minimal refactor.
Target top-level modules
motac.data: dataset loaders (Chicago, ACLED, simulation) and canonical schema validationmotac.spatial: grid/graph builders, travel-time neighbours, POI featuresmotac.models: parametric Hawkes, marked Hawkes, neural-kernel modulesmotac.inference: JAX likelihoods, sparse/jit kernels, optimisers, constraintsmotac.sim: simulator and observation-noise modelsmotac.eval: backtesting, metrics, calibration, reportingmotac.cli: commands forfetch,build-substrate,simulate,fit,forecast,backtest
Only these seven package directories are kept under src/motac.
Legacy split modules were removed to keep the codebase straightforward for research iteration.